/* zapytnik.pl, the purchase-request site: a timetable of deadlines. One sans family, one hue:
   the nearer the deadline, the more tangerine. The calendar leaf at the left of every row is
   the thing to scan; state is carried by its fill and outline, not by colour alone.
   Fonts: Sofia Sans and Sofia Sans Condensed (SIL OFL 1.1), self-hosted in fonts/. */

@font-face {
  font-family: "Sofia Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/sofia-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sofia Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/sofia-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans Condensed"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/sofia-sans-condensed-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sofia Sans Condensed"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/sofia-sans-condensed-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --page: #F1F1EE; --surface: #FFFFFF; --ink: #1D2024; --muted: #5C6168;
  --line: #D9DAD6; --fill: #E6E7E3; --field: #7A7F86;
  /* Tangerine carries fills, with ink on it; as text on a light ground it is too pale, so
     text and focus rings take the burnt shade. */
  --brand: #F58A1F; --brand-hover: #E07A0C; --on-brand: #1D2024; --brand-text: #A84B00; --tint: #FDEBD6;
  --band: #1D2024; --band-ink: #FFFFFF; --band-line: #1D2024; --band-accent: #FFA64D;
  --band-muted: #B9BDC4; --hover: #FAFAF8;
  --error: #A3261B;
  --sans: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cond: "Sofia Sans Condensed", "Sofia Sans", "Arial Narrow", system-ui, sans-serif;
}
/* Dark: the system's setting, unless the header's switch chose a theme (theme.js sets
   data-theme before the first paint). The two blocks hold the same values. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #121315; --surface: #1B1D20; --ink: #ECEDEA; --muted: #A1A6AD;
    --line: #2F3236; --fill: #2A2D31; --field: #6E737A;
    --brand: #FFA040; --brand-hover: #FFB566; --on-brand: #1F1200; --brand-text: #FFA94D; --tint: #3A2410;
    --band: #1B1D20; --band-ink: #ECEDEA; --band-line: #2F3236;
    --band-muted: #A1A6AD; --hover: #202327;
    --error: #FF8B7E;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #121315; --surface: #1B1D20; --ink: #ECEDEA; --muted: #A1A6AD;
  --line: #2F3236; --fill: #2A2D31; --field: #6E737A;
  --brand: #FFA040; --brand-hover: #FFB566; --on-brand: #1F1200; --brand-text: #FFA94D; --tint: #3A2410;
  --band: #1B1D20; --band-ink: #ECEDEA; --band-line: #2F3236;
  --band-muted: #A1A6AD; --hover: #202327;
  --error: #FF8B7E;
}
:root[data-theme="light"] { color-scheme: light; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.5 var(--sans); }
a {
  color: inherit; text-decoration-color: var(--brand);
  text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
a:hover { color: var(--brand-text); }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--cond); margin: 0; }
h1 { font-weight: 800; font-size: 30px; line-height: 1.05; overflow-wrap: anywhere; text-wrap: balance; }
h2 { font-weight: 800; font-size: 24px; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 30; padding: 8px 12px; background: var(--surface); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header band: the only dark band on the page */
.band { background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.band .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; column-gap: 32px; min-height: 64px;
}
.band a:hover { color: var(--band-ink); }
.band :focus-visible, .dock :focus-visible { outline-color: var(--band-accent); }
.logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  font: 800 27px/1 var(--cond); text-decoration: none;
}
.logo svg { width: 30px; height: 30px; flex: none; }
.logo .t { fill: var(--brand); }
.logo .q { stroke: var(--on-brand); }
.logo .qd { fill: var(--on-brand); }
.nav ul { display: flex; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.theme {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  background: none; border: 0; border-radius: 6px; color: inherit; cursor: pointer;
}
.theme[hidden] { display: none; }
.theme svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme:hover { color: var(--band-accent); }
.theme .sun, .theme[aria-pressed="true"] .moon { display: none; }
.theme[aria-pressed="true"] .sun { display: block; }
.nav a {
  display: flex; align-items: center; min-height: 44px; white-space: nowrap;
  font-weight: 500; font-size: 15px; text-decoration: none;
}
.nav a:hover {
  text-decoration: underline; text-decoration-color: var(--band-accent);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}

/* Footer */
.foot { margin-top: 56px; border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 14px; color: var(--muted); }
.foot-in { display: grid; gap: 16px 56px; }
.foot p { max-width: 56ch; }
.foot-name { margin-bottom: 6px; font: 800 20px/1 var(--cond); color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); }

/* Forms and buttons */
/* The browser's own look is taken off buttons, fields, selects and the checkbox: Safari
   otherwise draws its glossy ones. 16px in every field, so iOS does not zoom in on focus. */
