/* Media reach checker: styles.
   THIS FILE IS THE MASTER COPY (since 25 November 2026). It began as a split of media-reach-index.html
   and has been changed here since. Do not run split_widget.py --source over it.

   Every rule is confined to .cst, the widget's wrapper, so nothing here can restyle the site.
   Colours repeat the site's tokens (src/css/site.css) as literal values, because the widget's own
   names overlap the site's with different meanings (--muted here is the site's --ink-2).
   Sizes: the widget was designed on a 16px root and the site's root is 18px, so every rem in the
   source is written as a multiple of --u to keep the tested layout.
   Light only, like the rest of the site: the source page's two dark-mode blocks are left out. */
.cst{
  --bg:#F3F2EB; --ink:#31302F; --muted:#61615E; --soft:#92918D; --line:#C2C2BC;
  --accent:#007A5E; --on-accent:#F3F2EB; --field:#FBFAF6; --u:16px;
  box-sizing:border-box; max-width:820px; margin:0; padding:0;
  color:var(--ink); font-family:Helvetica,"Helvetica Neue",Arial,sans-serif; font-size:var(--u); line-height:1.45;
}
.cst *,.cst *::before,.cst *::after{box-sizing:border-box}
/* The site's global rules for p, h2, h3, table, th and td would otherwise reach inside the widget.
   These put back the browser defaults the widget was designed against; its own rules follow and win. */
.cst p{margin:1em 0}
.cst h2,.cst h3{letter-spacing:normal}
.cst table{width:auto;margin:0;font-size:inherit}
.cst th,.cst td{padding:1px;border-bottom:0;vertical-align:middle}
.cst td{text-align:inherit}
.cst th{text-align:center;font-weight:700}
/* Inside a report the title is an h2 and must not outrank the page's own h1. */
.cst h2.cst-title{font-size:calc(1.75*var(--u));line-height:1.1;max-width:none}

.cst .cst-title{font-size:clamp(calc(1.9*var(--u)),5.2vw,calc(3*var(--u)));line-height:1.04;letter-spacing:-0.02em;font-weight:700;margin:0 0 14px;max-width:17ch}
.cst .lede{margin:0 0 26px;color:var(--muted);max-width:62ch}
.cst label{display:block;font-size:calc(.8125*var(--u));color:var(--muted);margin:0 0 5px}
.cst textarea,.cst select{width:100%;font:inherit;color:var(--ink);background:var(--field);border-radius:3px}
.cst textarea{border:1.5px solid var(--ink);padding:13px 14px;min-height:190px;resize:vertical;line-height:1.5}
.cst select{border:1px solid var(--soft);padding:10px 34px 10px 12px;appearance:none;-webkit-appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position:calc(100% - 18px) 50%,calc(100% - 12px) 50%;background-size:6px 6px;background-repeat:no-repeat}
.cst :focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.cst .hint{font-size:calc(.8125*var(--u));color:var(--muted);margin:7px 0 0}
.cst .acts{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:16px}
.cst .acts .grow{flex:1 1 220px;min-width:0}
.cst button{font:inherit;cursor:pointer;border-radius:3px}
.cst .go{font-weight:700;color:var(--on-accent);background:var(--accent);border:1.5px solid var(--accent);padding:11px 20px}
.cst .ghost{font-weight:700;color:var(--ink);background:none;border:1.5px solid var(--ink);padding:11px 16px}
.cst .text{color:var(--accent);background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px}

