/* Scott's Levels - every rule is scoped under #scotts-levels; classes use the sl- prefix. */
#scotts-levels {
  --sl-bg: #0B1026; --sl-panel: #141B3D; --sl-panel-2: #1A2350; --sl-text: #F1EDE4; --sl-muted: #B3B1DF;
  --sl-text-2: #D9D6EA; --sl-line-2: #3B4785; /* secondary text (ivory toward lavender) and a stronger hairline */
  --sl-line: #2A3466; --sl-pos: #51CF66; --sl-neg: #FF6B6B; --sl-es: #8FA3FF; --sl-nq: #F1EDE4; --sl-accent: #F5C242;
  --sl-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sl-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sl-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --sl-gut: 16px;
  display: block; position: relative; box-sizing: border-box; width: auto; max-width: none; margin: 0;
  background: var(--sl-bg); color: var(--sl-text); font: 400 16px/1.55 var(--sl-sans);
  text-align: left; letter-spacing: 0; text-transform: none; word-spacing: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%;
  container: sl / inline-size; overflow-x: clip;
  font-variant-numeric: tabular-nums;
}
#scotts-levels *, #scotts-levels *::before, #scotts-levels *::after { box-sizing: border-box; }
#scotts-levels :where(h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, table, thead, tbody, tr, th, td, button, details, summary,
  code, label, select, input, nav, header, footer, section, article, aside, main, em, strong, b, i, a) {
  margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit;
  text-transform: none; line-height: inherit; text-shadow: none; box-shadow: none; text-align: inherit; float: none;
  min-width: 0; max-width: none; width: auto; height: auto;
}
#scotts-levels :where(h1, h2, h3, h4)::before, #scotts-levels :where(h1, h2, h3, h4)::after { content: none; }
#scotts-levels :where(ul, ol) { list-style: none; }
#scotts-levels :where(strong, b) { font-weight: 600; }
#scotts-levels :where(a) { text-decoration: none; cursor: pointer; }
#scotts-levels :where(table) { border-collapse: collapse; border-spacing: 0; }
#scotts-levels :where(button) { cursor: pointer; -webkit-appearance: none; appearance: none; border-radius: 0; }
#scotts-levels :where(button, a, summary, select, input):focus-visible { outline: 2px solid var(--sl-accent); outline-offset: 2px; }
#scotts-levels .sl-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- frame */
#scotts-levels .sl-wrap { max-width: 1280px; margin: 0 auto; padding: 28px var(--sl-gut) 40px; }
#scotts-levels .sl-eyebrow, #scotts-levels .sl-kicker, #scotts-levels .sl-label {
  font: 500 11px/1.4 var(--sl-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sl-muted);
}
#scotts-levels .sl-num-font { font-family: var(--sl-sans); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- 1 masthead */
#scotts-levels .sl-mast { padding-bottom: 18px; }
#scotts-levels .sl-mast-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--sl-line); }
#scotts-levels .sl-mast-top .sl-hide-s { display: none; white-space: nowrap; }
@container sl (min-width: 340px) and (max-width: 599px) {   /* phones: its own row, a touch smaller so it never wraps */
  #scotts-levels .sl-mast-top .sl-hide-s { display: inline; font-size: 10px; letter-spacing: .06em; }
}
#scotts-levels .sl-word { font: var(--sl-heading-weight, 700) clamp(40px, 8.6cqi, 108px)/.95 var(--sl-serif); letter-spacing: -.035em;
  margin: 22px 0 12px; color: var(--sl-text); font-variation-settings: "opsz" 144; }
#scotts-levels .sl-word em { font-style: italic; font-weight: 600; color: var(--sl-accent); }
#scotts-levels .sl-dek { font: 400 clamp(17px, 2.3cqi, 22px)/1.4 var(--sl-serif); color: var(--sl-text-2); max-width: 34em; }
#scotts-levels .sl-meta { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  font: 500 12px/1.5 var(--sl-sans); color: var(--sl-muted); letter-spacing: .04em; }
#scotts-levels .sl-meta b { color: var(--sl-text); font-weight: 500; }
#scotts-levels .sl-meta .sl-live { display: inline-flex; align-items: center; gap: 8px; color: var(--sl-accent);
  text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
#scotts-levels .sl-meta .sl-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sl-accent); }
#scotts-levels .sl-rule { height: 2px; background: var(--sl-accent); margin-top: 18px; }
#scotts-levels .sl-rule + .sl-rule2 { height: 1px; background: var(--sl-line); margin-top: 3px; }

/* ---------------------------------------------------------------- layout: main + rail */
#scotts-levels .sl-body { display: block; margin-top: 8px; }
#scotts-levels .sl-main { container: slmain / inline-size; min-width: 0; }
#scotts-levels .sl-rail { display: none; }
#scotts-levels .sl-sec { padding: 44px 0 0; scroll-margin-top: 80px; }
#scotts-levels .sl-sec-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 16px; padding-bottom: 12px; border-bottom: 1px solid var(--sl-line); margin-bottom: 20px; }
#scotts-levels .sl-h2 { font: var(--sl-heading-weight, 600) clamp(26px, 3.4cqi, 34px)/1.1 var(--sl-serif); letter-spacing: -.015em; }
#scotts-levels .sl-sec-head .sl-label { white-space: nowrap; }

/* ---------------------------------------------------------------- 2 cover story */
#scotts-levels .sl-cover { padding-top: 30px; scroll-margin-top: 80px; }
#scotts-levels .sl-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--sl-muted); }
#scotts-levels .sl-kicker .sl-sep { color: var(--sl-line-2); }
#scotts-levels .sl-sess { color: var(--sl-accent); font-weight: 600; }
#scotts-levels .sl-tag { border: 1px solid var(--sl-line); padding: 2px 8px; color: var(--sl-text); letter-spacing: .12em; }
#scotts-levels .sl-back { color: var(--sl-accent); border-bottom: 1px solid currentColor; letter-spacing: .12em; }
#scotts-levels .sl-headline { font: var(--sl-heading-weight, 600) clamp(30px, 5.4cqi, 58px)/1.06 var(--sl-serif); letter-spacing: -.022em;
  margin: 14px 0 0; max-width: 20em; text-wrap: balance; }
