:root { font: 16px/1.5 system-ui, sans-serif; color: #202020; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 960px; margin: 28px auto; padding: 0 20px 32px; }
h1 { font-size: 1.65rem; margin: 0 0 24px; } h2 { font-size: 1.2rem; }
label { font-weight: 600; } textarea, input, button { font: inherit; }
textarea { display: block; width: 100%; border: 1px solid #777; border-radius: 3px; padding: 12px; resize: vertical; }
#output { font-family: ui-monospace, Consolas, monospace; font-size: .95rem; background: #fafafa; }
input[type=search] { padding: 7px; min-width: 180px; flex: 1; border: 1px solid #777; }
button { border: 1px solid #555; background: #f3f3f3; color: #171717; padding: 7px 14px; border-radius: 3px; cursor: pointer; }
button:hover { background: #e7e7e7; } button:disabled { opacity: .55; cursor: default; }
#fetch { background: #252525; color: white; }
:focus-visible { outline: 3px solid #2464aa; outline-offset: 3px; }
.check { display: flex; align-items: center; gap: 8px; margin-top: 16px; } .check input { width: 18px; height: 18px; }
.hint { font-size: .9rem; color: #555; margin: 6px 0 12px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .row h2 { margin-right: auto; }
section { margin-top: 26px; } #messages { color: #942626; white-space: pre-wrap; } #progress { min-height: 24px; }
#history { list-style: none; padding: 0; } #history li { border-bottom: 1px solid #ddd; padding: 14px 0; }
.history-title { overflow-wrap: anywhere; margin: 4px 0 8px; } .history-actions { display: flex; gap: 8px; }
@media (max-width: 500px) { main { padding: 0 12px 24px; } #search-form label { width: 100%; } }
