:root {
  color-scheme: light;
  font: 16px system-ui, "Microsoft YaHei", sans-serif;
  color: #17242b;
  background: #f3f6f6;
  --accent: #075e52;
  --line: #dce4e4;
  --muted: #4b6269;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
  padding: 0 max(20px, calc((100vw - 920px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
}
main { width: min(920px, calc(100% - 40px)); margin: 40px auto; }
h1 { margin: 0 0 22px; font-size: 2rem; }
h2 { margin: 0 0 16px; font-size: 1.12rem; }
.panel {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.login { max-width: 400px; margin: 65px auto; }
.login form { display: grid; gap: 12px; }
button, input { font: inherit; }
button, input::file-selector-button {
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}
button:disabled { opacity: .55; cursor: default; }
.quiet, input::file-selector-button {
  color: var(--accent);
  background: #edf6f3;
  border-color: #d4e8e1;
}
input::file-selector-button { margin-right: 12px; }
input[type="password"] { width: 100%; padding: 9px; border: 1px solid #829798; border-radius: 7px; }
.upload, .section-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.section-header { justify-content: space-between; }
.section-header h2 { margin: 0; }
input[type="file"] { flex: 1 1 220px; min-width: 0; }
progress { display: block; width: 100%; margin-top: 14px; accent-color: var(--accent); }
[role="status"] { color: var(--muted); margin: 12px 0 0; }
[role="status"]:empty { display: none; }
ul { padding: 0; margin: 12px 0 0; list-style: none; }
li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 6px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
li span { font-weight: 650; overflow-wrap: anywhere; }
li small { grid-column: 1; color: var(--muted); }
li a { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); }
#more { margin-top: 12px; }
:focus-visible { outline: 2px solid #087967; outline-offset: 3px; }