#scotts-levels .sl-narr { margin-top: 20px; max-width: 46em; color: var(--sl-text-2); font-size: 16px; line-height: 1.65; }
#scotts-levels .sl-narr p + p, #scotts-levels .sl-narr p + ul, #scotts-levels .sl-narr ul + p { margin-top: 12px; }
#scotts-levels .sl-narr strong { color: var(--sl-text); }
#scotts-levels .sl-narr li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid var(--sl-line); }
#scotts-levels .sl-narr li:last-child { border-bottom: 1px solid var(--sl-line); }
#scotts-levels .sl-narr li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 2px; background: var(--sl-muted); }
#scotts-levels .sl-narr li.sl-li-es::before { background: var(--sl-es); }
#scotts-levels .sl-narr li.sl-li-nq::before { background: var(--sl-nq); }
#scotts-levels .sl-narr li.sl-li-es > strong:first-child { color: var(--sl-es); }
#scotts-levels .sl-narr li.sl-li-nq > strong:first-child { color: var(--sl-nq); }
#scotts-levels .sl-narr .sl-note { display: block; margin-top: 6px; color: var(--sl-muted); font-size: 14px; }
#scotts-levels .sl-narr code { font-family: var(--sl-mono); font-size: .9em; }
#scotts-levels .sl-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
#scotts-levels .sl-prov { margin-top: 14px; font: 400 11.5px/1.6 var(--sl-sans); color: var(--sl-muted); }

/* symbol card */
#scotts-levels .sl-card { container: slcard / inline-size; background: var(--sl-panel); border: 1px solid var(--sl-line);
  border-top: 2px solid var(--sl-es); padding: 20px 18px 18px; min-width: 0; }
#scotts-levels .sl-card.sl-nq { border-top-color: var(--sl-nq); }
#scotts-levels .sl-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
#scotts-levels .sl-sym { font: var(--sl-heading-weight, 700) 44px/.9 var(--sl-serif); letter-spacing: -.03em; color: var(--sl-es); display: block; }
#scotts-levels .sl-nq .sl-sym { color: var(--sl-nq); }
#scotts-levels .sl-chainname { display: block; margin-top: 8px; }
#scotts-levels .sl-spot { display: flex; gap: 18px; text-align: right; }
#scotts-levels .sl-spot dt { font: 500 10.5px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-spot dd { font: 500 15px/1.4 var(--sl-sans); font-variant-numeric: tabular-nums; margin-top: 3px; }
#scotts-levels .sl-regime { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 1px solid var(--sl-line); }
#scotts-levels .sl-reg { padding: 10px 12px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#scotts-levels .sl-reg + .sl-reg { border-left: 1px solid var(--sl-line); }
#scotts-levels .sl-reg-set { font: 500 10px/1.4 var(--sl-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-reg b { font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 7px; }
#scotts-levels .sl-reg b::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sl-muted); }
#scotts-levels .sl-reg span:last-child { font-size: 12.5px; color: var(--sl-muted); }
#scotts-levels .sl-reg.sl-pos { background: rgba(81, 207, 102, .1); }
#scotts-levels .sl-reg.sl-pos b { color: var(--sl-pos); }
#scotts-levels .sl-reg.sl-pos b::before { background: var(--sl-pos); }
#scotts-levels .sl-reg.sl-neg { background: rgba(255, 107, 107, .1); }
#scotts-levels .sl-reg.sl-neg b { color: var(--sl-neg); }
#scotts-levels .sl-reg.sl-neg b::before { background: var(--sl-neg); }
#scotts-levels .sl-nums { margin-top: 18px; display: grid; grid-template-columns: 1fr; }
#scotts-levels .sl-num { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 12px;
  padding: 12px 0; border-bottom: 1px solid var(--sl-line); }
#scotts-levels .sl-num:first-child { border-top: 1px solid var(--sl-line); }
#scotts-levels .sl-num-l { font: 500 11px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-num-v { font: 500 30px/1.05 var(--sl-sans); font-variant-numeric: tabular-nums; letter-spacing: -.03em;
  text-align: right; grid-row: span 2; color: var(--sl-text); white-space: nowrap; }
#scotts-levels .sl-num-i { font: 400 11.5px/1.3 var(--sl-sans); color: var(--sl-muted); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-num.sl-flip .sl-num-l { color: var(--sl-accent); }
#scotts-levels .sl-odte { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 12px/1.5 var(--sl-sans);
  color: var(--sl-muted); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-odte b { color: var(--sl-text); font-weight: 500; }
#scotts-levels .sl-gex { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
#scotts-levels .sl-gex > span { display: inline-flex; align-items: baseline; gap: 6px; }
#scotts-levels .sl-gex > span:first-child { flex-basis: 100%; }
#scotts-levels .sl-gex .sl-g { font: 600 20px/1.2 var(--sl-sans); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-gex small { font: 500 10.5px/1 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-up { color: var(--sl-pos); }
#scotts-levels .sl-down { color: var(--sl-neg); }
#scotts-levels .sl-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr; gap: 8px; }

/* buttons */
#scotts-levels .sl-btn { border-radius: var(--sl-radius, 0); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 10px 16px; font: 600 14px/1.2 var(--sl-sans); letter-spacing: .01em; border: 1px solid var(--sl-accent);
  color: var(--sl-accent); background: transparent; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
#scotts-levels .sl-btn:hover { background: rgba(245, 194, 66, .1); }
#scotts-levels .sl-btn-primary { background: var(--sl-accent); color: var(--sl-bg); }
#scotts-levels .sl-btn-primary:hover { background: #F8D26E; }
#scotts-levels .sl-btn-quiet { border-color: var(--sl-line); color: var(--sl-text); }
#scotts-levels .sl-btn-quiet:hover { border-color: var(--sl-muted); background: var(--sl-panel-2); }
#scotts-levels .sl-btn-sm { min-height: 36px; padding: 7px 10px; font-size: 13px; white-space: nowrap; }
#scotts-levels .sl-btn-sm .sl-copy-ico { display: none; }
#scotts-levels .sl-btn.sl-copied, #scotts-levels .sl-btn.sl-copied:hover { background: var(--sl-pos); border-color: var(--sl-pos); color: var(--sl-bg); }
#scotts-levels .sl-btn.sl-failed { border-color: var(--sl-neg); color: var(--sl-neg); background: transparent; }
#scotts-levels .sl-btn[disabled] { opacity: .45; cursor: not-allowed; }
#scotts-levels .sl-copy-ico { width: 14px; height: 14px; flex: none; }

/* show string disclosure */
#scotts-levels .sl-str { margin-top: 12px; border-top: 1px solid var(--sl-line); }
#scotts-levels .sl-str summary { cursor: pointer; list-style: none; padding: 10px 0 0; font: 500 12px/1.4 var(--sl-sans);
  letter-spacing: .1em; text-transform: uppercase; color: var(--sl-muted); display: flex; align-items: center; gap: 8px; }
