/* Levelog. The reports section of the home page, the sample report as a page, and the reports blocks of the supporting
   pages. `r-` is the section; `rr-` is the report reader. The reader's words and numbers are the product's report engine
   run on demo data, re-laid by tools/v12-site/reports_section.py. Nothing in the reader pans sideways at any size, and
   no text in it is drawn under 14 px. */

.r-rep { background: var(--face); }
.r-rep .pg-head { margin-bottom: clamp(18px, 2.4vw, 30px); }
.r-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.r-fine { font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.r-label { font-size: .875rem; line-height: 1.45; color: var(--ink-2); max-width: 60em; }
.r-none { padding: 14px 16px; border-left: 3px solid var(--brass-lo); background: var(--stock); font-size: 1rem; line-height: 1.45; color: var(--ink-2); }

/* ---- one control: how often. It drives everything under it ----------------------------------------------------------- */
.r-view { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: clamp(18px, 2.4vw, 28px) clamp(24px, 3vw, 44px); align-items: start; margin-top: clamp(22px, 3vw, 38px); }
.r-view > .r-side { grid-column: 1; grid-row: 1; display: grid; gap: 16px; min-width: 0; }
.r-view > .r-live { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.r-view > .r-set { grid-column: 1; grid-row: 2; }
.r-msg { margin: 0; display: grid; gap: 8px; }
.r-msg figcaption { font-size: .875rem; font-weight: 680; font-stretch: 92%; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.r-msg-body[hidden] { display: none; }
.r-cad { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(6.6em, 100%), 1fr)); gap: 6px; }
.r-cad legend, .r-cal figcaption { padding: 0; margin-bottom: 10px; font-size: .875rem; font-weight: 680; font-stretch: 92%; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.r-cal figcaption .rr-mu { text-transform: none; letter-spacing: 0; font-weight: 500; }
.r-cad label { position: relative; display: block; min-width: 0; cursor: pointer; }
.r-cad input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.r-cad span { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 46px; padding: 6px 8px; border-radius: 23px; box-shadow: inset 0 0 0 1.5px rgba(10, 22, 32, .52); background: var(--white); font-size: 1rem; font-weight: 640; text-align: center; line-height: 1.15; flex-direction: column; transition: background-color .18s ease, color .18s ease; }
.r-cad span small { display: block; font-size: .875rem; font-weight: 500; opacity: .86; }
.r-cad label:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.r-cad input:checked + span { background: var(--navy-900); color: var(--on-navy); box-shadow: none; }
.r-cad input:focus-visible + span { outline: 3px solid var(--navy-brand); outline-offset: 3px; }
.r-ctl-w { display: grid; gap: 10px; min-width: 0; align-content: start; }
.r-when { margin: 0; font-size: 1.0625rem; line-height: 1.45; color: var(--ink); }
.r-when[hidden] { display: none; }

/* one quarter, week by week: every schedule on the same calendar */
.r-cal { margin: 0; min-width: 0; }
.r-cal-g { display: grid; gap: 3px; overflow: hidden; }
.r-cal-m, .r-cal-r { display: grid; grid-template-columns: minmax(0, min(7.4em, 42%)) repeat(var(--w), minmax(0, 1fr)); align-items: center; column-gap: 2px; }
.r-cal-m span { font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.r-cal-l { font-size: .875rem; line-height: 1.2; color: var(--ink-2); padding: 3px 0; overflow-wrap: anywhere; }
.r-cal-r i { position: relative; display: block; height: 18px; background: rgba(10, 22, 32, .045); }
.r-cal-r i.c-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ink-2); }
.r-cal-r i.c-bar::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--ink-2); }
.r-cal-r i.c-dash::after { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; border-top: 2px dashed var(--ink-2); margin-top: -1px; }
.r-cal-r.is-on .r-cal-l { color: var(--ink); font-weight: 720; }
.r-cal-r.is-on i { background: rgba(11, 54, 89, .1); }
.r-cal-r.is-on i::after { background-color: var(--navy-brand); border-color: var(--navy-brand); }
.r-cal-r.is-on i.c-dot::after { width: 10px; height: 10px; margin: -5px 0 0 -5px; }

