/* Layout and palette come from Atlas/Atlas Portal.dc.html.html. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { padding: 24px; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait !important; opacity: .5; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid #92b5a7 !important;
  outline-offset: 4px;
}
.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;
}
.mode-option:focus-within, .rows-options label:focus-within {
  outline: 2px solid #92b5a7; outline-offset: -2px;
}
.rows-options label { color: #c9c3ae; }
.rows-options input:checked + span { background: #d0d070; color: #221f21; }
[data-step-marker][aria-current="step"] {
  background: #d0d070; border-color: #d0d070 !important; color: #221f21; font-weight: 700;
}
.check-input {
  width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #d0d070;
}
input[type="range"] { width: 100%; height: 24px; margin: 0; accent-color: #92b5a7; }
.actions { display: flex; justify-content: space-between; gap: 12px; }
.quiet-button {
  font: 700 13px 'Nunito', sans-serif; background: #2c282a; color: #f0f0d0;
  border: 1px solid #433f40; border-radius: 4px; padding: 8px 14px; cursor: pointer;
  align-self: flex-start;
}
.quiet-button:hover { background: #433f40; }
#dev-controls { border-top: 1px solid #433f40; margin-top: 12px; padding-top: 16px; }
#dev-controls p { font-size: 13px; line-height: 1.5; color: #c9c3ae; }
#flush-jobs { border-color: #b97f5d; color: #f0c4a5; }
#flush-jobs:focus-visible { outline: 2px solid #f0d090; outline-offset: 3px; }
#notice { margin: 0; color: #c9c3ae; font-size: 14px; line-height: 1.5; }
#notice.error { color: #d39b77; }
.hint { color: #7d7a6a; font-size: 12px; }
.pixel { font-family: 'Silkscreen', monospace; color: #a4ad83; letter-spacing: 1px; font-size: 11px; }
.pixel.done { color: #d0d070; }
.st-run { color: #b0d0f0; }
.st-done { color: #a4ad83; }
.st-fail { color: #d39b77; }
.st-gpu { color: #f0d090; }
.today {
  background: #2c282a; border-left: 3px solid #92b5a7; padding: 6px 10px;
  font: italic 14px 'Lora', serif; color: #f0f0d0;
}
.server-html { overflow-wrap: anywhere; }
.server-html h2, #results h2 {
  margin: 8px 0 18px; font: 400 23px 'Lora', serif; color: #f0f0d0;
}
#run-log, #results-text {
  margin: 0; padding: 14px; border: 1px solid #433f40; border-radius: 4px;
  background: #1a1719; color: #c9c3ae; font: 12px/1.6 ui-monospace, monospace;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  body { padding: 12px; }
  .portal-content { padding: 0 24px 28px !important; gap: 24px !important; }
  .hero { height: 220px !important; }
  .portal-header { flex-wrap: wrap; gap: 18px !important; }
  .brand h1 { font-size: 27px !important; }
  .portal-extras { grid-template-columns: 1fr !important; gap: 24px !important; }
  .wizard-panel { padding: 24px 20px !important; }
}
@media (max-width: 420px) {
  .portal-content { padding-left: 16px !important; padding-right: 16px !important; }
  .hero { height: 170px !important; }
  .brand { gap: 10px !important; }
  .brand h1 { font-size: 24px !important; }
  [data-step-marker] { padding: 5px 7px !important; white-space: nowrap; }
  #wizard-heading > div:last-child { gap: 5px !important; }
  .mode-option { padding: 10px !important; }
}
