/* Inner pages (Queue, Gallery, Docs): the sky on top, the hill below, the same paper and Win98 parts. */
.page-top { padding: 120px 0 var(--s6); background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); }
.page-title { margin: 0; font: 900 clamp(56px, 6vw, 96px)/1 var(--display); text-shadow: -2px 0 0 #00e5ff, 2px 0 0 #ff2bd6; }
.page-lede { margin: 16px 0 0; max-width: 40em; font-size: 19px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.form-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.job-form { padding: 32px; color: #111; background: var(--w98); box-shadow: inset -2px -2px 0 var(--w98-dk), inset 2px 2px 0 var(--w98-hi), inset -4px -4px 0 var(--w98-lo), 0 12px 30px rgba(0, 30, 0, .3); }
.kind { display: flex; gap: 12px; margin: 0 0 24px; padding: 0; border: 0; }
.kind label { flex: 1; position: relative; }
.kind input { position: absolute; opacity: 0; }
.kind span { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 20px; text-align: center; font-weight: 800; cursor: pointer; background: var(--w98); box-shadow: inset -2px -2px 0 var(--w98-dk), inset 2px 2px 0 var(--w98-hi), inset -4px -4px 0 var(--w98-lo); }
.kind input:checked + span { color: #fff; background: var(--w98-blue); box-shadow: inset 2px 2px 0 var(--w98-dk), inset -2px -2px 0 var(--w98-hi); }
.kind input:focus-visible + span { outline: 3px solid #111; outline-offset: 2px; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-weight: 800; margin-bottom: 8px; }
.field textarea, .lookup input { width: 100%; padding: 14px 16px; font: 500 18px/1.45 var(--text); color: #111; background: #fff; border: 0; box-shadow: inset 2px 2px 0 var(--w98-lo), inset -2px -2px 0 var(--w98-hi), inset 4px 4px 0 var(--w98-dk); resize: vertical; }
.hint { margin: 8px 0 0; font-size: 16px; color: #333; }
.drop { position: relative; display: grid; place-items: center; min-height: 160px; padding: 24px 32px; text-align: center; font-weight: 700; color: #222; background: #fff; cursor: pointer; box-shadow: inset 2px 2px 0 var(--w98-lo), inset -2px -2px 0 var(--w98-hi), inset 4px 4px 0 var(--w98-dk); outline: 2px dashed #8a8a8a; outline-offset: -14px; }
.drop.is-over { background: #e6edff; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.btn.big { width: 100%; min-height: 60px; font-size: 20px; }
.job-form .btn.primary { background: var(--w98-blue); color: #fff; box-shadow: 0 5px 0 #0b1d66; }
.form-msg { min-height: 1.5em; margin: 16px 0 0; font-weight: 700; color: #133a14; }
.form-msg.is-bad { color: #b3170e; }
.receipt.is-ticket, .receipt.is-refused { font-size: 17px; }
.receipt.is-refused .r-tag { background: #b3170e; }
.lookup { display: flex; gap: 12px; margin-bottom: var(--s4); max-width: 720px; }
.lookup input { font: 500 16px/1.4 var(--mono); }
.lookup .btn, .more .btn { background: #fff; color: #10206b; }
.lookup .btn { flex: none; min-height: 56px; }
.more { display: flex; justify-content: center; margin-top: var(--s5); }

.doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.doc-cols.three { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.doc-cols.three p { margin: 0; }
.doc-card { padding: 32px; color: var(--ink); background: var(--paper); box-shadow: 0 8px 18px rgba(0, 30, 0, .25); }
.doc-card h2 { margin: 0 0 16px; font: 900 34px/1.05 var(--display); color: #222; }
.doc-card p { margin: 0 0 14px; }
.doc-card a { color: #1636a8; }
.doc-list { margin: 0 0 14px; padding-left: 22px; }
.doc-list li { margin-bottom: 10px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.kv:last-of-type { margin-bottom: 16px; }
.kv > :last-child { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.split { display: grid; grid-template-columns: 60fr 30fr 10fr; min-height: 120px; box-shadow: 0 8px 18px rgba(0, 30, 0, .25); }
.split > div { display: flex; flex-direction: column; justify-content: center; padding: 30px 32px; min-width: 0; }
.split b { font: 900 44px/1 var(--display); }
.split span { font-weight: 700; }
.split-gpu { background: var(--fan); }
.split-burn { background: #d9261c; }
.split-work { background: var(--w98); color: #111; }
.split-work b { font-size: 28px; }
.split-work span { font-size: 16px; }
@media (max-width: 1100px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .form-grid, .doc-cols, .doc-cols.three { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .page-top { padding: 32px 0 var(--s5); }
  .job-form, .doc-card { padding: 24px 32px; }
  .doc-card h2 { font-size: 30px; }
  .lookup { flex-direction: column; }
}
/* the nav lines up with the centred container on inner pages */
@media (min-width: 1101px) and (min-aspect-ratio: 4/3) {
  .page-queue .nav, .page-gallery .nav, .page-docs .nav { left: calc(max(var(--edge), (100% - var(--wrap)) / 2) - 18px); }
  .page-queue .nav a:first-child, .page-gallery .nav a:first-child, .page-docs .nav a:first-child { margin-left: 0; }
}
