/* designer3: the report, the reports' list, the client's page. Linked after ee.css; it uses ee.css's tokens and defines none. */

/* designer3: the report (run.html) */
/* a site that ran out of time or was stopped did not fail: its alert's mark and its column's dot are amber, as its words are */
.alert.warn .x { color: var(--amber); } .alert.warn .x svg { width: 15px; height: 15px; vertical-align: -2px; }
table.grid th.colhead.amber .site::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-mark); margin-right: 5px; vertical-align: 1px; }

/* on a phone the checks' names took the whole card and every result stood out of sight behind them: a name wraps in a
   narrow column that stays in place, the results begin beside it, and the table scrolls under the name */
@media (max-width: 720px) { table.grid th.rowhead { white-space: normal; overflow-wrap: break-word; min-width: 112px; max-width: 42vw; } table.grid th.rowhead .small { display: block; } }

/* one mark for a failure on the whole site, the filled red dot (senior, 2026-09-29): in the grid it is the link to the check's card */
table.grid td.cell .x, .grid-card .legend .x { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red-mark); vertical-align: middle; }
.grid-card .legend .x { width: 9px; height: 9px; margin-right: 3px; vertical-align: 0; }

/* a first report opens on one sentence: what was checked and how it went, then what the site has not, in a quieter voice */
.run-opening { margin: -4px 0 16px; font-size: 17px; line-height: 1.5; max-width: 72ch; color: var(--ink); } .run-opening b { font-weight: 600; } .run-opening .run-absent { color: var(--ink-2); }

/* a cell that never ran is "not checked" in amber, its own mark; "–" is kept for "not on this site" (light-live #1) */
table.grid td.cell .never { color: var(--amber); }
/* the clock before "N did not finish", the same in the headline, the tile and the footer (light-live #2) */
.attention h2 .clock, .tile-note .clock, table.grid tfoot .clock { width: 14px; height: 14px; vertical-align: -2px; margin-right: 1px; }
/* at 320 the folded row's head was 293 px in a wrapper of 250, so the grid scrolled past its first column and no dot showed */
table.grid tr.fold .linkish { white-space: normal; text-align: left; }

/* a thumb's targets on the report's own controls, 44 px at 720 and under and under a finger (senior's ruling; the owner's Fold open is
   884 wide): the grid's 'replay' and its fold, the 'show durations' switch through its label, the list's Reports | Looks tabs (runs.html,
   the .seg is this page's alone), the list's 'For engineers' fold, the client link's Copy */
@media (max-width: 720px), (pointer: coarse) {              /* a phone, and a Fold open at 884: a finger, whatever the width */
  table.grid tfoot .links button.linkish, table.grid tr.fold button.linkish { min-width: 44px; min-height: 44px; padding: 0 6px; }
  .preview-once > summary { min-height: 44px; display: flex; align-items: center; }
  .grid-card label.check { min-height: 44px; padding-left: 14px; margin-left: -14px; }   /* the box sits at the label's left edge: the label reaches 14 px further left so a thumb beside it still lands */
  nav.seg a { min-height: 44px; display: inline-flex; align-items: center; }
  .sharebar .button.small { min-height: 44px; }                    /* the client link's Copy: a thumb's height, the row's layout unchanged */
}

/* a tablet's picture (820 × 1180) in a check's card: its own frame, wider than a phone's, narrower than a desktop's (the owner's
   three customer windows, 2026-09-30) */
.al-pic.tablet img { width: auto; max-width: 70%; margin: 0 auto; }

/* designer3: the client's page (share.html) */
/* a failing check wears a dot, not a ✕: the ✕ read as a button that does nothing (the owner, 2026-09-29) */
.share .chk .x, .share .legend .x { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red-mark); margin-right: 3px; vertical-align: 1px; }
/* a long address in a cell breaks anywhere on a phone: at 320 an unbroken one made the table 307 px in a card of 250 */
@media (max-width: 720px) { .share .tablewrap td { overflow-wrap: anywhere; } }
/* the pictures of what qa.pro saw: at 320 a column of 300 px reached 29 px beyond the card and a long address in the caption
   353 px beyond the page; a column is never wider than the card and a caption's address breaks anywhere */
