.lp-workspace,.lp-dialog,.lp-legacy {
  --lp-ink:#23463b;--lp-soft:#53675c;--lp-line:#d1d8c8;--lp-paper:#fffdf4;
  font:16px/1.6 "Microsoft YaHei","PingFang SC",sans-serif;color:var(--lp-ink);
}
.lp-workspace,.lp-workspace *,.lp-dialog,.lp-dialog * {box-sizing:border-box}
.lp-workspace :is(h2,h3,h4,p,ol,ul),.lp-dialog :is(h2,h3,p) {margin:0}
.lp-workspace h2,.lp-dialog h2,.lp-legacy>h2 {
  font:700 clamp(25px,2.5vw,36px)/1.3 "STSong","Songti SC","SimSun",serif;
}
.lp-workspace h3 {font:700 clamp(19px,1.7vw,24px)/1.4 "STSong","Songti SC","SimSun",serif}
.lp-workspace h4 {font-size:16px;margin:13px 0 5px}
.lp-workspace button,.lp-workspace select,.lp-dialog button {
  min-height:38px;padding:6px 11px;border:1px solid #a7b8a5;border-radius:6px;
  background:#fafbf2;color:#2a5949;cursor:pointer;font:600 14px/1.45 "Microsoft YaHei","PingFang SC",sans-serif;
}
.lp-workspace button:hover,.lp-dialog button:hover {background:#eaf1e4}
.lp-workspace :is(button,select,summary,[tabindex]):focus-visible,.lp-dialog :is(button,summary):focus-visible {outline:3px solid #af6840;outline-offset:2px}
.lp-workspace [hidden],.lp-dialog [hidden],.lp-legacy[hidden] {display:none !important}
.lp-page-title,.lp-section-title,.lp-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lp-page-title {margin-bottom:15px}
.lp-bank-entry {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lp-bank-entry small {color:var(--lp-soft);font-size:14px}
.lp-page-title [data-lp-question-bank] {background:#295f50;border-color:#295f50;color:#fffdf4;padding-inline:20px}
.lp-page-title [data-lp-question-bank]:hover {background:#204f43}
.lp-page-title p,.lp-note,.lp-matrix-notice,.lp-dialog-head p {color:var(--lp-soft);font-size:15px}
.lp-section-title {margin-bottom:10px}
.lp-panel {background:var(--lp-paper);border:1px solid var(--lp-line);border-radius:9px;padding:clamp(14px,1.8vw,24px);margin:0 0 15px;min-width:0}
.lp-panel>h3+.lp-note,.lp-panel>.lp-errors,.lp-chart-body {margin-top:9px}
.lp-select-label {font-size:14px;color:#4d6657}
.lp-recommended {border-inline-start:4px solid #9c7048;background:#faf6e9}
.lp-recommended ul,.lp-errors,.lp-stages {list-style:none;padding:0}
.lp-recommended li {display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:9px}
.lp-recommended li span,.lp-points small {display:block;font-size:14px;color:var(--lp-soft)}
.lp-recommended li button {flex-shrink:0}
.lp-study-actions,.lp-review-path>div {display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.lp-study-actions {justify-content:flex-end;flex-shrink:0}
.lp-workspace [data-lp-study],.lp-review-path [data-lp-after-study] {background:#315f4f;border-color:#315f4f;color:#fffdf1}
.lp-review-path {
  display:flex;gap:8px 16px;align-items:center;justify-content:space-between;flex-wrap:wrap;
  margin:10px auto 0;width:min(92%,1400px);padding:8px 13px;box-sizing:border-box;
  color:#284d40;background:#eef1e4;border-left:3px solid #648871;border-radius:3px;
  font:15px/1.5 "Microsoft YaHei","PingFang SC",sans-serif;
}
.lp-review-path p {margin:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.lp-review-path small {color:#526957;font-size:14px}
.lp-review-path button {cursor:pointer;border-radius:5px;border:1px solid #a5b6a1;background:#fffdf3;color:#315d4b;padding:5px 10px;font:inherit;font-size:14px;font-weight:600}
.lp-review-path button:focus-visible {outline:3px solid #ac6948;outline-offset:2px}
.lp-recommended .lp-more-weak {margin-top:10px;background:transparent}
.lp-points {width:100%;border-collapse:collapse;font-size:15px}
.lp-points :is(th,td) {text-align:left;vertical-align:middle;padding:9px 10px;border-bottom:1px solid #dde2d4}
.lp-points thead th {background:#edf1e5;color:#355849}
.lp-points tbody th {border-inline-start:3px solid #afbeb0}
.lp-points tbody tr:has(.lp-mastered) th {border-inline-start-color:#468a6d}
.lp-points tbody tr:has(.lp-practice) th {border-inline-start-color:#ba9345}
.lp-points tbody tr:has(.lp-weak) th {border-inline-start-color:#b56754}
.lp-points th strong {font-size:16px}
.lp-points small {font-weight:400}
.lp-row-actions {display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.lp-row-actions button {min-height:34px;padding:4px 7px}
.lp-pill {display:inline-block;border-radius:4px;padding:2px 8px;font-size:14px;font-weight:650;white-space:nowrap}
.lp-workspace .lp-mastered {color:#205d45;background:#dcece0}
.lp-workspace .lp-practice {color:#6b5020;background:#f5e8bd}
.lp-workspace .lp-weak {color:#883f34;background:#f6dfd6}
.lp-workspace .lp-empty {color:#50625b;background:#eaf0e7}
.lp-method {margin:11px 0 0;color:#526356;font-size:14px}
.lp-method summary {cursor:pointer;font-weight:600;color:#426754}
.lp-method p {line-height:1.7;margin-top:5px}
.lp-two {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:15px}
.lp-chart-body .lp-chart-summary {margin:11px 0 5px;color:var(--lp-soft);font-size:14px}
.lp-chart {display:flex;gap:5px;align-items:end;list-style:none;width:100%;padding:0}
.lp-chart li {min-width:0;flex:1;text-align:center;max-width:50px}
.lp-chart b,.lp-chart small {display:block;font-size:13px}
.lp-chart li>div {height:63px;display:flex;align-items:end;justify-content:center;border-bottom:1px solid #adc0ac}
.lp-chart i {display:block;width:60%;max-width:23px;border-radius:3px 3px 0 0}
.lp-chart i.lp-mastered {background:#568969}.lp-chart i.lp-practice {background:#bf984a}.lp-chart i.lp-weak {background:#b97662}
.lp-stages li {font-size:14px;padding:2px 0}
.lp-stages time {color:var(--lp-soft);margin-inline-end:8px}
.lp-errors li+li {margin-top:6px}
.lp-errors button {width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px}
.lp-legacy {margin-top:12px;padding-top:15px;border-top:1px solid var(--lp-line)}
.lp-legacy>h2 {font-size:23px;margin:0}
.lp-gate p {margin:6px 0 12px}.lp-gate button+button {margin-inline-start:7px}
.lp-gate p.lp-note {margin:8px 0 0}
.lp-matrix-scroll {overflow:auto;max-width:100%}
.lp-matrix {border-collapse:separate;border-spacing:0;min-width:min(100%,320px);width:max-content}
.lp-matrix :is(td,th) {padding:5px;border-bottom:1px solid #d3ddcf;text-align:center;vertical-align:middle}
.lp-matrix thead th,.lp-matrix tbody th {background:#edf1e5}
.lp-matrix tr>:first-child {position:sticky;left:0;text-align:left;border-right:1px solid #cdd9c9;padding:7px 10px;max-width:11em;z-index:1}
.lp-matrix thead th {min-width:6em;max-width:9em;overflow-wrap:anywhere}
.lp-workspace .lp-cell {width:100%;min-width:65px;border:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:6px}
.lp-cell b {font-size:17px}.lp-cell span {font-size:13px}
.lp-cell:hover {outline:1px solid currentColor}
.lp-matrix-notice:not(:empty) {margin-top:9px}
.lp-dialog {
  width:min(660px,calc(100vw - 26px));max-height:min(80vh,850px);overflow:auto;
  background:var(--lp-paper);border:1px solid #9faf9b;border-radius:10px;
  padding:clamp(16px,2.5vw,30px);box-shadow:0 20px 70px #173d3545;
}
.lp-dialog::backdrop {background:#173a32a8}
.lp-dialog-head {align-items:start;margin-bottom:9px;flex-wrap:nowrap}
.lp-dialog h2 {font-size:24px}.lp-dialog-head button {flex-shrink:0}
.lp-original {padding:13px 0;border-top:1px solid var(--lp-line)}
.lp-original h3 {margin:5px 0;font-size:17px;line-height:1.55}
.lp-original ol {margin:5px 0;padding-inline-start:1.7em;list-style:upper-alpha}
.lp-original p {margin-top:4px;font-size:15px}.lp-original button {margin-top:8px}
.lp-original-meta {display:flex;gap:10px;flex-wrap:wrap;font-size:14px;color:#5b6e62}
@media(max-width:720px) {
  .lp-two {grid-template-columns:1fr;gap:0}
  .lp-points,.lp-points tbody,.lp-points tr {display:block}
  .lp-points thead {position:absolute;overflow:hidden;clip-path:inset(50%);width:1px;height:1px}
  .lp-points tbody tr {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;border-bottom:1px solid var(--lp-line);padding:9px 0}
  .lp-points :is(th,td) {border:0;padding:3px 6px}
  .lp-points tbody th {border-inline-start:3px solid #afbeb0}
  .lp-points td:nth-child(2) {text-align:right}
  .lp-points td:nth-child(n+3) {grid-column:span 2}
  .lp-matrix tr>:first-child {max-width:6em;font-size:14px;padding:5px}
  .lp-recommended li {align-items:start}
  .lp-recommended li {flex-wrap:wrap}
  .lp-section-title h3,.lp-legacy>h2 {font-size:21px}
}
.lp-point-source{font-size:.83rem;font-weight:400;margin-top:.3rem;color:#435e55}
.lp-point-source summary{cursor:pointer}
.lp-point-source small{max-width:35ch;line-height:1.55}
