/* SPDX-License-Identifier: GPL-3.0-or-later. 页面原型由 tulis123 提供。 */
:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: #f8f2f4;
  color: #30232b;
  font-size: 14px;
  line-height: 1.55;
}
.wrap { max-width: 1080px; padding: 0 22px; margin: 0 auto; }
.top { background: #fff; border-bottom: 1px solid #e8dce1; }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 76px; padding-top: 11px; padding-bottom: 11px; }
h1, h2, p { margin: 0; }
h1 { font-size: 23px; line-height: 1.2; color: #662445; }
h2 { font-size: 18px; line-height: 1.25; }
.metadata, .panel-heading p, .feedback, .footer, .empty { color: #6d5a65; }
.metadata { margin-top: 5px; overflow-wrap: anywhere; word-break: break-word; }
.content { padding-top: 20px; padding-bottom: 12px; }
button, input, select, textarea { color: inherit; font: inherit; }
button, input, select, textarea {
  background: #fff;
  border: 1px solid #d6c1cc;
  border-radius: 8px;
}
button { min-height: 39px; padding: 5px 13px; cursor: pointer; }
button:hover { background: #faeef4; border-color: #ae7290; }
button:disabled { opacity: .45; cursor: default; }
button:focus, input:focus, select:focus, textarea:focus { outline: 2px solid #993d70; outline-offset: 2px; }
.notice, .panel { margin-bottom: 14px; padding: 16px; border: 1px solid #e8dce1; border-radius: 12px; background: #fff; }
.notice { display: flex; justify-content: space-between; align-items: center; }
.notice button { margin-left: 12px; flex-shrink: 0; }
.overview { display: flex; flex-wrap: wrap; margin: 0 -5px 9px; }
.summary {
  flex: 1 1 calc(16.66% - 10px);
  min-width: 0;
  margin: 0 5px 5px;
  padding: 9px 12px;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.summary[aria-pressed="true"] { color: #602443; background: #f8dce9; border-color: #a26989; }
.summary span, .summary strong, .summary small { display: block; }
.summary span { font-weight: 700; }
.summary strong { font-weight: 700; font-size: 24px; line-height: 1.3; margin: 2px 0; }
.summary small { font-size: 12px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.panel-heading button, .actions { flex-shrink: 0; margin-left: 8px; }
.panel-heading p { margin-top: 5px; }
.filters { display: flex; flex-wrap: wrap; margin: -4px -4px 11px; }
.filters label { flex: 0 1 auto; min-width: 104px; margin: 4px; }
.filters .search { flex: 1 1 170px; }
.filters input, .filters select { display: block; width: 100%; height: 38px; padding: 5px 9px; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
th, td { padding: 8px; text-align: left; border-bottom: 1px solid #eee3e8; vertical-align: top; overflow-wrap: anywhere; word-break: break-word; }
thead { background: #f7edf2; }
th:first-child { width: 45%; }
th:nth-child(2) { width: 20%; }
.row-key, .row-detail { display: block; font-size: 12px; color: #6d5a65; }
.row-record { color: #6d5a65; }
.row-record.positive { color: #245c44; font-weight: 650; }
.empty { padding: 17px 8px 4px; }
.paging { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: #6d5a65; }
.paging p { text-align: center; margin: 0 6px; }
.actions { display: flex; flex-wrap: wrap; }
.export textarea, .code textarea { width: 100%; resize: vertical; padding: 9px; }
.feedback:not(:empty) { padding-top: 6px; }
.footer { padding-top: 9px; padding-bottom: 18px; font-size: 12px; }
.footer a { color: inherit; margin-inline-start: .5em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { background: #1d171d; color: #f3e8eb; }
html[data-theme="dark"] h1 { color: #f2bad6; }
html[data-theme="dark"] .metadata,
html[data-theme="dark"] .panel-heading p,
html[data-theme="dark"] .feedback,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .paging,
html[data-theme="dark"] .row-key,
html[data-theme="dark"] .row-detail,
html[data-theme="dark"] .row-record { color: #cab6c1; }
html[data-theme="dark"] .top,
html[data-theme="dark"] .notice,
html[data-theme="dark"] .panel { background: #261c26; border-color: #503e4c; }
html[data-theme="dark"] button,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea { background: #302332; border-color: #665163; }
html[data-theme="dark"] .summary[aria-pressed="true"] { background: #563149; color: #ffdced; border-color: #c98eac; }
html[data-theme="dark"] button:hover, html[data-theme="dark"] thead { background: #3b2838; }
html[data-theme="dark"] th, html[data-theme="dark"] td { border-color: #443441; }
html[data-theme="dark"] .row-record.positive { color: #9bddbc; }
html[data-theme="dark"] button:focus,
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus { outline-color: #efa6cc; }
@media (max-width: 760px) {
  .summary { flex-basis: calc(33.33% - 10px); }
}
@media (max-width: 560px) {
  .wrap { padding-left: 11px; padding-right: 11px; }
  .masthead { min-height: 62px; }
  h1 { font-size: 21px; }
  .content { padding-top: 12px; }
  .summary { flex-basis: calc(50% - 10px); padding: 8px 6px; }
  .summary strong { font-size: 19px; }
  .summary small { font-size: 11px; }
  .notice, .panel { padding: 10px; }
  .filters label { min-width: 96px; }
  .filters .search { flex-basis: 100%; }
  th, td { padding: 6px 4px; font-size: 13px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions button + button { margin-top: 4px; }
}