.cst #out{margin-top:38px}
.cst h2{font-size:calc(1.25*var(--u));line-height:1.2;margin:0 0 4px}
.cst .matched{color:var(--muted);margin:0 0 6px;font-size:calc(.9375*var(--u))}
.cst .net{margin:16px 0 0;border-top:2px solid var(--ink);padding-top:14px}
.cst .net svg{display:block;width:100%;height:auto;overflow:visible;font-family:inherit}
.cst .net .lab{fill:var(--ink);cursor:default}
.cst .net .lab.unk{fill:var(--soft)}
.cst .net .cnt{fill:var(--muted)}
.cst .net>svg .e{fill:none;opacity:.3;transition:opacity .15s}
.cst .net .e.on{opacity:1}
.cst .net .e.open{stroke:var(--accent)}
.cst .net .e.live{stroke:var(--muted);stroke-width:1.4;stroke-dasharray:6 5}
.cst .net .e.maybe{stroke:var(--accent);stroke-width:2.2;stroke-dasharray:.1 5;stroke-linecap:round}
.cst .net svg.hov .e{opacity:.08}
.cst .net svg.hov .e.hot{opacity:1}
.cst .net svg.hov .lab,.cst .net svg.hov .dot{opacity:.35}
.cst .net svg.hov .lab.hot,.cst .net svg.hov .dot.hot{opacity:1}
.cst .net .dot{fill:var(--ink)}
.cst .net .dot.unk{fill:none;stroke:var(--soft);stroke-width:1.2}
.cst .imgrow{margin:16px 0 0}
.cst .net .node{cursor:pointer}
.cst .net .node rect{fill:var(--bg);stroke:var(--ink);stroke-width:1.5}
.cst .net .node text{fill:var(--ink)}
.cst .net .node .s{fill:var(--muted)}
.cst .net .node.sel rect{fill:var(--ink)}
.cst .net .node.sel text,.cst .net .node.sel .s{fill:var(--bg)}
.cst .key{list-style:none;display:flex;flex-wrap:wrap;gap:6px 20px;margin:14px 0 0;padding:0;font-size:calc(.8125*var(--u));color:var(--muted)}
.cst .key li{display:flex;align-items:center;gap:7px}
.cst .key svg{width:34px;height:10px;flex:none;overflow:visible}
.cst .key .e{fill:none;opacity:1}
.cst .key .open{stroke:var(--accent);stroke-width:2.5}
.cst .key .live{stroke:var(--muted);stroke-width:1.4;stroke-dasharray:6 5}
.cst .key .maybe{stroke:var(--accent);stroke-width:2.2;stroke-dasharray:.1 5;stroke-linecap:round}
.cst .grouped{margin:10px 0 0;font-size:calc(.8125*var(--u));color:var(--muted);max-width:66ch}
.cst .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cst .pick{display:flex;flex-wrap:wrap;gap:0;margin:34px 0 0;border:1.5px solid var(--ink);border-radius:3px;width:max-content;max-width:100%}
.cst .pick button{background:none;border:0;border-radius:0;padding:9px 16px;color:var(--ink)}
.cst .pick button[aria-pressed="true"]{background:var(--ink);color:var(--bg);font-weight:700}
.cst .grp{margin-top:26px}
.cst .grp h3{font-size:calc(1.0625*var(--u));margin:0 0 4px;display:flex;align-items:baseline;gap:10px}
.cst .grp h3 span{font-weight:400;color:var(--muted);font-size:calc(.875*var(--u))}
.cst .grp .means{margin:0 0 8px;color:var(--muted);font-size:calc(.9375*var(--u));max-width:66ch}
.cst .grp ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.cst .grp li{border-bottom:1px solid var(--line)}
.cst .grp .orow{width:100%;text-align:left;background:none;border:0;border-radius:0;color:inherit;padding:8px 0;display:flex;flex-wrap:wrap;gap:2px 14px;align-items:baseline}
.cst .grp .orow b{font-weight:700}
.cst .grp .orow:hover b{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.cst .grp .orow span{font-size:calc(.8125*var(--u));color:var(--muted);overflow-wrap:anywhere}
.cst .grp .orow .tog{margin-left:auto;color:var(--accent);white-space:nowrap}
.cst .od{padding:0 0 16px}
.cst .od .scroll{overflow-x:auto}
.cst .od table{border-collapse:collapse;width:100%;font-size:calc(.8125*var(--u))}
.cst .od th,.cst .od td{text-align:left;vertical-align:top;padding:7px 14px 7px 0;border-top:1px solid var(--line)}
.cst .od thead th{border-top:0;color:var(--muted);font-weight:400}
.cst .od td small{display:block;color:var(--soft)}
.cst .od td.ok b{color:var(--accent)}
.cst .od p{margin:10px 0 0;font-size:calc(.8125*var(--u));color:var(--muted);max-width:66ch}
.cst .gtag{display:inline-block;font-size:calc(.75*var(--u));font-weight:700;line-height:1;padding:4px 7px;border-radius:3px;border:1.5px solid var(--ink);color:var(--ink);white-space:nowrap}
.cst .gtag.g-open{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.cst .gtag.g-most{border-color:var(--accent);color:var(--accent)}
.cst .gtag.g-lim{border-style:dashed}
.cst .gtag.g-shut{background:var(--ink);color:var(--bg)}
.cst .gtag.g-unk{border-color:var(--soft);color:var(--muted);border-style:dotted}
.cst .gr{margin-top:34px}
.cst .gr h3{font-size:calc(1.0625*var(--u));margin:0 0 4px}
.cst .gr .means{margin:0 0 8px;color:var(--muted);font-size:calc(.9375*var(--u));max-width:66ch}
.cst .gr ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.cst .gr li{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--line)}
.cst .gr .gtag{flex:none;min-width:92px;text-align:center}
.cst .gr .gn{flex:none;font-size:calc(.8125*var(--u));color:var(--muted);min-width:64px}
.cst .gr .gw{flex:1 1 300px;min-width:0;font-size:calc(.9375*var(--u))}
.cst .gr .gw small{display:block;font-size:calc(.8125*var(--u));color:var(--muted);margin-top:2px}
.cst .mx{margin-top:40px}
.cst .mx h3{font-size:calc(1.0625*var(--u));margin:0 0 4px}
.cst .mx .means{margin:0;color:var(--muted);font-size:calc(.9375*var(--u));max-width:66ch}
.cst .mx .scroll{position:relative;overflow-x:auto;margin-top:12px;border-top:2px solid var(--ink)}
.cst .mx table{border-collapse:collapse;width:100%;min-width:660px;font-size:calc(.8125*var(--u))}
.cst .mx th,.cst .mx td{padding:6px 4px;text-align:center;border-bottom:1px solid var(--line);font-weight:400}
.cst .mx thead th{color:var(--muted)}
.cst .mx thead .top th{color:var(--ink);font-weight:700;border-bottom:0;padding-bottom:0}
.cst .mx th.o{text-align:left;color:var(--ink);font-weight:700;padding-left:0;max-width:220px}
.cst .mx .g{border-left:1px solid var(--line)}
.cst .mx td svg{display:block;margin:0 auto;width:16px;height:16px;overflow:visible}
.cst .mx .key{margin-top:12px}
.cst .mx .key svg{width:16px;height:16px}
.cst .miss{margin-top:30px;font-size:calc(.9375*var(--u));color:var(--muted);max-width:66ch}
.cst .miss b{color:var(--ink)}
.cst .copyrow{margin-top:26px}
.cst .copybox{margin-top:10px;min-height:120px;font-size:calc(.8125*var(--u));font-family:ui-monospace,Menlo,Consolas,monospace}
.cst .notes{margin-top:44px;padding-top:18px;border-top:2px solid var(--ink);font-size:calc(.875*var(--u));color:var(--muted);max-width:66ch}
.cst .notes h2{font-size:calc(1*var(--u));color:var(--ink);margin:0 0 8px}
.cst .notes p{margin:0 0 10px}

/* The call to action under the results is the site's shared block (.cs-cta, styled in src/css/site.css).
   Here it only gets its spacing, and stays hidden until a check has matched at least one outlet. */
.cst .cst-offer{margin-top:40px}
.cst #out:not(:has(.net,.mx,.gr,.grp)) + .cst-offer{display:none}
