/* Lend Shelf (laptopservices.info) - own design system, SPEC 4: "equipment cage".
   Georama (variable width + weight) for display and text, Lilex for slot numbers, dates and codes.
   Concrete paper, graphite ink, safety-yellow tabs, status signals that always come with a word. */

@font-face { font-family: "Georama"; src: url("fonts/georama-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62.5% 150%; font-display: swap; }
@font-face { font-family: "Lilex"; src: url("fonts/lilex-var.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --paper: #f1f0ea;
  --paper-2: #e7e5dd;
  --panel: #ffffff;
  --ink: #15191a;
  --ink-2: #474f4d;
  --ink-3: #6b7371;
  --rule: #d6d4cb;
  --rule-2: #c2c0b6;
  --steel: #22292a;
  --steel-2: #2f3839;
  --signal: #f2c230;
  --signal-ink: #3a2c00;
  --green: #17804a;
  --green-bg: #e2f2e8;
  --amber: #9a6400;
  --amber-bg: #fbf0d4;
  --amber-led: #e6a417;
  --red: #b5361f;
  --red-bg: #fbe4de;
  --violet: #5b47b0;
  --violet-bg: #ebe7f8;
  --grey-bg: #ecebe6;
  --sans: "Georama", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Lilex", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 10px;
  --r-lg: 18px;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --shadow: 0 1px 0 rgba(21, 25, 26, .04), 0 10px 30px -18px rgba(21, 25, 26, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-stretch: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--signal); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
button, input, select { font: inherit; color: inherit; }
code, .mono { font-family: var(--mono); font-size: .92em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--signal); color: var(--signal-ink); padding: 10px 16px; border-radius: 8px; z-index: 20; font-weight: 650; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 820px; }

/* ---------- type ---------- */
.eyebrow { font: 600 .78rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 .9rem; display: flex; align-items: center; gap: .45rem; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--on-dark { color: #b9c1bf; }
.display { font-weight: 780; font-stretch: 132%; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 1.25rem; }
.display--sm { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h2 { font-weight: 760; font-stretch: 125%; font-size: clamp(1.7rem, 3.3vw, 2.6rem); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 1.5rem; }
.h3 { font-weight: 700; font-stretch: 112%; font-size: 1.25rem; line-height: 1.25; margin: 0 0 .7rem; display: flex; align-items: center; gap: .5rem; }
.h4 { font-weight: 700; font-size: 1rem; margin: 1.4rem 0 .5rem; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 44em; }
.lede--on-dark { color: #c9d0ce; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .55rem; }
.opt { font-weight: 400; color: var(--ink-3); font-size: .85em; }
.warn { color: var(--red); font-weight: 650; }

/* ---------- icons ---------- */
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.ic--sm { width: 1em; height: 1em; }
.ic--lg { width: 2rem; height: 2rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; font-stretch: 105%; text-decoration: none; cursor: pointer; line-height: 1.2; transition: transform .12s ease, background-color .12s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--lg { min-height: 52px; padding: .75rem 1.5rem; font-size: 1.05rem; }
.btn--sm { min-height: 36px; padding: .35rem .85rem; font-size: .9rem; }
.btn--signal { background: var(--signal); color: var(--signal-ink); border-color: #d9a900; }
.btn--signal:hover { background: #f6cf55; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--steel-2); }
.btn--line { background: transparent; border-color: var(--rule-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: var(--panel); }
.btn--danger { background: var(--red); color: #fff; }
.link-arrow { font-weight: 650; display: inline-flex; gap: .4rem; align-items: center; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 10; background: rgba(241, 240, 234, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.hd__in { max-width: var(--max); margin: 0 auto; padding: .7rem var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo { width: 36px; height: 36px; }
.logo__tray { fill: var(--ink); }
.logo__lap { fill: var(--ink); }
.logo__gap { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 2 2; }
.logo__tab { fill: var(--signal); }
.brand__words { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-stretch: 138%; font-size: 1.22rem; letter-spacing: -.01em; }
.brand__by { font: 500 .68rem/1.3 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav__link { padding: .5rem .8rem; border-radius: 8px; text-decoration: none; font-weight: 550; color: var(--ink-2); }
.nav__link:hover, .nav__link.is-on { color: var(--ink); background: var(--paper-2); }
.nav__cta { margin-left: .5rem; }
.menu { display: none; position: relative; }
.menu__btn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .9rem; border: 1.5px solid var(--rule-2); border-radius: 999px; font-weight: 650; }
.menu__btn::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 16px; height: 2px; background: var(--ink); position: relative; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -5px; } .menu__bars::after { top: 5px; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: .6rem; display: flex; flex-direction: column; }
.menu__link { padding: .8rem .9rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.menu__link:hover { background: var(--paper); }
.menu__cta { margin-top: .4rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 2.5rem; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 78%, var(--paper-2) 100%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1rem; }
.hero__fine { color: var(--ink-3); font-size: .95rem; }
.hero__art { margin: 0; }
.hero__cap { font: 500 .8rem/1.45 var(--mono); color: var(--ink-3); margin-top: .5rem; text-align: center; }
.cart { display: block; width: 100%; height: auto; }
.cart__shadow { fill: rgba(21, 25, 26, .12); }
.cart__handle { fill: var(--steel-2); }
.cart__body { fill: var(--steel); }
.cart__top { fill: var(--steel-2); }
.cart__brand { fill: var(--signal); font: 700 14px var(--sans); font-stretch: 140%; letter-spacing: .12em; }
.cart__count { fill: #9aa4a2; font: 500 12px var(--mono); letter-spacing: .08em; }
.cart__bay { fill: #1a2021; }
.cart__empty { fill: none; stroke: #59625f; stroke-width: 2; stroke-dasharray: 6 6; }
.cart__leg { fill: var(--steel-2); }
.lap { fill: #dcdbd3; }
.lap__edge { fill: #b9b8b0; }
.lap__port { fill: #8d8c85; }
.plate { fill: var(--signal); }
.plate__n { fill: var(--signal-ink); font: 700 15px var(--mono); }
.led { stroke: #1a2021; stroke-width: 2; }
.led--shelf { fill: #3ad07e; } .led--out { fill: var(--amber-led); } .led--due { fill: var(--amber-led); } .led--late { fill: #ff6a4d; } .led--hold { fill: #9c86ff; }
.tagline { fill: none; stroke: #c9c8bf; stroke-width: 1.5; }
.tag rect { stroke-width: 2; }
.tag text { font: 700 11px var(--mono); letter-spacing: .04em; }
.tag--due rect { fill: var(--amber-bg); stroke: var(--amber-led); } .tag--due text { fill: var(--amber); }
.tag--late rect { fill: var(--red-bg); stroke: #ff6a4d; } .tag--late text { fill: var(--red); }
.tag--hold rect { fill: var(--violet-bg); stroke: #9c86ff; } .tag--hold text { fill: var(--violet); }
.tag__sub { font-weight: 500 !important; font-size: 10px !important; }
.wheel { fill: var(--ink); } .wheel__hub { fill: #8d8c85; }

/* ---------- chips + legend ---------- */
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .6rem .22rem .5rem; border-radius: 6px; font: 650 .78rem/1.3 var(--mono); letter-spacing: .02em; white-space: nowrap; border: 1px solid transparent; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.chip--shelf { background: var(--green-bg); color: var(--green); border-color: #bfe0cb; }
.chip--out { background: var(--amber-bg); color: var(--amber); border-color: #efd99a; }
.chip--due { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-led); }
.chip--due .chip__dot { border-radius: 1px; }
.chip--late { background: var(--red-bg); color: var(--red); border-color: #f0b4a6; }
.chip--late .chip__dot { border-radius: 0; transform: rotate(45deg); }
.chip--hold { background: var(--violet-bg); color: var(--violet); border-color: #cfc6f0; }
.chip--hold .chip__dot { border-radius: 2px; width: 4px; box-shadow: 4px 0 0 currentColor; margin-right: 4px; }
.chip--retired { background: var(--grey-bg); color: var(--ink-3); border-color: var(--rule); }
.legend { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-top: 2.5rem; padding: 1rem; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.legend li { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; font-size: .88rem; color: var(--ink-3); }

/* ---------- bands ---------- */
.band { padding: clamp(3rem, 7vw, 6rem) 0; }
.band--tight { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.band--paper { background: var(--paper-2); }
.band--steel { background: var(--steel); color: #eef1f0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.split__panel { border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); }
.split__panel--ink { background: var(--ink); color: #eef1f0; }
.split__panel--light { background: var(--panel); border: 1px solid var(--rule); box-shadow: inset 6px 0 0 var(--signal); }
.split__tag { font: 650 .8rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; display: flex; gap: .5rem; align-items: center; margin-bottom: 1.2rem; }
.split__panel--ink .split__tag { color: var(--signal); }
.split__fine { margin: 1.3rem 0 0; font-size: .92rem; opacity: .8; }
.ticks { list-style: none; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .75rem; height: .4rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.split__panel--ink .ticks li::before { border-color: var(--signal); }

.track { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); position: relative; padding-top: 1rem; }
.track::before { content: ""; position: absolute; left: 28px; right: 28px; top: 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px); }
.track__stop { position: relative; }
.track__pin { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--signal); color: var(--signal-ink); border: 3px solid var(--paper); margin-bottom: 1.1rem; }
.track__pin .ic { width: 26px; height: 26px; }
.track__stop p { color: var(--ink-2); }

.kitgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.kit { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.kit__item { background: var(--steel-2); border: 1px solid #3f4a4b; border-radius: var(--r); padding: 1.1rem; display: flex; flex-direction: column; gap: .7rem; font-weight: 600; }
.kit__item .ic { color: var(--signal); }

.handback { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.steps { list-style: none; display: grid; gap: .6rem; }
.steps__item { display: flex; gap: 1rem; align-items: center; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); padding: .9rem 1.1rem; font-weight: 600; }
.steps__n { font: 700 1rem var(--mono); color: var(--ink-3); background: var(--paper); border-radius: 6px; padding: .2rem .45rem; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; }
.plan--pass { background: var(--ink); color: #eef1f0; border-color: var(--ink); position: relative; }
.plan--pass .ticks li::before { border-color: var(--signal); }
.plan__flag { position: absolute; top: -12px; left: 1.6rem; margin: 0; background: var(--signal); color: var(--signal-ink); font: 700 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: .45rem .6rem; border-radius: 6px; }
.plan__name { font-weight: 760; font-stretch: 125%; font-size: 1.3rem; margin: 0 0 .6rem; }
.plan__price { margin: 0; display: flex; align-items: baseline; gap: .25rem; }
.plan__amt { font-weight: 800; font-stretch: 120%; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; }
.plan__per { font: 500 .95rem var(--mono); opacity: .75; }
.plan__alt { font-size: .9rem; opacity: .75; margin: .4rem 0 0; }
.plan__for { font: 600 .82rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; margin: 1rem 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); color: var(--ink-3); }
.plan--pass .plan__for { border-color: #3a4445; color: #b9c1bf; }
.plans__note { margin-top: 1.25rem; padding: 1rem 1.2rem; background: var(--panel); border: 1px dashed var(--rule-2); border-radius: var(--r); color: var(--ink-2); font-size: .95rem; }

.faq details { border-top: 1px solid var(--rule); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.3rem/1 var(--mono); color: var(--ink-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: .8rem 0 0; color: var(--ink-2); }

/* ---------- inner pages ---------- */
.pagehead { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; border-bottom: 1px solid var(--rule); background: linear-gradient(90deg, var(--signal) 0 8px, transparent 8px) no-repeat left top / 100% 100%; }
.pagehead--msg { border-bottom: 0; background: none; padding-bottom: 4rem; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.checklist { list-style: none; display: grid; gap: 1rem; margin-bottom: 2rem; }
.checklist__item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; }
.checklist__item p { margin: 0; color: var(--ink-2); }
.checklist__n { font: 700 1.6rem/1 var(--mono); color: var(--ink); background: var(--signal); border-radius: 8px; padding: .5rem .55rem; height: fit-content; }
.callout { background: var(--paper-2); border-radius: var(--r-lg); padding: 1.5rem; }

/* ---------- forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2rem; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.panel__fine { color: var(--ink-3); font-size: .92rem; }
.panel--danger { border-color: #f0b4a6; box-shadow: none; }
.panel--hold { border-color: #cfc6f0; background: var(--violet-bg); }
.form { display: grid; gap: 1.1rem; }
.form--grid { grid-template-columns: 1fr 1fr; }
.form--grid > .btn { justify-self: start; }
.form--tight { gap: .8rem; margin-bottom: .8rem; }
.field { display: grid; gap: .35rem; min-width: 0; border: 0; margin: 0; padding: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 650; font-size: .95rem; padding: 0; }
.field .kitpick__opt { padding: .5rem .8rem; }
.field .seg__opt { padding: .6rem 1rem; }
.field input[type=text], .field input[type=number], .field select, .inline-form input[type=text] { width: 100%; min-height: 46px; padding: .55rem .8rem; border: 1.5px solid var(--rule-2); border-radius: 8px; background: #fff; }
.field input:focus, .field select:focus, .inline-form input:focus { border-color: var(--ink); outline: 3px solid var(--signal); outline-offset: 0; }
.field input:disabled { background: var(--grey-bg); }
.field__hint { font-size: .86rem; color: var(--ink-3); margin: 0; }
.field__err { font-size: .9rem; color: var(--red); font-weight: 650; margin: 0; }
.has-error input, .has-error select { border-color: var(--red); }
.fieldset-own input { margin-bottom: .4rem; }
fieldset.field input[type=text] { margin-bottom: .4rem; }
.kitpick { display: flex; flex-wrap: wrap; gap: .5rem; }
.kitpick legend { width: 100%; margin-bottom: .4rem; }
.kitpick__opt { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border: 1.5px solid var(--rule-2); border-radius: 999px; cursor: pointer; font-weight: 550 !important; font-size: .92rem !important; background: #fff; min-height: 44px; }
.kitpick__opt:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.kitpick__opt input, .check input, .seg__opt input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.check input { margin-top: .2rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg__opt { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1.5px solid var(--rule-2); border-radius: 10px; cursor: pointer; font-weight: 600 !important; background: #fff; min-height: 44px; }
.seg__opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); }
.resets { list-style: none; display: grid; gap: .5rem; }
.resets li { padding: .6rem .8rem; background: var(--paper); border-radius: 8px; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.inline-form input[type=text] { flex: 1 1 200px; width: auto; }
.form-side .ticks { margin-bottom: 1.4rem; }

/* ---------- price strip (point of use) ---------- */
.pricetag { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; padding: .7rem 1rem; margin: 0 0 1.5rem; background: var(--panel); border: 1px solid var(--rule); border-left: 6px solid var(--signal); border-radius: var(--r); }
.pricetag__tab { font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--signal); padding: .4rem .5rem; border-radius: 4px; }
.pricetag__text { margin: 0; flex: 1 1 260px; font-size: .92rem; color: var(--ink-2); }
.pricetag__link { font-weight: 650; font-size: .92rem; }

/* ---------- app (boards) ---------- */
.is-app { background: #eceae3; }
.apphead { background: var(--ink); color: #eef1f0; padding: 1.6rem 0; }
.apphead .eyebrow { color: #b9c1bf; }
.apphead--counter { background: var(--steel); border-bottom: 6px solid var(--signal); }
.apphead__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.apphead__in--laptop { justify-content: flex-start; align-items: center; gap: 1.2rem; flex-wrap: nowrap; }
.apphead__title { font-weight: 780; font-stretch: 128%; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.08; margin: 0 0 .4rem; overflow-wrap: anywhere; }
.apphead__meta { margin: 0; color: #b9c1bf; font-size: .95rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.apphead__tools { display: flex; gap: .5rem; flex-wrap: wrap; }
.apphead .btn--line { color: #eef1f0; border-color: #4b5657; }
.apphead .btn--line:hover { background: var(--steel-2); border-color: #eef1f0; }
.bigno { font: 700 clamp(3rem, 9vw, 5rem)/1 var(--mono); color: var(--signal); }
.app { padding-top: 1.5rem; padding-bottom: 4rem; }
.app--narrow { max-width: 760px; }
.app__h { margin-top: 1.5rem; }
.app__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.notice { display: flex; gap: .6rem; align-items: flex-start; background: var(--green-bg); color: #0d5531; border: 1px solid #bfe0cb; padding: .9rem 1.1rem; border-radius: var(--r); font-weight: 600; }
.notice--hold { background: var(--violet-bg); color: var(--violet); border-color: #cfc6f0; }
.alert { background: var(--red-bg); color: #7a2414; border: 1px solid #f0b4a6; padding: .8rem 1rem; border-radius: var(--r); font-weight: 600; }
.keep { background: #fff8de; border: 2px solid var(--signal); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; margin-bottom: 1.4rem; }
.links { display: grid; gap: .8rem; margin-bottom: .5rem; }
.links__row { background: var(--paper); border-radius: var(--r); padding: .8rem 1rem; }
.links__row--private { background: #fff3c9; }
.links__label { font-weight: 700; margin: 0 0 .35rem; display: flex; gap: .45rem; align-items: center; }
.links__warn, .links__ok { font: 700 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: .3rem .4rem; border-radius: 4px; }
.links__warn { background: var(--ink); color: var(--signal); }
.links__ok { background: var(--green-bg); color: var(--green); }
.links__url { margin: 0; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.links__url code { overflow-wrap: anywhere; font-size: .86rem; }

.kpis { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin: 0 0 1.2rem; }
.kpi { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); padding: .9rem 1rem; display: flex; flex-direction: column; border-top: 4px solid var(--rule-2); }
.kpi__n { font: 700 2rem/1 var(--mono); }
.kpi__w { font-size: .85rem; color: var(--ink-3); margin-top: .35rem; }
.kpi--shelf { border-top-color: var(--green); } .kpi--out { border-top-color: var(--amber-led); } .kpi--due { border-top-color: var(--amber); }
.kpi--late { border-top-color: var(--red); } .kpi--hold { border-top-color: var(--violet); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1rem; }
.slot { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 90px; }
.slot__head { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "no id" "chip chip"; gap: .4rem 1rem; padding: 1.1rem 1.2rem .8rem; align-items: center; }
.slot__head .chip { grid-area: chip; justify-self: start; }
.slot__no { grid-area: no; font: 700 2.4rem/1 var(--mono); background: var(--ink); color: var(--signal); border-radius: 8px; padding: .45rem .5rem; }
.slot__id { grid-area: id; min-width: 0; }
.slot__label { font-weight: 740; font-stretch: 115%; font-size: 1.2rem; margin: 0; overflow-wrap: anywhere; }
.slot__sub { margin: 0; color: var(--ink-3); font-size: .88rem; }
.slot--late { border-color: #f0b4a6; box-shadow: inset 0 4px 0 var(--red); }
.slot--due { box-shadow: inset 0 4px 0 var(--amber-led); }
.slot--hold { box-shadow: inset 0 4px 0 var(--violet); }
.slot--retired { opacity: .72; }
.slot__loan { margin: 0 1.2rem .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .8rem; background: var(--paper); border-radius: var(--r); padding: .8rem; }
.slot__loan div { min-width: 0; }
.slot__loan dt { font: 600 .7rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.slot__loan dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.slot__hold { margin: 0 1.2rem .8rem; padding: .8rem; background: var(--violet-bg); color: #3c2d82; border-radius: var(--r); font-size: .92rem; }
.slot .inline-form { margin: 0 1.2rem .8rem; }
.slot__kit { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 1.2rem .9rem; }
.slot__kit li { display: inline-flex; gap: .3rem; align-items: center; font-size: .8rem; color: var(--ink-2); background: var(--paper); border-radius: 999px; padding: .2rem .6rem; }
.slot__foot { margin-top: auto; border-top: 1px solid var(--rule); padding: .7rem 1.2rem; display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.slot__act { font-weight: 650; font-size: .92rem; }
.slot__more summary { cursor: pointer; font-weight: 650; font-size: .92rem; color: var(--ink-2); }
.slot__more[open] { flex-basis: 100%; }
.slot__more form { margin-top: .8rem; }
.empty { text-align: center; padding: 2rem 1rem; background: var(--panel); border: 1.5px dashed var(--rule-2); border-radius: var(--r-lg); color: var(--ink-2); }
.empty__n { font: 700 3rem/1 var(--mono); color: var(--rule-2); margin-bottom: .6rem; }
.empty--line { padding: 1rem; text-align: left; }
.activity { list-style: none; display: grid; gap: .45rem; margin-bottom: .8rem; }
.activity li { font-size: .92rem; }
.activity__no { font: 700 .8rem var(--mono); background: var(--ink); color: var(--signal); border-radius: 4px; padding: .1rem .3rem; }
.activity__when { color: var(--ink-3); font-size: .85rem; }

.tablewrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font: 650 .72rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: .8rem; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.table td { padding: .75rem .8rem; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }

/* counter */
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .8rem; }
.pick__item { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "no name" "no chip" "go go"; gap: .3rem .9rem; align-items: center; background: var(--panel); border: 1.5px solid var(--rule); border-radius: var(--r-lg); padding: 1rem 1.1rem; text-decoration: none; }
.pick__item:hover { border-color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.pick__item .chip { grid-area: chip; justify-self: start; }
.pick__no { grid-area: no; font: 700 2rem/1 var(--mono); color: var(--ink); background: var(--signal); border-radius: 8px; padding: .4rem .45rem; }
.pick__name { grid-area: name; font-weight: 720; font-size: 1.1rem; overflow-wrap: anywhere; }
.pick__go { grid-area: go; font-weight: 650; display: inline-flex; gap: .35rem; align-items: center; margin-top: .4rem; padding-top: .6rem; border-top: 1px solid var(--paper-2); }
.outlist { list-style: none; display: grid; gap: .5rem; }
.outlist__row { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); padding: .75rem 1rem; text-decoration: none; }
a.outlist__row:hover { border-color: var(--ink); text-decoration: none; }
.outlist__row .pick__no { font-size: 1.2rem; }
.outlist__who { display: flex; flex-direction: column; flex: 1 1 140px; min-width: 0; }
.outlist__name { font-weight: 700; overflow-wrap: anywhere; }
.outlist__by { font-size: .88rem; color: var(--ink-3); overflow-wrap: anywhere; }
.outlist__due { font: 600 .85rem var(--mono); color: var(--ink-2); }
.counter__foot { margin-top: 2rem; color: var(--ink-3); font-size: .92rem; }
.loanbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0 0 1.2rem; }
.loanbox div { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); padding: .8rem 1rem; min-width: 0; }
.loanbox dt { font: 600 .7rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.loanbox dd { margin: .2rem 0 0; font-weight: 700; overflow-wrap: anywhere; }

/* labels + paper sheet */
.labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1rem; }
.label { background: #fff; border: 2px dashed var(--rule-2); border-radius: 12px; padding: 1rem; display: flex; gap: 1rem; align-items: center; break-inside: avoid; }
.label__main { flex: 1; min-width: 0; }
.label__no { font: 700 2.6rem/1 var(--mono); margin: 0 0 .3rem; }
.label__name { font-weight: 760; font-stretch: 120%; font-size: 1.15rem; margin: 0; overflow-wrap: anywhere; }
.label__shelf { font-size: .85rem; color: var(--ink-3); margin: 0 0 .6rem; }
.label__how { font-size: .82rem; margin: 0; font-weight: 600; }
.label__url { font: 500 .72rem/1.3 var(--mono); margin: 0; overflow-wrap: anywhere; }
.label__qr { width: 118px; flex: none; }
.label__qr svg { width: 100%; height: auto; display: block; }
.qr { fill: #000; }
.paper__head { margin-bottom: 1rem; }
.paper__title { font-weight: 780; font-stretch: 125%; font-size: 1.5rem; margin: 0; }
.paper__meta { color: var(--ink-2); margin: .2rem 0 0; font-size: .92rem; }
.table--paper td { height: 2.2rem; border: 1px solid var(--rule); }
.table--paper th { border: 1px solid var(--rule); }
.paper__steps { margin-top: 1.2rem; font-size: .92rem; }
.paper__steps ol { padding-left: 1.3rem; columns: 2; }
.paper__stepshead { font-weight: 700; margin-bottom: .4rem; }
.paper__foot { font: 500 .78rem var(--mono); color: var(--ink-3); margin-top: 1rem; }

/* ---------- footer ---------- */
.ft { background: var(--ink); color: #c9d0ce; padding: 3rem 0 2rem; margin-top: 0; }
.ft a { color: #eef1f0; }
.ft__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #333c3d; }
.ft__name { font-weight: 800; font-stretch: 138%; font-size: 1.3rem; color: #fff; margin: 0 0 .4rem; }
.ft__line { max-width: 30em; font-size: .95rem; }
.ft__col { display: flex; flex-direction: column; gap: .45rem; }
.ft__col a { text-decoration: none; font-size: .95rem; }
.ft__col a:hover { text-decoration: underline; }
.ft__head { font: 650 .72rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #8f9997; margin: 0 0 .3rem; }
.ft__base { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.4rem; font-size: .88rem; }
.ft__note { margin: 0; max-width: 46em; }
.ft__powered { margin: 0; }
.ft__ver { font: 500 .75rem var(--mono); color: #8f9997; margin-left: .4rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .kitgrid, .handback, .form-wrap { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; margin: 0 auto; }
  .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .app__cols { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: block; }
  .split, .track { grid-template-columns: 1fr; }
  .track::before { left: 27px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 18px); }
  .track__stop { padding-left: 76px; min-height: 56px; }
  .track__pin { position: absolute; left: 0; top: 0; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form--grid { grid-template-columns: 1fr; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand__by { display: none; }
  .legend { grid-template-columns: 1fr 1fr; }
  .kit { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi--shelf { grid-column: 1 / -1; }
  .loanbox { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
  .apphead__in--laptop { flex-wrap: wrap; }
  .label__qr { width: 92px; }
  .paper__steps ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- print ---------- */
@media print {
  body { background: #fff; font-size: 11pt; }
  .hd, .ft, .noprint, .skip, .pricetag, .apphead__tools, .menu { display: none !important; }
  .app { padding: 0; }
  .label { border-color: #888; }
  .labels { grid-template-columns: 1fr 1fr; gap: 6mm; }
  .tablewrap { border: 0; overflow: visible; }
  .apphead { background: none; color: #000; padding: 0 0 4mm; }
  .checklist__item, .steps__item { break-inside: avoid; }
  .table--paper { font-size: 8.5pt; }
  a { text-decoration: none; }
}

/* ---------- v1.1.0: AdEngine banner (adengine.us) ----------
   One labelled slot between the main content and the dark footer, on the public pages only (the controllers opt in).
   The label and the reserved height are on the <ins>, so when tag.js (or ae-size.js) hides a slot it cannot fill, the label
   and the space go with it (and the empty wrapper with :has). 110px = 16px label + 4px gap + 90px banner; 270px on phones
   (300x250). The footer has no top margin, so all vertical spacing is margin on the <ins>. display stays in this file and is
   never !important: tag.js hides a slot with style.display='none'. Label: the site's mono in --ink-2 (7.6:1 on paper). */
.ae-slot { padding: 0 var(--gut); }
.ae-slot:has(> ins.adengine[style*="display: none"]) { display: none; }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 32px auto 56px; text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 400 11px/16px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; margin: 24px auto 40px; } }
@media print { .ae-slot { display: none; } }
