/* Oakspan specification sheet: one letter page. Navy band, orange beam, Archivo, ruled tables, tabular figures.
   On screen it sits as a sheet of paper on a grey desk; printed, it fills the page. */
/* The sheet's own fonts: fixed instances of Archivo made from the variable font (OFL, assets/fonts/ARCHIVO-OFL.txt).
   A PDF stores a fixed font compactly; the variable one became fourteen drawn-glyph fonts and tripled the file. */
@font-face { font-family: "Archivo Sheet"; font-weight: 400; font-display: block; src: url("/assets/fonts/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo Sheet"; font-weight: 600; font-display: block; src: url("/assets/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo Sheet"; font-weight: 700; font-display: block; src: url("/assets/fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo Sheet"; font-weight: 800; font-display: block; src: url("/assets/fonts/archivo-800.woff2") format("woff2"); }
@font-face { font-family: "Archivo Sheet Condensed"; font-weight: 800; font-display: block; src: url("/assets/fonts/archivo-condensed-800.woff2") format("woff2"); }
:root { --ink: #0e1f3d; --ink-2: #3b4760; --ink-3: #65708a; --rule: #d4d9e1; --rule-2: #e5e8ed; --paper-2: #f3f4f6; --blue: #1b4fb3; --beam: #f26a1b; --beam-ink: #b4460b; --font: "Archivo Sheet", "Helvetica Neue", Arial, sans-serif; --display: "Archivo Sheet Condensed", "Archivo Sheet", "Arial Narrow", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #dfe3e8; color: var(--ink); font-family: var(--font); font-size: 13px; line-height: 1.45; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
h1, h2, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: var(--blue); }

.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 8.5in; margin: 0 auto; padding: 14px 4px; font-size: 14px; }
.sheet-bar a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sheet-bar a:hover { text-decoration: underline; }
.sheet-print { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.sheet-print:hover { background: #15408f; }
.sheet-print:focus-visible, .sheet-bar a:focus-visible { outline: 3px solid var(--beam); outline-offset: 2px; }

.sheet { display: flex; flex-direction: column; width: 8.5in; max-width: 100%; min-height: 11in; margin: 0 auto 40px; background: #fff; box-shadow: 0 1px 2px #0e1f3d1f, 0 12px 40px #0e1f3d24; }
.sheet > section, .sheet > dl, .sheet > div:not(.sheet-beam), .sheet-foot { margin-left: .5in; margin-right: .5in; }

.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: .26in .5in .22in; background: var(--ink); color: #fff; }
.sheet-head img { height: 40px; width: auto; display: block; }
.sheet-kind { text-align: right; line-height: 1.1; }
.sheet-kind span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #c7d1e4; }
.sheet-kind strong { display: block; margin-top: 4px; font-size: 24px; font-weight: 800; font-family: var(--display); letter-spacing: .01em; }
.sheet-beam { height: 5px; background: var(--beam); }

.sheet-title { padding-top: .22in; }
.sheet-maker { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sheet-maker span { margin-left: 14px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); align-self: center; }
.sheet-maker span:first-child { margin-left: 0; }
.sheet-title h1 { margin-top: 6px; max-width: 34ch; font-size: 28px; line-height: 1.02; font-weight: 800; font-family: var(--display); letter-spacing: -.015em; text-wrap: balance; }

.sheet-key { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: .16in; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.sheet-key > div { padding: 9px 14px 10px 0; }
.sheet-key > div + div { padding-left: 14px; border-left: 1px solid var(--rule); }
.sheet-key dt { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.sheet-key dd { margin-top: 2px; font-size: 20px; font-weight: 800; font-family: var(--display); font-variant-numeric: tabular-nums; line-height: 1.1; }

.sheet-body { display: grid; grid-template-columns: 2.6in minmax(0, 1fr); gap: .3in; margin-top: .18in; align-items: start; }
.sheet-photo { border: 1px solid var(--rule); }
.sheet-photo img { display: block; width: 100%; height: 2.05in; object-fit: contain; padding: 10px; background: #fff; }
.sheet-photo.is-drawing img { padding: 44px; background: var(--paper-2); }
.sheet-photo figcaption { padding: 5px 8px; border-top: 1px solid var(--rule); font-size: 9.5px; color: var(--ink-3); }

h2 { margin-bottom: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--beam-ink); }
.sheet-specs table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 12.5px; }
.sheet-specs th { width: 42%; padding: 4px 10px 4px 0; text-align: left; font-weight: 600; color: var(--ink-2); vertical-align: top; border-bottom: 1px solid var(--rule-2); }
.sheet-specs td { padding: 4px 0; font-weight: 600; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--rule-2); }

.sheet-ship { margin-top: .16in; }
.sheet-ship dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.sheet-ship dl > div { padding: 5px 10px 6px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: -1px; }
.sheet-ship dl > div.wide { grid-column: span 2; }
.sheet-ship dt { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sheet-ship dd { margin-top: 1px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sheet-flag { margin-top: 6px; padding-left: 8px; border-left: 3px solid var(--beam); font-size: 11.5px; font-weight: 600; }

.sheet-lower { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: .3in; margin-top: .16in; }
.sheet-docs ul { border-top: 2px solid var(--ink); }
.sheet-docs li { display: grid; grid-template-columns: 1.5in minmax(0, 1fr); gap: 8px; padding: 3px 0; border-bottom: 1px solid var(--rule-2); font-size: 10.5px; line-height: 1.3; }
.sheet-docs li span { font-weight: 700; }
.sheet-docs a { overflow-wrap: anywhere; text-decoration: none; }
.sheet-quote { padding: 10px 12px 12px; border: 1px solid var(--rule); border-top: 2px solid var(--ink); }
.sheet-quote p { font-size: 11.5px; color: var(--ink-2); }
.sheet-quote strong { color: var(--ink); }
.sheet-fill { margin-top: 8px; display: grid; gap: 7px; font-size: 11.5px; }
.sheet-fill li { display: grid; grid-template-columns: 1in minmax(0, 1fr); align-items: end; gap: 8px; }
.sheet-fill li span { font-weight: 700; }
.sheet-fill i { height: 16px; border-bottom: 1px solid var(--ink-2); }
.sheet-fill li.boxes { grid-template-columns: 1in auto auto 1fr; align-items: center; gap: 8px 14px; }
.sheet-fill b { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.sheet-fill b::before { content: ""; width: 11px; height: 11px; border: 1.5px solid var(--ink); }

.sheet-foot { margin-top: auto; padding: .14in 0 .24in; }
.sheet-foot p:first-child { padding-top: 8px; border-top: 2px solid var(--ink); font-size: 11px; }
.sheet-foot p + p { margin-top: 4px; font-size: 9.5px; line-height: 1.4; color: var(--ink-3); }

@media screen and (max-width: 860px) {
  body { background: #fff; }
  .sheet-bar { padding: 10px 16px; flex-wrap: wrap; }
  .sheet { min-height: 0; box-shadow: none; margin-bottom: 0; }
  .sheet > section, .sheet > dl, .sheet > div:not(.sheet-beam), .sheet-foot { margin-left: 16px; margin-right: 16px; }
  .sheet-head { padding: 16px; }
  .sheet-head img { height: 30px; }
  .sheet-kind strong { font-size: 18px; }
  .sheet-title h1 { font-size: 24px; }
  .sheet-key { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .sheet-key > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .sheet-key > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .sheet-body, .sheet-lower { grid-template-columns: 1fr; gap: 18px; }
  .sheet-ship dl { grid-template-columns: 1fr 1fr; }
  .sheet-docs li { grid-template-columns: 1fr; gap: 0; padding: 6px 0; }
  .sheet-docs a { display: block; min-height: 32px; padding-top: 4px; }
  .sheet-foot { padding-bottom: 24px; }
}
@page { size: letter; margin: 0; }
@media print {
  body { background: #fff; }
  .sheet-bar { display: none; }
  /* A hair under the page so rounding never spills a blank second page; a sheet that is truly longer flows on. */
  .sheet { width: 8.5in; min-height: 0; height: 10.96in; margin: 0; box-shadow: none; }
  html, body { height: auto; }
  a { color: var(--ink); }
}

/* Compact layout for models with long specification and document lists: same sheet, tighter measure. */
@media (min-width: 861px), print {
  .sheet-dense .sheet-head { padding-top: .2in; padding-bottom: .17in; }
  .sheet-dense .sheet-title { padding-top: .16in; }
  .sheet-dense .sheet-title h1 { font-size: 22px; max-width: 46ch; }
  .sheet-dense .sheet-key { margin-top: .11in; }
  .sheet-dense .sheet-key > div { padding-top: 6px; padding-bottom: 7px; }
  .sheet-dense .sheet-key dd { font-size: 16px; }
  .sheet-dense .sheet-body { grid-template-columns: 2.1in minmax(0, 1fr); margin-top: .13in; }
  .sheet-dense .sheet-photo img { height: 1.5in; }
  .sheet-dense .sheet-specs table { font-size: 11.5px; }
  .sheet-dense .sheet-specs th, .sheet-dense .sheet-specs td { padding-top: 2.5px; padding-bottom: 2.5px; }
  .sheet-dense .sheet-ship, .sheet-dense .sheet-lower { margin-top: .11in; }
  .sheet-dense .sheet-ship dd { font-size: 11px; }
  .sheet-dense .sheet-docs li { padding: 2px 0; font-size: 9.5px; }
  .sheet-dense .sheet-quote { padding: 8px 10px; }
  .sheet-dense .sheet-fill { gap: 4px; margin-top: 5px; }
  .sheet-dense .sheet-foot { padding-top: .1in; padding-bottom: .22in; }
}

/* The middle layout: most sheets (a full specification table and six or seven documents). */
@media (min-width: 861px), print {
  .sheet-snug .sheet-title h1 { font-size: 26px; max-width: 38ch; }
  .sheet-snug .sheet-key dd { font-size: 19px; }
  .sheet-snug .sheet-body { grid-template-columns: 2.5in minmax(0, 1fr); }
  .sheet-snug .sheet-photo img { height: 1.95in; }
  .sheet-snug .sheet-docs li { font-size: 10.5px; }
}
@media (min-width: 861px), print { .sheet-snug .sheet-foot { padding-bottom: .16in; } }

/* Two columns when the specification table is long; identifier codes in one compact strip. */
.sheet-spec-cols.is-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 .2in; }
.sheet-spec-cols.is-split th { width: 52%; }
.sheet-spec-cols.is-split table { font-size: 11.5px; }
.sheet-codes { display: grid; grid-auto-flow: column; grid-auto-columns: auto; justify-content: space-between; gap: 6px 14px; margin-top: .12in; padding: 6px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sheet-codes dt { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.sheet-codes dd { margin: 1px 0 0; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media screen and (max-width: 860px) {
  .sheet-spec-cols.is-split { grid-template-columns: 1fr; }
  .sheet-codes { grid-auto-flow: row; grid-template-columns: 1fr 1fr; justify-content: stretch; }
}
@media (min-width: 861px), print {
  .sheet-dense .sheet-codes { margin-top: .08in; padding: 4px 0; }
  .sheet-dense .sheet-spec-cols.is-split table { font-size: 10.5px; }
}

/* A very long attribute list (drum grippers, lift booms: up to 31 rows): a smaller picture, three columns of specs. */
@media (min-width: 861px), print {
  .sheet-body.is-wide { grid-template-columns: 1.55in minmax(0, 1fr); gap: .2in; }
  .sheet-body.is-wide .sheet-photo img { height: 1.35in; padding: 6px; }
  .sheet-spec-cols.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .14in; }
  .sheet-spec-cols.is-three table { font-size: 10px; }
  .sheet-spec-cols.is-three th, .sheet-spec-cols.is-three td { padding-top: 2px; padding-bottom: 2px; line-height: 1.25; }
  .sheet-spec-cols.is-three th { width: 54%; }
}
@media screen and (max-width: 860px) { .sheet-spec-cols.is-three { grid-template-columns: 1fr; } }

/* The last step down, set by sheet.js only when a sheet still runs past one page in the dense layout. */
@media (min-width: 861px), print {
  .sheet-tight .sheet-head { padding-top: .16in; padding-bottom: .14in; }
  .sheet-tight .sheet-head img { height: 32px; }
  .sheet-tight .sheet-kind strong { font-size: 20px; }
  .sheet-tight .sheet-title { padding-top: .12in; }
  .sheet-tight .sheet-title h1 { font-size: 19px; max-width: 60ch; }
  .sheet-tight .sheet-key { margin-top: .08in; }
  .sheet-tight .sheet-key > div { padding-top: 4px; padding-bottom: 5px; }
  .sheet-tight .sheet-key dd { font-size: 14px; }
  .sheet-tight .sheet-body { margin-top: .1in; grid-template-columns: 1.5in minmax(0, 1fr); gap: .18in; }
  .sheet-tight .sheet-photo img { height: 1.25in; padding: 6px; }
  .sheet-tight .sheet-specs table, .sheet-tight .sheet-spec-cols.is-split table { font-size: 9.5px; }
  .sheet-tight .sheet-specs th, .sheet-tight .sheet-specs td { padding-top: 1.5px; padding-bottom: 1.5px; line-height: 1.2; }
  .sheet-tight .sheet-codes, .sheet-tight .sheet-ship, .sheet-tight .sheet-lower { margin-top: .07in; }
  .sheet-tight .sheet-ship dl > div { padding: 3px 8px 4px; }
  .sheet-tight .sheet-ship dd { font-size: 10px; }
  .sheet-tight .sheet-docs li { padding: 1px 0; font-size: 9px; line-height: 1.2; }
  .sheet-tight .sheet-quote { padding: 6px 9px; }
  .sheet-tight .sheet-quote p, .sheet-tight .sheet-fill { font-size: 10px; }
  .sheet-tight .sheet-fill { gap: 3px; margin-top: 4px; }
  .sheet-tight .sheet-foot { padding-top: .08in; padding-bottom: .18in; }
  .sheet-tight .sheet-foot p:first-child { font-size: 10px; }
  .sheet-tight .sheet-foot p + p { font-size: 8.5px; }
}

/* Download and Print side by side above the sheet. */
.sheet-actions { display: flex; gap: 8px; }
a.sheet-print { display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.sheet-print-alt { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.sheet-print-alt:hover { background: #f3f4f6; }
.sheet-foot a { color: inherit; text-decoration: none; }

/* ---------- series comparison sheet ---------- */
.sheet-series .sheet-title h1 { max-width: 40ch; }
.series-wrap { margin-top: .16in; }
.series-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.series-table thead { display: table-header-group; }
.series-table thead th { padding: 0 8px 5px 0; text-align: left; vertical-align: bottom; font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.series-table tbody tr { break-inside: avoid; }
.series-table tbody th, .series-table td { padding: 7px 10px 7px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-2); }
.series-table tbody th a { display: block; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; }
.series-table tbody th span { display: block; max-width: 2.3in; font-size: 9.5px; font-weight: 400; color: var(--ink-3); line-height: 1.25; }
.series-table td { font-weight: 600; }
.series-quote { margin-top: .16in; }
@media (min-width: 861px), print {
  .sheet-snug .series-table { font-size: 10.5px; }
  .sheet-snug .series-table tbody th, .sheet-snug .series-table td { padding-top: 3.5px; padding-bottom: 3.5px; }
  .sheet-dense .series-table { font-size: 9.5px; }
  .sheet-dense .series-table tbody th, .sheet-dense .series-table td { padding-top: 2px; padding-bottom: 2px; }
  .sheet-dense .series-table tbody th a { font-size: 10.5px; }
  .sheet-dense .series-table tbody th span { font-size: 8.5px; }
  .sheet-tight .series-table { font-size: 8.5px; }
  .sheet-tight .series-table tbody th, .sheet-tight .series-table td { padding-top: 1px; padding-bottom: 1px; line-height: 1.15; }
  .sheet-tight .series-table tbody th span { display: none; }
}
@media print { .sheet-series[data-pages-max="2"] { height: auto; min-height: 0; } }
@media screen and (max-width: 860px) {
  .series-table thead { display: none; }
  .series-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule); }
  .series-table tbody th, .series-table td { display: block; padding: 0; border: 0; }
  .series-table td::before { content: attr(data-label) ": "; color: var(--ink-3); font-weight: 400; }
}

/* QR code in the quote box: scanning a printed sheet opens its page (tagged utm_source=sheet). */
.sheet-quote { position: relative; }
.sheet-qr { float: right; width: .95in; margin: 0 0 4px 12px; text-align: center; }
.sheet-qr svg { display: block; width: .95in; height: .95in; }
.sheet-qr figcaption { margin-top: 2px; font-size: 7.5px; line-height: 1.2; color: var(--ink-3); }
.sheet-dense .sheet-qr, .sheet-tight .sheet-qr { width: .8in; }
.sheet-dense .sheet-qr svg, .sheet-tight .sheet-qr svg { width: .8in; height: .8in; }
@media screen and (max-width: 860px) { .sheet-qr { display: none; } }
.sheet-desc p { padding-top: 6px; border-top: 2px solid var(--ink); font-size: 11.5px; color: var(--ink-2); }
