:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#233149;background:#f5f7fc;--height:100vh;--accent:#2857b7;--muted:#6d7890}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:13px;padding:11px 16px;background:var(--accent);color:white;transition:transform .23s cubic-bezier(.2,1.6,.4,1),box-shadow .2s}button:active{transform:scale(.94)}button:disabled{opacity:.5;cursor:default}a{color:var(--accent);overflow-wrap:anywhere}.secondary{background:#e7eefb;color:#28509c}.quiet{background:transparent;color:#536580;padding:8px 12px}.shell{max-width:1250px;margin:auto;height:var(--height);display:flex;flex-direction:column}header{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#ffffffd9;border-bottom:1px solid #e4e9f3}header div{flex:1}h1{font-size:19px;margin:0 0 3px}small,.muted{color:var(--muted);font-size:13px;line-height:1.6}nav{display:flex;gap:4px;padding:8px 14px;background:white;overflow:auto}nav button{white-space:nowrap;background:transparent;color:#63718b;font-size:14px;padding:9px 13px}nav [aria-current=page]{background:#e9effc;color:#2857b7;font-weight:700}main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 16px 32px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.stat{padding:14px;background:white;border:1px solid #e5eaf3;border-radius:16px;display:flex;flex-direction:column;gap:4px}.stat strong{font-size:24px;letter-spacing:-1px}.stat span{font-size:12px;color:var(--muted)}.intro{padding:22px;border-radius:22px;background:linear-gradient(120deg,#e9efff,#f0f9fc);margin-bottom:16px}.intro h2{margin:0;font-size:24px}.intro p{font-size:14px;line-height:1.7;color:#596a86}.actions,.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row{justify-content:space-between}details{border:1px solid #e1e7f1;border-radius:16px;background:white;padding:14px;margin-bottom:14px}summary{cursor:pointer;font-weight:650;padding:4px}.filter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#586a84}input,select,textarea{min-width:0;width:100%;padding:11px;border-radius:11px;border:1px solid #dce3ee;background:#fbfcff;color:#233149}input:focus,textarea:focus,select:focus{outline:2px solid #628ce855;outline-offset:1px}.search{margin:14px 0 4px}.search input{background:white;font-size:15px;padding:14px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.concept{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:18px;background:white;color:inherit;border:1px solid #e1e7f1;border-radius:18px;min-height:190px;box-shadow:0 4px 12px #4c648706}.concept h3{font-size:18px;margin:10px 0}.concept p{font-size:14px;line-height:1.6;margin:0 0 14px;color:#6c7891;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.concept .foot{margin-top:auto;color:#607290;font-size:12px}.badge{display:inline-block;border-radius:8px;padding:4px 7px;font-size:11px;font-weight:500;background:#f0f4fb;color:#65758d;margin-right:4px}.badge.pending{color:#8c6927;background:#fff7e2}.badge.verified{color:#16744f;background:#e5f6ed}.wide{display:block;width:100%;margin-top:16px}.panel{background:white;border:1px solid #e3e8f1;border-radius:18px;padding:20px;margin-bottom:14px}.panel h2{font-size:20px;margin-top:0}.panel h3{font-size:16px}.panel p,.panel li{font-size:14px;line-height:1.75}.empty{text-align:center;padding:40px 18px;color:var(--muted)}#notice{margin:0;padding:10px 16px;background:#fff3d5;color:#815d1e;font-size:13px}dialog{border:0;border-radius:24px;box-shadow:0 22px 100px #15295240;width:min(820px,calc(100% - 24px));max-height:calc(var(--height) - 30px);padding:0;overflow:hidden;background:#fcfdff;color:#233149}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#1c2b4566;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e5eaf3;font-size:12px;color:var(--muted)}#cardContent{padding:22px;min-height:0;overflow:auto;overscroll-behavior:contain}#cardContent h2{font-size:25px;line-height:1.4;margin:14px 0}#cardContent h3{font-size:16px;margin-top:24px;color:#37598f}.question{padding:20px;border-radius:18px;background:#edf3ff;font-size:18px;line-height:1.8;margin:22px 0}.answer-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.8}.answer-copy img{display:block;max-width:100%;height:auto;border-radius:10px}.answer-copy pre{white-space:pre-wrap;background:#eef1f7;padding:12px;border-radius:10px}mjx-container[display=true]{display:block!important;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:8px 2px;white-space:normal}footer{padding:12px 16px;border-top:1px solid #e5eaf3;display:flex;gap:8px;flex-wrap:wrap;background:white}footer button{flex:1;min-width:85px}.link-list{display:flex;flex-wrap:wrap;gap:5px}.link-list button{font-size:12px}.progress{height:6px;border-radius:6px;background:#edf1f8;overflow:hidden;margin:12px 0}.progress span{display:block;height:100%;background:#6988d3}.source-url{font-size:12px}.warning{padding:12px;border-radius:12px;background:#fff5d9;color:#86601d;font-size:13px;line-height:1.7}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-grid .full{grid-column:1/-1}textarea{min-height:100px;resize:vertical}.code{font-family:ui-monospace,monospace;font-size:12px;min-height:200px}.pager{display:flex;gap:8px;margin:14px 0}.admin-list{max-height:450px;overflow:auto}.admin-item{padding:12px;border-bottom:1px solid #e8edf5}.admin-item button{font-size:12px}.error{color:#ab2b36}.success{color:#187e54}@media(max-width:720px){header{padding:12px 8px;gap:4px}h1{font-size:17px}header a{font-size:12px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.filter-grid,.admin-grid{grid-template-columns:1fr 1fr}.stats{gap:7px}.stat{padding:12px 8px}.stat strong{font-size:22px}.concept{padding:14px;min-height:180px}.concept h3{font-size:16px}.intro{padding:20px}.intro h2{font-size:22px}#cardContent{padding:18px}}@media(max-width:380px){.cards{grid-template-columns:1fr}.filter-grid,.admin-grid{grid-template-columns:1fr}.admin-grid .full{grid-column:auto}nav{padding:8px 5px}nav button{padding:8px 10px}.stat span{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