#scotts-levels .sl-str summary::-webkit-details-marker { display: none; }
#scotts-levels .sl-str summary::before { content: "+"; color: var(--sl-accent); font-size: 15px; width: 10px; }
#scotts-levels .sl-str[open] summary::before { content: "\2212"; }
#scotts-levels .sl-str summary:hover { color: var(--sl-text); }
#scotts-levels .sl-str .sl-label { display: block; margin: 14px 0 6px; }
#scotts-levels .sl-code { display: block; background: var(--sl-bg); border: 1px solid var(--sl-line); padding: 10px 12px;
  font: 400 12px/1.6 var(--sl-mono); color: var(--sl-text-2); word-break: break-all; white-space: pre-wrap;
  -webkit-user-select: all; user-select: all; max-height: 9.6em; overflow: auto; }

/* ---------------------------------------------------------------- 3 recent sessions */
#scotts-levels .sl-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
#scotts-levels .sl-rc { background: var(--sl-panel); border: 1px solid var(--sl-line); padding: 16px 16px 14px; min-width: 0;
  display: flex; flex-direction: column; gap: 12px; transition: border-color .15s; }
#scotts-levels .sl-rc:hover { border-color: var(--sl-line-2); }
#scotts-levels .sl-rc.sl-cur { border-color: var(--sl-accent); box-shadow: inset 0 2px 0 var(--sl-accent); }
#scotts-levels .sl-rc-title { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; width: 100%; }
#scotts-levels .sl-rc-date { font: var(--sl-heading-weight, 600) 22px/1.1 var(--sl-serif); letter-spacing: -.01em; }
#scotts-levels .sl-rc-title:hover .sl-rc-date { color: var(--sl-accent); }
#scotts-levels .sl-rc-sess { font: 500 11px/1.4 var(--sl-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-rc-sess b { color: var(--sl-accent); font-weight: 600; }
#scotts-levels .sl-rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
#scotts-levels .sl-open { font: 500 11px/1 var(--sl-sans); color: var(--sl-muted); letter-spacing: .1em; text-transform: uppercase; padding-top: 6px; white-space: nowrap; }
#scotts-levels .sl-cur .sl-open { color: var(--sl-accent); }
#scotts-levels .sl-mini { width: 100%; font: 400 12.5px/1.3 var(--sl-sans); font-variant-numeric: tabular-nums; table-layout: fixed; }
#scotts-levels .sl-mini th, #scotts-levels .sl-mini td { padding: 7px 0 7px 6px; border-top: 1px solid var(--sl-line); text-align: right; white-space: nowrap; }
#scotts-levels .sl-mini thead th { border-top: 0; padding-top: 0; font: 500 10px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-mini th:first-child { text-align: left; width: 26%; }
#scotts-levels .sl-mini tbody th { font-weight: 600; }
#scotts-levels .sl-mini .sl-es-t { color: var(--sl-es); }
#scotts-levels .sl-mini .sl-nq-t { color: var(--sl-nq); }
#scotts-levels .sl-dots { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: 1px; }
#scotts-levels .sl-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sl-muted); }
#scotts-levels .sl-dot.sl-pos { background: var(--sl-pos); }
#scotts-levels .sl-dot.sl-neg { background: var(--sl-neg); }
#scotts-levels .sl-dot.sl-na { background: transparent; box-shadow: inset 0 0 0 1px var(--sl-muted); }
#scotts-levels .sl-rc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
#scotts-levels .sl-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 11.5px/1.5 var(--sl-sans); color: var(--sl-muted); margin-top: 14px; }
#scotts-levels .sl-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* jump dropdown (narrow) */
#scotts-levels .sl-jump { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
#scotts-levels .sl-select { width: 100%; min-height: 44px; padding: 10px 40px 10px 12px; background: var(--sl-panel);
  border: 1px solid var(--sl-line); color: var(--sl-text); font: 500 14px/1.3 var(--sl-sans); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--sl-accent) 50%), linear-gradient(135deg, var(--sl-accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
#scotts-levels .sl-select option, #scotts-levels .sl-select optgroup { background: var(--sl-panel); color: var(--sl-text); }

/* ---------------------------------------------------------------- 4 side rail */
#scotts-levels .sl-rail-in { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; padding: 30px 0 24px 22px;
  border-left: 1px solid var(--sl-line); scrollbar-width: thin; scrollbar-color: var(--sl-line) transparent; }
#scotts-levels .sl-rail-latest { display: block; padding: 10px 12px; border: 1px solid var(--sl-line); margin-bottom: 22px; }
#scotts-levels .sl-rail-latest b { display: block; font: var(--sl-heading-weight, 600) 18px/1.2 var(--sl-serif); }
#scotts-levels .sl-rail-latest span { display: block; margin-top: 3px; font: 400 11px/1.4 var(--sl-sans); color: var(--sl-muted); letter-spacing: .04em; }
#scotts-levels .sl-rail-latest:hover { border-color: var(--sl-muted); }
#scotts-levels .sl-rail-latest.sl-cur { border-color: var(--sl-accent); }
#scotts-levels .sl-rail-latest.sl-cur b { color: var(--sl-accent); }
#scotts-levels .sl-rail-month { margin: 18px 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--sl-line); }
#scotts-levels .sl-rail-month:first-of-type { margin-top: 0; }
#scotts-levels .sl-rail-day { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0 4px 8px;
  border-left: 2px solid transparent; margin-left: -10px; }
#scotts-levels .sl-rail-day.sl-cur { border-left-color: var(--sl-accent); }
#scotts-levels .sl-rail-date { font: 500 13px/1.3 var(--sl-sans); color: var(--sl-text-2); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-rail-day.sl-cur .sl-rail-date { color: var(--sl-text); }
#scotts-levels .sl-chips { display: inline-flex; gap: 4px; }
#scotts-levels .sl-chip { width: 26px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  font: 600 11px/1 var(--sl-sans); border: 1px solid var(--sl-line); color: var(--sl-muted); }
#scotts-levels button.sl-chip:hover { border-color: var(--sl-muted); color: var(--sl-text); }
#scotts-levels .sl-chip.sl-off { opacity: .3; }
#scotts-levels .sl-chip.sl-cur { background: var(--sl-accent); border-color: var(--sl-accent); color: var(--sl-bg); }
#scotts-levels .sl-rail-note { margin-top: 18px; font: 400 11px/1.5 var(--sl-sans); color: var(--sl-muted); }

