* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { margin-inline: auto; padding-block: var(--s4); }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
}
.brand, header nav a { display: inline-block; min-height: 44px; line-height: 44px; }
.brand { text-decoration: none; }
main p, main li, main td, main a, main code { overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; }

.ad-slot {
  height: 250px;
  overflow: hidden;
  contain: strict;
  margin-block: var(--s6);
  padding: var(--s3);
}
.ads-off .ad-slot { display: none; }
.ad-label { display: block; margin-bottom: var(--s2); }
.house-card { display: block; text-decoration: none; }
.house-card strong, .house-card span { display: block; }
.house-card span { margin-top: var(--s1); }
.consent {
  position: fixed;
  inset: auto var(--s3) var(--s3);
  max-width: 44rem;
  margin-inline: auto;
  padding: var(--s3) var(--s4);
  z-index: 10;
}
.consent div { display: flex; flex-wrap: wrap; }
.consent button { flex: 1; min-height: 44px; padding: var(--s2) var(--s3); font: inherit; cursor: pointer; }

.inputs h2.step-label { margin: 0 0 var(--s4); }
.inputs .dropzone button { min-width: min(100%, 17.5rem); }
.seg label span { min-height: 44px; }
.seg#platform, .seg#supervised { gap: var(--s2); }
.target select, .target-tag > p { min-width: 0; }
.rows code.key, .rows code.src { display: block; text-align: start; }
.rows code.key { white-space: pre-wrap; }
.rows td { min-width: 0; }
@media (max-width: 48rem) {
  .actionbar > #status { flex-basis: auto; min-height: 3.1em; }
}
@media (forced-colors: active) {
  html :focus-visible, .seg input:focus-visible + span {
    outline: 2px solid CanvasText;
    outline-offset: 2px;
  }
  html .seg input:checked + span {
    forced-color-adjust: none;
    background: Highlight;
    color: HighlightText;
  }
}
