:root {
  --ink:#17324d;
  --muted:#63748b;
  --line:#dce3ed;
  --brand-blue:#0067ac;
  --brand-red:#d71920;
  --brand-green:#7eaa13;
  --bg:#f5f7fa
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  color:var(--ink);
  background:var(--bg);
  font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
header {
  height:68px;
  max-width:1000px;
  margin:auto;
  padding:14px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  border-top:3px solid var(--brand-red);
  background:white
}
a {
  color:var(--brand-blue)
}
button,a {
  touch-action:manipulation
}
button {
  font:inherit;
  cursor:pointer
}
button:disabled {
  opacity:.45;
  cursor:not-allowed
}
button:focus-visible,a:focus-visible,.dropzone:focus-visible {
  outline:3px solid var(--brand-blue);
  outline-offset:4px
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  color:var(--ink);
  font-size:16px;
  font-weight:800;
  letter-spacing:1px
}
.mark {
  display:grid;
  place-items:center;
  background:var(--brand-blue);
  color:white;
  width:43px;
  height:43px;
  border-radius:12px;
  font-size:17px;
  letter-spacing:0
}
.brand-sub {
  display:block;
  font-size:9px;
  letter-spacing:2px;
  color:var(--muted)
}
.local {
  font-size:12px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px
}
.local span {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--brand-green)
}
main {
  max-width:940px;
  padding:36px 28px 20px;
  margin:auto
}
.intro {
  max-width:700px;
  margin-bottom:24px
}
h1 {
  font-size:26px;
  line-height:1.3;
  letter-spacing:-.6px;
  margin:0 0 6px;
  font-weight:700
}
.lead {
  font-size:14px;
  color:var(--muted);
  max-width:590px
}
h2 {
  font-size:20px;
  line-height:1.3;
  margin:0 0 12px;
  letter-spacing:-.5px
}
h3 {
  font-size:16px;
  margin:12px 0 14px
}
.card {
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px;
  margin-bottom:24px;
  box-shadow:0 6px 20px #203b4805
}
.dropzone {
  border:1.5px dashed #a8bdd5;
  border-radius:12px;
  background:#f8fafd;
  text-align:center;
  padding:26px 16px;
  cursor:pointer;
  transition:.15s
}
.dropzone.drag {
  border-color:var(--brand-blue);
  background:#eaf2fb
}
.upload-icon {
  font-size:23px;
  line-height:36px;
  width:36px;
  height:36px;
  background:#e9f1fa;
  color:var(--brand-blue);
  border-radius:13px;
  margin:auto
}
.dropzone small {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:15px
}
.primary,.secondary {
  border-radius:8px;
  padding:11px 19px;
  font-weight:600;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:22px;
  justify-content:center;
  text-decoration:none
}
.primary {
  background:var(--brand-red);
  border:1px solid var(--brand-red);
  color:white
}
.primary:hover:not(:disabled) {
  background:#b8151b
}
.secondary {
  border:1px solid #cbd6e3;
  background:white;
  color:var(--ink)
}
.action-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:18px
}
.action-row p {
  font-size:11px;
  color:var(--muted);
  margin:0
}
.selection {
  display:flex;
  align-items:center;
  gap:14px;
  background:#f0f5fb;
  padding:16px;
  border-radius:10px;
  margin-top:18px
}
.selection strong {
  display:block;
  overflow-wrap:anywhere
}
.selection small {
  display:block;
  color:var(--muted)
}
.file-icon {
  font-size:10px;
  border:1px solid #a8bdd5;
  padding:9px;
  border-radius:6px;
  color:var(--brand-blue);
  font-weight:700
}
.text-button {
  margin-left:auto;
  color:var(--brand-blue);
  border:0;
  background:transparent;
  white-space:nowrap
}
.notice {
  border-radius:10px;
  padding:17px 20px;
  background:#edf4fb;
  border:1px solid #cfdfef;
  margin-bottom:24px;
  white-space:pre-line
}
.error {
  background:#fff0ee;
  border-color:#efc8c2;
  color:#993e32
}
.warning {
  background:#fff9e9;
  border-color:#ebddac;
  color:#745b1c
}
.muted {
  color:var(--muted);
  font-size:13px
}
#steps {
  list-style:none;
  padding:0;
  counter-reset:step
}
#steps li {
  padding:10px 0;
  counter-increment:step;
  color:#8a999f
}
#steps li:before {
  content:counter(step);
  border:1px solid var(--line);
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  width:25px;
  height:25px;
  margin-right:14px;
  font-size:11px
}
#steps li.active {
  color:var(--brand-blue);
  font-weight:650
}
#steps li.active:before {
  background:var(--brand-blue);
  color:white
}
#steps li.done {
  color:var(--ink)
}
#steps li.done:before {
  content:'✓';
  background:#eff5df
}
.result-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:22px
}
.result-heading h2 {
  font-size:22px
}
.summary,.counts {
  display:grid;
  gap:12px;
  margin-bottom:20px;
  grid-template-columns:repeat(3,1fr)
}
.summary div,.counts div {
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  padding:16px
}
.summary strong {
  display:block;
  font-size:23px
}
.summary span,.counts span {
  font-size:11px;
  color:var(--muted)
}
.counts {
  grid-template-columns:repeat(6,1fr);
  gap:8px
}
.counts div {
  padding:12px
}
.counts strong {
  display:block;
  font-size:21px
}
.notes {
  padding:20px
}
.notes summary {
  font-weight:650;
  cursor:pointer
}
.notes ul {
  padding-left:20px;
  font-size:13px;
  color:var(--muted);
  overflow-wrap:anywhere
}
.downloads {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:25px 0
}
.preview {
  padding:0;
  overflow:hidden
}
.preview-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 18px;
  border-bottom:1px solid var(--line);
  gap:15px
}
.preview-toolbar a {
  font-size:12px;
  text-decoration:none;
  white-space:nowrap
}
.tabs {
  display:flex;
  gap:5px
}
.tabs button {
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--muted);
  font-size:12px;
  padding:9px 14px
}
.tabs [aria-selected=true] {
  background:#eaf2fb;
  color:var(--brand-blue);
  font-weight:650
}
iframe {
  display:block;
  width:100%;
  height:78vh;
  min-height:420px;
  border:0;
  background:#e9edf3
}
.preview-help {
  padding:0 18px;
  font-size:11px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:35px 0 15px
}
.section-heading h2 {
  font-size:20px;
  margin:0
}
.captures {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}
.captures a {
  text-decoration:none;
  color:var(--muted);
  font-size:12px
}
.captures img {
  width:100%;
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:0 3px 12px #203b4809
}
.captures span {
  display:block;
  margin:7px 0
}
footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:36px;
  padding-top:20px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:var(--muted)
}
[hidden] {
  display:none!important
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
@media(max-width:650px) {
  header {
    height:62px;
    padding:15px 20px
  }
  .local {
    font-size:0
  }
  .local span {
    width:8px;
    height:8px
  }
  main {
    padding:26px 18px 20px
  }
  h1 {
    font-size:23px
  }
  .card {
    padding:20px
  }
  .action-row,.result-heading {
    align-items:stretch;
    flex-direction:column;
    gap:16px
  }
  .primary {
    width:100%
  }
  .counts {
    grid-template-columns:repeat(3,1fr)
  }
  .summary {
    gap:7px
  }
  .summary div {
    padding:12px
  }
  .summary strong {
    font-size:19px
  }
  .captures {
    grid-template-columns:repeat(2,1fr);
    gap:10px
  }
  .preview {
    padding:0
  }
  .preview-toolbar {
    padding:10px
  }
  .tabs button {
    padding:9px
  }
  footer {
    flex-direction:column;
    gap:5px
  }
  .downloads a {
    flex-grow:1
  }
}
.page-controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:10px;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.page-controls .secondary {
  padding:4px 14px
}
.page-preview {
  height:78vh;
  min-height:420px;
  overflow:auto;
  background:#e5eaf1;
  padding:16px;
  text-align:center
}
.page-preview img {
  display:block;
  max-width:100%;
  width:760px;
  height:auto;
  margin:auto;
  box-shadow:0 2px 14px #203b4820
}
.selected-details { margin-top:14px; font-size:12px; color:var(--muted); }
.selected-details summary { cursor:pointer; }
.selected-details ul { max-height:170px; overflow:auto; padding-left:20px; overflow-wrap:anywhere; }
.batch-table-wrap { max-height:360px; overflow:auto; border:1px solid var(--line); border-radius:8px; }
.batch-table { width:100%; border-collapse:collapse; font-size:12px; }
.batch-table th { text-align:left; position:sticky; top:0; background:#f1f5fa; padding:10px 12px; }
.batch-table td { padding:10px 12px; border-top:1px solid var(--line); overflow-wrap:anywhere; }
.batch-table td:first-child { width:50%; }
.batch-table td:last-child { white-space:nowrap; }
.batch-table a { margin-left:10px; text-decoration:none; }
.batch-table .text-button { padding:0; margin-left:0; font-size:12px; }
.batch-status.completed { color:#46760e; }
.batch-status.failed { color:#aa2026; }
.batch-status.blocked { color:#8e6812; }
.result-buttons { display:flex; flex-wrap:wrap; gap:8px; }
@media (max-width:650px) { .batch-table th,.batch-table td { padding:9px 7px; font-size:11px; } .batch-table td:last-child { white-space:normal; } .batch-table a { display:inline-block; margin:3px 5px; } }