/* ---------------------------------------------------------------- 5 archive */
#scotts-levels .sl-arch-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
#scotts-levels .sl-arch { container: slarch / inline-size; }
#scotts-levels .sl-arch-note { font-size: 14px; color: var(--sl-muted); max-width: 34em; }
#scotts-levels .sl-month { margin-top: 26px; }
#scotts-levels .sl-month-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--sl-text); }
#scotts-levels .sl-month-h h3 { font: var(--sl-heading-weight, 600) 20px/1.2 var(--sl-serif); }
#scotts-levels .sl-arch-head { display: none; }
#scotts-levels .sl-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "date sess" "es es" "nq nq" "copy copy";
  gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--sl-line); align-items: center; }
#scotts-levels .sl-row.sl-cur { background: linear-gradient(90deg, rgba(245, 194, 66, .07), transparent 70%); box-shadow: inset 2px 0 0 var(--sl-accent); padding-left: 10px; }
#scotts-levels .sl-row-date { grid-area: date; font: var(--sl-heading-weight, 600) 16px/1.2 var(--sl-serif); text-align: left; justify-self: start; }
#scotts-levels .sl-row-date:hover { color: var(--sl-accent); }
#scotts-levels .sl-row-sess { grid-area: sess; font: 500 11px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); white-space: nowrap; text-align: right; }
#scotts-levels .sl-row-sess b { color: var(--sl-accent); font-weight: 600; }
#scotts-levels .sl-row-sess i { font-style: normal; color: var(--sl-text); }
#scotts-levels .sl-row-sym { font: 400 12.5px/1.4 var(--sl-sans); font-variant-numeric: tabular-nums; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; color: var(--sl-text-2); min-width: 0; }
#scotts-levels .sl-row-sym.sl-es { grid-area: es; }
#scotts-levels .sl-row-sym.sl-nq { grid-area: nq; }
#scotts-levels .sl-row-sym > b { font-weight: 600; width: 22px; }
#scotts-levels .sl-row-sym.sl-es > b { color: var(--sl-es); }
#scotts-levels .sl-row-sym.sl-nq > b { color: var(--sl-nq); }
#scotts-levels .sl-row-sym em { font-style: normal; color: var(--sl-muted); font-size: 10.5px; letter-spacing: .08em; margin-right: 3px; }
#scotts-levels .sl-row-copy { grid-area: copy; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
#scotts-levels .sl-arch-foot { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
#scotts-levels .sl-empty { padding: 22px 0; color: var(--sl-muted); font-size: 15px; }

/* ---------------------------------------------------------------- 6 how to use + footer */
#scotts-levels .sl-steps { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: sl; }
#scotts-levels .sl-step { padding: 18px 0; border-top: 1px solid var(--sl-line); display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; }
#scotts-levels .sl-step-n { font: var(--sl-heading-weight, 600) 40px/1 var(--sl-serif); color: var(--sl-accent); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
#scotts-levels .sl-step h3 { font: var(--sl-heading-weight, 600) 18px/1.25 var(--sl-serif); margin-bottom: 4px; }
#scotts-levels .sl-step p { color: var(--sl-text-2); font-size: 15px; }
#scotts-levels .sl-step p b { color: var(--sl-text); }
#scotts-levels .sl-howto-note { margin-top: 10px; color: var(--sl-muted); font-size: 14px; max-width: 46em; }
#scotts-levels .sl-foot { margin-top: 48px; padding-top: 18px; border-top: 2px solid var(--sl-text); display: flex; flex-direction: column; gap: 6px;
  font: 400 12.5px/1.55 var(--sl-sans); color: var(--sl-muted); }
#scotts-levels .sl-foot b { font: var(--sl-heading-weight, 700) 18px/1.2 var(--sl-serif); color: var(--sl-text); letter-spacing: -.01em; margin-bottom: 4px; }

/* ---------------------------------------------------------------- states */
#scotts-levels .sl-sk { display: block; background: linear-gradient(90deg, var(--sl-panel) 0%, var(--sl-panel-2) 50%, var(--sl-panel) 100%);
  background-size: 200% 100%; animation: sl-shim 1.4s ease-in-out infinite; }
