:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17202a;
  background: #f5f7fa;
}

body { margin: 0; }
.topbar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #ffffff;
  border-bottom: 1px solid #d8dee8;
}
.brand { color: #17202a; font-weight: 700; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a { color: #1f6feb; text-decoration: none; font-weight: 600; }
.user { color: #596575; font-size: 14px; }
.page { max-width: 1120px; margin: 28px auto; padding: 0 20px; }
.panel {
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 18px;
}
.panel.narrow { max-width: 440px; margin: 80px auto; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h1 { font-size: 28px; margin: 0 0 18px; }
h2 { font-size: 18px; margin: 0 0 12px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #1f6feb;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.button.secondary { background: #596575; }
.notice {
  border-radius: 6px;
  padding: 12px;
}
.notice.warning {
  background: #fff4e5;
  color: #663c00;
}
.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f6feb;
  cursor: pointer;
  font: inherit;
}
label { display: block; font-weight: 600; margin: 14px 0 8px; }
textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c7d0dd;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.source-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 16px;
}
.muted { color: #596575; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #e3e8ef; vertical-align: top; }
.progress { height: 12px; background: #e3e8ef; border-radius: 8px; overflow: hidden; }
.progress span { display: block; height: 100%; background: #1f6feb; }
.meta { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.meta dt { font-weight: 700; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
