:root{--ink:#172033;--muted:#64748b;--line:#dbe3ed;--blue:#1d4ed8;--bg:#f1f5f9}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans CJK SC",sans-serif}main{max-width:1180px;margin:auto;padding:24px}header,section{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:16px}header{display:flex;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#172033,#293852);color:white}h1{margin:4px 0}header p{margin:0;color:#cbd5e1}.tabs,.search,.section-title,.editor-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.tabs button.active{background:var(--blue);color:white}.search{margin-top:14px}.search input{flex:1;min-width:220px;padding:12px;border:1px solid var(--line);border-radius:9px}.section-title{justify-content:space-between}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.card{border:1px solid var(--line);border-radius:12px;padding:15px;background:#fff}.card h3{margin:0 0 8px}.meta,.reason{color:var(--muted);font-size:13px}.tags{display:flex;gap:6px;flex-wrap:wrap}.tag{font-size:12px;padding:3px 8px;border-radius:999px;background:#eff6ff;color:#1e40af}.tag.强{background:#fee2e2;color:#991b1b}.tag.中{background:#ffedd5;color:#9a3412}.tag.弱{background:#ecfdf5;color:#065f46}.actions{display:flex;gap:8px;margin-top:12px}button,a.button{border:0;border-radius:8px;padding:8px 12px;background:#e2e8f0;color:var(--ink);text-decoration:none;cursor:pointer}a.primary,#search,#save{background:var(--blue);color:white}.danger{background:#fee2e2!important;color:#991b1b!important}dialog{width:min(1000px,94vw);height:90vh;border:0;border-radius:14px;padding:20px}dialog textarea{display:block;width:100%;min-height:250px;margin:7px 0 14px;font-family:ui-monospace,monospace}dialog pre{white-space:pre-wrap;max-height:220px;overflow:auto;background:#0f172a;color:#dbeafe;padding:12px;border-radius:9px}.version{padding:8px;border-bottom:1px solid var(--line)}.close{float:right}@media(max-width:650px){main{padding:10px}.cards{grid-template-columns:1fr}.editor-actions input{width:100%}}
:where([hidden]){display:none!important}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.actions{flex-wrap:wrap}dialog::backdrop{background:rgba(15,23,42,.48)}#cleanup{width:min(560px,94vw);height:auto;max-height:90vh;padding:24px}#cleanup h2{margin-top:0}#cleanup-target{overflow-wrap:anywhere}#cleanup-fields{border:0;padding:0;margin:0}#cleanup-fields legend{font-weight:600;margin-bottom:10px}.cleanup-option{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:10px;cursor:pointer}.cleanup-option:has(input:checked){border-color:var(--blue);background:#eff6ff}.cleanup-option:has(input:disabled){opacity:.6;cursor:not-allowed}.cleanup-option input{flex:none;margin-top:4px}.cleanup-option b,.cleanup-option span span{display:block}.cleanup-option span span{font-size:14px;line-height:1.6;color:var(--muted);margin-top:5px}.cleanup-field{display:block;margin-top:14px;font-size:14px}.cleanup-field input{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;margin-top:6px;font:inherit}.cleanup-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}#cleanup-submit{background:var(--blue);color:white}#cleanup-status{min-height:1.5em;color:#991b1b;overflow-wrap:anywhere}.cleanup-warning{background:#fff7ed;color:#9a3412;border-radius:8px;padding:12px;line-height:1.6}
