:root {
  color-scheme: light;
  --ink: #26354b;
  --muted: #5a6880;
  --accent: #355f9d;
  --line: #d5dfec;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #f4f6fb;
  font:
    16px/1.6 system-ui,
    -apple-system,
    sans-serif;
}
main {
  max-width: 1300px;
  margin: auto;
  padding: 48px 32px;
}
header {
  max-width: 1000px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 750;
}
h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 14px 0;
}
.lede {
  font-size: 22px;
  color: var(--muted);
}
.workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
section {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
}
h2 {
  font-size: 22px;
  margin: 0 0 18px;
}
label {
  display: block;
  font-weight: 650;
  margin: 14px 0 8px;
}
textarea,
button,
input {
  font: inherit;
}
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #8295af;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  resize: vertical;
}
.check {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: var(--accent);
  margin-top: 2px;
}
button {
  min-height: 48px;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 650;
  cursor: pointer;
  margin-top: 12px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.hint,
footer {
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.notice {
  font-size: 14px;
  background: #edf2fa;
  border-left: 4px solid var(--accent);
  padding: 14px;
}
.placeholder {
  border: 1px dashed var(--line);
  padding: 28px;
  border-radius: 6px;
  color: var(--muted);
}
.prediction {
  font-size: 26px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
ol {
  padding-left: 26px;
}
li {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
li span {
  overflow-wrap: anywhere;
}
li strong {
  display: block;
  color: var(--accent);
}
summary {
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
}
details p {
  font-size: 14px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
  max-height: 320px;
  font:
    12px/1.6 ui-monospace,
    monospace;
  background: #f4f6fb;
  padding: 12px;
}
#downloads a {
  display: inline-block;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
}
#error {
  background: #fff0e9;
  color: #8b3821;
  padding: 14px;
  border-left: 4px solid #a94c2f;
}
.facts {
  margin-top: 26px;
}
footer {
  margin-top: 28px;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid #b77a18;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  main {
    padding: 28px 18px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  section {
    padding: 20px;
  }
}