@keyframes sl-shim { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
#scotts-levels .sl-sk-line { height: 14px; margin-top: 12px; }
#scotts-levels .sl-sk-head { height: 44px; margin-top: 16px; max-width: 80%; }
#scotts-levels .sl-sk-card { height: 340px; }
#scotts-levels .sl-sk-rc { height: 210px; }
#scotts-levels .sl-error { margin-top: 30px; border: 1px solid var(--sl-line); border-left: 3px solid var(--sl-neg); background: var(--sl-panel); padding: 24px 20px; }
#scotts-levels .sl-error .sl-kicker { color: var(--sl-neg); }
#scotts-levels .sl-error h2 { font: var(--sl-heading-weight, 600) clamp(24px, 4cqi, 34px)/1.15 var(--sl-serif); margin: 10px 0 8px; }
#scotts-levels .sl-error p { color: var(--sl-text-2); max-width: 40em; }
#scotts-levels .sl-error .sl-btn { margin-top: 16px; }
#scotts-levels .sl-err-detail { margin-top: 12px; font: 400 11.5px/1.5 var(--sl-sans); color: var(--sl-muted) !important; word-break: break-word; }
#scotts-levels .sl-busy { opacity: .55; transition: opacity .2s; }

/* ---------------------------------------------------------------- responsive (container queries; mobile first) */
@container sl (min-width: 600px) {
  #scotts-levels .sl-mast-top .sl-hide-s { display: inline; }
}
@container sl (min-width: 720px) {
  #scotts-levels .sl-wrap { padding: 40px 32px 56px; }
  #scotts-levels .sl-meta { gap: 4px 18px; }
}
@container sl (min-width: 1024px) {
  #scotts-levels .sl-body { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 0 40px; align-items: start; }
  #scotts-levels .sl-rail { display: block; align-self: stretch; }
  #scotts-levels .sl-jump { display: none; }
}
@container slmain (min-width: 560px) {
  #scotts-levels .sl-grid { grid-template-columns: 1fr 1fr; }
  #scotts-levels .sl-steps { grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
  #scotts-levels .sl-step { grid-template-columns: 1fr; gap: 12px; padding-top: 20px; }
  #scotts-levels .sl-actions { grid-template-columns: 1fr; }
  #scotts-levels .sl-jump { flex-direction: row; align-items: center; gap: 12px; }
  #scotts-levels .sl-jump .sl-select { max-width: 360px; }
}
@container slmain (min-width: 700px) {
  #scotts-levels .sl-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@container slmain (min-width: 880px) {
  #scotts-levels .sl-grid { grid-template-columns: repeat(3, 1fr); }
}
@container slcard (min-width: 400px) {
  #scotts-levels .sl-card { padding: 22px 22px 20px; }
  #scotts-levels .sl-nums { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sl-line); border-bottom: 1px solid var(--sl-line); }
  #scotts-levels .sl-num { grid-template-columns: 1fr; border: 0; padding: 14px 0; gap: 6px; }
  #scotts-levels .sl-num:first-child { border-top: 0; }
  #scotts-levels .sl-num + .sl-num { border-left: 1px solid var(--sl-line); padding-left: 12px; }
  #scotts-levels .sl-num-v { grid-row: auto; text-align: left; font-size: clamp(19px, 5.6cqi, 30px); }
  #scotts-levels .sl-actions { grid-template-columns: 1fr; }
}
@container slcard (min-width: 520px) {
  #scotts-levels .sl-actions { grid-template-columns: 1.15fr 1fr; }
}
@container slarch (min-width: 820px) {
  #scotts-levels .sl-arch-head, #scotts-levels .sl-row { display: grid; grid-template-columns: 92px 112px minmax(0, 1fr) minmax(0, 1fr) 172px; grid-template-areas: "date sess es nq copy"; gap: 0 14px; }
  #scotts-levels .sl-arch-head { padding: 12px 0 8px; border-bottom: 1px solid var(--sl-line); }
  #scotts-levels .sl-arch-head span { font: 500 10px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
  #scotts-levels .sl-row { padding: 9px 0; }
  #scotts-levels .sl-row.sl-cur { padding-left: 0; }
  #scotts-levels .sl-row-date { font-size: 15px; padding-left: 6px; }
  #scotts-levels .sl-row-sess { text-align: left; }
  #scotts-levels .sl-row-sym { flex-wrap: nowrap; gap: 8px; }
  #scotts-levels .sl-row-sym > b, #scotts-levels .sl-row-sym em { display: none; }
  #scotts-levels .sl-row-copy { margin-top: 0; }
  #scotts-levels .sl-month-h { border-bottom-color: var(--sl-line); }
}

/* ---------------------------------------------------------------- server-rendered additions (phase 2) */
/* archive is a real <table>; table, thead and tbody become blocks so each tr keeps the .sl-row grid above */
#scotts-levels .sl-arch-t, #scotts-levels .sl-arch-t > thead, #scotts-levels .sl-arch-t > tbody { display: block; width: 100%; }
#scotts-levels .sl-arch-t th, #scotts-levels .sl-arch-t td { text-align: left; vertical-align: middle; }
#scotts-levels .sl-row-date a { color: inherit; }
#scotts-levels a.sl-chip:hover { border-color: var(--sl-muted); color: var(--sl-text); }
#scotts-levels a.sl-chip.sl-cur:hover { color: var(--sl-bg); }
/* plain-facts sentences under the cards: quiet, quotable */
#scotts-levels .sl-facts { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--sl-line); max-width: 52em;
  font: 400 13px/1.6 var(--sl-sans); color: var(--sl-muted); }
#scotts-levels .sl-facts p + p { margin-top: 6px; }
/* methodology and glossary */
#scotts-levels .sl-gloss summary { cursor: pointer; list-style: none; font: 500 12px/1.4 var(--sl-sans); letter-spacing: .1em;
  text-transform: uppercase; color: var(--sl-muted); display: flex; align-items: center; gap: 8px; }
#scotts-levels .sl-gloss summary::-webkit-details-marker { display: none; }
#scotts-levels .sl-gloss summary::before { content: "+"; color: var(--sl-accent); font-size: 15px; width: 10px; }
#scotts-levels .sl-gloss[open] summary::before { content: "\2212"; }
#scotts-levels .sl-gloss summary:hover { color: var(--sl-text); }
#scotts-levels .sl-gloss-list { margin-top: 14px; display: grid; grid-template-columns: 1fr; gap: 0 28px; max-width: 60em; }
#scotts-levels .sl-gloss-list > div { padding: 14px 0; border-top: 1px solid var(--sl-line); }
#scotts-levels .sl-gloss-list dt { font: var(--sl-heading-weight, 600) 17px/1.3 var(--sl-serif); color: var(--sl-text); margin-bottom: 4px; }
#scotts-levels .sl-gloss-list dd { font-size: 14.5px; line-height: 1.6; color: var(--sl-text-2); }
@container slmain (min-width: 700px) {
  #scotts-levels .sl-gloss-list { grid-template-columns: 1fr 1fr; }
}
@container slarch (min-width: 820px) {
  #scotts-levels .sl-arch-head th { font: 500 10px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
}

@media (prefers-reduced-motion: reduce) {
  #scotts-levels *, #scotts-levels *::before, #scotts-levels *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  #scotts-levels { background: #fff; color: #000; }
  #scotts-levels .sl-rail, #scotts-levels .sl-actions, #scotts-levels .sl-rc-actions, #scotts-levels .sl-row-copy { display: none; }
}
/* ---------------------------------------------------------------- story page (?part=story): More sessions strip */
#scotts-levels .sl-body-story { display: block !important; }
#scotts-levels .sl-more { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--sl-line); }
#scotts-levels .sl-more-h { display: block; margin-bottom: 12px; }
#scotts-levels .sl-more-links { display: grid; grid-template-columns: 1fr; gap: 10px; }
#scotts-levels .sl-more-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--sl-panel);
  border: 1px solid var(--sl-line); color: var(--sl-text); min-height: 44px; }
#scotts-levels .sl-more-link b { font: var(--sl-heading-weight, 600) 19px/1.2 var(--sl-serif); letter-spacing: -.01em; }
#scotts-levels .sl-more-link:hover { border-color: var(--sl-accent); }
#scotts-levels .sl-more-link:hover b { color: var(--sl-accent); }
#scotts-levels .sl-more-all { border-color: var(--sl-line-2); }
@container sl (min-width: 640px) {
  #scotts-levels .sl-more-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #scotts-levels .sl-more-next { text-align: right; align-items: flex-end; }
}
/* ---------------------------------------------------------------- Download all levels (rail top; above Jump to date on narrow) */
#scotts-levels .sl-dl { margin: 0 0 18px; }
#scotts-levels .sl-dl-btn { display: flex; width: 100%; }
#scotts-levels .sl-dl-cap { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--sl-muted); }
#scotts-levels .sl-dl-narrow { margin: 0 0 16px; }
@container sl (min-width: 1024px) {
  #scotts-levels .sl-dl-narrow { display: none; }
}
/* ---------------------------------------------------------------- status band (session / date / time / LATEST) */
#scotts-levels .sl-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sess side" "when when";
  align-items: center; gap: 12px 24px; margin: 22px 0 4px; padding: 18px 20px; background: var(--sl-panel);
  border: 1px solid var(--sl-line); border-left: 4px solid var(--sl-accent); border-radius: var(--sl-radius, 0); }
