:root { color-scheme: light; font-family: "Microsoft YaHei", system-ui, sans-serif; color: #1e293b; background: #f3f6fb; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.admin-shell { max-width: 1500px; margin: 0 auto; padding: 30px; }
.page-header, .header-actions, .pagination, .pagination > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-actions { flex-wrap: wrap; font-size: 13px; }
.eyebrow { color: #64748b; font-size: 12px; margin: 0 0 8px; }
h1 { font-size: 26px; margin: 0; }
a { color: #2563eb; text-decoration: none; }
.notice { padding: 14px 16px; border: 1px solid #bfdbfe; border-radius: 10px; background: #eff6ff; font-size: 14px; overflow-wrap: anywhere; }
.notice.error { color: #991b1b; border-color: #fecaca; background: #fff1f2; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 16px; }
button, input, select { font: inherit; border-radius: 7px; }
button { cursor: pointer; border: 1px solid #cbd5e1; background: white; padding: 9px 15px; color: #334155; }
button[aria-pressed="true"], button[type="submit"] { background: #2563eb; color: white; border-color: #2563eb; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, .table-wrap:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; align-items: end; padding: 20px; border: 1px solid #e2e8f0; border-radius: 12px; background: white; }
label { display: grid; gap: 7px; font-size: 13px; min-width: 0; }
input, select { width: 100%; min-width: 0; height: 39px; padding: 8px; border: 1px solid #cbd5e1; background: white; color: #1e293b; }
.hint { font-size: 12px; line-height: 1.8; color: #64748b; }
.results { border: 1px solid #e2e8f0; border-radius: 12px; background: white; overflow: hidden; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
th, td { padding: 13px 15px; border-bottom: 1px solid #edf2f7; vertical-align: top; }
th { color: #64748b; background: #f8fafc; font-weight: 500; white-space: nowrap; }
td { min-width: 110px; max-width: 360px; overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.6; }
td:last-child { min-width: 160px; }
.pagination { padding: 16px; font-size: 13px; color: #64748b; }
#emptyLogs { text-align: center; padding: 30px 16px; color: #64748b; }
@media (max-width: 700px) {
  .admin-shell { padding: 16px; }
  .page-header { align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 12px; }
  .pagination { align-items: flex-start; flex-direction: column; }
}