.share .evidence { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.share .ev figcaption { overflow-wrap: anywhere; min-width: 0; }

/* the header's 'Get this every night' under a finger (a Fold open at 884 is a touch screen) */
@media (max-width: 720px), (pointer: coarse) { .share .claim-top { min-height: 44px; display: inline-flex; align-items: center; } }

/* a check that was not checked is neither struck like a skipped one nor coloured like a verdict */
.chk.unchecked { color: var(--muted); }
/* on a phone each cell wears its column's name: a cell with nothing in it says nothing, and the list of every check has a name of its own */
@media (max-width: 720px) { .share .tablewrap td[data-l]:empty { display: none; } .share .tablewrap tr.detail td[data-l]::before { grid-column: 1 / -1; } }
@media (min-width: 721px) { .share .tablewrap tr.detail td[data-l]::before { content: none; } }

/* designer2: invite */
/* a team's name and an address are other people's text, up to 120 letters without a space: they break inside the card at 320 */
.invite-who { overflow-wrap: anywhere; }

/* designer2: settings */
/* the new key is shown once: all of it is on the screen at every width, and on a phone the copy button stands under it, not over it */
.newkey { margin-top: 12px; } .newkey .cmd { margin-top: 6px; } .newkey .cmd pre { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
@media (max-width: 640px) { .newkey .cmd pre { padding-right: 14px; } .newkey .cmd .copy { position: static; transform: none; margin: 8px 0 0 auto; display: flex; } }

/* designer3: the film's page (film.html) */
/* One centred column as wide as the picture and what stands beside it, so that a picture of 645 px in a window of 1440
   is a page that is meant and not a small picture lost in an empty box. The picture is never enlarged. */
.film-page { --tone: var(--muted); --tone-bg: var(--bg-2); --film-w: 645; --film-h: 403; --side: 340px; --gap: 28px;
  /* the picture's own size, or what the window's height leaves of it: never more */
  --natural: min(calc(var(--film-w) * 1px), calc((100vh - 80px) * var(--film-w) / var(--film-h)));
  max-width: calc(var(--natural) + var(--gap) + var(--side)); margin: 0 auto; }
.film-page.is-red { --tone: var(--red-mark); --tone-ink: var(--red); --tone-bg: var(--red-bg); }
.film-page.is-green { --tone: var(--green); --tone-ink: var(--green); --tone-bg: var(--green-bg); }
.film-page.is-amber { --tone: var(--amber-mark); --tone-ink: var(--amber); --tone-bg: var(--amber-bg); }
.film-page.is-blue { --tone: var(--accent); --tone-ink: var(--accent); --tone-bg: var(--accent-soft); }
.film-page.is-plain { --tone-ink: var(--ink-2); }
.film-back { margin: 0 0 14px; font-size: 14.5px; } .film-back a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 6px 0; } .film-back a:hover { color: var(--accent); }
.film-head { border-top: 4px solid var(--tone); background: var(--surface); border-radius: 0 0 var(--r-l) var(--r-l); box-shadow: 0 0 0 1px var(--line); padding: 16px 20px 18px; margin: 0 0 16px; }
.film-state { margin: 0 0 4px; font-size: 14.5px; font-weight: 600; color: var(--tone-ink); display: flex; align-items: center; gap: 7px; }
.film-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); flex: none; }
.film-head h1 { margin: 0; font-size: 26px; line-height: 1.2; overflow-wrap: anywhere; }
.film-sentence { margin: 8px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); max-width: 68ch; overflow-wrap: anywhere; }
.film-tabs { display: flex; gap: 8px; margin: 0 0 16px; }
.film-tabs a { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 9px 16px; border-radius: var(--r-m); border: 1px solid var(--line-3); background: var(--surface); color: var(--ink); text-decoration: none; }
.film-tabs a[aria-current] { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
.film-tabs a:hover { background: var(--surface-2); text-decoration: none; }
.film-tab-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.film-tabs a.is-red .film-dot { background: var(--red-mark); } .film-tabs a.is-green .film-dot { background: var(--green); } .film-tabs a.is-amber .film-dot { background: var(--amber-mark); } .film-tabs a.is-blue .film-dot { background: var(--accent); } .film-tabs a.is-plain .film-dot { background: var(--muted); }
/* the steps stand beside the picture where the window has room for both, and under it where it has not: the row wraps */
.film-body { display: flex; flex-wrap: wrap; gap: 20px var(--gap); align-items: flex-start; }
.film-stage { flex: 0 0 auto; width: min(100%, var(--natural)); min-width: 0; container-type: inline-size; }
.film-page.no-picture .film-stage { flex: 1 1 320px; width: auto; }
.film-address { margin: 0 0 8px; font: 13px/1.5 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; } .film-where.foreign { color: var(--amber); font-weight: 600; }
.film { width: 100%; aspect-ratio: var(--film-w) / var(--film-h); background: var(--media-bg); box-shadow: 0 0 0 1px var(--line-3); border-radius: 2px; display: grid; place-items: center; overflow: hidden; }   /* an edge drawn around the box, not inside it: the picture keeps every pixel */
.film.is-stopped { box-shadow: 0 0 0 3px var(--tone); }          /* the picture the verdict was given on: a frame of 3 px in the verdict's colour */
.film-shot { position: relative; display: block; width: 100%; height: 100%; }
.film img { display: block; width: 100%; height: 100%; object-fit: contain; }     /* its own size or the box's, whichever is less; a picture of another size is letterboxed, never stretched */
/* the pointer (crowd3's ruling film-pointer): a layer the size of the drawn picture, not clipped by the box; the arrow 13 × 20
   screen px at every width, white with an ink edge (our mark on the customer's pixels wears none of our colours); its
   vertex 0,0 is the point. On a phone's film a tap mark instead. The ring: white over a dark under-stroke, grown by the script. */
.film { overflow: visible; } .film img { border-radius: 2px; }
.film-pointer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.film-arrow { position: absolute; width: 13px; height: 20px; overflow: visible; display: none; }
.film-arrow path { fill: #ffffff; stroke: #101614; stroke-width: 1.5; stroke-linejoin: round; } .film-arrow { filter: drop-shadow(0 1px 2px rgba(16,22,20,.35)); }
.film-tap { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(255,255,255,.55); border: 2px solid rgba(16,22,20,.8); box-sizing: border-box; display: none; }
.film[data-device="phone"] .film-tap, .film[data-device="tablet"] .film-tap { display: block; } .film:not([data-device="phone"]):not([data-device="tablet"]) .film-arrow { display: block; }
.film-ring { position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; opacity: 0; transform-origin: 50% 50%; transform: scale(0.1875); overflow: visible; }
.film-ring circle { fill: none; } .film-ring-under { stroke: rgba(16,22,20,.45); stroke-width: 4; } .film-ring-over { stroke: #ffffff; stroke-width: 2; }
.film-legend { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.film-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "keys line time full"; gap: 6px 14px; align-items: center; margin: 12px 0 0; }
.film-keys { grid-area: keys; display: flex; gap: 6px; align-items: center; }
.film-keys button { width: 44px; min-width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; } .film-keys button svg { width: 16px; height: 16px; }
.film-keys #film-play { width: 48px; min-width: 48px; height: 48px; } .film-keys #film-play svg { width: 18px; height: 18px; }
.film-line { grid-area: line; position: relative; display: flex; align-items: center; min-height: 44px; }
.film-line input[type=range] { width: 100%; margin: 0; accent-color: var(--accent); min-height: 44px; background: none; border: 0; padding: 0; box-shadow: none; }
.film-line input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }   /* the slider shows its focus as every control does */
.film-notch { position: absolute; left: 70%; top: 50%; width: 3px; height: 16px; margin: -8px 0 0 -1px; border-radius: 2px; background: var(--tone); pointer-events: none; }
.film-time { grid-area: time; font: 13px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.film-full { grid-area: full; justify-self: end; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; white-space: nowrap; }
.film-none { margin: 0; padding: 28px 20px; background: var(--surface); border: 1px dashed var(--line-3); border-radius: var(--r-m); color: var(--ink-2); }
.film-side { flex: 1 1 280px; max-width: var(--side); min-width: 0; } .film-side h2 { margin: 0 0 8px; font: 600 12px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.film-steps { list-style: none; margin: 0 0 18px; padding: 0; background: var(--surface); border-radius: var(--r-m); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.film-steps li + li { border-top: 1px solid var(--line); }
.film-step { width: 100%; min-height: 44px; display: grid; grid-template-columns: 22px minmax(0, 1fr) 14px auto; gap: 10px; align-items: center; text-align: left; padding: 8px 14px; border: 0; border-radius: 0; box-shadow: none; background: none; font-size: 15px; color: var(--ink); }
.film-step:hover { background: var(--surface-2); } .film-step.is-now { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.film-n { font: 13px/1 var(--mono); color: var(--muted); } .film-step-name { overflow-wrap: anywhere; } .film-second { font: 13px/1 var(--mono); color: var(--ink-2); }
.film-mark { width: 10px; height: 10px; border-radius: 50%; justify-self: center; }
.film-step.fail .film-mark { background: var(--red-mark); } .film-step.warn .film-mark { background: var(--amber-mark); } .film-step.pass .film-mark { box-shadow: inset 0 0 0 2px var(--green); }
.film-step.fail .film-step-name { font-weight: 600; }
.film-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .film-actions form { margin: 0; }
.film-actions button { min-height: 44px; } #film-copy { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 600; }
.film-copied { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--ink-2); }
@media (min-width: 1100px) { .film-side { padding-top: 28px; } }
@media (max-width: 1099px) { .film-page { max-width: max(var(--natural), 560px); } .film-side { flex-basis: 100%; max-width: none; } }
@media (max-width: 720px) { .film-head { padding: 14px 16px 16px; } .film-head h1 { font-size: 22px; } }
@media (max-width: 400px) { .film-tabs a { flex: 1 1 0; flex-direction: column; gap: 2px; align-items: flex-start; padding: 8px 12px; } }
/* under a narrow picture (a phone's, or any picture on a phone) the line has a row of its own: it is as long as the picture is wide */
@container (max-width: 560px) { .film-controls { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "keys time" "line line" "full full"; gap: 2px 12px; } .film-time { justify-self: end; } .film-full { padding: 8px 0 12px; } }
