@font-face {
  font-family: Inter;
  src: url(/inter.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f5f6fa;
  --text: #20263c;
  --muted: #556078;
  --line: #dce0ed;
  --accent: #514c9f;
  --tint: #edecfa;
  font: 15px/1.5 Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
h1, h2, p, dd { margin: 0; }
button, select, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #645cd0; outline-offset: 4px; }
.shell { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.bar { border-bottom: 1px solid var(--line); background: #fcfcff; }
.bar-inner, .intro, .result-header, .foot, .pages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bar-inner { min-height: 64px; }
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 780;
  letter-spacing: -.026em;
  font-size: 18px;
  text-decoration: none;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  color: white;
  background: var(--accent);
  font-size: 21px;
}
.private { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.private i { width: 8px; height: 8px; border-radius: 50%; background: #3a8861; }
.intro { align-items: end; padding-block: 40px 19px; }
.intro h1 { font-size: clamp(39px, 6.3vw, 68px); letter-spacing: -.077em; line-height: 1.05; }
.intro p { color: var(--muted); max-width: 610px; font-size: 16px; margin-top: 9px; }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: white; }
.source, .destination { border-top: 3px solid #615ab1; }
.destination { border-top-color: #36816e; }
.dropping { outline: 2px dashed var(--accent); outline-offset: -6px; background: #faf9ff; }
.panel-title { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.panel h2 { font-size: 21px; letter-spacing: -.038em; }
.panel-title p, .result-header p, .guide p, .guide ol { margin-top: 3px; color: var(--muted); }
.role-icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-content: center;
  border-radius: 7px;
  background: var(--tint);
  color: var(--accent);
  font-size: 23px;
}
.destination .role-icon { background: #e7f2ed; color: #235e51; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.button {
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 730;
}
.button:disabled { opacity: .48; cursor: default; }
.primary { background: var(--accent); color: white; }
.primary:hover:enabled { background: #423b8e; }
.secondary { background: #fbfbfd; color: var(--accent); border-color: #d6d8e8; }
.secondary:hover:enabled, .link:hover:enabled { background: var(--tint); }
.link { color: var(--accent); background: transparent; }
.file-note { padding: 10px 0 4px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.activity {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(100px, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: white;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 12px;
  font-size: 13px;
}
progress { width: 100%; accent-color: var(--accent); }
.notice:not(:empty) { color: #3b356d; margin-top: 11px; overflow-wrap: anywhere; }
.result { margin-top: 15px; }
.result-header { align-items: start; }
.tallies {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #f6f7fb;
  border-radius: 8px;
  margin: 13px 0 14px;
}
.tallies > div { padding: 8px 11px; }
.tallies > div + div { border-left: 1px solid var(--line); }
.tallies dt { font-size: 12px; color: var(--muted); }
.tallies dd { font-weight: 760; font-size: 24px; font-variant-numeric: tabular-nums; }
.tallies .match dd { color: #1b6550; }
.tallies .changed dd, .tallies .missing dd { color: #9a432c; }
.filters { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px; }
.filters label { font-size: 12px; font-weight: 680; color: var(--muted); }
.filters input, .filters select {
  display: block;
  width: 100%;
  margin-top: 3px;
  background: #fff;
  color: var(--text);
  border: 1px solid #ccd2e2;
  border-radius: 6px;
  min-height: 39px;
  padding: 7px 8px;
}
.table-wrap { margin-top: 12px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
thead th { color: var(--muted); font-weight: 680; }
th, td { padding: 8px; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
tr > :first-child { width: 42%; }
td small { display: block; color: var(--muted); font: 11px/1.5 ui-monospace, monospace; }
.status { display: inline-block; border-radius: 5px; padding: 3px 7px; font-size: 12px; font-weight: 720; }
.status.match { background: #e2f1e9; color: #246146; }
.status.changed { background: #f9ebd9; color: #774c16; }
.status.missing, .status.unreadable { background: #f9e7e4; color: #8b3e2d; }
.status.extra { background: var(--tint); color: #47447c; }
.pages { margin-top: 9px; color: var(--muted); font-size: 13px; }
.guide { padding-block: 21px 25px; }
.guide h2 { font-size: 19px; }
.guide ol { padding-left: 22px; margin-bottom: 6px; }
.guide li + li { margin-top: 4px; }
.foot { border-top: 1px solid var(--line); padding-block: 15px 22px; color: var(--muted); font-size: 13px; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 5; left: 12px; top: 8px; background: white; padding: 8px; }
@media (max-width: 750px) {
  .shell { width: calc(100% - 28px); }
  .intro { padding-top: 25px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .inputs { grid-template-columns: 1fr; }
}
@media (max-width: 445px) {
  .private { font-size: 11px; }
  .brand { font-size: 16px; }
  .panel { padding: 12px; }
  .tallies > div { padding: 6px 4px; }
  .tallies dt { font-size: 10px; overflow-wrap: anywhere; }
  .tallies dd { font-size: 20px; }
  .activity { grid-template-columns: 1fr auto; }
  .activity progress { grid-row: 2; grid-column: 1 / -1; }
  .filters { grid-template-columns: 1fr; }
  table { min-width: 440px; }
}