#scotts-levels .sl-band-sess { grid-area: sess; font: 700 clamp(26px, 4.2cqi, 32px)/1 var(--sl-sans); letter-spacing: .06em;
  text-transform: uppercase; color: var(--sl-accent); }
#scotts-levels .sl-band-when { grid-area: when; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; min-width: 0; }
#scotts-levels .sl-band-date, #scotts-levels .sl-band-time { font: var(--sl-heading-weight, 600) clamp(22px, 3.4cqi, 30px)/1.15 var(--sl-serif);
  letter-spacing: -.01em; color: var(--sl-text); }
#scotts-levels .sl-band-time { color: var(--sl-muted); }
#scotts-levels .sl-band-side { grid-area: side; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; text-align: right; }
#scotts-levels .sl-pill { display: inline-block; padding: 9px 16px; background: var(--sl-accent); color: var(--sl-bg);
  font: 700 clamp(14px, 1.6cqi, 16px)/1 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--sl-accent); border-radius: var(--sl-radius, 0); }
#scotts-levels .sl-pill-arch { background: transparent; color: var(--sl-muted); border-color: var(--sl-line-2); }
#scotts-levels .sl-band-ago { font: 500 12.5px/1.3 var(--sl-sans); color: var(--sl-muted); }
#scotts-levels .sl-band .sl-back { font: 500 13px/1.3 var(--sl-sans); }
@container sl (min-width: 760px) {
  #scotts-levels .sl-band { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "sess when side"; padding: 20px 26px; }
}
/* ---------------------------------------------------------------- DIY indicator callout under How to use */
#scotts-levels .sl-howto-diy { margin-top: 12px; font-size: 15px; color: var(--sl-text-2); }
#scotts-levels .sl-howto-diy a { color: var(--sl-accent); border-bottom: 1px solid currentColor; }
#scotts-levels .sl-howto-diy a:hover { border-bottom-color: transparent; }
/* ================================================================ Scott's Swing Levels (.sl-swing) */
/* cover: A setups */
#scotts-levels .sl-cover-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
#scotts-levels .sl-cover-top > div:first-child { min-width: 0; flex: 1 1 320px; }
#scotts-levels .sl-cover-act { flex: 1 1 100%; display: grid; }
#scotts-levels .sl-lead { margin-top: 16px; max-width: 46em; color: var(--sl-text-2); font-size: 15.5px; line-height: 1.6; }
#scotts-levels .sl-acards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
#scotts-levels .sl-acard { background: var(--sl-panel); border: 1px solid var(--sl-line); border-top: 2px solid var(--sl-pos);
  border-radius: var(--sl-radius, 0); padding: 14px 14px 12px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
#scotts-levels .sl-acard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
#scotts-levels .sl-acard-id { min-width: 0; }
#scotts-levels .sl-tkr { font: var(--sl-heading-weight, 700) 28px/.95 var(--sl-serif); letter-spacing: -.02em; color: var(--sl-text); overflow-wrap: anywhere; }
#scotts-levels .sl-acard-co { display: block; margin-top: 6px; font: 400 12.5px/1.4 var(--sl-sans); color: var(--sl-muted); overflow-wrap: anywhere; }
#scotts-levels .sl-score { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
#scotts-levels .sl-score span { font: 500 10px/1.3 var(--sl-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-score b { font: 600 24px/1 var(--sl-sans); color: var(--sl-pos); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-tchips { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
#scotts-levels .sl-tchip { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; font: 600 11px/1 var(--sl-sans);
  letter-spacing: .04em; border: 1px solid var(--sl-line); color: var(--sl-muted); border-radius: var(--sl-radius, 0); }
#scotts-levels .sl-tchip.sl-on { background: var(--sl-accent); border-color: var(--sl-accent); color: var(--sl-bg); }
#scotts-levels .sl-mode { margin-left: 4px; font: 500 10.5px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-text-2); }
#scotts-levels .sl-mode-watch { color: var(--sl-neg); }
#scotts-levels .sl-thumb { display: block; width: 100%; height: auto; border: 1px solid var(--sl-line); background: var(--sl-bg); }
#scotts-levels .sl-why { font: 400 12px/1.5 var(--sl-sans); color: var(--sl-text-2); display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
#scotts-levels .sl-acard:hover .sl-why, #scotts-levels .sl-acard:focus-within .sl-why { -webkit-line-clamp: unset; line-clamp: none; }
#scotts-levels .sl-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--sl-line); }
#scotts-levels .sl-kv > div { padding: 6px 6px 5px 0; border-bottom: 1px solid var(--sl-line); min-width: 0; }
#scotts-levels .sl-kv dt { font: 500 9.5px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-kv dd { margin-top: 1px; font: 500 13.5px/1.3 var(--sl-sans); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#scotts-levels .sl-tv { margin-top: auto; align-self: flex-start; font: 600 13px/1.3 var(--sl-sans); color: var(--sl-accent);
  border-bottom: 1px solid transparent; padding: 4px 0; }
#scotts-levels .sl-tv:hover { border-bottom-color: currentColor; }
#scotts-levels .sl-amore { margin-top: 14px; }
#scotts-levels .sl-amore > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 16px; border: 1px solid var(--sl-line-2); border-radius: var(--sl-radius, 0); background: var(--sl-panel);
  font: 600 14px/1.2 var(--sl-sans); color: var(--sl-text); }
#scotts-levels .sl-amore > summary::-webkit-details-marker { display: none; }
#scotts-levels .sl-amore > summary::before { content: "+"; color: var(--sl-accent); font-size: 17px; }
#scotts-levels .sl-amore[open] > summary::before { content: "\2212"; }
#scotts-levels .sl-amore > summary span { font-weight: 500; color: var(--sl-muted); font-size: 12.5px; }
#scotts-levels .sl-amore > summary:hover { border-color: var(--sl-accent); }
#scotts-levels .sl-amore[open] > summary span { display: none; }
/* the scans: CSS-only tabs (radio + label); every panel stays in the HTML */
#scotts-levels .sl-tab-r { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; margin: 0; }
#scotts-levels .sl-tablist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
#scotts-levels .sl-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
  padding: 6px 4px; border: 1px solid var(--sl-line); background: var(--sl-panel); cursor: pointer; border-radius: var(--sl-radius, 0);
  transition: border-color .15s, background-color .15s; -webkit-user-select: none; user-select: none; }