input, select, button { font: inherit; color: inherit; }
.btn, .field, .search button { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
  padding: 0 20px; border: 0; border-radius: 6px; background: var(--brand);
  color: var(--on-brand); font-weight: 700; text-align: center; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-ink { background: var(--ink); color: var(--surface); }
.btn-ink:hover { background: var(--brand); color: var(--on-brand); }
.field {
  min-width: 0; min-height: 48px; margin: 0; padding: 0 12px; background-color: var(--surface);
  border: 1.5px solid var(--field); border-radius: 6px; color: var(--ink); font-size: 16px;
}
.field::placeholder { color: var(--muted); opacity: 1; }
.field:focus-visible { outline-offset: 0; border-color: var(--brand-text); }
select.field, .fbar summary {
  padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238A8F96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat;
  background-position: right 12px center; background-size: 12px 8px;
}
select.field { text-overflow: ellipsis; cursor: pointer; }
.search { display: flex; margin-top: 20px; max-width: 640px; }
.search .field { flex: 1; border-radius: 6px 0 0 6px; border-right: 0; }
.search button {
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 0 6px 6px 0;
  background: var(--ink); color: var(--surface); font-weight: 700; cursor: pointer;
}

/* Breadcrumbs, tally, chips */
.crumbs ol {
  display: flex; flex-wrap: wrap; list-style: none; margin: 8px 0 0; padding: 0;
  font-size: 14px; color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin: 0 8px; }
.crumbs li { display: flex; align-items: center; min-width: 0; }
.crumbs a { display: inline-block; padding: 6px 0; color: var(--muted); }
.crumbs span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 40ch; }
.intro { margin-top: 8px; max-width: 68ch; color: var(--muted); }
.tally { margin-top: 8px; font-weight: 500; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%;
  padding: 0 14px 0 16px; border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 500; font-size: 15px; line-height: 1.2; text-decoration: none;
}
.chip svg { width: 12px; height: 12px; flex: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chip:hover { border-color: var(--brand-text); }

/* Filter lists: a side column on desktop home, two disclosures elsewhere */
.flist { list-style: none; margin: 0; padding: 0; }
.flist a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 36px; padding: 4px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.3; text-decoration: none;
}
.flist a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--brand); }
.flist a[aria-current] { font-weight: 700; }
.flist .n { color: var(--muted); font-variant-numeric: tabular-nums; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.side h2 { font-weight: 600; font-size: 18px; margin: 0 0 4px; }
.fbar { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; max-width: 640px; }
.fbar summary {
  display: block; min-height: 44px; padding: 0 34px 0 12px; line-height: 41px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  background-color: var(--surface); border: 1.5px solid var(--field); border-radius: 6px; font-weight: 500;
}
.fbar summary .v { color: var(--muted); font-weight: 400; }
.fbar details[open] summary { background-color: var(--ink); border-color: var(--ink); color: var(--surface); }
.fbar details[open] summary .v { color: inherit; }
.panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 10;
  max-height: 60vh; overflow: auto; padding: 4px 16px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 8px;
}
.panel .flist a { min-height: 44px; }
.panel .flist li:last-child a { border-bottom: 0; }

/* Rows */
.rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: 8px; }
.row {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-areas: "leaf rt st" "leaf meta st";
  column-gap: 16px; row-gap: 4px; padding: 16px; border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; border-radius: 8px 8px 0 0; }
