:root {
  font-family: system-ui, sans-serif;
  color: #1b2532;
  background: #f2f5f8;
  --muted: #48566a;
  --line: #cdd6e0;
  --accent: #07569e;
  --soft: #e7eff8;
}
* { box-sizing: border-box; }
body { margin: 0; }
header h1 { margin: 0; }
header .edition { color: #e5edf6; }
.emblem { display: block; flex: none; }
header a:focus-visible { outline-color: #fff; }
.citation { display: block; color: var(--accent); font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.result .missing-links { font-size: .875rem; overflow-wrap: anywhere; margin: 10px 0; }
[hidden] { display: none !important; }
.wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
header { background: #12243c; color: #fff; border-bottom: 4px solid #cc163b; }
.top { min-height: 77px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; font-size: 1.53rem; font-weight: 720; letter-spacing: -.025em; }
.mark { width: 27px; height: 19px; border: 2px solid currentColor; color: var(--accent); border-radius: 70% 25%; display: inline-grid; place-items: center; transform: rotate(12deg); }
.mark::after { content: ""; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.edition, .hint, .count { color: var(--muted); font-size: .875rem; }
.workspace { margin: 40px 0 26px; display: grid; grid-template-columns: 1.08fr 1fr; gap: 18px; align-items: start; }
.panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid #12243c; padding: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 19px; }
h2, h3, p { margin: 0; }
h2 { font-size: 1.3rem; letter-spacing: -.02em; }
h3 { font-size: 1rem; }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
button:focus-visible, a:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sample, .tag { border: 0; border-radius: 2px; padding: 6px 9px; background: var(--soft); color: var(--accent); font-size: .875rem; font-weight: 650; }
.sample:hover { background: #d6e5f4; }
label { display: block; font-size: .92rem; font-weight: 680; margin-bottom: 7px; }
small { margin-left: 5px; color: var(--muted); font-size: .875rem; font-weight: 400; }
textarea { display: block; width: 100%; min-height: 118px; resize: vertical; padding: 12px; border-radius: 2px; border: 1px solid #8e9fb1; background: #fff; color: inherit; line-height: 1.45; }
textarea::placeholder { color: #536173; }
textarea.links { min-height: 83px; }
.count { text-align: right; margin: 5px 0 13px; font-variant-numeric: tabular-nums; }
.hint { margin-top: 7px; line-height: 1.4; }
.primary { display: block; min-width: 155px; margin-top: 17px; padding: 11px 16px; border: 0; border-radius: 2px; background: var(--accent); color: white; font-weight: 680; }
.primary:hover { background: #064477; }
.notice { font-size: .9rem; margin-top: 11px; color: #8b3420; line-height: 1.45; }
.empty { min-height: 319px; display: grid; align-content: center; justify-items: center; text-align: center; gap: 8px; padding: 18px; border: 1px solid #cdd6e0; background: #f7f9fc; border-radius: 2px; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 2px; background: var(--soft); margin-bottom: 4px; }
.empty p, .result p, .review blockquote { color: var(--muted); line-height: 1.55; }
.empty p { max-width: 29ch; }
.verdict { background: var(--soft); border: 1px solid transparent; border-radius: 2px; padding: 13px; margin-bottom: 11px; }
.verdict h3 { color: #12243c; font-size: 1.12rem; }
.verdict p, .review p, .review blockquote { margin-top: 6px; font-size: .92rem; overflow-wrap: anywhere; }
.review { border: 1px solid var(--line); border-radius: 2px; margin-top: 8px; padding: 10px 11px; }
.review summary { cursor: pointer; font-weight: 650; font-size: .94rem; }
.review summary span { float: right; color: var(--muted); font-size: .875rem; font-weight: 500; }
.review blockquote { margin: 8px 0; padding: 4px 9px; border-left: 2px solid #688db3; }
.contradicted { border-color: #c53449; background: #fff1f3; }
.verdict.contradicted h3, .review.contradicted summary span { color: #941d32; font-weight: 700; }
@media (max-width: 760px) {
  .workspace { grid-template-columns: 1fr; margin-top: 23px; }
  .empty { min-height: 222px; }
}
@media (max-width: 410px) {
  .wrap { width: calc(100% - 28px); }
  .panel { padding: 15px; }
  .review summary span { float: none; display: block; margin-left: 15px; }
}
