@import url("fonts/board-fonts.css?v=1.3.114");
/* 1.3.67: shared Lab chrome from the corrected Chainline UI spec + Team B final-all-pages-compact.
   Photo header (header.jpg + logo-header.png + dark scrim), title row, density, 68px tab clearance. */
.cl-photo-hdr{position:relative;width:100%;height:110px;overflow:hidden;background:#090e14;flex:none}
.cl-photo-hdr__bg{position:absolute;inset:0;background:var(--cl-hdr-img) center/cover no-repeat;transform:scale(1.02)}
.cl-photo-hdr__fade{position:absolute;left:0;right:0;bottom:0;height:48px;background:linear-gradient(180deg,transparent,#0c0c10)}
.cl-photo-hdr__logo-wrap{position:absolute;left:6px;top:4px;padding:4px 10px 4px 6px;border-radius:8px;background:rgba(7,10,14,.92);line-height:0}
.cl-photo-hdr__logo{display:block;width:118px;height:36px;max-width:200px;object-fit:contain;object-position:left center;pointer-events:none}
.cl-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px 8px;border-bottom:1px solid #2a333c;max-width:1000px;margin:0 auto;width:100%;box-sizing:border-box}
.cl-title-row__name{margin:0;flex:1 1 auto;font:800 20px/1.15 Manrope,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#f6f3ee}
.cl-title-row__all{display:inline-flex;align-items:center;min-height:36px;padding:0 10px;border-radius:8px;border:1px solid #33404c;background:#16202a;color:#f6f3ee;text-decoration:none;font:700 13px/1 Manrope,system-ui,sans-serif;white-space:nowrap}
.cl-title-row__all:hover{border-color:#FF5A0A}
.cl-title-row__chip{display:inline-block;font:800 11px/1 Manrope,system-ui,sans-serif;padding:4px 8px;border-radius:999px;background:#3a2418;color:#ffb079;letter-spacing:.04em}
.cl-title-row__chip.lite{background:#1a1c22;color:#9aa8b5;border:1px solid #33404c}
.cl-title-row__upgrade{font:800 13px/1 Manrope,system-ui,sans-serif;color:#FF5A0A;text-decoration:none;min-height:36px;display:inline-flex;align-items:center}
body.cl-has-chrome{margin:0}
body.cl-has-chrome .cl-hide-on-chrome{display:none!important}
/* GPS Timer: short bar so the cluster still fits a phone glance */
body.cl-chrome-compact .cl-photo-hdr{height:56px}
body.cl-chrome-compact .cl-photo-hdr__logo{width:118px;height:36px;max-width:118px}
body.cl-chrome-compact .cl-photo-hdr__logo-wrap{top:2px}
body.cl-chrome-compact .cl-photo-hdr__fade{height:28px}
body.cl-chrome-hub .cl-title-row{display:none}
/* Desktop density (spec: content_w ≈ min(1000, width−80)); type ≥13px */
@media (min-width:900px){
  .cl-photo-hdr{height:150px}
  .cl-photo-hdr__logo{width:184px;height:56px;max-width:240px}
  .cl-photo-hdr__logo-wrap{left:14px;top:4px}
  .cl-photo-hdr__fade{height:56px}
  .cl-title-row{padding:12px 40px 10px}
  .cl-title-row__name{font-size:22px}
  body.cl-chrome-compact .cl-photo-hdr{height:72px}
  body.cl-has-chrome .cl-gear{top:168px}
}
@media (max-width:899px){
  body.cl-has-chrome .cl-gear{top:126px}
  body.cl-chrome-compact .cl-gear{top:72px}
}
/* Hub tile system */
.cl-sec{letter-spacing:.14em;font-size:11px;color:#9aa8b5;font-weight:800;margin:18px 2px 8px}
.cl-grid-pri,.cl-grid-util,.cl-grid-explore{display:grid;gap:10px}
.cl-grid-pri{grid-template-columns:1fr 1fr}
.cl-grid-util{grid-template-columns:1fr 1fr}
.cl-grid-explore{grid-template-columns:1fr} /* compact board: stacked Explore rows on phone */
.cl-tile{display:flex;flex-direction:column;justify-content:center;text-decoration:none;color:inherit;background:#101117;border:1px solid #33404c;border-radius:14px;padding:12px 12px 11px;min-height:88px}
.cl-tile strong{display:block;font-size:15px;font-weight:800;margin:0 0 4px;letter-spacing:-.01em}
.cl-tile span{color:#9aa8b5;font-size:12px;line-height:1.35}
.cl-tile .pro{margin-left:4px}
.cl-tile.wide{grid-column:1/-1}
@media (min-width:900px){
  .cl-grid-pri{grid-template-columns:repeat(3,1fr)}
  .cl-grid-util{grid-template-columns:repeat(4,1fr)}
  .cl-grid-explore{grid-template-columns:repeat(3,1fr)}
  .cl-hub-wrap{max-width:1000px;margin:0 auto;padding:16px 40px 48px}
  .cl-tile{min-height:96px}
  .cl-tile strong{font-size:16px}
  .cl-tile span{font-size:13px}
}
@media (max-width:899px){
  .cl-hub-wrap{max-width:480px;margin:0 auto;padding:14px 14px 24px}
  .cl-grid-explore{grid-template-columns:1fr}
}

/* Weather one-view-at-a-time */
.wx-views{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.wx-views button{min-height:36px;padding:6px 12px;border-radius:8px;border:1px solid #33404c;background:#111b25;color:#f6f3ee;font:700 13px Manrope,system-ui,sans-serif;cursor:pointer}
.wx-views button.on{background:#483021;border-color:#FF5A0A;color:#f6f3ee}
.wx-panel[hidden]{display:none!important}

.cl-grid-pri .cl-tile{border-left:3px solid #FF5A0A;min-height:96px}
.cl-grid-explore .cl-tile{min-height:64px;flex-direction:row;align-items:center;gap:12px}
.cl-grid-explore .cl-tile strong{margin:0}
.wx-views{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 12px}
.wx-views button{min-height:40px;width:100%}
/* Hub: Lite / Upgrade sit on the photo header, as in the compact board */
.cl-photo-hdr__meta{position:absolute;right:12px;top:10px;display:flex;align-items:center;gap:10px;z-index:2}

.cl-photo-hdr__meta .cl-title-row__chip{background:rgba(12,12,16,.72);color:#f6f3ee;border:1px solid rgba(255,255,255,.18);font-size:11px;padding:3px 8px}
.cl-photo-hdr__meta .cl-title-row__chip:not(.lite){background:#3a2418;color:#FF5A0A;border-color:#FF5A0A}
.cl-photo-hdr__meta .cl-title-row__upgrade{color:#FF5A0A;font:800 13px Manrope,system-ui,sans-serif;text-decoration:none}


/* —— 1.3.67 home / card system (Thomas example 2026-11-10) —— */
.cl-sec{margin:16px 0 8px;font:800 11px/1 Manrope,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#8b8b96}
.cl-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cl-grid.util{grid-template-columns:1fr 1fr;gap:8px}
.cl-grid.explore{grid-template-columns:1fr;gap:8px}
@media (min-width:720px){
  .cl-grid{grid-template-columns:1fr 1fr 1fr}
  .cl-grid.util{grid-template-columns:1fr 1fr 1fr 1fr}
  .cl-grid.explore{grid-template-columns:1fr}
}
/* Primary tool tiles */
a.cl-tile{display:grid;grid-template-columns:28px 1fr auto;grid-template-rows:auto auto;column-gap:10px;row-gap:2px;align-items:start;padding:12px 12px 11px;background:#16161c;border:1px solid #2a2a32;border-radius:12px;color:inherit;text-decoration:none;min-height:76px;box-sizing:border-box;position:relative}
a.cl-tile:hover{border-color:#3a3a44}
a.cl-tile.on{border-color:#FF5A0A;box-shadow:inset 0 0 0 1px #FF5A0A}
a.cl-tile .cl-ico{grid-column:1;grid-row:1 / span 2;width:28px;height:28px;margin-top:1px;color:#FF5A0A}
a.cl-tile .cl-ico svg{display:block;width:28px;height:28px}
a.cl-tile strong{grid-column:2;grid-row:1;font:800 13px/1.15 Manrope,system-ui,sans-serif;font-style:italic;letter-spacing:.04em;text-transform:uppercase;color:#f6f3ee}
a.cl-tile span.sub{grid-column:2;grid-row:2;font:500 11px/1.3 Manrope,system-ui,sans-serif;color:#9a9aa6}
a.cl-tile .cl-badge{grid-column:3;grid-row:1;align-self:start;margin:0}
/* Quick calculator tiles — no icon, title + subtitle + pill */
a.cl-util{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;column-gap:8px;row-gap:2px;align-items:start;padding:11px 12px;background:#16161c;border:1px solid #2a2a32;border-radius:12px;color:inherit;text-decoration:none;min-height:64px;box-sizing:border-box}
a.cl-util:hover{border-color:#3a3a44}
a.cl-util strong{grid-column:1;grid-row:1;font:800 12.5px/1.2 Manrope,system-ui,sans-serif;font-style:italic;letter-spacing:.03em;text-transform:uppercase;color:#f6f3ee}
a.cl-util span.sub{grid-column:1;grid-row:2;font:500 11px/1.3 Manrope,system-ui,sans-serif;color:#9a9aa6}
a.cl-util .cl-badge{grid-column:2;grid-row:1;align-self:start;margin:0}
/* Explore full-width rows */
a.cl-explore{display:grid;grid-template-columns:28px 1fr auto;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:14px 14px;background:#16161c;border:1px solid #2a2a32;border-radius:12px;color:inherit;text-decoration:none}
a.cl-explore:hover{border-color:#3a3a44}
a.cl-explore .cl-ico{grid-column:1;grid-row:1 / span 2;width:28px;height:28px;color:#FF5A0A}
a.cl-explore .cl-ico svg{display:block;width:28px;height:28px}
a.cl-explore strong{grid-column:2;grid-row:1;font:800 13px/1.15 Manrope,system-ui,sans-serif;font-style:italic;letter-spacing:.04em;text-transform:uppercase;color:#f6f3ee}
a.cl-explore span.sub{grid-column:2;grid-row:2;font:500 11px/1.3 Manrope,system-ui,sans-serif;color:#9a9aa6}
a.cl-explore .cl-chev{grid-column:3;grid-row:1 / span 2;color:#6a6a74;font-size:18px;line-height:1}
/* Badges / pills */
.cl-badge{display:inline-block;font:800 11px/1 Manrope,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:3px 7px;border-radius:999px;white-space:nowrap}
.cl-badge.pro{background:#3a2418;color:#FF5A0A}
.cl-badge.lite{background:#1a2a1c;color:#b7e3b0}
/* Service due — orange-tinted card + Open */
#svcBanner{display:flex;align-items:flex-start;gap:10px;margin:12px 0 4px;padding:12px 14px;background:#2a160c;border:1px solid #FF5A0A;border-radius:12px;color:#f6f3ee}
#svcBanner.soon{background:#24180c;border-color:#c97a20}
#svcBanner .cl-ico{flex:0 0 22px;color:#FF5A0A;margin-top:1px}
#svcBanner .cl-ico svg{display:block;width:22px;height:22px}
#svcBanner .svc-body{flex:1;min-width:0}
#svcTitle{font:800 13px/1.2 Manrope,system-ui,sans-serif;font-style:italic;letter-spacing:.04em;text-transform:uppercase;color:#FF5A0A}
#svcText{margin-top:3px;font:600 12.5px/1.35 Manrope,system-ui,sans-serif;color:#f6f3ee}
#svcMeta{margin-top:2px;font:500 11px/1.3 Manrope,system-ui,sans-serif;color:#c9b8a8}
#svcBanner .svc-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto}
#svcChip{font:800 11px/1 Manrope,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:#3a2418;color:#FF5A0A}
#svcBanner.soon #svcChip{background:#3a2a10;color:#e8b060}
#svcOpen{font:800 13px/1 Manrope,system-ui,sans-serif;color:#FF5A0A;text-decoration:none}
/* Pro trial card */
/* 1.3.107: hub "Get the app" badges (images carry their own text; no text under 11px, no white on orange). */
.cl-stores-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 8px}.cl-store-badge{display:inline-block;line-height:0;border-radius:10px}.cl-store-badge img{display:block;width:155px;height:auto}a.cl-store-badge:focus-visible{outline:2px solid #FF5A0A;outline-offset:2px}
.cl-pro-card{display:flex;align-items:center;gap:12px;padding:14px;background:#16161c;border:1px solid #2a2a32;border-radius:12px}
.cl-pro-card .cl-ico{flex:0 0 28px;color:#FF5A0A}
.cl-pro-card .cl-ico svg{display:block;width:28px;height:28px}
.cl-pro-card .cl-pro-copy{flex:1;min-width:0}
.cl-pro-card strong{display:block;font:800 13px/1.15 Manrope,system-ui,sans-serif;font-style:italic;letter-spacing:.04em;text-transform:uppercase;color:#f6f3ee}
.cl-pro-card span{display:block;margin-top:3px;font:500 12px/1.35 Manrope,system-ui,sans-serif;color:#9a9aa6}
.cl-pro-card a.cl-pro-upgrade{flex:0 0 auto;padding:7px 14px;border:1.5px solid #FF5A0A;border-radius:8px;background:transparent;color:#FF5A0A;font:800 12.5px/1 Manrope,system-ui,sans-serif;text-decoration:none}
.cl-pro-card.is-pro a.cl-pro-upgrade{display:none}
/* Who line hidden on hub so the board layout is exact */
body.cl-chrome-hub #who{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

a.cl-tile .cl-badge.pro, a.cl-util .cl-badge.pro, .cl-badge.pro{background:#3a2418;color:#FF5A0A}
a.cl-tile .cl-badge.lite, a.cl-util .cl-badge.lite, .cl-badge.lite{background:#1a2a1c;color:#b7e3b0}
a.cl-tile.on > .cl-badge{display:none!important}
.cl-title-row__name{font-style:italic}

body.cl-has-chrome .cl-gear{display:none!important}
body.cl-chrome-hub .wrap{padding-top:8px}

body.cl-has-chrome #ent-banner{display:none!important}


/* —— Exact Thomas home typography (hub-mobile.svg + thomas-example) —— */
.cl-sec{margin:16px 0 8px;font:italic 700 16px/1 Manrope,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa8b5}
.cl-sec.dim{font:700 11px/1 Manrope,system-ui,sans-serif;font-style:normal;letter-spacing:.14em;color:#9aa8b5}
a.cl-tile{min-height:88px;padding:12px 12px 11px;background:#121820;border:1px solid #2a333c;border-radius:14px}
a.cl-tile strong{font:italic 700 15px/1.15 Manrope,system-ui,sans-serif;letter-spacing:.02em;text-transform:uppercase;color:#f5f5f3}
a.cl-tile span.sub{font:400 12px/1.3 Manrope,system-ui,sans-serif;color:#c6cdd4}
a.cl-tile.on{border-color:#FF5A0A;box-shadow:inset 0 0 0 1px #FF5A0A}
/* Quick calculators: title case, badge under subtitle (board) */
a.cl-util{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:88px;padding:12px 14px;background:#121820;border:1px solid #2a333c;border-radius:14px}
a.cl-util strong{font:700 13px/1.25 Manrope,system-ui,sans-serif;font-style:normal;letter-spacing:0;text-transform:none;color:#f0f4f8}
a.cl-util span.sub{font:400 11px/1.3 Manrope,system-ui,sans-serif;color:#9aa8b5}
a.cl-util .cl-badge{margin-top:8px;align-self:flex-start;grid-column:auto;grid-row:auto}
a.cl-explore{background:#121820;border:1px solid #2a333c;border-radius:14px;padding:14px}
a.cl-explore strong{font:italic 700 16px/1.15 Manrope,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#f5f5f3}
a.cl-explore span.sub{font:400 11px/1.3 Manrope,system-ui,sans-serif;color:#c6cdd4}
.cl-badge{font:700 11px/1 Manrope,system-ui,sans-serif;letter-spacing:.06em;padding:3px 7px;border-radius:999px}
.cl-badge.pro,a.cl-tile .cl-badge.pro,a.cl-util .cl-badge.pro{background:#4a2a18;color:#ffb07b}
.cl-badge.lite,a.cl-tile .cl-badge.lite,a.cl-util .cl-badge.lite{background:#1a3d2e;color:#b6f0c8}
/* Service due: orange-tinted, Open; red OVERDUE pill only when actually overdue (Team B 00-hub; Venom Nov 10 8:13 AM CST) */
#svcBanner{background:#2a160c;border:1px solid #FF5A0A;border-radius:14px;align-items:center}
#svcTitle{font:700 15px/1.2 Manrope,system-ui,sans-serif;font-style:normal;letter-spacing:0;text-transform:none;color:#ffb3a8}
#svcText{font:400 12px/1.35 Manrope,system-ui,sans-serif;color:#e8e0d8}
#svcMeta{font:400 11px/1.3 Manrope,system-ui,sans-serif;color:#9aa8b5}
#svcOpen{font:700 11px/1 Manrope,system-ui,sans-serif;color:#ffab73}
.cl-pro-card{background:#121820;border:1px solid #2a333c;border-radius:14px}
.cl-pro-card strong{font:italic 700 15px/1.15 Manrope,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#f5f5f3}
.cl-pro-card span{font:400 13px/1.35 Manrope,system-ui,sans-serif;color:#c6cdd4}
.cl-pro-card a.cl-pro-upgrade{padding:7px 14px;border:1.5px solid #ffb07b;border-radius:10px;background:transparent;color:#ffb07b;font:700 11px/1 Manrope,system-ui,sans-serif}
/* Photo header Lite / Upgrade */
.cl-photo-hdr__meta .cl-title-row__chip{background:rgba(7,10,14,.72);color:#f2f4f6;border:1px solid rgba(255,255,255,.16);font:700 12px/1 Manrope,system-ui,sans-serif;padding:4px 8px}
.cl-photo-hdr__meta .cl-title-row__upgrade{color:#ffab73;font:700 12px/1 Manrope,system-ui,sans-serif}
.cl-photo-hdr__logo-wrap{background:rgba(7,10,14,.92)}

/* Shared tool-page frame: cards, fields, details sit in the same dark set as the hub */
body.cl-has-chrome .wrap .card,
body.cl-has-chrome .wrap .panel,
body.cl-has-chrome .wrap section.box,
body.cl-has-chrome .wrap .bike-card,
body.cl-has-chrome .wrap .run,
body.cl-has-chrome .wrap .tile{
  background:#121820;border:1px solid #2a333c;border-radius:14px
}
body.cl-has-chrome .wrap h2,
body.cl-has-chrome .wrap h3,
body.cl-has-chrome .wrap legend,
body.cl-has-chrome .wrap details > summary{
  font-family:Manrope,system-ui,sans-serif;font-weight:700;color:#f5f5f3
}
body.cl-has-chrome .wrap input,
body.cl-has-chrome .wrap select,
body.cl-has-chrome .wrap textarea{
  background:#0b131a;border:1px solid #2a333c;color:#f5f5f3;border-radius:10px
}
body.cl-has-chrome .cl-title-row__name{font:italic 700 20px/1.15 Manrope,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#f5f5f3}

/* Fit GPS TIMER / TIMES LAB on one line in 2-col Manrope (board uses condensed type) */
a.cl-tile{column-gap:8px;padding:12px 10px 11px}
a.cl-tile .cl-ico{width:24px;height:24px}
a.cl-tile .cl-ico svg{width:24px;height:24px}
a.cl-tile strong{font-size:13.5px;letter-spacing:.01em}
.cl-pro-card a.cl-pro-upgrade{background:transparent!important;box-shadow:none}


/* —— Exact 390 home geometry from hub-mobile.svg (Thomas example / 00-hub) —— */
body.cl-chrome-hub .cl-photo-hdr{height:120px}
body.cl-chrome-hub .cl-photo-hdr__logo{width:150px;height:46px;max-width:150px}
body.cl-chrome-hub .cl-photo-hdr__logo-wrap{left:6px;top:4px;padding:4px 10px 4px 6px;border-radius:8px;background:rgba(7,10,14,.8)}
body.cl-chrome-hub .cl-photo-hdr__fade{height:56px;bottom:0;top:auto}
body.cl-chrome-hub .wrap{max-width:none;padding:16px 24px 48px;margin:0}
body.cl-chrome-hub .cl-sec{margin:16px 0 10px;font:italic 700 16px/1 "Barlow Condensed",Manrope,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#f5f5f3}
body.cl-chrome-hub .cl-sec.dim{font:700 11px/1 "Source Sans 3",Manrope,sans-serif;font-style:normal;letter-spacing:.12em;color:#9aa8b5}
body.cl-chrome-hub .cl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.cl-chrome-hub .cl-grid.util{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.cl-chrome-hub .cl-grid.explore{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}

/* Primary glass cards: cut top-right, optional left accent (selected Gearing) */
body.cl-chrome-hub a.cl-tile{
  display:grid;grid-template-columns:40px 1fr auto;grid-template-rows:auto auto;column-gap:8px;row-gap:0;
  width:100%;max-width:none;height:96px;min-height:96px;max-height:96px;box-sizing:border-box;
  padding:10px 10px 10px 8px;margin:0;
  background:linear-gradient(180deg,#181c22 0%,#0e1217 100%);
  border:0.7px solid rgba(101,112,123,.45);border-radius:0 0 5px 5px;
  clip-path:polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  position:relative;align-items:start;
}
body.cl-chrome-hub a.cl-tile.on{
  border:.7px solid rgba(255,90,10,.85);box-shadow:none!important;
}
body.cl-chrome-hub a.cl-tile.on::before{
  content:"";position:absolute;left:0;top:10px;height:76px;width:3px;background:#FF5A0A;border-radius:0 1px 1px 0;
}
body.cl-chrome-hub a.cl-tile .cl-ico,
body.cl-chrome-hub a.cl-tile .cl-art{
  grid-column:1;grid-row:1 / span 2;width:40px;height:40px;margin-top:0;color:#FF5A0A;
}
body.cl-chrome-hub a.cl-tile .cl-art{display:block;overflow:visible}
body.cl-chrome-hub a.cl-tile strong{
  grid-column:2;grid-row:1;align-self:start;margin:0;
  font:italic 700 15px/1.13 "Barlow Condensed",Manrope,sans-serif;
  letter-spacing:.02em;text-transform:uppercase;color:#f5f5f3;white-space:nowrap;
}
body.cl-chrome-hub a.cl-tile.stack strong{white-space:normal;max-width:9.5em}
body.cl-chrome-hub a.cl-tile span.sub{
  grid-column:2 / span 2;grid-row:2;margin-top:4px;
  font:400 12px/1.25 "Source Sans 3",Manrope,sans-serif;color:#c6cdd4;white-space:normal;
  min-width:0;padding:0 1px; /* 1.3.68: subtitles wrap instead of running past the tile at 360 */
}
@media (max-width:374px){body.cl-chrome-hub a.cl-tile span.sub{font-size:11px}} /* 1.3.68: 360 tiles are 172px; keep subtitles inside */
body.cl-chrome-hub a.cl-tile .cl-badge{
  grid-column:3;grid-row:1;align-self:start;margin:0;justify-self:end;
}

/* Quick calculators: orange line icon left of title, badge under subtitle */
body.cl-chrome-hub a.cl-util{
  display:grid;grid-template-columns:20px 1fr;grid-template-rows:20px auto 1fr auto;
  column-gap:6px;row-gap:0;
  width:100%;max-width:none;height:88px;min-height:88px;max-height:88px;box-sizing:border-box;
  padding:10px 8px 8px 10px;
  background:#121820;border:.8px solid #3a4652;border-radius:10px;
}
@media (max-width:899px){
  body.cl-chrome-hub .wrap{max-width:390px;padding:8px 12px 12px;margin:0 auto}
  body.cl-chrome-hub .cl-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:364px;margin-left:auto;margin-right:auto;gap:10px 8px} /* 1.3.68: fixed 178px columns ran off a 360 screen */
  body.cl-chrome-hub .cl-grid.util{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px}
  body.cl-chrome-hub .cl-grid.explore{grid-template-columns:1fr;gap:10px}
  body.cl-chrome-hub a.cl-tile,
  body.cl-chrome-hub a.cl-util{max-width:178px}
}
body.cl-chrome-hub a.cl-util .cl-art,
body.cl-chrome-hub a.cl-util .cl-ico{
  grid-column:1;grid-row:1;width:20px;height:20px;color:#FF5A0A;display:block;
}
body.cl-chrome-hub a.cl-util strong{
  grid-column:2;grid-row:1;align-self:center;
  font:700 13px/1.15 "Source Sans 3",Manrope,sans-serif;
  font-style:normal;letter-spacing:0;text-transform:none;color:#f0f4f8;
  white-space:nowrap;
}
body.cl-chrome-hub a.cl-util span.sub{
  grid-column:1 / span 2;grid-row:2;margin-top:10px;
  font:400 11px/1.2 "Source Sans 3",Manrope,sans-serif;color:#9aa8b5;
}
body.cl-chrome-hub a.cl-util .cl-badge{
  grid-column:1 / span 2;grid-row:4;justify-self:start;align-self:end;margin-top:8px;
}

/* Explore rows */
body.cl-chrome-hub a.cl-explore{
  display:grid;grid-template-columns:24px 1fr auto;grid-template-rows:auto auto;
  column-gap:8px;align-items:center;
  min-height:56px;padding:10px 12px;
  background:linear-gradient(180deg,#181c22 0%,#0e1217 100%);
  border:.7px solid rgba(101,112,123,.45);border-radius:0 0 5px 5px;
  clip-path:polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
body.cl-chrome-hub a.cl-explore .cl-art,
body.cl-chrome-hub a.cl-explore .cl-ico{width:24px;height:24px;color:#FF5A0A;display:block}
body.cl-chrome-hub a.cl-explore strong{
  font:italic 700 16px/1.1 "Barlow Condensed",Manrope,sans-serif;
  letter-spacing:.04em;text-transform:uppercase;color:#f5f5f3;
}
body.cl-chrome-hub a.cl-explore span.sub{
  font:400 11px/1.2 "Source Sans 3",Manrope,sans-serif;color:#c6cdd4;
}
body.cl-chrome-hub .cl-badge{
  font:700 11px/1 "Source Sans 3",Manrope,sans-serif;letter-spacing:.04em;padding:4px 7px;height:18px;box-sizing:border-box;
  display:inline-flex;align-items:center;
}
body.cl-chrome-hub .cl-badge.pro{background:#4a2a18;color:#ffb07b}
body.cl-chrome-hub .cl-badge.lite{background:#1a3d2e;color:#b6f0c8}

/* Service due: 366×64, wrench icon, Open; red OVERDUE pill when overdue */
body.cl-chrome-hub #svcBanner{
  display:flex;align-items:center;gap:12px;
  width:100%;box-sizing:border-box;min-height:64px;height:auto;
  margin:14px 0 4px;padding:10px 14px 10px 12px;
  background:#2a1414;border:1.2px solid #6b2a20;border-radius:12px;
}
body.cl-chrome-hub #svcBanner .cl-art,
body.cl-chrome-hub #svcBanner .cl-ico{width:22px;height:22px;flex:none;color:#FF5A0A}
body.cl-chrome-hub #svcTitle{font:700 15px/1.15 "Source Sans 3",Manrope,sans-serif;font-style:normal;letter-spacing:0;text-transform:none;color:#ffb3a8}
body.cl-chrome-hub #svcText{font:400 12px/1.25 "Source Sans 3",Manrope,sans-serif;color:#e8e0d8}
body.cl-chrome-hub #svcMeta{font:400 11px/1.2 "Source Sans 3",Manrope,sans-serif;color:#9aa8b5}
body.cl-chrome-hub #svcOpen{font:700 11px/1 "Source Sans 3",Manrope,sans-serif;color:#ffab73}
body.cl-chrome-hub #svcChip, #svcChip{
  display:inline-flex;align-items:center;justify-content:center;
  height:16px;min-width:50px;padding:0 6px;border-radius:8px;
  background:#3a1616;color:#ff8a7a;
  font:700 11px/1 "Source Sans 3",Manrope,sans-serif;
  letter-spacing:.04em;text-transform:uppercase;
}
body.cl-chrome-hub #svcChip[hidden], #svcChip[hidden]{display:none!important}
#svcBanner.soon #svcChip, body.cl-chrome-hub #svcBanner.soon #svcChip{display:none!important}
body.cl-chrome-hub 
body.cl-chrome-hub .cl-pro-card{
  min-height:56px;padding:12px 14px;
  background:linear-gradient(180deg,#181c22 0%,#0e1217 100%);
  border:.7px solid rgba(101,112,123,.45);border-radius:0 0 5px 5px;
  clip-path:polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
body.cl-chrome-hub .cl-pro-card .cl-art{width:22px;height:22px;flex:none}
body.cl-chrome-hub .cl-pro-card strong{font:italic 700 15px/1.1 "Barlow Condensed",Manrope,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#f5f5f3}
body.cl-chrome-hub .cl-pro-card span{font:400 13px/1.3 "Source Sans 3",Manrope,sans-serif;color:#c6cdd4}
body.cl-chrome-hub .cl-pro-card a.cl-pro-upgrade{
  padding:5px 12px;border:1.2px solid #ffb07b;border-radius:10px;background:transparent!important;
  color:#ffb07b;font:700 11px/1 "Source Sans 3",Manrope,sans-serif;
}

body.cl-chrome-hub .cl-photo-hdr__meta .cl-title-row__chip{
  font:700 12px/1 "Source Sans 3",Manrope,sans-serif;background:transparent;border:0;color:#f2f4f6;padding:0;
}
body.cl-chrome-hub .cl-photo-hdr__meta .cl-title-row__upgrade{
  font:700 12px/1 "Source Sans 3",Manrope,sans-serif;color:#ffab73;
}


/* ---- 1.3.67 tool title row + shared interior system (board match) ---- */
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:8px 16px 8px;
  border-bottom:1px solid #2a333c;
  max-width:1000px;
  margin:0 auto;
  width:100%;
  box-sizing:border-box;
}
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row__ico{
  width:36px;height:36px;display:block;flex:none;overflow:visible;
}
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row__text{min-width:0;display:flex;flex-direction:column;gap:2px;}
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row__name{
  margin:0;
  font:italic 700 22px/1 "Barlow Condensed",Manrope,system-ui,sans-serif;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#f5f5f3;
  white-space:nowrap;
}
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row__chip,
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row__chip.lite{
  display:inline-block;
  align-self:start;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  font:700 11px/1.2 "Source Sans 3",Manrope,system-ui,sans-serif;
  letter-spacing:.08em;
  color:#9aa8b5;
}
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row__chip:not(.lite){color:#ffab73 !important;}
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row__all{
  display:inline-flex;
  align-items:center;
  min-height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#ffab73;
  text-decoration:none;
  font:700 14px/1 "Source Sans 3",Manrope,system-ui,sans-serif;
  white-space:nowrap;
}
body.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row__all:hover{color:#FF5A0A;border:0;}

body.cl-has-chrome .cl-sec{
  font:italic 700 13px/1 "Barlow Condensed",Manrope,system-ui,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#9aa8b5;
  margin:16px 0 8px;
}
body.cl-has-chrome .wrap > .cl-sec:first-child,
body.cl-has-chrome .wrap > .cl-hide-on-chrome + .cl-sec{margin-top:4px;}

/* Garage compact bike cards (board 05) */
.cl-bike{background:#161b22;border:1px solid #2a333c;border-radius:16px;padding:14px;margin:0 0 12px}
.cl-bike.on{box-shadow:inset 3px 0 0 #FF5A0A}
.cl-bike__active{font:700 11px/1 "Source Sans 3",Manrope,sans-serif;letter-spacing:.12em;color:#FF5A0A;margin:0 0 6px}
.cl-bike__name{font:italic 700 22px/1.1 "Barlow Condensed",Manrope,sans-serif;text-transform:uppercase;margin:0 0 4px;color:#f5f5f3}
.cl-bike__specs{font:400 12px/1.4 "Source Sans 3",Manrope,sans-serif;color:#9aa8b5}
.cl-bike__acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.cl-bike__acts a{
  display:flex;align-items:center;justify-content:center;min-height:40px;
  border-radius:10px;border:1px solid #33404c;background:#16202a;color:#f6f3ee;
  text-decoration:none;font:700 13px/1.1 "Source Sans 3",Manrope,sans-serif;text-align:center;padding:8px;
}
.cl-bike__more{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.cl-bike__more a{font:700 11px/1 "Source Sans 3",Manrope,sans-serif;color:#9aa8b5;text-decoration:none}
body.cl-has-chrome .g-acts{display:flex;flex-direction:column;gap:8px;margin:4px 0 16px}
body.cl-has-chrome .g-acts .btn{width:100%;text-align:center;box-sizing:border-box;border-radius:12px;min-height:44px;display:flex;align-items:center;justify-content:center}
body.cl-has-chrome .cl-comm-card{background:transparent;border:0;padding:0;margin:8px 0 0;box-shadow:none}
body.cl-has-chrome .cl-comm-kicker{font:italic 700 13px/1 "Barlow Condensed",Manrope,sans-serif;letter-spacing:.1em;color:#9aa8b5}
body.cl-has-chrome .cl-comm-title,body.cl-has-chrome .cl-comm-sub{display:none}
body.cl-has-chrome .cl-comm-list{gap:8px}
body.cl-has-chrome .cl-comm-link{background:#161b22;border-radius:12px}

/* Weather overview (board 04) */
body.cl-has-chrome .wx-find .search{margin:0 0 16px}
body.cl-has-chrome .wx-find #goGps.btn{background:transparent;color:#FF5A0A;border:1px solid #FF5A0A}
body.cl-has-chrome .now{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 18px;background:transparent;border:0;padding:0;box-shadow:none}
body.cl-has-chrome .now .temp,body.cl-has-chrome .now .temp.mono{
  font:italic 700 72px/.9 "Barlow Condensed",Manrope,sans-serif !important;
  color:#f5f5f3;margin:0;
}
body.cl-has-chrome .now .temp small{font:700 22px/1 "Source Sans 3",Manrope,sans-serif;color:#9aa8b5;margin-left:4px}
body.cl-has-chrome .now-meta{font:400 14px/1.35 "Source Sans 3",Manrope,sans-serif;color:#c9d3df}
body.cl-has-chrome .kpis-ride{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}
body.cl-has-chrome .kpis-ride .kpi{background:#161b22;border:1px solid #2a333c;border-radius:12px;padding:10px 12px}
body.cl-has-chrome .kpis-ride .kpi span{display:block;font:700 11px/1 "Source Sans 3",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa8b5;margin-bottom:4px}
body.cl-has-chrome .kpis-ride .kpi b{font:italic 700 20px/1 "Barlow Condensed",sans-serif;color:#f5f5f3}
body.cl-has-chrome .wx-views{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 12px}
body.cl-has-chrome .wx-views [data-wx="hourly"],
body.cl-has-chrome .wx-views [data-wx="seven"]{grid-column:auto}
body.wx-error .now{display:none !important}
body.wx-error #wxText{display:none !important}
body.cl-has-chrome .wx-views button{
  min-height:40px;border-radius:12px;border:1px solid #33404c;background:#161b22;color:#f6f3ee;
  font:700 13px "Source Sans 3",Manrope,sans-serif;text-align:left;padding:0 14px;
}
body.cl-has-chrome .wx-views button.on{background:#FF5A0A;border-color:#FF5A0A;color:#0c0c10}
body.cl-has-chrome .hours-peek{display:flex;gap:8px;overflow-x:auto;padding:0 0 8px}
body.cl-has-chrome .hours-peek .hour{
  flex:0 0 56px;background:#161b22;border:1px solid #2a333c;border-radius:12px;padding:8px 6px;text-align:center;
}
body.cl-has-chrome .hours-peek .hour span{display:block;font:700 11px/1 "Source Sans 3",sans-serif;color:#9aa8b5}
body.cl-has-chrome .hours-peek .hour b{display:block;font:italic 700 16px/1.2 "Barlow Condensed",sans-serif;color:#f5f5f3;margin-top:4px}
body.cl-has-chrome .wx-place{font:400 13px/1.3 "Source Sans 3",sans-serif;color:#9aa8b5;margin:0 0 8px}

/* Quick gearing (board 12) */
body.cl-has-chrome .cl-sprockets .row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #2a333c}
body.cl-has-chrome .cl-sprockets .step{display:inline-flex;align-items:center;gap:10px}
body.cl-has-chrome .cl-sprockets .step button{
  width:36px;height:36px;border-radius:10px;border:1px solid #33404c;background:#16202a;color:#f6f3ee;font-size:20px;
}
body.cl-has-chrome .cl-sprockets .n{font:italic 700 22px/1 "Barlow Condensed",sans-serif;min-width:28px;text-align:center;display:inline-block}
body.cl-has-chrome .cl-readout{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
body.cl-has-chrome .cl-readout .kv{background:#161b22;border:1px solid #2a333c;border-radius:12px;padding:10px 12px}
body.cl-has-chrome .cl-readout .kv span{display:block;font:700 11px/1 "Source Sans 3",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa8b5;margin-bottom:4px}
body.cl-has-chrome .cl-readout .kv b{font:italic 700 22px/1 "Barlow Condensed",sans-serif}
body.cl-has-chrome .cl-tool-links{display:flex;flex-direction:column;gap:8px;margin:12px 0}
body.cl-has-chrome .cl-tool-links a{
  display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;
  border:1px solid #33404c;background:#16202a;color:#f6f3ee;text-decoration:none;
  font:700 14px "Source Sans 3",sans-serif;
}
body.cl-has-chrome .cl-tool-links a.primary{background:#FF5A0A;border-color:#FF5A0A;color:#0c0c10}

/* GPS cluster (board 01-gps-live-monitor): segmented digital ring, not analog needles */
body.appear-cluster .speedbox{display:flex;flex-direction:column;align-items:center;background:transparent;border:0;box-shadow:none;padding:8px 0 4px}
body.appear-cluster .cl-cluster{position:relative;width:220px;height:220px;margin:4px auto 8px}
body.appear-cluster .cl-cluster svg{position:absolute;inset:0;width:100%;height:100%}
body.appear-cluster .cl-cluster__read{
  position:absolute;inset:36px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
}
body.appear-cluster .cl-cluster__lbl{font:700 11px/1 "Source Sans 3",sans-serif;letter-spacing:.16em;color:#9aa8b5}
body.appear-cluster .bigspeed{
  font:italic 700 56px/.9 "Barlow Condensed",Manrope,sans-serif !important;
  color:#f5f5f3;margin:2px 0 0;
}
body.appear-cluster .bigspeed small{display:block;font:700 12px/1 "Source Sans 3",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#9aa8b5;margin-top:2px}
body.appear-cluster .livemeta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;margin-top:8px}
body.appear-cluster .livemeta > div{
  background:#161b22;border:1px solid #2a333c;border-radius:10px;padding:8px 6px;text-align:center;
}
body.appear-cluster .livemeta b{display:block;font:italic 700 16px/1 "Barlow Condensed",sans-serif;color:#f5f5f3}
body.appear-cluster .livemeta span{display:block;font:700 11px/1.2 "Source Sans 3",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#9aa8b5;margin-top:3px}
body.appear-cluster #leanBox.hidden{display:flex !important;opacity:.55}
body.appear-cluster .status{font:700 12px/1 "Source Sans 3",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa8b5;margin:0 0 4px;text-align:center}
body.cl-has-chrome #armBtn.btn.arm,body.cl-has-chrome .btn.arm{width:100%;min-height:48px;border-radius:12px;font:700 16px "Source Sans 3",sans-serif}

/* Times Lab / Spark / forms: section titles + chips closer to boards */
body.cl-has-chrome .tabs,body.cl-has-chrome nav.tabs{gap:6px}
body.cl-has-chrome .tab,body.cl-has-chrome nav.tabs .tab{
  border-radius:999px;font:700 12px "Source Sans 3",Manrope,sans-serif;
}
body.cl-has-chrome .card h2,body.cl-has-chrome .wrap h2{
  font:italic 700 13px/1 "Barlow Condensed",Manrope,sans-serif;
  letter-spacing:.1em;text-transform:uppercase;color:#9aa8b5;
}

body.cl-has-chrome .stepno{font:italic 700 13px/1 "Barlow Condensed",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#9aa8b5;margin:0 0 6px}
body.cl-has-chrome #prog{display:flex;gap:4px;margin:0 0 12px}
body.cl-has-chrome #prog i{flex:1;height:4px;border-radius:2px;background:#2a333c}
body.cl-has-chrome #prog i.on{background:#FF5A0A}
body.cl-has-chrome .nav2{display:flex;gap:8px;margin-top:16px}
body.cl-has-chrome .nav2 .btn{flex:1;min-height:44px}

body.appear-cluster #leanBox.hidden{display:none !important}
body.cl-has-chrome .wrap > footer,
body.cl-has-chrome .wrap > p > a[href="./index.html"],
body.cl-has-chrome .wrap > footer{display:none}
body.cl-has-chrome .cl-legacy-intro{display:none}
body.cl-has-chrome .wx-find .search{display:flex;gap:8px;align-items:stretch}
body.cl-has-chrome .wx-find .suggest{flex:1;min-width:0}
body.cl-has-chrome .wx-find #q{width:100%;min-width:0}
body.cl-has-chrome .wx-find #goGps{flex:none;white-space:nowrap;align-self:stretch}
body.cl-has-chrome #lockmsg{font-size:12px;color:#9aa8b5}

/* Spark: open required sections read as flat boarded headings; other spec/mod <details> stay collapsed */
body.cl-has-chrome details[data-sec="bike"][open] > summary,
body.cl-has-chrome details[data-sec="ops"][open] > summary,
body.cl-has-chrome details[data-sec="spark"][open] > summary,
body.cl-has-chrome details[data-sec="map"][open] > summary{
  font:italic 700 13px/1 "Barlow Condensed",Manrope,sans-serif;
  letter-spacing:.1em;text-transform:uppercase;color:#9aa8b5;
  list-style:none;padding:8px 0 10px;
}
body.cl-has-chrome details[data-sec="bike"][open] > summary::-webkit-details-marker,
body.cl-has-chrome details[data-sec="ops"][open] > summary::-webkit-details-marker,
body.cl-has-chrome details[data-sec="spark"][open] > summary::-webkit-details-marker,
body.cl-has-chrome details[data-sec="map"][open] > summary::-webkit-details-marker{display:none}
body.cl-has-chrome details[data-sec="bike"][open],
body.cl-has-chrome details[data-sec="ops"][open],
body.cl-has-chrome details[data-sec="spark"][open],
body.cl-has-chrome details[data-sec="map"][open]{
  border:0;background:transparent;padding:0;margin:0 0 16px;
}

body.cl-has-chrome .cl-susp-tips{display:none}
body.cl-has-chrome dialog{
  background:#161b22;color:#f6f3ee;border:1px solid #2a333c;border-radius:16px;
  padding:18px 16px 16px;width:min(390px,92vw);max-width:100%;
}
body.cl-has-chrome dialog::backdrop{background:rgba(0,0,0,.62)}
body.cl-has-chrome dialog h3{
  font:italic 700 18px/1.1 "Barlow Condensed",sans-serif;letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px;
}
body.cl-has-chrome dialog .grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.cl-has-chrome dialog menu, body.cl-has-chrome dialog .acts, body.cl-has-chrome dialog form > p:last-of-type{
  display:flex;gap:8px;margin-top:14px;
}
body.cl-has-chrome dialog button{flex:1;min-height:40px;border-radius:10px}


/* 1.3.67 boarded 2-col value tiles (calculators, settings, edit, service, spark) */
body.cl-has-chrome .grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.cl-has-chrome .cl-sec{font:italic 700 16px/1 "Barlow Condensed",Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa8b5}
body.cl-has-chrome label{font:700 11px/1.15 "Source Sans 3",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#9aa8b5} /* 1.3.101 B4: was 9px; text >= 11px */
body.cl-has-chrome input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.cl-has-chrome select,body.cl-has-chrome textarea{
  background:#101820;border:1px solid #3a6a7a;border-radius:2px;color:#f5f5f3;
  font:italic 700 22px/1.2 "Barlow Condensed",sans-serif;padding:12px 16px 10px;
  clip-path:none; /* 1.3.68 P0b: the cut corner sheared field values ("Add a bike in G", "Ho"); fields are square-boxed now, tiles keep the chamfer */
}
/* 1.3.68 P0b: dropdown values are long sentences; size them to fit a half-width phone column */
body.cl-has-chrome select{font-size:18px;font-style:normal;padding-right:28px;text-overflow:ellipsis;white-space:nowrap}
/* 1.3.68: the 14px cut corner only belongs on boxed fields; fields with no padding of their own (inside tiles) must not be cut */
body.cl-has-chrome .cl-set-tile input,body.cl-has-chrome .cl-set-tile select,body.cl-has-chrome .cl-set-tile textarea{clip-path:none}
body.cl-has-chrome .kv,body.cl-has-chrome .stat-tile{
  background:#101820;border:1px solid #3a6a7a;border-radius:2px;padding:10px 12px;
  clip-path:polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
body.cl-has-chrome dialog#dlg{
  position:fixed;inset:0;width:100%;max-width:100%;height:100%;max-height:100%;
  margin:0;padding:12px 16px 96px;background:#0c0c10;border:0;color:#f5f5f3;overflow:auto;
}
body.cl-has-chrome dialog#dlg::backdrop{background:#0c0c10}
body.cl-has-chrome dialog#dlg h3{font:italic 700 20px/1.1 "Barlow Condensed",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#f5f5f3;margin:8px 0 14px}
body.cl-has-chrome .svc-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.cl-has-chrome .svc-grid .item{
  background:#101820;border:1px solid #3a6a7a;border-radius:2px;padding:10px;
  clip-path:polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
body.cl-has-chrome .stepno{font:700 11px/1 "Source Sans 3",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#9aa8b5}
/* Spark: flatten the Nov 9 open sections into boarded kickers; keep other sections collapsed */
body.cl-has-chrome details.ig-sec[open][data-sec="bike"],
body.cl-has-chrome details.ig-sec[open][data-sec="ops"],
body.cl-has-chrome details.ig-sec[open][data-sec="spark"],
body.cl-has-chrome details.ig-sec[open][data-sec="curve"],
body.cl-has-chrome details.ig-sec[open][data-sec="map"]{border:0;background:transparent;padding:0;border-radius:0}
body.cl-has-chrome details.ig-sec[open][data-sec="bike"]>summary,
body.cl-has-chrome details.ig-sec[open][data-sec="ops"]>summary,
body.cl-has-chrome details.ig-sec[open][data-sec="spark"]>summary,
body.cl-has-chrome details.ig-sec[open][data-sec="curve"]>summary,
body.cl-has-chrome details.ig-sec[open][data-sec="map"]>summary{
  font:italic 700 16px/1 "Barlow Condensed",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa8b5;padding:16px 0 8px
}
body.cl-has-chrome details.ig-sec[open][data-sec="bike"]>summary::before,
body.cl-has-chrome details.ig-sec[open][data-sec="ops"]>summary::before,
body.cl-has-chrome details.ig-sec[open][data-sec="spark"]>summary::before,
body.cl-has-chrome details.ig-sec[open][data-sec="curve"]>summary::before,
body.cl-has-chrome details.ig-sec[open][data-sec="map"]>summary::before,
body.cl-has-chrome details.ig-sec[open][data-sec="bike"]>summary small,
body.cl-has-chrome details.ig-sec[open][data-sec="ops"]>summary small,
body.cl-has-chrome details.ig-sec[open][data-sec="spark"]>summary small,
body.cl-has-chrome details.ig-sec[open][data-sec="curve"]>summary small,
body.cl-has-chrome details.ig-sec[open][data-sec="map"]>summary small{display:none}

body.cl-has-chrome .svc-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:transparent;border:0;padding:0;box-shadow:none}
body.cl-has-chrome .svc-grid .item .meta{font:500 11px/1.35 "Source Sans 3",sans-serif;color:#9aa8b5;margin-top:4px}
body.cl-has-chrome .svc-grid .item .nm{font:italic 700 15px/1.15 "Barlow Condensed",sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#f5f5f3}
body.cl-has-chrome .svc-grid .item .acts{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
body.cl-has-chrome .svc-grid .item .acts .btn,
body.cl-has-chrome .svc-grid .item .acts button{min-height:32px;padding:0 10px;font-size:12px}

/* Phone: last primary action/content must clear the 68px tab bar (+1px border + air) under the photo header.
   Clearance token: 84px + var(--cl-sab) = tab-bar height + env(safe-area-inset-bottom) + air (>=12px). */
@media (max-width:899px){
  body.cl-has-chrome.cl-has-nav{padding-bottom:calc(84px + var(--cl-sab, env(safe-area-inset-bottom,0px)))}
}

/* 1.3.69: closed <details> must not lay out their bodies. Author display/padding on
   .ig-body / .bc-body leaked the last Spark section (and Edit bike sections) past
   the details box and past scrollHeight, so the "What this model is doing"
   paragraph sat under the 68/69px tab bar and could not be scrolled clear
   (Routes 1.3.68 prod smoke: p bottom 912 vs nav top 775 at max scroll).
   The real scroll container is the document; body.cl-has-nav already has the
   clearance token above. Hiding closed bodies puts last in-flow content back
   inside that padded scroll height. When the section is opened, the same
   token already clears the paragraph. */
body.cl-has-chrome details:not([open]) > *:not(summary){display:none!important}

/* 1.3.68: every Lab checkbox is drawn (native boxes painted #3b3b3b on dark under color-scheme:dark / Grainhouse color:inherit). Light fill + 2px light border, #FF5A0A checked with a #0c0c10 tick. */
html body input[type="checkbox"]:not(#cl-x){-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;box-sizing:border-box;width:24px;height:24px;min-width:24px;min-height:24px;margin:0;padding:0;flex:none;vertical-align:middle;border:2px solid #ffffff;border-radius:6px;background:#f6f1ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='0' y='0' width='24' height='24' rx='4' fill='%23f6f1ea'/%3E%3C/svg%3E") no-repeat center/100% 100%;color-scheme:light;opacity:1;visibility:visible;cursor:pointer;forced-color-adjust:none}
html body input[type="checkbox"]:not(#cl-x):checked{background-color:#FF5A0A;border-color:#FF5A0A;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230c0c10' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:18px 18px}
html body input[type="checkbox"]:not(#cl-x):focus-visible{outline:3px solid #FF5A0A;outline-offset:2px}
html body input[type="checkbox"]:not(#cl-x):disabled{opacity:.45;cursor:not-allowed}
html body input[type="checkbox"]:not(#cl-x){overflow:hidden}
/* 1.3.73: 1.3.68 restyled every checkbox as a 24px orange box with an SVG tick.
   Page-level toggle knobs still used ::after on the input (rem-card "Remind me
   about · per item"): when checked, the global 24px box won on size/fill, but
   the leftover 18px knob kept translateX(16px) + background #0c0c10, so a black
   circle popped out just right of the orange check and vanished when unchecked.
   Kill leftover ::before/::after on Lab checkboxes. */
html body input[type="checkbox"]:not(#cl-x)::before,
html body input[type="checkbox"]:not(#cl-x)::after{content:none!important;display:none!important;background:none!important;border:none!important;width:0!important;height:0!important;min-width:0!important;min-height:0!important;transform:none!important}
@media (forced-colors:active){html body input[type="checkbox"]:not(#cl-x){-webkit-appearance:auto;appearance:auto;forced-color-adjust:auto;background:none;border:0}}
@media (forced-colors:active){html body input[type="checkbox"]:not(#cl-x)::before,html body input[type="checkbox"]:not(#cl-x)::after{content:none!important;display:none!important}}
/* 1.3.68: long field values end in an ellipsis instead of running into the cut corner; cam/head tables wrap instead of spilling the card */
body.cl-has-chrome input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.cl-has-chrome select{text-overflow:ellipsis;min-width:0}
body.cl-has-chrome select{padding-right:22px}
.ch-t{table-layout:fixed;max-width:100%}.ch-t th,.ch-t td{white-space:normal;overflow-wrap:anywhere;word-break:normal}

/* 1.3.72: native <select> text sat too low in the Barlow Condensed 22px/1.2 box
   (padding 12px 16px 10px, then padding-right 22px) so the baseline clipped —
   "Track day" read as "Track dnv", "Fresh asphalt" as "Fresh nshnlt", "Dry" as "Drv".
   PSI number inputs were fine. Selects use Manrope, vertically centered text, the
   same 48px height as neighboring inputs, and padding-right for the chevron.
   appearance:none + a drawn chevron so the UA arrow does not eat the label. */
body.cl-has-chrome select{
  appearance:none!important;-webkit-appearance:none!important;
  font:600 16px/1.35 Manrope,system-ui,sans-serif!important;font-style:normal!important;
  height:48px!important;min-height:48px!important;box-sizing:border-box!important;
  padding:0 36px 0 16px!important;margin:0;
  color:#f5f5f3!important;
  background-color:#101820!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23c6cdd4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5L6 6l4.5-4.5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:12px 8px!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
  vertical-align:middle;
}
body.cl-has-chrome select:disabled{opacity:.7}

/* 1.3.72: bike-card .bc-f still sets input height:40px; keep neighboring PSI/number
   inputs the same 48px box as the selects (do not edit bike-card.js). */
body.cl-has-chrome .bc-f input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]){
  height:48px!important;min-height:48px!important;box-sizing:border-box!important;
  padding:8px 16px!important;
}
/* Spark Motorcycle already labels Cams / Air filter; hide the picker’s second caption. */
/* 1.3.109: Spark (ignition.html) wraps each caption in .cl-sr-only (clip pattern: screen readers keep the label, nothing renders at 0px).
   The font-size:0 rule stays only as a fallback for a label not yet wrapped. */
body.cl-has-chrome .ig-camaf .ch-pick>label:not([data-cl-sr]),body.cl-has-chrome .ig-camaf .af-pick>label:not([data-cl-sr]){font-size:0;letter-spacing:0;gap:0;color:transparent}
body.cl-has-chrome .ig-camaf .ch-pick>label[data-cl-sr],body.cl-has-chrome .ig-camaf .af-pick>label[data-cl-sr]{gap:0}
.cl-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body.cl-has-chrome .ig-camaf .ch-pick>label>select,body.cl-has-chrome .ig-camaf .af-pick>label>select{font-size:16px;letter-spacing:0;color:#f5f5f3}

/* 1.3.72: selected option text must stay fully visible. Routes 1.3.71 prod
   smoke at 360px / Play UA: Surface "Fresh asphalt" measured 103px in a 93px
   content box (16px left + 36px chevron padding on a 145px 2-col cell) and
   ellipsized to "Fresh asp...". 390 and 1280 were fine for that label, but
   longer options (Prepped drag strip, Track-day SP (Supercorsa SP), Wet
   (ready to ride), wheel catalog names) also overflow a half-width phone
   column. Do not shorten labels. Keep the 1.3.71 vertical metrics (Manrope
   16/1.35, 48px, centered). At phone widths, slightly trim horizontal
   padding and stack any 2-col (or 3-col) grid that holds a select. */
@media (max-width: 639px){
  body.cl-has-chrome select{
    padding:0 28px 0 10px!important;
    background-position:right 8px center!important;
  }
  body.cl-has-chrome .bc-f input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]){
    padding:8px 10px!important;
  }
  body.cl-has-chrome .bc-grid:has(select),
  body.cl-has-chrome .grid2:has(select),
  body.cl-has-chrome .ig-camaf,
  body.cl-has-chrome .ig-pick:has(select),
  body.cl-has-chrome .row:has(select),
  body.cl-has-chrome .row3:has(select),
  body.cl-has-chrome .row4:has(select),
  body.cl-has-chrome .cl-q-grid:has(select),
  body.cl-has-chrome .gb-grid:has(select),
  body.cl-has-chrome .cl-pc-grid,
  body.cl-has-chrome #cl-pull-cond .cl-pc-grid,
  body.cl-has-chrome dialog .grid2:has(select){
    grid-template-columns:1fr!important;
  }
}

/* ===================================================================================================
   1.3.93 (Nov 22, 2026) TEAM B BUILD (Q-146): widescreen desktop layout. CSS only, desktop only.
   Every rule below sits inside min-width 1200 / 1600 / 2200 media queries, so phones (360/390) and the
   900-1199 desktop band render exactly as 1.3.92. No math, no markup, no JS changes.
   Tokens: --clw-g = side gutter, --clw-gap = column gap, --clw-rail = side rail width, --clw-measure = max
   line length for text blocks. Selectors start with html:not(#clw-wide) (no element has that id) so they outrank the
   page-level 1.3.67 rules without !important. Accent #FF5A0A, dark charcoal canvas, photo header and logo unchanged.
   =================================================================================================== */
@media (min-width:1200px){
  :root{--clw-g:48px;--clw-gap:24px;--clw-rail:360px;--clw-measure:78ch}

  /* Photo header stays edge to edge; logo lines up with the content gutter. Title row spans the full width. */
  html:not(#clw-wide) body.cl-has-chrome .cl-photo-hdr{height:170px}
  html:not(#clw-wide) body.cl-has-chrome.cl-chrome-compact .cl-photo-hdr{height:72px}
  html:not(#clw-wide) body.cl-has-chrome .cl-photo-hdr__logo-wrap{left:calc(var(--clw-g) - 10px)}
  html:not(#clw-wide) body.cl-has-chrome .cl-title-row{max-width:none;margin:0;padding-left:var(--clw-g);padding-right:var(--clw-g)}
  html:not(#clw-wide) body.cl-has-chrome .cl-gear{top:188px}

  /* Page frame: no narrow centered column. A 12-column grid; every child spans the full row unless a page
     rule below places it. Hidden children (display:none) take no cell. */
  html:not(#clw-wide) body.cl-has-chrome .wrap{
    max-width:none;width:100%;margin:0;box-sizing:border-box;
    padding:24px var(--clw-g) 56px;
    display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--clw-gap);align-content:start;align-items:start;
    /* 14 content rows + one flexible row: a side panel that spans to the last line takes its extra height in the
       flexible row, so the stacked items beside it stay packed (no stretched gaps). */
    grid-template-rows:repeat(14,auto) 1fr;
  }
  html:not(#clw-wide) body.cl-has-chrome .wrap > *{grid-column:1 / -1;min-width:0}

  /* Text blocks keep a readable measure; helper text stays ≥13px (1.3.67 desktop floor still applies). */
  html:not(#clw-wide) body.cl-has-chrome .wrap p.sub,
  html:not(#clw-wide) body.cl-has-chrome .wrap p.note,
  html:not(#clw-wide) body.cl-has-chrome .wrap small,
  html:not(#clw-wide) body.cl-has-chrome .wrap .hint,
  html:not(#clw-wide) body.cl-has-chrome #root main p.text-muted,
  html:not(#clw-wide) body.cl-has-chrome #root footer p{max-width:var(--clw-measure)}

  /* Stand-alone fields stay capped at 280px on desktop (boards); fields inside grids fill their cell. */
  html:not(#clw-wide) body.cl-has-chrome .wrap > label + select,
  html:not(#clw-wide) body.cl-has-chrome .wrap > select,
  html:not(#clw-wide) body.cl-has-chrome .wrap > input{max-width:280px}
  html:not(#clw-wide) body.cl-has-chrome .wrap > input#q{max-width:560px}

  /* ---- Home (hub.html) ---- */
  html:not(#clw-wide) body.cl-chrome-hub .cl-photo-hdr{height:170px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-photo-hdr__logo{width:184px;height:56px;max-width:184px}
  html:not(#clw-wide) body.cl-chrome-hub .wrap{max-width:none;margin:0;padding:20px var(--clw-g) 56px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-grid{max-width:none;margin:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-grid.util{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-grid.explore{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  html:not(#clw-wide) body.cl-chrome-hub a.cl-tile,
  html:not(#clw-wide) body.cl-chrome-hub a.cl-util{max-width:none}
  html:not(#clw-wide) body.cl-chrome-hub .wrap > .cl-pro-card{grid-column:1 / span 6}
  html:not(#clw-wide) body.cl-chrome-hub a.cl-tile span.sub,
  html:not(#clw-wide) body.cl-chrome-hub a.cl-util span.sub,
  html:not(#clw-wide) body.cl-chrome-hub a.cl-explore span.sub{font-size:13px}
  html:not(#clw-wide) body.cl-chrome-hub .wrap > #svcBanner{grid-column:1 / span 8}

  /* ---- Gearing bench (chainline/index.html): bench fills the width, Pull conditions is a sticky side rail ---- */
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel):has(> #cl-pull-cond){
    display:grid;grid-template-columns:minmax(0,1fr) var(--clw-rail);column-gap:var(--clw-gap);align-items:start;
  }
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel):has(> #cl-pull-cond) > *{grid-column:1 / -1}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel):has(> #cl-pull-cond) > #root{grid-column:1;min-width:0;padding-left:calc(var(--clw-g) - 12px)}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel):has(> #cl-pull-cond) > #cl-pull-cond{
    grid-column:2;max-width:none!important;margin:16px 0 0!important;padding:16px var(--clw-g) 24px 0!important;
    position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;scrollbar-width:thin;box-sizing:border-box;
  }
  html:not(#clw-wide) body.cl-has-chrome #cl-pull-cond .cl-pc-msg{font-size:13px}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root main{max-width:none!important;margin:0!important;padding:12px 12px 88px!important}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root main > header{grid-column:1 / -1}
  /* Find the bike + Profiles side by side, both still folded by default */
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root main{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px var(--clw-gap)!important}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root main > *{grid-column:1 / -1;margin-top:0!important}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root main > .cl-bench-find{grid-column:1}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root main > #profiles{grid-column:2}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root main > .cl-bench-find.cl-fold-open,
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root main > #profiles.cl-fold-open{grid-column:1 / -1}

  /* ---- Quick gearing (gearing.html): sprockets + readout left, gear table right, aero/LSR below ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > *{grid-column:1 / span 6}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > #bike{grid-column:1 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > .cl-sec:has(+ .card:not(.cl-sprockets)){grid-column:7 / -1;grid-row:2}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > .card:not(.cl-sprockets){grid-column:7 / -1;grid-row:3 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > #lsr{grid-column:1 / -1}

  /* ---- Garage (garage.html): bikes left, Community/Shop card right ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-comm-card) > *{grid-column:1 / span 8}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-comm-card) > .cl-comm-card{grid-column:9 / -1;grid-row:1 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-comm-card) > #list{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:12px}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-comm-card) > #list .cl-bike{margin:0}

  /* ---- Suspension (suspension.html): wizard step left, the estimate note as a side note ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #step) > #step{grid-column:1 / span 8}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #step) > #step ~ p.sub{grid-column:9 / -1;grid-row:3;margin-top:0}

  /* ---- Maintenance (maint.html): bike + odometer + track use as a left panel, tabs and list beside ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #odoCard) > *{grid-column:1 / span 4}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #odoCard) > .tabs{grid-column:5 / -1;grid-row:1 / span 2;align-self:start}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #odoCard) > #pane{grid-column:5 / -1;grid-row:3 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #odoCard) > #bike{max-width:none}

  /* ---- Quick settings / Account: tiles in a wider grid ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap > #settings-root{grid-column:1 / span 8}
  html:not(#clw-wide) body.cl-has-chrome #settings-root .cl-q-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-has-chrome #settings-root .cl-q-actions{max-width:600px}
  html:not(#clw-wide) body.cl-has-chrome .wrap > #cl-acct{grid-column:1 / span 6}
  html:not(#clw-wide) body.cl-has-chrome #cl-acct .cl-acct-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

  /* ---- Weather (weather.html): search + now + riding conditions left, views/panels right ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > *{grid-column:6 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > .wx-find,
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > #wxError,
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > #wxEmpty,
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > #wxNow,
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > #rideSec,
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > .kpis-ride,
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > #wxBack{grid-column:1 / span 5}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > .wx-views{grid-row:1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > .wx-views-cap{grid-row:2}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > #hoursPeek{grid-row:3}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > .wx-panel{grid-row:4 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) > footer{grid-column:1 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) .wx-views{grid-template-columns:repeat(4,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .wx-find) .kpis-ride{grid-template-columns:repeat(2,minmax(0,1fr))}

  /* ---- Fuel mix (fuel-mix.html): mix and result side by side, then the tools in pairs ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap.fm > details{grid-column:span 6;margin-top:0}
  html:not(#clw-wide) body.cl-has-chrome .wrap.fm > #secSrc{grid-column:1 / -1}

  /* ---- Chain / Tire / Power / Dyno: inputs left, results right ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #out.grid2) > .grid2:not(#out){grid-column:1 / span 6}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #out.grid2) > #out{grid-column:7 / -1;grid-row:3}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .grid2 + .grid2 + .kv) > #bike + .grid2{grid-column:1 / span 6;grid-row:3 / span 4}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .grid2 + .grid2 + .kv) > .grid2 + .grid2,
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .grid2 + .grid2 + .kv) > .kv,
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .grid2 + .grid2 + .kv) > .kv + p.sub{grid-column:7 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #name.sub) > .cl-sec:has(+ #name){grid-column:1 / span 6;grid-row:1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #name.sub) > #name{grid-column:1 / span 6;grid-row:2}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #name.sub) > #name + .card{grid-column:1 / span 6;grid-row:3 / span 2}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #name.sub) > .card + .cl-sec{grid-column:7 / -1;grid-row:1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #name.sub) > .card + .cl-sec + .card{grid-column:7 / -1;grid-row:2 / span 3}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #bike + .card + #list) > .card{grid-column:1 / span 5}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #bike + .card + #list) > #list{grid-column:6 / -1;grid-row:3}

  /* ---- Bike database: catalog cards in columns ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> input#q) > #list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> input#q) > #list > .card{margin:0}

  /* ---- Factory service specs: picker as a left panel, spec tables beside ---- */
  html:not(#clw-wide) body.cl-has-chrome main.wrap.ss-wrap{max-width:none!important;padding:24px var(--clw-g) 56px}
  html:not(#clw-wide) body.cl-has-chrome main.wrap.ss-wrap > *{grid-column:1 / span 4}
  html:not(#clw-wide) body.cl-has-chrome main.wrap.ss-wrap > #out{grid-column:5 / -1;grid-row:1 / -1}

  /* ---- Input states (validation.html): state cards in a grid ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap > section.cl-state{grid-column:span 6}

  /* ---- Upgrade / Pro: status + manage left, What unlocks right ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #unlocks) > *{grid-column:1 / span 5}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #unlocks) > #unlocks{grid-column:6 / -1;grid-row:1 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #unlocks) > #manage{max-width:280px}

  /* ---- Edit bike (Pro): form in two columns of sections ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap > form#f{column-count:2;column-gap:var(--clw-gap)}
  html:not(#clw-wide) body.cl-has-chrome .wrap > form#f > *{break-inside:avoid}
  html:not(#clw-wide) body.cl-has-chrome .wrap > form#f > .cl-sec{break-after:avoid}
  html:not(#clw-wide) body.cl-has-chrome .wrap > form#f > button{max-width:280px}

  /* ---- Roll-on pulls (Pro): add + windows left, Pull conditions as a right rail ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #cl-pull-cond) > *{grid-column:1 / span 7}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #cl-pull-cond) > #meta{grid-column:1 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #cl-pull-cond) > #cl-pull-cond{grid-column:8 / -1;grid-row:2 / -1;margin-top:0}

  /* ---- Times lab (Pro, lab.html) ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> section#view-runs){max-width:none}

  /* ---- Spark (Pro, ignition.html): stacked sections become two columns; map + curve span ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-spark-stack){max-width:none}
  html:not(#clw-wide) body.cl-has-chrome .cl-spark-stack{display:grid;gap:16px var(--clw-gap);grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row dense;align-items:start}
  html:not(#clw-wide) body.cl-has-chrome .cl-spark-stack > #cl-spark-quick{grid-column:1 / -1}

  html:not(#clw-wide) body.cl-gps-instrument.cl-has-chrome:not(.cl-chrome-hub) .cl-title-row{padding-left:var(--clw-g)!important;padding-right:var(--clw-g)!important}
  html:not(#clw-wide) body.cl-gps-instrument .cl-photo-hdr__logo-wrap{left:var(--clw-g)!important}
  /* ---- GPS timer (Pro, phone-timer.html): cluster left, live readouts right; ARM stays under the cluster ---- */
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> #view-timer){max-width:none}
  html:not(#clw-wide) body.cl-has-chrome #view-timer:not(.hidden){display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--clw-gap);align-items:start}
  html:not(#clw-wide) body.cl-has-chrome #view-timer > *{grid-column:1 / -1}
  html:not(#clw-wide) body.cl-has-chrome #view-timer > .speedbox{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--clw-gap);align-items:center}
  html:not(#clw-wide) body.cl-has-chrome #view-timer > .speedbox > *{grid-column:1}
  html:not(#clw-wide) body.cl-has-chrome #view-timer > .speedbox > .livemeta{grid-column:2;grid-row:1 / span 3;grid-template-columns:repeat(2,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-has-chrome #view-timer > #armBtn,
  html:not(#clw-wide) body.cl-has-chrome #view-timer > .actions{grid-column:1;max-width:none}
}
@media (min-width:1600px){
  :root{--clw-g:64px;--clw-gap:28px;--clw-rail:400px}
  html:not(#clw-wide) body.cl-has-chrome .cl-photo-hdr{height:190px}
  html:not(#clw-wide) body.cl-has-chrome.cl-chrome-compact .cl-photo-hdr{height:80px}
  html:not(#clw-wide) body.cl-has-chrome .cl-gear{top:208px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-photo-hdr{height:190px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-chrome-hub .cl-grid.util{grid-template-columns:repeat(6,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-chrome-hub .wrap > .cl-pro-card{grid-column:1 / span 4}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> input#q) > #list{grid-template-columns:repeat(4,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-has-chrome .wrap > section.cl-state{grid-column:span 3}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-comm-card) > *{grid-column:1 / span 9}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-comm-card) > .cl-comm-card{grid-column:10 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap.fm > details{grid-column:span 4}
  html:not(#clw-wide) body.cl-has-chrome .wrap.fm > #secMix{grid-column:1 / span 5}
  html:not(#clw-wide) body.cl-has-chrome .wrap.fm > #secRes{grid-column:6 / span 4}
  html:not(#clw-wide) body.cl-has-chrome .wrap.fm > #secFlow{grid-column:10 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap > form#f{column-count:3}
  html:not(#clw-wide) body.cl-has-chrome .cl-spark-stack{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (min-width:2200px){
  :root{--clw-g:96px;--clw-gap:32px;--clw-rail:440px}
  html:not(#clw-wide) body.cl-has-chrome .cl-photo-hdr{height:220px}
  html:not(#clw-wide) body.cl-has-chrome .cl-photo-hdr__logo{width:220px;height:66px;max-width:240px}
  html:not(#clw-wide) body.cl-has-chrome .cl-gear{top:238px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-photo-hdr{height:220px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-photo-hdr__logo{width:220px;height:66px;max-width:220px}
  html:not(#clw-wide) body.cl-chrome-hub .cl-grid.util{grid-template-columns:repeat(6,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-chrome-hub .cl-grid.explore{grid-template-columns:repeat(3,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> input#q) > #list{grid-template-columns:repeat(5,minmax(0,1fr))}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > *{grid-column:1 / span 4}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > .cl-sec:has(+ .card:not(.cl-sprockets)){grid-column:5 / span 4}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > .card:not(.cl-sprockets){grid-column:5 / span 4}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > #lsr{grid-column:9 / -1;grid-row:2 / -1}
  html:not(#clw-wide) body.cl-has-chrome .wrap:has(> .cl-sprockets) > #bike{grid-column:1 / -1}
  /* Gearing bench (2200+): Pulls 4/12, Sprockets 8/12 split into its own two columns (table + chart | nearby + shop) */
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#pulls{grid-column:span 4}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear{grid-column:span 8}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);column-gap:var(--clw-gap);align-content:start;grid-auto-flow:row dense}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > *{grid-column:1 / -1;min-width:0}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > :has([data-bench="bench_sprockets"]),
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_sprockets"],
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_chart"],
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_topspeed"]{grid-column:1}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_sprockets"]{grid-row:2}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_chart"]{grid-row:3}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_topspeed"]{grid-row:4}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_nearby"]{grid-column:2;grid-row:2;margin-top:16px}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_shop"]{grid-column:2;grid-row:3 / span 2;margin-top:16px}
  html:not(#clw-wide) body.cl-has-chrome:not(.cl-bench-panel) #root section#gear > [data-bench="bench_shop"]{border-top:0;padding-top:0}
  html:not(#clw-wide) body.cl-has-chrome .cl-spark-stack{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* 1.3.96 OPS-138: Inspection valve worksheet + full screen (sits on 1.3.93/1.3.94 12-col rules). */
#inspFsBar{display:none}
body.cl-insp-fs #inspFsBar{display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:40;background:#111218;border-bottom:1px solid rgba(255,255,255,.08);padding:8px 12px;min-height:52px}
/* Hide the photo header, Service-log left rail and tabs in full screen (Team B LV1).
   Desktop keeps the Q-146 title row / nav; phones hide those for sheet space. */
body.cl-insp-fs .cl-photo-hdr, body.cl-insp-fs .tabs, body.cl-insp-fs #odoCard, body.cl-insp-fs #useCard, body.cl-insp-fs label[for="bike"], body.cl-insp-fs #bike{display:none !important}
body.cl-insp-fs{padding-bottom:0}
body.cl-insp-fs #inspHead #inspFull{display:none !important} /* sticky bar already has Exit */
@media (max-width:899px){
  body.cl-insp-fs .cl-title-row, body.cl-insp-fs .cl-nav, body.cl-insp-fs .cl-gear{display:none !important}
}
.vs-exit{background:transparent;color:#FF5A0A;border:1px solid rgba(255,90,10,.45);border-radius:999px;padding:8px 12px;font:700 13px Manrope,system-ui;white-space:nowrap}
.vs-fs-meta{flex:1;min-width:0}.vs-fs-meta b{display:block;font:800 16px Manrope,system-ui}.vs-fs-meta small{color:var(--muted);font-size:12px}
.vs-units{display:flex;align-items:center;gap:0;background:#17181f;border-radius:999px;padding:3px}.vs-ulab{font:800 11px Manrope,system-ui;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:0 8px}
.vs-u{background:transparent;color:var(--muted);border:0;border-radius:999px;padding:7px 12px;font:800 13px Manrope,system-ui}.vs-u.on{background:#FF5A0A;color:#0c0c10}.vs-u.locked{opacity:.85}
#valveSheet{margin:12px 0 18px}
.vs-card,.vs-form{background:#17181f;border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:14px}
.vs-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.vs-badge{font:800 11px Manrope,system-ui;letter-spacing:.06em;padding:3px 8px;border-radius:999px}
.vs-manual{background:#16324a;color:#8ec7ff}.vs-custom{background:transparent;color:#f0c060;border:1px dashed #f0c060}.vs-none{background:#2a2a32;color:var(--muted)}
.vs-src{font-size:13px;color:var(--muted);margin:0 0 10px}
.vs-boxes{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.vs-box{background:#111218;border-radius:12px;padding:10px 12px}.vs-box .vs-k{display:block;font:800 11px Manrope,system-ui;letter-spacing:.08em;color:var(--muted)}.vs-box b{font-size:20px}.vs-box small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.vs-read-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 6px}
.vs-chip{margin-left:auto;font:800 11px Manrope,system-ui;border-radius:999px;padding:3px 8px}
.vs-chip.vs-ok{background:#123222;color:#6fe3a1}.vs-chip.vs-out{background:#3a1515;color:#ff8d8d}
.vs-layout{font-size:12px;color:var(--muted);margin:0 0 8px}.vs-layout select{font-size:16px;min-height:40px;background:#111218;color:var(--text);border-radius:8px;border:1px solid rgba(255,255,255,.1)}
.vs-table-wrap{overflow-x:auto}
.vs-table{width:100%;border-collapse:collapse;font-size:13px}.vs-table th,.vs-table td{padding:8px 6px;text-align:left;border-bottom:1px solid rgba(255,255,255,.06)}
.vs-table .vs-in{width:76px;font-size:16px;min-height:44px;background:#111218;color:var(--text);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:6px 8px}
.vs-table td.ok{color:#6fe3a1;font-weight:700}.vs-table td.bad{color:#ff8d8d;font-weight:700}
.vs-ia,.vs-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.vs-form{margin-top:12px;border:1px dashed #f0c060}
.vs-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.vs-f{display:block;font-size:12px;color:var(--muted)}.vs-f input{display:inline-block;width:calc(100% - 36px);font-size:16px;min-height:44px;margin-top:4px;background:#111218;color:var(--text);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:6px 8px}
.vs-err{color:#ff8d8d;font-size:12px;margin-top:4px}
.vs-note{background:#1c1810;border:1px solid rgba(240,192,96,.35);border-radius:12px;padding:10px 12px;margin:0 0 12px;font-size:13px}
.vs-lock{margin-top:12px}.vs-lock-list{margin:8px 0;padding-left:18px}
#inspFull{margin-left:auto}
@media (max-width:389px){.vs-boxes,.vs-form-grid{grid-template-columns:1fr}.vs-table .vs-in{width:64px}}
@media (min-width: 1200px){
  body.cl-insp-fs .wrap:has(> #odoCard){display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}
  body.cl-insp-fs .wrap:has(> #odoCard) > #inspFsBar{grid-column:1 / -1}
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane{grid-column:1 / -1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-items:start}
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > #inspHead,
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > .ig-sec,
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > label,
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > textarea,
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > p{grid-column:1 / 5}
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > #valveSheet,
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > .vs-form{grid-column:5 / -1;grid-row:1 / span 20}
}

/* 1.3.99/1.3.100: Valve worksheet — keep 1.3.98 visual language, header/diagrams/shim/torque, larger fonts, mobile scroll. 1.3.100 adds LV1 4/12+8/12 on the full-width frame. */
.vs-head{flex-wrap:wrap;align-items:flex-start}
.vs-head-copy{min-width:0;flex:1}
.vs-head-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.vs-head-title b{font-size:22px;line-height:1.2}
.vs-head .vs-badge{margin-left:0;vertical-align:middle;font-size:11px}
.vs-head-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.vs-src{font-size:15px;line-height:1.4;margin:6px 0 0}
.vs-boxes-4{grid-template-columns:1fr 1fr}
@media (min-width:720px){
  .vs-boxes-4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.vs-box b{font-size:18px;line-height:1.3;word-break:break-word}
.vs-box .vs-k{font-size:11px}
.vs-layout{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin:0 0 12px}
.vs-layout label{display:inline-flex;align-items:center;gap:8px;font:700 13px Manrope,system-ui;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.vs-read-h b{font-size:18px}
.vs-chip{font-size:12px;padding:4px 10px}
.vs-diagrams{display:grid;grid-template-columns:1fr;gap:12px;margin:8px 0 16px}
.vs-diagram{width:100%;height:auto;background:#111218;border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:8px;box-sizing:border-box}
/* Desktop/tablet: size the two diagrams comparably and sit them side by side.
   Do not let the cylinder map eat the leftover row width (the old 280px + 1fr split). */
@media (min-width:900px){
  .vs-diagrams{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;max-width:680px;gap:16px}
}
.vs-table{font-size:15px}
.vs-table th,.vs-table td{padding:10px 8px;vertical-align:top}
.vs-table-wide th,.vs-table-wide td{white-space:nowrap}
.vs-table-wide th:nth-child(1),.vs-table-wide td:nth-child(1){min-width:4.75em}
.vs-table-wide th:nth-child(2),.vs-table-wide td:nth-child(2){min-width:8em}
.vs-table-wide th:nth-child(3),.vs-table-wide td:nth-child(3){min-width:7.5em}
.vs-table-wide th:nth-child(4),.vs-table-wide td:nth-child(4){min-width:9em}
.vs-table-wide th:nth-child(5),.vs-table-wide td:nth-child(5){min-width:8em}
.vs-table-wide th:nth-child(6),.vs-table-wide td:nth-child(6){min-width:6.5em}
.vs-table .vs-shim{width:84px;font-size:16px;min-height:44px;background:#111218;color:var(--text);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:6px 8px}
.vs-needed{font-weight:700}
.vs-needed .vs-calc{display:block;font-weight:500;color:var(--muted);font-size:12px;margin-top:2px;white-space:nowrap}
.vs-needed .vs-err{display:block;font-weight:500;margin-top:2px}
.vs-torque{margin:18px 0 8px;background:#111218;border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:14px 16px}
.vs-tq-title{margin:0 0 8px;font:800 13px Manrope,system-ui;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.vs-tq-grid{display:grid;grid-template-columns:1fr;gap:6px 24px;margin:0}
@media (min-width:640px){
  .vs-tq-grid{grid-template-columns:1fr 1fr}
}
.vs-tq{display:flex;justify-content:space-between;gap:12px;margin:0;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.vs-tq dt{font-size:15px;color:var(--muted)}
.vs-tq dd{margin:0;font:700 15px Manrope,system-ui;color:var(--text)}
.vs-foot{font-size:14px;color:var(--muted);margin:10px 0 0;line-height:1.5}
.vs-edit{background:transparent;border:0;color:#FF5A0A;font:700 13px Manrope,system-ui;padding:0;cursor:pointer;text-decoration:underline}
.vs-note{font-size:15px}

/* Mobile header: title and source each take a full-width row; units + Hide + PDF share one row under them. */
@media (max-width:899px){
  .vs-head{display:flex;flex-direction:column;align-items:stretch;gap:10px}
  .vs-head-copy,.vs-head-title,.vs-src{width:100%;max-width:100%;flex:none}
  .vs-head-title b{font-size:20px}
  .vs-head-acts{width:100%;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;justify-content:flex-start}
  .vs-head-acts .vs-units{flex:none}
  .vs-head-acts .btn{white-space:nowrap;flex:none}
  .vs-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;margin:0 -2px}
  .vs-table-wide{min-width:44rem;width:max-content}
  .vs-table-wide th:first-child,.vs-table-wide tbody th,.vs-table-wide td:first-child{
    position:sticky;left:0;z-index:2;background:#17181f;box-shadow:4px 0 0 #17181f
  }
  .vs-table-wide thead th:first-child{z-index:3}
  body.cl-insp-fs,body.cl-has-chrome{overflow-x:hidden}
  body.cl-insp-fs .wrap,body.cl-insp-fs #pane,body.cl-insp-fs #valveSheet,body.cl-insp-fs .vs-card{
    max-width:100%;overflow-x:hidden;box-sizing:border-box
  }
  body.cl-insp-fs .vs-table-wrap{overflow-x:auto}
}
@media (max-width:399px){
  .vs-head-acts .vs-ulab{display:none}
  .vs-head-acts .btn{padding:8px 10px;font-size:13px}
}

/* 1.3.100: full-width wrap (Thomas / 1.3.99) plus Team B LV1 12-col split:
   checklist 4/12, valve worksheet 8/12. Do not lock the wrap to a portrait column,
   and do not force every #pane child across all 12 columns. */
@media (min-width:900px){
  body.cl-insp-fs .wrap,
  body.cl-insp-fs .wrap:has(> #odoCard){
    max-width:none !important;
    width:100%;
    margin:0;
    padding-left:24px;
    padding-right:24px;
    box-sizing:border-box;
  }
  body.cl-insp-fs .cl-title-row{max-width:none;margin:0;padding-left:24px;padding-right:24px}
  body.cl-insp-fs .wrap:has(> #odoCard){display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:start}
  body.cl-insp-fs .wrap:has(> #odoCard) > #inspFsBar{grid-column:1 / -1}
  body.cl-insp-fs .wrap:has(> #odoCard) > .back,
  body.cl-insp-fs .wrap:has(> #odoCard) > #odoCard,
  body.cl-insp-fs .wrap:has(> #odoCard) > #useCard,
  body.cl-insp-fs .wrap:has(> #odoCard) > .tabs,
  body.cl-insp-fs .wrap:has(> #odoCard) > p.sub{display:none}
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:repeat(12,minmax(0,1fr));
    column-gap:24px;
    row-gap:12px;
    align-items:start;
  }
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > *{
    grid-column:1 / 5;
    width:100%;
    max-width:none;
    box-sizing:border-box;
  }
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > #valveSheet,
  body.cl-insp-fs .wrap:has(> #odoCard) > #pane > .vs-form{
    grid-column:5 / -1;
    grid-row:1 / span 40;
    width:100%;
    max-width:none;
    box-sizing:border-box;
  }
  body.cl-insp-fs #valveSheet, body.cl-insp-fs .vs-card, body.cl-insp-fs .vs-form{width:100%;max-width:none;box-sizing:border-box}
}
@media (min-width:1200px){
  body.cl-insp-fs .wrap,
  body.cl-insp-fs .wrap:has(> #odoCard),
  html:not(#clw-wide) body.cl-has-chrome.cl-insp-fs .wrap:has(> #odoCard){
    max-width:none !important;
    width:100%;
    padding-left:var(--clw-g,48px);
    padding-right:var(--clw-g,48px);
  }
  body.cl-insp-fs .cl-title-row{padding-left:var(--clw-g,48px);padding-right:var(--clw-g,48px)}
  /* Beat 1.3.93 maint layout (#pane parked at columns 5 / -1) and the 1.3.99 "every child 1 / -1" override. */
  html:not(#clw-wide) body.cl-has-chrome.cl-insp-fs .wrap:has(> #odoCard) > #inspFsBar,
  html:not(#clw-wide) body.cl-has-chrome.cl-insp-fs .wrap:has(> #odoCard) > #pane{
    grid-column:1 / -1 !important;
    grid-row:auto !important;
    width:100%;
    max-width:none;
  }
  html:not(#clw-wide) body.cl-has-chrome.cl-insp-fs .wrap:has(> #odoCard) > #pane > *{
    grid-column:1 / 5 !important;
    width:100%;
    max-width:none;
    box-sizing:border-box;
  }
  html:not(#clw-wide) body.cl-has-chrome.cl-insp-fs .wrap:has(> #odoCard) > #pane > #valveSheet,
  html:not(#clw-wide) body.cl-has-chrome.cl-insp-fs .wrap:has(> #odoCard) > #pane > .vs-form{
    grid-column:5 / -1 !important;
    grid-row:1 / span 40;
    width:100%;
    max-width:none;
    box-sizing:border-box;
  }
}

/* 1.3.101 B2: the sticky Valve column (z-index 2/3 under 900px) painted over the sticky "Service inspection" header
   (#inspHead.ihd, z-index 2 in maint.html) while scrolling. Header goes above, sticky column cells drop to 1/2.
   Verified client-side at 1440 / 880 / 390 (Lab, Nov 24). */
#inspHead.ihd{z-index:4}
@media (max-width:899px){
  .vs-table-wide tbody th,.vs-table-wide tbody th:first-child,.vs-table-wide td:first-child{z-index:1}
  .vs-table-wide thead th:first-child{z-index:2}
}
/* 1.3.101 B4: the chrome label rule (now 11px) out-specified .vs-layout label (13px); keep the valve layout labels at 13px. */
body.cl-has-chrome .vs-layout label{font:700 13px Manrope,system-ui;letter-spacing:.04em}
.vs-ulab{font-size:11px} /* 1.3.101 B4: "Units" label was 10px */