#scotts-levels .sl-tab b { font: 600 14px/1.1 var(--sl-sans); letter-spacing: .04em; color: var(--sl-text); }
#scotts-levels .sl-tab span { font: 500 12px/1.1 var(--sl-sans); color: var(--sl-muted); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-tab:hover { border-color: var(--sl-muted); }
#scotts-levels .sl-tab-empty { opacity: .55; }
#scotts-levels .sl-panels { margin-top: 18px; }
#scotts-levels .sl-panel { display: none; }
#scotts-levels #sl-tab-sw1:checked ~ .sl-panels .sl-panel-sw1, #scotts-levels #sl-tab-sw2:checked ~ .sl-panels .sl-panel-sw2,
#scotts-levels #sl-tab-sw3:checked ~ .sl-panels .sl-panel-sw3, #scotts-levels #sl-tab-sw4:checked ~ .sl-panels .sl-panel-sw4,
#scotts-levels #sl-tab-sw5:checked ~ .sl-panels .sl-panel-sw5, #scotts-levels #sl-tab-sw6:checked ~ .sl-panels .sl-panel-sw6,
#scotts-levels #sl-tab-sw7:checked ~ .sl-panels .sl-panel-sw7, #scotts-levels #sl-tab-sw8:checked ~ .sl-panels .sl-panel-sw8 { display: block; }
#scotts-levels #sl-tab-sw1:checked ~ .sl-tablist .sl-tab-sw1, #scotts-levels #sl-tab-sw2:checked ~ .sl-tablist .sl-tab-sw2,
#scotts-levels #sl-tab-sw3:checked ~ .sl-tablist .sl-tab-sw3, #scotts-levels #sl-tab-sw4:checked ~ .sl-tablist .sl-tab-sw4,
#scotts-levels #sl-tab-sw5:checked ~ .sl-tablist .sl-tab-sw5, #scotts-levels #sl-tab-sw6:checked ~ .sl-tablist .sl-tab-sw6,
#scotts-levels #sl-tab-sw7:checked ~ .sl-tablist .sl-tab-sw7, #scotts-levels #sl-tab-sw8:checked ~ .sl-tablist .sl-tab-sw8 {
  background: var(--sl-accent); border-color: var(--sl-accent); opacity: 1; }
#scotts-levels #sl-tab-sw1:checked ~ .sl-tablist .sl-tab-sw1 *, #scotts-levels #sl-tab-sw2:checked ~ .sl-tablist .sl-tab-sw2 *,
#scotts-levels #sl-tab-sw3:checked ~ .sl-tablist .sl-tab-sw3 *, #scotts-levels #sl-tab-sw4:checked ~ .sl-tablist .sl-tab-sw4 *,
#scotts-levels #sl-tab-sw5:checked ~ .sl-tablist .sl-tab-sw5 *, #scotts-levels #sl-tab-sw6:checked ~ .sl-tablist .sl-tab-sw6 *,
#scotts-levels #sl-tab-sw7:checked ~ .sl-tablist .sl-tab-sw7 *, #scotts-levels #sl-tab-sw8:checked ~ .sl-tablist .sl-tab-sw8 * { color: var(--sl-bg); }
#scotts-levels #sl-tab-sw1:focus-visible ~ .sl-tablist .sl-tab-sw1, #scotts-levels #sl-tab-sw2:focus-visible ~ .sl-tablist .sl-tab-sw2,
#scotts-levels #sl-tab-sw3:focus-visible ~ .sl-tablist .sl-tab-sw3, #scotts-levels #sl-tab-sw4:focus-visible ~ .sl-tablist .sl-tab-sw4,
#scotts-levels #sl-tab-sw5:focus-visible ~ .sl-tablist .sl-tab-sw5, #scotts-levels #sl-tab-sw6:focus-visible ~ .sl-tablist .sl-tab-sw6,
#scotts-levels #sl-tab-sw7:focus-visible ~ .sl-tablist .sl-tab-sw7, #scotts-levels #sl-tab-sw8:focus-visible ~ .sl-tablist .sl-tab-sw8 {
  outline: 2px solid var(--sl-accent); outline-offset: 2px; }
#scotts-levels .sl-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--sl-line); }
#scotts-levels .sl-panel-head > div:first-child { flex: 1 1 300px; min-width: 0; }
#scotts-levels .sl-panel-t { font: var(--sl-heading-weight, 600) 22px/1.2 var(--sl-serif); letter-spacing: -.01em; }
#scotts-levels .sl-panel-t b { color: var(--sl-accent); font-weight: inherit; margin-right: 4px; }
#scotts-levels .sl-panel-d { margin-top: 6px; max-width: 46em; font-size: 14.5px; line-height: 1.55; color: var(--sl-text-2); }
#scotts-levels .sl-panel-n { margin-top: 8px; font: 500 11px/1.4 var(--sl-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-panel-act { flex: none; }
#scotts-levels .sl-grp { margin-top: 20px; }
#scotts-levels .sl-grp-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-bottom: 8px; }
#scotts-levels .sl-grp-h span { font: var(--sl-heading-weight, 600) 17px/1.2 var(--sl-serif); }
#scotts-levels .sl-grp-h b { font: 600 13px/1 var(--sl-sans); color: var(--sl-accent); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-grp-h em { font: 400 12px/1.3 var(--sl-sans); font-style: normal; color: var(--sl-muted); }
#scotts-levels .sl-grp-dropped .sl-grp-h span, #scotts-levels .sl-grp-dropped .sl-grp-h b { color: var(--sl-muted); }
#scotts-levels .sl-grp-none { font-size: 13.5px; color: var(--sl-muted); padding: 2px 0 4px; }
#scotts-levels .sl-panel-empty { margin-top: 14px; }
#scotts-levels .sl-panel-empty-note { margin-top: 14px; padding: 10px 14px; border-left: 2px solid var(--sl-line-2); background: var(--sl-panel);
  font-size: 13.5px; line-height: 1.5; color: var(--sl-muted); max-width: 46em; }
