.preset-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.preset-option{display:flex;align-items:flex-start;gap:12px;border:1px solid #d9e1d5;border-radius:9px;padding:19px 16px;margin:0;background:#fafbf7;cursor:pointer;transition:background .15s,border-color .15s}
.preset-option:has(input:checked){background:#edf3e4;border-color:#85a575}
.preset-option input{flex:0 0 auto;margin-top:3px;accent-color:#204d40}
.preset-option strong{display:block;font-size:.9rem;font-weight:600;margin-bottom:7px;color:var(--ink)}
.preset-option small{display:block;font-size:.77rem;line-height:1.65;color:var(--muted);font-weight:400}
.preset-option:focus-within{outline:2px solid #527a55;outline-offset:3px}
.settings-section summary{cursor:pointer;font-size:.95rem;font-weight:600}
.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}
.button.secondary{background:#fff;color:var(--green);border:1px solid #cfdbc9}
@media(max-width:600px){.preset-options{grid-template-columns:1fr}.preset-option{padding:16px 14px}}
@media(prefers-reduced-motion:reduce){.preset-option{transition:none}}

.language-switch{display:inline-flex;align-items:center;border:1px solid #d5dfd5;border-radius:7px;padding:3px;gap:2px;background:#fff;margin:0}
.language-switch button{border:0;border-radius:4px;padding:5px 9px;min-height:30px;font-size:.76rem;color:#52645a;background:transparent;cursor:pointer}
.language-switch button[aria-pressed="true"]{background:#e8f0db;color:#204d40;font-weight:650}
.language-switch button:focus-visible{outline:2px solid #527a55;outline-offset:2px}
.auth-form{position:relative}.auth-language{position:absolute;right:24px;top:24px}
.translation-meta{display:flex;align-items:center;gap:12px;font-size:.72rem;color:var(--muted);margin:12px 0}
.translation-meta .text-button{font-size:.72rem;padding:0;min-height:24px}
.original-text{margin-top:28px;border:1px solid var(--line);border-radius:8px;padding:18px}
.original-text summary{cursor:pointer;font-size:.85rem;color:var(--green)}
.original-text h2{margin-top:18px;line-height:1.6}
html[lang="zh-hans"]{font-family:system-ui,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
html[lang="zh-hans"] .paper-card h3{line-height:1.6}
html[lang="zh-hans"] .eyebrow{letter-spacing:1.4px}
@media(max-width:760px){.topbar{height:auto;min-height:56px;padding:9px 20px;justify-content:flex-end}.topbar>span{display:none}.topbar-actions{gap:14px}.language-switch button{padding:4px 8px}}

.topic-link[aria-current="page"]{background:#204037;color:#edf2dc;border-radius:6px}

.topic-link{min-width:0;overflow-wrap:anywhere}.topic-link .topic-square{flex-shrink:0}
