/* UKBOX Connect - the open source page's own few rules (kit step 61). Loaded after the shared house stylesheet.
   Inside the site's content security policy: no inline styles, nothing from another site, no data: addresses. */
.os-top { padding-bottom: var(--s7); }
.os-top .lead { margin-top: var(--s5); max-width: 44rem; }
.os-top .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s6); }
.os-sec { padding: var(--s7) 0; border-top: 1px solid var(--line); }
.os-sec .sec-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.os-table { margin-top: var(--s6); background: var(--panel); }
.os-table td { vertical-align: middle; }
.os-app { font-family: var(--head); font-weight: 700; color: var(--text); min-width: 11rem; }
.os-app small { display: block; margin-top: 4px; font: 400 var(--fs-fine)/1.4 var(--sans); color: var(--muted); }
.os-ver { white-space: nowrap; color: var(--text); font-variant-numeric: tabular-nums; }
.os-date { white-space: nowrap; }
.os-file { min-width: 15rem; }
.os-file a { font-weight: 600; }
.os-file .os-sumfile { display: block; margin-top: 4px; font-size: var(--fs-fine); color: var(--muted); }
.os-file .os-sumfile a { font-weight: 400; color: var(--body); }
.os-sum code { display: block; min-width: 16rem; max-width: 21rem; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.os-under { margin-top: var(--s4); max-width: 52rem; }
.os-cards { margin-top: var(--s6); }
.os-prose > h2:first-child { margin-top: 0; }
.os-prose .note { margin-top: var(--s5); }
.os-addr { overflow-wrap: anywhere; }
.os-licence { margin: var(--s6) 0 0; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel);
  color: var(--body); font: .86rem/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
.os-back { margin-top: var(--s6); }
.os-small { min-height: 62vh; display: grid; align-content: center; }
.os-small h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.os-small p { margin-top: var(--s4); max-width: 38rem; }

@media (min-width: 1240px) {
  /* a wide window: room for each file's name on one line */
  .os-app { min-width: 9rem; }
  .os-file { min-width: 25rem; }
}

@media (max-width: 959px) {
  /* a phone or a narrow window: each download becomes its own card, so nothing scrolls sideways */
  .os-table { border: 0; background: none; overflow: visible; }
  .os-table table, .os-table tbody, .os-table tr, .os-table td { display: block; width: 100%; }
  .os-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .os-table tr { margin-top: var(--s4); padding: var(--s4) var(--s4) var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); }
  .os-table .t td { padding: 7px 0; border: 0; min-width: 0; }
  .os-table .t td::before { content: attr(data-l); display: block; margin-bottom: 3px; font: 700 var(--fs-label)/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .os-table .t td.os-app::before { content: none; }
  .os-table .t td.os-app { font-size: 1.1rem; }
  .os-table .t td.num { text-align: left; }
  .os-sum code { min-width: 0; max-width: none; }
}