.row:last-child { border-radius: 0 0 8px 8px; }
.row:only-child { border-radius: 8px; }
@media (hover: hover) { .row:hover { background: var(--hover); } }
.new {
  display: inline-block; margin-right: 4px; padding: 0 6px; border-radius: 3px;
  background: var(--tint); color: var(--brand-text); font-size: 12px; font-weight: 700; line-height: 18px;
}
.rt { grid-area: rt; font-weight: 600; font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }
.rt a { text-decoration: none; }
.rt a::after { content: ""; position: absolute; inset: 0; }
.rt a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.st {
  grid-area: st; align-self: start; max-width: 11rem; padding-top: 2px;
  font-size: 14px; font-weight: 500; line-height: 1.3; text-align: right;
}
.meta { grid-area: meta; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.by { font-weight: 500; }
.where { display: flex; flex-wrap: wrap; column-gap: 17px; overflow: hidden; color: var(--muted); }
.where span { position: relative; }
.where span::before {
  content: ""; position: absolute; left: -9px; top: 3px; bottom: 3px;
  border-left: 1px solid var(--field);
}
.is-soon .st { color: var(--brand-text); font-weight: 700; }
.is-unknown .st, .is-closed .st { color: var(--muted); }
.is-closed .rt { font-weight: 400; }
.is-closed .rt a { color: var(--muted); }
.is-closed .rt a:hover { color: var(--brand-text); }
.rows-split { margin: 32px 0 8px; font-weight: 600; font-size: 18px; color: var(--muted); }

/* Calendar leaf */
.leaf {
  grid-area: leaf; align-self: start; display: flex; flex-direction: column;
  align-items: center; justify-content: center; width: 56px; min-height: 66px;
  padding: 6px 0 7px; border: 2px solid var(--ink); border-radius: 4px;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.wd, .mm { font-size: 12px; font-weight: 500; }
.dd { margin: 3px 0 4px; font: 800 27px/1 var(--cond); }
.q { font: 800 28px/1 var(--cond); }
.is-soon .leaf { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.is-unknown .leaf { border-style: dashed; border-color: var(--muted); color: var(--muted); }
.is-closed .leaf { background: var(--fill); border-color: var(--fill); color: var(--muted); }
.is-closed .dd { text-decoration: line-through; text-decoration-thickness: 2px; }
.leaf.big { width: 96px; min-height: 112px; }
.big .wd, .big .mm { font-size: 15px; }
.big .dd, .big .q { font-size: 50px; margin: 4px 0 6px; }
.leaf.mini { width: 40px; min-height: 48px; padding: 4px 0; }
.mini .wd, .mini .mm { font-size: 10px; }
.mini .dd, .mini .q { font-size: 20px; margin: 1px 0 2px; }

/* Home: the header's band runs on into the hero; the week's deadlines are its picture */
.hero { padding: 24px 0 32px; background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.hero-in { display: grid; gap: 32px; }
.hero h1 { max-width: 18ch; }
.hero a:hover { color: var(--band-ink); }
.hero :focus-visible { outline-color: var(--band-accent); }
.tag { margin-top: 12px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.sub { margin-top: 4px; max-width: 58ch; color: var(--band-muted); }
.hero .search button { background: var(--brand); color: var(--on-brand); }
.hero .search button:hover { background: var(--brand-hover); }
.hero-count { margin-top: 16px; font-size: 15px; color: var(--band-muted); }
.hero-count strong { color: var(--band-ink); font-size: 17px; }
.hero-count a { color: var(--band-ink); text-decoration-color: var(--band-accent); }
.week h2 { font-weight: 600; font-size: 18px; }
.week ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 460px; margin: 12px 0 0; padding: 0; list-style: none; }
.week li, .week a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.week a { width: 100%; }
.week .leaf { width: 100%; min-height: 64px; border-color: currentColor; }
.week .dd { font-size: 24px; }
.week .is-soon .leaf { border-color: var(--brand); }
.week .is-none { color: var(--band-muted); }
.week .is-none .leaf { border-style: dashed; }
.week a:hover .leaf { background: var(--band-ink); border-color: var(--band-ink); color: var(--band); }
.week-n { font: 800 20px/1 var(--cond); }
.week-note { margin-top: 12px; font-size: 13px; color: var(--band-muted); }
.sec { margin: 32px 0 12px; }
.more { margin-top: 16px; }
.side section { margin-top: 32px; scroll-margin-top: 16px; }
.side .flist a { min-height: 44px; }
.about { margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--ink); }
.about ul { display: grid; gap: 20px 40px; margin: 16px 0 0; padding: 0; list-style: none; }
.about h3 { font-weight: 600; font-size: 19px; line-height: 1.25; }
.about li p { margin-top: 4px; max-width: 44ch; font-size: 15px; color: var(--muted); }
.about > p { margin-top: 20px; font-weight: 500; }

/* Listing */
.lst { max-width: 880px; }
.lst .rows-first { margin-top: 20px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; }
.pg {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: 6px; font-weight: 500; text-decoration: none;
}
.pg[aria-disabled] { border-color: var(--line); color: var(--muted); }
.pager .num { color: var(--muted); font-size: 15px; }
.empty { margin-top: 20px; padding: 24px; background: var(--surface); border-radius: 8px; }
.empty-h { font: 800 24px/1.15 var(--cond); }
.empty-h + p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.empty ul { list-style: none; margin: 12px 0 0; padding: 0; }
.empty a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* Sign-up */
.signup { margin-top: 40px; padding: 20px; background: var(--tint); border-radius: 8px; scroll-margin-top: 16px; }
.signup > p { margin-top: 6px; max-width: 60ch; }
.su-form { margin-top: 16px; max-width: 560px; }
.su-sel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.su-sel select { width: 100%; }
.su-main { display: flex; gap: 8px; margin-top: 8px; }
.su-main .field { flex: 1; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14px; line-height: 1.4; }
.consent input {
  -webkit-appearance: none; appearance: none; display: grid; place-content: center; flex: none;
  width: 22px; height: 22px; margin: 0; background: var(--surface);
  border: 1.5px solid var(--field); border-radius: 4px; cursor: pointer;
}
.consent input::before {
  content: ""; width: 12px; height: 12px; background: var(--on-brand); transform: scale(0);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.consent input:checked { background: var(--brand); border-color: var(--brand); }
.consent input:checked::before { transform: scale(1); }
.signup .signup-error { color: var(--error); font-weight: 700; }
.signup-done { font-weight: 700; }

/* Request */
.req { display: grid; grid-template-columns: minmax(0, 1fr); }
.cat { margin-top: 4px; font-size: 15px; font-weight: 700; }
.cat a { display: inline-flex; align-items: center; min-height: 36px; }
.req-head h1 { margin-top: 4px; max-width: 24ch; }
.source-title { margin-top: 12px; max-width: 68ch; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.req-side { margin-top: 20px; padding: 16px; background: var(--surface); border-radius: 8px; }
.deadline {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px;
  grid-template-areas: "leaf state" "leaf date";
}
.dl-state { grid-area: state; align-self: end; font: 800 30px/1.05 var(--cond); }
.dl-state:last-child { align-self: center; grid-row: 1 / -1; }
.dl-date { grid-area: date; align-self: start; margin-top: 6px; font-size: 15px; line-height: 1.35; }
.is-soon .dl-state { color: var(--brand-text); }
.is-unknown .dl-state, .is-closed .dl-state { color: var(--muted); }
.facts { margin: 16px 0; border-top: 1px solid var(--line); }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.wide { width: 100%; }
.note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.req-body h2 { margin: 36px 0 12px; }
.prose { max-width: 68ch; white-space: pre-line; overflow-wrap: anywhere; }
.none { color: var(--muted); }
.files { list-style: none; margin: 0; padding: 0; max-width: 68ch; border-top: 1px solid var(--line); }
.files li { border-bottom: 1px solid var(--line); }
.files a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; line-height: 1.3; overflow-wrap: anywhere; }
.prose-att {
  margin-top: 12px; padding-left: 16px; border-left: 2px solid var(--line);
  font-size: 14px; line-height: 1.5; color: var(--muted);
}
.related { margin-top: 40px; max-width: 880px; }
.related h2 { margin-bottom: 12px; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: var(--band); color: var(--band-ink); border-top: 1px solid var(--band-line);
}
.dock .leaf { border-color: currentColor; }
.dock.is-soon .leaf { border-color: var(--brand); }
.dock.is-unknown .leaf, .dock.is-closed .leaf { color: inherit; opacity: .75; }
.dock .txt { flex: 1; font: 800 20px/1.1 var(--cond); }
.dock .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
.has-dock { padding-bottom: 72px; }

/* Static pages */
.page { max-width: 68ch; padding-top: 24px; }
.page h2 { margin: 32px 0 8px; }
.page p, .page ul { margin: 12px 0 0; }
.page ul { padding-left: 20px; }
.page li + li { margin-top: 6px; }

/* Phone */
@media (max-width: 959px) {
  .band nav { order: 1; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px; overflow-x: auto; }
  .row {
    grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "leaf rt" "leaf st" "leaf meta";
    column-gap: 12px; padding: 14px 12px;
  }
  .row .leaf { width: 48px; min-height: 62px; }
  .row .dd { font-size: 26px; }
  .st { max-width: none; padding-top: 0; text-align: left; }
  /* The page's own title is the h1 just below; on a phone it would only repeat it. */
  .crumbs li:last-child:not(:first-child) span { display: none; }
  .crumbs li:has(> span)::before { display: none; }
}
@media (max-width: 479px) {
  .su-sel { grid-template-columns: minmax(0, 1fr); }
  .su-main { flex-direction: column; }
}

/* Desktop */
@media (min-width: 960px) {
  .wrap { padding: 0 32px; }
  .band nav { margin-left: auto; }
  .band .wrap { justify-content: flex-start; column-gap: 20px; }
  h1 { font-size: 40px; line-height: 1.02; }
  .hero { padding: 48px 0 56px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; align-items: end; }
  .week .leaf { min-height: 72px; }
  .week .dd { font-size: 27px; }
  .home { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
  .side .flist a { min-height: 36px; }
  .only-ph { display: none; }
  .about ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: minmax(0, 1fr) auto auto; }
  .signup { padding: 28px; }
  .req {
    grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto 1fr;
    grid-template-areas: "head side" "body side"; column-gap: 48px; align-items: start;
  }
  .req-head { grid-area: head; }
  .req-body { grid-area: body; }
  .req-side { grid-area: side; position: sticky; top: 16px; margin-top: 24px; }
  .req-side .deadline { grid-template-areas: "leaf state" "date date"; }
  .req-side .dl-state { align-self: center; }
  .req-side .dl-date { margin-top: 12px; }
  .dock { display: none; }
  .has-dock { padding-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