/* ---- the chain: why a line is in the report --------------------------------------------------------------------------- */
.r-chain-d > summary { display: block; list-style: none; cursor: default; }
.r-chain-d > summary::-webkit-details-marker { display: none; }
.r-chain-d > summary:focus-visible { outline: 3px solid var(--navy-brand); outline-offset: 3px; }
.r-chain-h { display: block; font-size: .875rem; font-weight: 680; font-stretch: 92%; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.r-chain-names, .r-chain-key { display: none; }
.r-chain-cap { margin: 6px 0 12px; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.rr-note--badge { display: none; }
.r-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.r-step { position: relative; min-width: 0; display: grid; align-content: start; gap: 6px; padding: 14px clamp(10px, 1.3vw, 20px) 6px; }
.r-step:first-child { padding-left: 0; } .r-step:last-child { padding-right: 0; }
.r-step + .r-step { border-left: 1px solid var(--line); }
.r-step + .r-step::before { content: ""; position: absolute; left: -7px; top: 20px; width: 12px; height: 12px; background: var(--face); border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.r-step-k { margin: 0; font-size: 1.0625rem; font-weight: 740; letter-spacing: -.005em; line-height: 1.2; }
.r-step-from { margin: 4px 0 0; font-size: .875rem; font-weight: 680; font-stretch: 92%; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.r-step-n { margin-right: 8px; color: var(--link-line); font-variant-numeric: tabular-nums; }
.r-step-say { margin: 0; font-size: 1rem; line-height: 1.42; color: var(--ink-2); }
.r-step-ex { display: grid; gap: 6px; margin-top: 6px; }
.r-ex { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: .9375rem; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.r-ex.rr-risk { border-left: 4px solid var(--c); }
.r-exd { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: .9375rem; line-height: 1.4; }
.r-exd dt { color: var(--ink-2); } .r-exd dd { margin: 0; overflow-wrap: anywhere; }
.r-msg-body { margin: 0; padding: 12px 14px; border-radius: 4px 18px 18px 18px; background: #E4F1DF; color: #10231A; font-size: .9375rem; line-height: 1.42; overflow-wrap: anywhere; box-shadow: 0 0 0 1px rgba(16, 35, 26, .12); }
.r-msg-body span { display: block; } .r-msg-body span:first-child { font-weight: 720; }
.r-daily { padding: clamp(18px, 2.4vw, 28px); border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 12px; max-width: 62em; }
.pg .r-daily h3 { font-size: 1.375rem; } .r-daily p { margin: 0; font-size: 1.0625rem; line-height: 1.5; }

/* ---- the report reader ------------------------------------------------------------------------------------------------ */
.rr { min-width: 0; background: var(--white); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -30px rgba(8, 20, 30, .5); color: var(--ink); font-size: 1rem; line-height: 1.5; }
.rr p, .rr ul, .rr ol, .rr h5, .rr dl { margin: 0; }
.rr-mu { color: var(--ink-2); } .rr-block { display: block; } .rr-body .rr-nb { white-space: nowrap; }
.rr-head { padding: clamp(16px, 2.2vw, 24px) clamp(16px, 2.4vw, 28px); border-radius: 14px 14px 0 0; background: var(--navy-900); color: var(--on-navy); display: grid; gap: 10px; }
.rr-brand { font-size: .875rem; font-weight: 640; letter-spacing: .14em; color: var(--on-navy-2); overflow-wrap: anywhere; }
.rr-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; }
.pg .rr-head h3, .rr-head h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; color: inherit; }
.rr-addr, .rr-meta { font-size: .9375rem; color: var(--on-navy-2); }
.rr-period { font-size: 1.1875rem; font-weight: 720; }
.rr-flag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .9375rem; }
.rr-flag .rr-mu { color: var(--on-navy-2); }
.rr-badge { display: inline-block; padding: 3px 12px; border-radius: 12px; background: var(--c); color: #fff; font-size: .875rem; font-weight: 720; }
.rr-kpis { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9.5em, 100%), 1fr)); overflow: clip; border-bottom: 1px solid var(--line); }
.rr-kpis li { min-width: 0; display: grid; align-content: start; gap: 2px; padding: 12px clamp(12px, 1.8vw, 22px); font-size: .9375rem; line-height: 1.35; box-shadow: -1px -1px 0 var(--line); overflow-wrap: anywhere; }
.rr-kpi { font-size: 1.75rem; line-height: 1.1; font-weight: 740; font-variant-numeric: tabular-nums; }
.rr-of { font-size: 1.0625rem; font-weight: 500; color: var(--ink-2); }
.rr-kpis .rr-mu { display: block; }

.rr-nav { position: sticky; top: var(--bar-h); z-index: 3; padding: 10px clamp(16px, 2.4vw, 28px); background: var(--white); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
html:not(.js) .rr-nav, .rr--head .rr-nav { display: none; }
.rr-nav-b { display: flex; flex-wrap: wrap; gap: 6px; }
.rr-nav-b button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 20px; background: none; box-shadow: inset 0 0 0 1.5px rgba(10, 22, 32, .52); color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 640; cursor: pointer; }
.rr-nav-b button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rr-nav-b button[aria-current="true"] { background: var(--navy-900); color: var(--on-navy); box-shadow: none; }
.rr-nav-s { display: none; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 640; }
.rr-nav-s select { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid rgba(10, 22, 32, .52); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; }
.rr-nav-b button:focus-visible, .rr-nav-s select:focus-visible, .rr-sec-h button:focus-visible, .rr-tag:focus-visible, .rr a:focus-visible, .r-set summary:focus-visible { outline: 3px solid var(--navy-brand); outline-offset: 2px; }

.rr-sec { scroll-margin-top: calc(var(--bar-h) + 76px); }
.rr-sec + .rr-sec { border-top: 1px solid var(--line); }
.pg .rr-sec-h, .rr-sec-h { margin: 0; padding: 18px clamp(16px, 2.4vw, 28px) 0; font-size: 1.25rem; line-height: 1.25; font-weight: 740; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.rr-body { display: grid; gap: 12px; min-width: 0; padding: 10px clamp(16px, 2.4vw, 28px) 22px; }
.js .rr:not(.rr--head) .rr-sec:not(.is-open) { display: none; }
.js .rr .rr-sec { border-top: 0; }
.rr-lead { font-size: 1.0625rem; }
.rr h5 { font-size: 1.0625rem; line-height: 1.3; font-weight: 720; }
.rr h5.rr-h4 { font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.rr h5.rr-h3 { margin-top: 8px; }
.rr-list { padding-left: 1.15em; display: grid; gap: 6px; }
.rr-list li { min-width: 0; overflow-wrap: anywhere; }
.rr-list li.rr-risk { list-style: none; margin-left: -1.15em; padding: 2px 0 2px 12px; border-left: 4px solid var(--c); }
.rr-sev { color: var(--c); margin-right: 4px; }
.rr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(16px, 2.4vw, 32px); align-items: start; }
.rr-two > div, .rr-row { display: grid; gap: 8px; min-width: 0; align-content: start; }
.rr-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rr-card { display: grid; gap: 8px; align-content: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.rr-big { font-size: 1.375rem; }
.rr-prow { display: grid; gap: 4px; }
.rr-bar { display: block; height: 8px; border-radius: 4px; background: var(--stock-2); overflow: hidden; }
.rr-bar i { display: block; height: 100%; background: #1F6E7C; }
.rr-strip { padding: 10px 12px; border-radius: 8px; background: var(--stock); font-size: .9375rem; }
.rr-foot { font-size: .875rem; color: var(--ink-2); overflow-wrap: anywhere; }
.rr-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; color: var(--ink-2); }
.rr-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rr-dot { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.rr-legend .rr-dot { margin-right: 0; }
.rr-note { padding-left: 12px; border-left: 3px solid var(--brass-lo); font-weight: 640; }
.rr-pdf, .rr-links { font-size: .9375rem; }
.rr-links { padding: 14px clamp(16px, 2.4vw, 28px) 0; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--line); }
.rr > .r-label { padding: 10px clamp(16px, 2.4vw, 28px) 18px; }
.rr-wait, .rr-nos { padding: 16px clamp(16px, 2.4vw, 28px) 0; font-size: 1rem; color: var(--ink-2); }
html:not(.js) .rr-wait { display: none; }
.rr-chip { display: inline-block; padding: 1px 8px; border-radius: 10px; border: 1.5px solid currentColor; font-size: .875rem; font-weight: 720; }
.rr-chip--crit { color: #B42318; } .rr-chip--adv { color: #0B4F8A; } .rr-chip--soft { color: var(--ink-2); }
.rr-site { overflow-wrap: anywhere; }

/* a source tag: the letter the report prints at the end of a line. It opens that line of the report's own index. */
.rr-tags { white-space: nowrap; }
.rr-tag, .rr-tagx { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 6px; margin-left: 5px; border: 1.5px solid var(--ink-2); border-radius: 6px; background: var(--white); color: var(--ink); font-size: .875rem; font-weight: 740; line-height: 1; text-decoration: none; vertical-align: 1px; cursor: pointer; }
.rr-tagx { margin: 0 4px 0 0; cursor: default; border-color: rgba(10, 22, 32, .4); }
.rr-tags .rr-tagx { margin: 0 0 0 5px; }
.rr-tag:hover { border-color: var(--ink); background: var(--stock); }
.rr-tag[aria-expanded="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); }
.rr-open { display: grid; gap: 4px; margin: 6px 0 2px; padding: 10px 12px; border-left: 3px solid var(--navy-brand); border-radius: 0 8px 8px 0; background: var(--stock); font-size: .9375rem; line-height: 1.45; font-weight: 400; white-space: normal; text-align: left; overflow-wrap: anywhere; }
.rr-open-k { font-size: .875rem; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.rr-open b { font-weight: 720; }
.rr-open button { justify-self: start; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--ink-2); border-radius: 18px; background: var(--white); font: inherit; font-weight: 640; cursor: pointer; }

/* tables: a table where it fits, one block per row where it does not */
.rr-t { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.rr-t th, .rr-t td { text-align: left; vertical-align: top; padding: 9px 14px 9px 0; border-top: 1px solid var(--line); font-weight: 400; overflow-wrap: anywhere; }
.rr-t thead th { border-top: 0; font-size: .875rem; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); overflow-wrap: normal; word-break: normal; hyphens: none; }
.rr-t th, .rr-t td { overflow-wrap: break-word; }
/* schedule: activities complete, a floor a line */
.rr-byfl { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13.5em, 100%), 1fr)); gap: 0 20px; }
.rr-byfl li { padding: 7px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rr-byfl b { font-weight: 700; } .rr-bf--none b { font-weight: 500; }
.rr-t tbody th { font-weight: 660; }
.rr-t .n { text-align: right; }
.rr-t td:last-child, .rr-t th:last-child { padding-right: 0; }
.rr-t.rr-t--stack, .rr-t.rr-t--stack tbody, .rr-t.rr-t--stack tr, .rr-t.rr-t--stack th { display: block; }
.rr-t.rr-t--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rr-t.rr-t--stack tr { padding: 10px 0; border-top: 1px solid var(--line); }
.rr-t.rr-t--stack th { border: 0; padding: 0 0 4px; }
.rr-t.rr-t--stack td { display: inline-block; min-width: 5.6em; margin: 0 14px 4px 0; padding: 0; border: 0; text-align: left; }
.rr-t.rr-t--stack td::before { content: attr(data-l) ": "; color: var(--ink-2); }

/* progress by trade and floor: one row a trade, one square a floor */
.rr-board { display: grid; }
.rr-trade { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 2.4fr) minmax(150px, .9fr); gap: 6px 20px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.rr-trade-h b { display: block; font-weight: 720; } .rr-who { color: var(--ink-2); font-size: .9375rem; }
.rr-floors { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.rr-fl { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 4px; border-radius: 6px; font-size: .875rem; font-weight: 680; font-style: normal; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.rr-fl.st-done { background: #12263F; color: #fff; }
.rr-fl.st-active { background: #1F6E7C; color: #fff; box-shadow: inset 0 -5px 0 rgba(255, 255, 255, .6); }
.rr-fl.st-started { background: #DCE8F3; color: var(--ink); border: 1.5px solid #5E7E9B; }
.rr-fl.st-none { border: 1.5px dashed rgba(10, 22, 32, .38); color: var(--ink-2); font-weight: 500; }
.rr-legend i.rr-fl { min-width: 18px; width: 18px; height: 18px; padding: 0; border-radius: 4px; }
.rr-legend i.rr-fl.st-active { box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .6); }
.rr-trade-e { display: grid; gap: 4px; }
.rr-trend { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.rr-spark { flex: none; display: inline-block; width: 72px; } .rr-spark svg { display: block; width: 100%; height: 100%; }
.rr-trade-s { grid-column: 1 / -1; font-size: .9375rem; color: var(--ink-2); }

/* crews day by day */
.rr-gantt { display: grid; gap: 2px; }
.rr-axis { position: relative; display: block; height: 1.5em; margin-left: calc(36% + 14px); margin-right: calc(5em + 14px); }
.rr-axis span { position: absolute; top: 0; font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.rr-axis span:not([data-k]) { display: none; }
.rr-crews { list-style: none; padding: 0; display: grid; }
.rr-crew { display: grid; grid-template-columns: 36% minmax(0, 1fr) 5em; gap: 4px 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rr-crew-w { min-width: 0; } .rr-what { display: block; font-size: .9375rem; color: var(--ink-2); }
.rr-crew-b { display: block; min-width: 0; } .rr-crew-b svg { display: block; width: 100%; height: 16px; }
.r-daily-go { font-size: 1.0625rem; line-height: 1.6; }
.rr-crew-n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* workers on site: the engine's drawing, with its figures set beside it as text */
.rr-fig { min-width: 0; }
.rr-chart { display: grid; gap: 2px; }
.rr-chart-d { position: relative; display: block; min-width: 0; height: clamp(120px, 14vw, 170px); }
.rr-chart-d svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.rr-chart-y span { position: absolute; left: 0; transform: translateY(-50%); padding-right: 3px; background: var(--white); font-size: .875rem; line-height: 1; color: var(--ink-2); }
.rr-chart-x { display: flex; justify-content: space-between; padding-left: 5%; font-size: .875rem; color: var(--ink-2); }

/* the evidence index */
.rr-evs { list-style: none; padding: 0; display: grid; }
.rr-ev { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 4px 12px; padding: 10px 6px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + 90px); }
.rr-ev:target { background: var(--stock); box-shadow: inset 3px 0 0 var(--navy-brand); }
.rr-evid { font-weight: 740; } .rr-evb { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; } .rr-evb > b { font-weight: 660; }

/* ---- the app's Reports screen, drawn from its own text ----------------------------------------------------------------- */
.r-set { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; min-width: 0; }
.r-set figcaption { display: grid; gap: 8px; max-width: 62em; }
.pg .r-set h3 { font-size: 1.25rem; } .r-set figcaption p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.r-set summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 1rem; font-weight: 640; }
.r-set-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.r-set-g2 { margin-top: 8px; }
.r-set-d[open] > summary { margin-bottom: 2px; }
.r-set--full { margin-top: clamp(24px, 3vw, 40px); border-top: 0; padding-top: 0; }
.r-set--full figcaption p { color: inherit; max-width: 60em; }
.r-set-gall { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); align-items: start; }
.r-card-w { margin-top: clamp(24px, 3vw, 40px); max-width: 880px; }
.r-set-g3 .r-boxes small { display: none; }
.r-set figcaption .r-label { font-size: .875rem; }
.r-set-c { min-width: 0; display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: .9375rem; line-height: 1.35; }
.r-set-c p, .r-set-c ul { margin: 0; } .r-set-c ul { list-style: none; padding: 0; }
.pg .r-set-c h4, .r-set-c h4 { margin: 0; font-size: 1.125rem; }
.r-set-k { margin-top: 6px !important; font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.r-set-k1 { margin-top: 0 !important; }
.r-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.r-chips li { padding: 5px 11px; border-radius: 16px; border: 1.5px solid rgba(10, 22, 32, .4); font-weight: 600; }
.r-chips li.on { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); }
.r-boxes { display: grid; gap: 8px; }
.r-boxes li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.r-boxes i { position: relative; width: 20px; height: 20px; border: 1.5px solid var(--ink-2); border-radius: 5px; box-sizing: border-box; }
.r-boxes li.on i { background: var(--navy-900); border-color: var(--navy-900); }
.r-boxes li.on i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.r-boxes b { display: block; font-weight: 640; } .r-boxes small, .r-set-list small { display: block; font-size: .875rem; color: var(--ink-2); }
.r-set-h { font-size: .875rem; color: var(--ink-2); }
.r-set-btn { justify-self: start; padding: 8px 22px; border-radius: 20px; background: var(--navy-900); color: var(--on-navy); font-weight: 700; }
.r-set-row { overflow-wrap: anywhere; }
.r-set-in { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1.5px solid rgba(10, 22, 32, .3); border-radius: 10px; }
.r-set-in span { color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.r-set-list { display: grid; }
.r-set-list li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.r-set-list li:first-child { border-top: 0; padding-top: 0; }
.r-set-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 640; }

/* ---- the sample as a page of its own ---------------------------------------------------------------------------------- */
.r-page .rr { margin-top: 16px; }
.r-page-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 1rem; }
.r-page-nav a[aria-current] { font-weight: 720; text-decoration: none; }

/* ---- narrower windows -------------------------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .r-view { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .r-view > .r-side, .r-view > .r-live, .r-view > .r-set { grid-column: 1; grid-row: auto; }
  .r-set-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .r-step:nth-child(4) { padding-left: 0; border-left: 0; } .r-step:nth-child(4)::before { display: none; }
  .r-step:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
.rr-body { container-type: inline-size; }
@container (max-width: 1020px) {
  .rr-t--wide, .rr-t--wide tbody, .rr-t--wide tr, .rr-t--wide th { display: block; }
  .rr-t--wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rr-t--wide tr { padding: 10px 0; border-top: 1px solid var(--line); }
  .rr-t--wide th { border: 0; padding: 0 0 4px; }
  .rr-t--wide td { display: inline-block; min-width: 46%; margin: 0 8px 4px 0; padding: 0; border: 0; text-align: left; vertical-align: top; }
  .rr-t--wide td::before { content: attr(data-l) ": "; color: var(--ink-2); }
  .rr-t--wide td[data-l=""]::before { content: none; }
}
@media (max-width: 1340px) {
  .rr-trade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rr-trade .rr-floors { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .r-rep .pg-head { margin-bottom: 16px; }
  .r-view { margin-top: 18px; gap: 16px; } .r-view > .r-side { gap: 12px; }
  .r-when { font-size: 1rem; }
  .r-cal-r i { height: 14px; } .r-cal-l { padding: 1px 0; }
  .rr-head { gap: 6px; } .rr-kpis li { padding: 10px 14px; }
  .r-set-g3 { grid-template-columns: minmax(0, 1fr); }
  .r-fine { font-size: .875rem; }
  .r-cal-m, .r-cal-r { grid-template-columns: minmax(0, min(6.6em, 42%)) repeat(var(--w), minmax(0, 1fr)); column-gap: 1px; }
  .r-chain { grid-template-columns: minmax(0, 1fr); } .r-chain-cap { font-size: .9375rem; margin-bottom: 8px; }
  .r-chain-d > summary { cursor: pointer; display: grid; gap: 6px; padding-bottom: 6px; }
  .r-chain-names { display: block; font-size: 1.0625rem; line-height: 1.4; font-weight: 700; } .r-chain-names i { font-style: normal; font-weight: 400; color: var(--link-line); }
  .r-chain-key { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 1rem; font-weight: 640; text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 4px; }
  .r-chain-d[open] .r-chain-names, .r-chain-d[open] .r-chain-key { display: none; }
  .r-chain-d[open] > summary::after { content: "Hide the steps"; display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; font-weight: 640; text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 4px; }
  .rr-brand { letter-spacing: 0; } .rr-flag-n { display: none; } .rr-note--badge { display: block; font-weight: 400; }
  .r-set-g2 { grid-template-columns: minmax(0, 1fr); }
  .r-view > .r-side { display: contents; }
  .r-view > .r-side > .r-cad { order: 1; } .r-view > .r-side > .r-ctl-w { order: 2; } .r-view > .r-side > .r-msg { order: 3; }
  .r-view > .r-live { order: 4; } .r-view > .r-side > .r-cal { order: 5; } .r-view > .r-set { order: 6; }
  .rr-nav-b button { padding: 0 12px; font-size: .875rem; }
  .r-set summary { min-height: 48px; padding: 8px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(10, 22, 32, .52); gap: 10px; }
  .r-set summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: -4px 4px 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
  .r-set-d[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .rr-nav-b { display: none; }
  .rr-nav-s { display: flex; }
  .rr-kpi { font-size: 1.375rem; }
  .r-step, .r-step:first-child, .r-step:last-child, .r-step:nth-child(4) { padding: 10px 0 12px; border-left: 0; gap: 4px; }
  .r-step + .r-step { border-top: 1px solid var(--line); } .r-step + .r-step::before { display: none; }
  .rr-kpis { grid-template-columns: repeat(auto-fit, minmax(min(8.4em, 100%), 1fr)); }
  .rr-nav { position: static; padding: 10px 16px; }
  .rr-nav-b button { min-height: 44px; }
  .rr[data-open] .rr-nav-s { display: flex; position: sticky; top: var(--bar-h); z-index: 3; margin: 0 -16px; padding: 8px 16px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
  .rr[data-open] .rr-nav { display: contents; }
  .rr[data-open] .rr-nav-s { margin: 0; }
  .pg .rr-sec-h, .rr-sec-h { font-size: 1.125rem; }
  .rr-two { grid-template-columns: minmax(0, 1fr); }
  .rr-t:not(.rr-t--stack), .rr-t:not(.rr-t--stack) tbody, .rr-t:not(.rr-t--stack) tr, .rr-t:not(.rr-t--stack) th { display: block; }
  .rr-t:not(.rr-t--stack) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rr-t:not(.rr-t--stack) tr { padding: 10px 0; border-top: 1px solid var(--line); }
  .rr-t:not(.rr-t--stack) th { border: 0; padding: 0 0 4px; }
  .rr-t:not(.rr-t--stack) td { display: block; margin: 0 0 2px; padding: 0; border: 0; text-align: left; }
  .rr-t:not(.rr-t--stack) td::before { content: attr(data-l) ": "; color: var(--ink-2); }
  .rr-t:not(.rr-t--stack) td[data-l=""]::before { content: none; }
  .rr-trade { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rr-trade .rr-floors { grid-row: auto; }
  .rr-axis { margin-left: 0; }
  .rr-crew { grid-template-columns: minmax(0, 1fr) 5em; }
  .rr-crew-w { grid-column: 1 / -1; }

  .pg .r-set h3 { font-size: 1.25rem; } .r-set figcaption p { font-size: 1rem; }
  .rr-ev { grid-template-columns: 2.6em minmax(0, 1fr); padding: 10px 0; }
}


@media (forced-colors: active) {
  .r-cad span, .rr, .rr-nav-b button, .rr-tag, .rr-tagx, .rr-fl, .rr-badge, .rr-card, .r-set-c, .r-chips li, .r-ex, .r-exd, .r-msg-body, .rr-open { border: 1px solid CanvasText; }
  .r-cad input:checked + span, .rr-nav-b button[aria-current="true"], .rr-tag[aria-expanded="true"], .r-chips li.on { background: Highlight; color: HighlightText; forced-color-adjust: none; }
  .rr-fl.st-done, .rr-fl.st-active { forced-color-adjust: none; }
  .r-cal-r i::after { forced-color-adjust: none; }
  .r-cad input:focus-visible + span, .rr-nav-b button:focus-visible, .rr-tag:focus-visible { outline: 3px solid Highlight; }
}
@media (prefers-reduced-motion: reduce) { .r-cad span { transition: none; } }

/* ---- supporting pages: the reports table --------------------------------------------------------------------------------- */
.r-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.r-table caption { text-align: left; padding-bottom: 12px; font-size: 1.0625rem; font-weight: 700; }
.r-table th, .r-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-top: 1px solid var(--rule); }
.r-table thead th { border-top: 2px solid var(--fg); font-size: .8125rem; font-weight: 680; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); }
.r-table tbody th { font-weight: 660; width: 30%; }
.r-table td:last-child { width: 24%; white-space: nowrap; }
.r-table .r-no { color: var(--fg-2); }
.r-shot { margin: clamp(24px, 3vw, 40px) 0 0; }
.r-shot figcaption { margin-top: 10px; font-size: .9375rem; line-height: 1.45; color: var(--fg-2); max-width: 52em; }
@media (max-width: 700px) {
  .r-table, .r-table tbody, .r-table tr, .r-table th, .r-table td { display: block; width: auto; }
  .r-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .r-table tr { padding: 12px 0; border-top: 1px solid var(--rule); }
  .r-table th, .r-table td { padding: 2px 0; border: 0; }
  .r-table td:last-child { white-space: normal; width: auto; font-weight: 640; }
}

/* ---- home page: what is being built next, as one paragraph of the product section ---------------------------------------- */
.p-soon { margin-top: clamp(28px, 3.6vw, 44px); padding: clamp(16px, 2vw, 24px) clamp(16px, 2.4vw, 28px); border: 2px dashed rgba(10, 22, 32, .42); border-radius: 20px; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); max-width: 62em; }
.p-soon b { color: var(--ink); font-weight: 700; } .p-soon .st { color: var(--ink); margin-right: 4px; }

@media (max-width: 760px) { .p-key { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: .875rem; } .p-key > span { display: block; } .p-soon { font-size: 1rem; line-height: 1.45; padding: 14px 16px; } }

/* 2026-11-22: where the report's own column is narrow in the reader's type size (a phone, or text set large), a date or
   a record number may wrap again, and every table is one block a row */
@container (max-width: 30em) { .rr-body .rr-nb { white-space: normal; } }
@container (max-width: 46em) {
  .rr-t:not(.rr-t--stack), .rr-t:not(.rr-t--stack) tbody, .rr-t:not(.rr-t--stack) tr, .rr-t:not(.rr-t--stack) th { display: block; }
  .rr-t:not(.rr-t--stack) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rr-t:not(.rr-t--stack) tr { padding: 10px 0; border-top: 1px solid var(--line); }
  .rr-t:not(.rr-t--stack) th { border: 0; padding: 0 0 4px; }
  .rr-t:not(.rr-t--stack) td { display: block; min-width: 0; margin: 0 0 2px; padding: 0; border: 0; text-align: left; }
  .rr-t:not(.rr-t--stack) td::before { content: attr(data-l) ": "; color: var(--ink-2); }
  .rr-t:not(.rr-t--stack) td[data-l=""]::before { content: none; }
}
@container (max-width: 64em) {
  .rr-t--wide, .rr-t--wide tbody, .rr-t--wide tr, .rr-t--wide th { display: block; }
  .rr-t--wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rr-t--wide tr { padding: 10px 0; border-top: 1px solid var(--line); }
  .rr-t--wide th { border: 0; padding: 0 0 4px; }
  .rr-t--wide td { display: inline-block; min-width: 46%; margin: 0 8px 4px 0; padding: 0; border: 0; text-align: left; vertical-align: top; }
  .rr-t--wide td::before { content: attr(data-l) ": "; color: var(--ink-2); }
  .rr-t--wide td[data-l=""]::before { content: none; }
}

/* the full-size view of a report page (the tour and the product page open one) */
dialog.zoom img[src*="media/reports/"] { max-width: none; width: auto; border-radius: 4px; background: #fff; }
dialog.zoom:has(img[src*="media/reports/"]) { justify-items: safe center; align-items: safe center; padding: 64px 12px 24px; }

/* 2026-11-22: on a wide window the chain's examples wait behind one key, so the section opens on the report itself */
.r-chain-more { display: none; }
@media (min-width: 761px) {
  .r-chain--fold .r-step-ex, .r-chain--fold .r-step-from { display: none; }
  .r-chain--fold .r-step { padding-bottom: 2px; }
  .r-chain-more { display: inline-flex; align-items: center; min-height: 40px; margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 640; text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 4px; cursor: pointer; }
  .r-chain-more:focus-visible { outline: 3px solid var(--navy-brand); outline-offset: 3px; }
}

/* reviews7 (2026-11-23) */
/* the five steps now sit under the report: the report comes first */
.r-chains { margin-top: clamp(26px, 3.4vw, 44px); padding-top: clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.r-chains[hidden], .r-chain-d[hidden] { display: none; }
/* the first risk of the report, under its head, with its source tags */
.rr-top { margin: 0; padding: 10px clamp(12px, 1.8vw, 22px) 10px calc(clamp(12px, 1.8vw, 22px) - 4px); border-left: 4px solid var(--c); border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.45; }
.rr-top-k { display: block; font-size: .875rem; }
/* workforce, the daily report's crews and records: two lines each */
.rr-wf { list-style: none; padding: 0; display: grid; }
.rr-wfr { display: grid; gap: 2px; padding: 9px 0; border-top: 1px solid var(--line); min-width: 0; }
.rr-wfr p { margin: 0; }
.rr-wf-n { display: flex; flex-wrap: wrap; gap: 2px 18px; font-variant-numeric: tabular-nums; }
.rr-wf-n > span { min-width: 0; }
.rr-kpis--in { border: 1px solid var(--line); border-radius: 10px; margin: 6px 0; }
/* a source tag is a control: a thumb needs 44 px of it. The box stays small; the pressable area grows around it. */
.rr-tag { position: relative; }
.rr-tag::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%); }
@media (max-width: 760px), (pointer: coarse) {
  .rr-tags { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; vertical-align: middle; margin-left: 6px; }
  .rr-tag { min-width: 44px; height: 36px; margin-left: 0; }
  .rr-tags .rr-tag::after { width: calc(100% + 4px); }
}