#scotts-levels .sl-grp-carried_over .sl-grp-h span, #scotts-levels .sl-grp-carried_over .sl-grp-h b { color: var(--sl-muted); }
#scotts-levels .sl-st { width: 100%; table-layout: fixed; font: 400 13px/1.3 var(--sl-sans); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-st th, #scotts-levels .sl-st td { padding: 7px 0 7px 6px; border-top: 1px solid var(--sl-line); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#scotts-levels .sl-st thead th { border-top: 0; padding-top: 0; font: 500 9.5px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-st th:first-child { text-align: left; padding-left: 0; width: 21%; }
#scotts-levels .sl-st .sl-c-g { text-align: left; width: 17%; }
#scotts-levels .sl-st .sl-c-rsi { width: 11%; }
#scotts-levels .sl-st tbody th { font-weight: 600; }
#scotts-levels .sl-st tbody th a { color: var(--sl-text); }
#scotts-levels .sl-st tbody th a:hover { color: var(--sl-accent); }
#scotts-levels .sl-st .sl-sc { margin-left: 5px; color: var(--sl-muted); font-size: 11.5px; }
#scotts-levels .sl-st .sl-c-w1, #scotts-levels .sl-st .sl-c-rv, #scotts-levels .sl-st .sl-c-er { display: none; }
#scotts-levels .sl-sr.sl-dim { opacity: .5; }
#scotts-levels .sl-gdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0;
  background: transparent; box-shadow: inset 0 0 0 1px var(--sl-muted); }
#scotts-levels .sl-g-a { background: var(--sl-pos); box-shadow: none; }
#scotts-levels .sl-g-b { background: var(--sl-accent); box-shadow: none; }
#scotts-levels .sl-g-c { background: transparent; box-shadow: inset 0 0 0 1.5px var(--sl-muted); }
/* recent days + rail */
#scotts-levels .sl-dc-n { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sl-line); border-bottom: 1px solid var(--sl-line); }
#scotts-levels .sl-dc-n > div { padding: 8px 0; }
#scotts-levels .sl-dc-n > div + div { border-left: 1px solid var(--sl-line); padding-left: 12px; }
#scotts-levels .sl-dc-n dt { font: 500 10px/1.3 var(--sl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
#scotts-levels .sl-dc-n dd { font: 600 24px/1.15 var(--sl-sans); font-variant-numeric: tabular-nums; }
#scotts-levels .sl-dc-n > div:first-child dd { color: var(--sl-pos); }
#scotts-levels .sl-dc-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 600 14px/1.4 var(--sl-sans); }
#scotts-levels .sl-dc-act { grid-template-columns: 1fr; }
#scotts-levels .sl-rail-day a.sl-rail-date:hover { color: var(--sl-accent); }
#scotts-levels .sl-acount { font: 600 11px/1 var(--sl-sans); color: var(--sl-pos); border: 1px solid var(--sl-line); padding: 5px 7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
@container slmain (min-width: 480px) {
  #scotts-levels .sl-cover-act { flex: 0 0 auto; }
  #scotts-levels .sl-st .sl-c-w1 { display: table-cell; }
  #scotts-levels .sl-st th:first-child { width: 18%; }
  #scotts-levels .sl-st .sl-c-g { width: 15%; }
  #scotts-levels .sl-st .sl-c-rsi { width: 9%; }
}
@container slmain (min-width: 560px) {
  #scotts-levels .sl-acards { grid-template-columns: 1fr 1fr; }
  #scotts-levels .sl-tablist { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@container slmain (min-width: 640px) {
  #scotts-levels .sl-st .sl-c-rv { display: table-cell; }
}
@container slmain (min-width: 760px) {
  #scotts-levels .sl-st .sl-c-er { display: table-cell; }
  #scotts-levels .sl-st th:first-child { width: 13%; }
  #scotts-levels .sl-st .sl-c-g { width: 11%; }
}
@container slmain (min-width: 720px) {
  #scotts-levels .sl-acards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media print {
  #scotts-levels .sl-panel { display: block !important; }
  #scotts-levels .sl-why { -webkit-line-clamp: unset; line-clamp: none; }
  #scotts-levels .sl-tablist, #scotts-levels .sl-tv, #scotts-levels .sl-cover-act, #scotts-levels .sl-panel-act { display: none; }
}
/* ================================================================ GEX hub rail v2 (2026-10-31): date link + Copy RTH / Copy Globex */
@container sl (min-width: 1024px) {
  #scotts-levels .sl-body { grid-template-columns: minmax(0, 1fr) 336px; gap: 0 32px; }
}
#scotts-levels .sl-symsw { margin: 0 0 20px; }
#scotts-levels .sl-symsw-g { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--sl-line-2); border-radius: var(--sl-radius, 0); overflow: hidden; }
#scotts-levels .sl-symsw-b { min-width: 64px; min-height: 34px; padding: 6px 14px; font: 600 13px/1 var(--sl-sans); letter-spacing: .08em;
  color: var(--sl-muted); background: transparent; transition: background-color .15s, color .15s; }
#scotts-levels .sl-symsw-b + .sl-symsw-b { border-left: 1px solid var(--sl-line-2); }
#scotts-levels .sl-symsw-b:hover { color: var(--sl-text); }
#scotts-levels .sl-symsw-b[aria-pressed="true"] { background: var(--sl-accent); color: var(--sl-bg); }
#scotts-levels .sl-symsw-cap { margin-top: 8px; font: 400 12px/1.45 var(--sl-sans); color: var(--sl-muted); }
#scotts-levels .sl-rail-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px; padding: 5px 0 5px 8px; }
#scotts-levels .sl-rail-row .sl-rail-date { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#scotts-levels a.sl-rail-date { color: var(--sl-text-2); border-bottom: 1px solid transparent; }
#scotts-levels a.sl-rail-date:hover { color: var(--sl-accent); }
#scotts-levels .sl-rcbtn { min-height: 30px; padding: 5px 6px; font-size: 12px; letter-spacing: 0; }
#scotts-levels .sl-rail-row .sl-rcbtn-rth { min-width: 7.6em; }
#scotts-levels .sl-rail-row .sl-rcbtn-globex { min-width: 9.2em; }
#scotts-levels .sl-rcbtn[disabled] { opacity: .3; }
/* phones / narrow: the same switch + the two buttons for the date on screen, under Jump to date */
#scotts-levels .sl-jump-copy { margin: -4px 0 20px; }
#scotts-levels .sl-jump-copy .sl-symsw { margin-bottom: 12px; }
#scotts-levels .sl-jump-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#scotts-levels .sl-jump-day { grid-column: 1 / -1; }
#scotts-levels .sl-jump-btns .sl-rcbtn { min-height: 44px; font-size: 13.5px; }
@container sl (min-width: 1024px) {
  #scotts-levels .sl-jump-copy { display: none; }
}
