/* Reports library (/reports), 2026-11-22. Drawn by web/helpers/ReportsLibrary.psm1.
   Ink on paper, hairline rules, heavy uppercase headings, with the Atlas green, pink and blue as accents: the section
   numbers are green, and the masthead rule and the headline figures carry the brand colours (2026-11-22).
   Colours come from the theme's variables, so the other themes still work. Green, amber and red are used only
   where they mean health: a score, a day with no reports, a report that has stopped arriving. */
.rl { --ink: var(--text, #0A0A0A); --paper: var(--bg, #fff); --wash: var(--surface2, #F4F4F4); --rule: var(--border, #D8D8D8); --mute: var(--muted, #6F6F6F);
      --go: #0000FF; --good: #00D400; --amber: #FDA227; --bad: var(--crit, #EC2127);
      --stripe: linear-gradient(90deg, #00D400 0 33.3%, #FF00A3 33.3% 66.6%, #0000FF 66.6%);
      --stripe-v: linear-gradient(180deg, #00D400 0 33.3%, #FF00A3 33.3% 66.6%, #0000FF 66.6%);
      color: var(--ink); font-variant-numeric: tabular-nums; }
.rl a { color: inherit; text-decoration: none; }
.rl button { font: inherit; color: inherit; cursor: pointer; }
.rl .rl-link { text-decoration: underline; text-underline-offset: 3px; }
.rl .rl-m { color: var(--mute); }
.rl .rl-ok { color: var(--ok, #008A00); } .rl .rl-warn { color: var(--warn, #C27400); } .rl .rl-crit { color: var(--bad); }

/* masthead */
.rl-mast { display: grid; grid-template-columns: 1fr minmax(320px, 540px); gap: 40px; align-items: end; padding: 18px 0 22px; border-bottom: 3px solid var(--ink); }
.hc-main .rl .rl-mast h1 { margin: 0; font-size: clamp(54px, 6.4vw, 104px) !important; font-weight: 900 !important; letter-spacing: -.045em !important; line-height: .86 !important; text-transform: uppercase; }
.hc-main .rl .rl-mast.rl-mast-s h1 { font-size: clamp(34px, 3.6vw, 56px) !important; }
.rl-mast p { margin: 14px 0 0; color: var(--mute); font-size: 15px; max-width: 60ch; }
.rl-find { display: flex; border: 2px solid var(--ink); background: var(--paper); margin: 0; }
.rl-find input { flex: 1; min-width: 0; border: 0 !important; background: none !important; padding: 15px 16px !important; font-size: 16px !important; font-weight: 500; color: var(--ink); outline: 0; box-shadow: none !important; }
.rl-find kbd { align-self: center; margin-right: 12px; border: 1px solid var(--rule); padding: 1px 7px; font-size: 11px; font-weight: 600; color: var(--mute); background: none; }
.rl-find button { border: 0; background: var(--ink); color: var(--paper); padding: 0 20px; font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rl-find:focus-within { outline: 2px solid var(--go); outline-offset: 2px; }
.rl-find-sub { margin-top: 8px; font-size: 12px; color: var(--mute); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rl-find-sub .rl-chip-gap { margin-left: 14px; }
.rl .rl-chip { border: 1px solid var(--rule); background: var(--paper); color: var(--ink); padding: 4px 11px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.rl .rl-chip:hover { border-color: var(--ink); }
.rl .rl-chip.on, .rl .rl-chip-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* headline figures and the 30-day bars */
.rl-figs { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(340px, 2.2fr); gap: 34px; padding: 26px 0 30px; border-bottom: 1px solid var(--rule); align-items: end; }
.rl-fig b { display: block; font-size: clamp(34px, 3.4vw, 54px); font-weight: 900; letter-spacing: -.04em; line-height: .95; }
.rl-fig b small { font-size: .45em; font-weight: 800; letter-spacing: 0; margin-left: 3px; }
.rl-fig > span { display: block; margin-top: 8px; padding-top: 8px; border-top: 3px solid var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.rl-fig em { font-style: normal; }
.rl-pulse h4 { margin: 0 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); display: flex; justify-content: space-between; gap: 10px; }
.rl-pulse h4 i { font-style: normal; color: var(--ink); white-space: nowrap; }
.rl-bars { display: flex; align-items: flex-end; gap: 2px; height: 74px; border-bottom: 1px solid var(--ink); }
.rl-bars u { flex: 1; background: var(--ink); min-height: 2px; text-decoration: none; position: relative; }
.rl-bars u.rl-today { background: var(--go); }
.rl-bars u.rl-zero { height: 100%; background: none; border: 1px dashed var(--bad); border-bottom: 0; opacity: .75; }
.rl-bars u:hover { background: var(--go); }
.rl-bars u.rl-zero:hover { background: none; opacity: 1; }
.rl-bars u:hover::after { content: attr(data-t); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 600; padding: 4px 8px; white-space: nowrap; z-index: 5; pointer-events: none; }
.rl-bars u:nth-child(-n+4):hover::after { left: 0; transform: none; }
.rl-bars u:nth-last-child(-n+4):hover::after { left: auto; right: 0; transform: none; }
.rl-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--mute); margin-top: 5px; }

/* the day's editions */
.rl .rl-lab { margin: 34px 0 14px !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--mute) !important; display: flex; gap: 12px; align-items: center; line-height: 1.4 !important; }
.rl .rl-lab::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.rl-eds { display: grid; grid-template-columns: 1.35fr 1fr 1fr; border: 1px solid var(--ink); }
.rl-eds.rl-eds-2 { grid-template-columns: 1.35fr 1fr; } .rl-eds.rl-eds-1 { grid-template-columns: 1fr; }
.rl-ed { padding: 24px 26px 22px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; border-left: 1px solid var(--ink); position: relative; transition: background .15s; }
.rl-ed:first-child { border-left: 0; background: #0A0A0A; color: #fff; }
.rl-ed:first-child::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--stripe); }
.rl-ed:not(:first-child):hover { background: var(--wash); }
.rl-day { font-size: 78px; font-weight: 900; letter-spacing: -.06em; line-height: .8; }
.rl-day small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin-top: 10px; }
.rl-ed h3 { margin: 4px 0 4px !important; font-size: 21px !important; font-weight: 900 !important; letter-spacing: -.02em !important; text-transform: uppercase; line-height: 1.02 !important; color: inherit !important; }
.rl-ed p { margin: 0; font-size: 13px; opacity: .72; }
.rl-fresh { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; }
.rl-fresh::before { content: ''; width: 8px; height: 8px; border-radius: 50% !important; background: var(--good); }
.rl-fresh.rl-late::before { background: var(--amber); }
.rl-go { margin-top: 12px; display: flex; gap: 16px; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rl-go .rl-open { border: 2px solid currentColor; padding: 7px 14px; }
.rl-go .rl-open i { font-style: normal; display: inline-block; transition: transform .15s; }
.rl-ed:hover .rl-open i { transform: translateX(4px); }
.rl-ed:not(:first-child) .rl-open:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rl-ed:first-child .rl-open:hover { background: #fff; color: #0A0A0A; border-color: #fff; }
.rl-go .rl-ed-h { text-decoration: underline; text-underline-offset: 3px; }

/* the section index: stays at the top while the page scrolls */
.rl-idx { position: sticky; top: 56px; z-index: 20; background: var(--paper); display: flex; margin-top: 34px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: thin; }
.rl-idx a { padding: 12px 15px 11px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border-right: 1px solid var(--rule); color: var(--mute); background: var(--stripe) bottom left / 0 3px no-repeat; transition: background-size .15s; }
.rl-idx a b { color: var(--ink); margin-left: 6px; }
.rl-idx a:hover, .rl-idx a.on { color: var(--ink); background-size: 100% 3px; }

/* sections */
.rl-sec { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding: 34px 0 30px; border-bottom: 1px solid var(--rule); scroll-margin-top: 110px; }
.rl-no { font-size: 76px; font-weight: 900; letter-spacing: -.05em; line-height: .8; color: var(--good); }
.rl .rl-h { margin: 14px 0 8px !important; font-size: 24px !important; font-weight: 900 !important; letter-spacing: -.025em !important; text-transform: uppercase; line-height: 1 !important; color: var(--ink) !important; }
.rl-d { font-size: 13px; color: var(--mute); margin: 0 0 12px; }
.rl-n { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; display: flex; gap: 7px; align-items: center; }
.rl-side { position: sticky; top: 118px; align-self: start; }
.rl-cols, .rl-row { display: grid; grid-template-columns: minmax(200px, 1fr) 96px 150px 92px 60px 32px; gap: 14px; align-items: center; }
.rl-cols.rl-row-s, .rl-row.rl-row-s { grid-template-columns: minmax(200px, 1fr) 56px 96px 150px 92px 60px 32px; }
.rl-cols { padding: 0 10px 7px 14px; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 2px solid var(--ink); }
.rl-row { padding: 11px 10px 11px 14px; border-bottom: 1px solid var(--rule); position: relative; }
.rl-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--stripe-v); transition: width .12s; }
.rl-row:hover { background: var(--wash); } .rl-row:hover::before { width: 4px; }
.rl-row.rl-x { display: none; }
.rl-sec.rl-open .rl-row.rl-x { display: grid; }
.rl-row.rl-hide, .rl-sec.rl-open .rl-row.rl-hide { display: none; }
.rl-t { min-width: 0; }
.rl-t .rl-a { font-weight: 700; font-size: 14.5px; }
.rl-t .rl-a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rl-t small { display: block; font-size: 11.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl .rl-tag { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; border: 1px solid var(--ink); padding: 0 5px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; line-height: 1.6; }
.rl .rl-tag-new { background: var(--go); border-color: var(--go); color: #fff; }
.rl .rl-tag-late { border-color: var(--warn, #C27400); color: var(--warn, #C27400); }
.rl .rl-tag-gone { border-color: var(--rule); color: var(--mute); }
.rl-k { font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.rl-tick { display: flex; gap: 1px; align-items: center; height: 18px; }
.rl-tick i { flex: 1; height: 14px; background: var(--ink); } .rl-tick i.o { height: 2px; background: var(--rule); }
.rl-when { font-size: 12.5px; white-space: nowrap; }
.rl-c { font-size: 12px; font-weight: 700; white-space: nowrap; }
.rl-c a { text-decoration: underline; text-underline-offset: 3px; }
.rl .rl-eye { width: 30px; height: 30px; padding: 0; border: 1px solid var(--rule); background: var(--paper); display: grid; place-items: center; }
.rl-row:hover .rl-eye { border-color: var(--ink); } .rl .rl-eye:hover { background: var(--ink); color: var(--paper); }
.rl .rl-sc { font-weight: 900; font-size: 15px; padding-left: 8px; border-left: 4px solid var(--rule); line-height: 1.2; }
.rl .rl-sc-g { border-color: var(--good); } .rl .rl-sc-a { border-color: var(--amber); } .rl .rl-sc-r { border-color: var(--bad); } .rl .rl-sc-n { color: var(--mute); }
.rl .rl-more { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; border-bottom: 1px solid var(--rule); background: none; padding: 13px 10px 13px 14px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rl .rl-more:hover { background: var(--ink); color: var(--paper); }
.rl-none { display: none; padding: 16px 14px; color: var(--mute); font-size: 13px; }
.rl-sec.rl-empty .rl-none { display: block; }
.rl-sec.rl-empty .rl-more, .rl-sec.rl-filtering .rl-more { display: none; }

/* system health: lowest five, the score wall, and the full list */
.rl-sub { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.rl-listview { display: none; }
.rl-sec.rl-list .rl-listview { display: block; } .rl-sec.rl-list .rl-wallview { display: none; }
.rl-grp { padding: 16px 14px 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--ink); }
.rl-grp span, .rl-wall h5 span { color: var(--mute); margin-left: 4px; }
.rl-wall { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.rl-wall h5 { margin: 14px 0 6px !important; font-size: 10px !important; font-weight: 800 !important; letter-spacing: .1em !important; text-transform: uppercase; color: var(--ink) !important; }
.rl-tiles { display: flex; flex-wrap: wrap; gap: 4px; }
.rl .rl-tile { border: 1px solid var(--rule); border-top: 4px solid var(--good); padding: 7px 9px 8px; width: 150px; }
.rl .rl-tile-a { border-top-color: var(--amber); } .rl .rl-tile-r { border-top-color: var(--bad); } .rl .rl-tile-n { border-top-color: var(--rule); color: var(--mute); }
.rl .rl-tile:hover { border-left-color: var(--ink); border-right-color: var(--ink); border-bottom-color: var(--ink); background: var(--wash); }
.rl-tile b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.rl-tile span { display: block; font-size: 11px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.rl-view { display: inline-flex; border: 1px solid var(--ink); margin-top: 12px; }
.rl .rl-view button { border: 0; background: var(--paper); padding: 5px 11px; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.rl .rl-view button.on { background: var(--ink); color: var(--paper); }

/* housekeeping, and the history and search pages */
.rl-house { margin: 30px 0 0; font-size: 12.5px; color: var(--mute); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rl-house select { border: 1px solid var(--rule) !important; background: var(--paper) !important; color: var(--ink); padding: 5px 10px !important; font-size: 12px !important; }
.rl .rl-house button { border: 1px solid var(--bad); background: var(--paper); color: var(--bad); padding: 5px 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }
.rl .rl-house button:hover { background: var(--bad); color: #fff; }
.rl-plain { margin-top: 26px; }
.rl-plain .hc-table a { text-decoration: underline; text-underline-offset: 3px; }
.rl-plain .hc-table td:first-child a { font-weight: 700; text-decoration: none; }
.rl-plain .hc-table td:first-child a:hover { text-decoration: underline; }
.rl-back { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }

@media (max-width: 1280px) {
    .rl-figs { grid-template-columns: repeat(4, 1fr); } .rl-pulse { grid-column: 1 / -1; }
    .rl-sec { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
    .rl-cols, .rl-row { grid-template-columns: minmax(180px, 1fr) 110px 92px 60px 32px; }
    .rl-cols.rl-row-s, .rl-row.rl-row-s { grid-template-columns: minmax(180px, 1fr) 56px 110px 92px 60px 32px; }
    .rl-k, .rl-cols > span:nth-last-child(5) { display: none; }
}
@media (max-width: 980px) {
    .rl-mast, .rl-sec { grid-template-columns: 1fr; gap: 18px; }
    .rl-side { position: static; } .rl-no { font-size: 54px; }
    .rl-figs { grid-template-columns: repeat(2, 1fr); }
    .rl-eds, .rl-eds.rl-eds-2 { grid-template-columns: 1fr; } .rl-ed { border-left: 0; border-top: 1px solid var(--ink); } .rl-ed:first-child { border-top: 0; }
}
@media (max-width: 768px) {
    .rl-idx { top: 0; }
    .rl-cols { display: none; }
    .rl-row, .rl-row.rl-row-s { grid-template-columns: minmax(0, 1fr) auto 32px; }
    .rl-row.rl-row-s { grid-template-columns: minmax(0, 1fr) 50px auto 32px; }
    .rl-tick, .rl-c { display: none; }
    .rl-day { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) { .rl *, .rl *::before { transition: none !important; } }

/* A bit of colour (2026-11-22): brand accents only, none of them a health state. */
.rl-mast { border-bottom: 4px solid; border-image: var(--stripe) 1; }
.rl-fig:nth-child(1) > span { border-top-color: #00D400; }
.rl-fig:nth-child(2) > span { border-top-color: #FF00A3; }
.rl-fig:nth-child(3) > span { border-top-color: #0000FF; }
.rl-idx { border-top: 4px solid; border-image: var(--stripe) 1; }
.rl-idx a b { color: #00A800; }
.rl-n svg { color: var(--good); }
.rl-side .rl-h { padding-bottom: 10px; background: linear-gradient(var(--good), var(--good)) bottom left / 44px 4px no-repeat; }
