/* Campaign tracker v3 (/track/<cc>-<slug>).
 *
 * THE LOOK IS GARY'S APPROVED MOCK-UPS OF 12 AND 13 OCT 2026:
 * docs/mockups/campaign-tracker-2026-10-12.html and campaign-tracker-access-2026-10-13.html. These rules are those mock-ups'
 * styles, scoped under .ct, so the page matches it exactly and nothing leaks into
 * the rest of the site. Change the look only with his sign-off.
 *
 * The palette is page-local, as on the card artwork page: it is the Sentinel
 * "violet forward" look (dark summary panel, three group tints), not the
 * public site's.
 * Global <link>, not a scoped Astro style, because the content is built in JS.
 */

.ct {
    --ink: #1f1530; --muted: #4f4a5c; --line: #dcdce4; --page: #e9ebef;
    --violet: #772cbb; --violet-dark: #5c2290; --violet-light: #b98ae6;
    --night-1: #170d24; --night-2: #2a1145;
    --red: #f87171; --red-bg: rgba(248, 113, 113, .14);
    --ok: #86efac; --ok-bg: rgba(134, 239, 172, .12);
  }
.ct, .ct * { box-sizing: border-box; }
.ct { margin: 0; font: 15px/1.5 Jost, system-ui, -apple-system, sans-serif; background: var(--page); color: var(--ink); }
.ct .bar { background: #fff; border-bottom: 3px solid var(--violet); padding: 22px 40px 0; }
.ct .bar h1 { margin: 0; font-size: 22px; color: var(--violet-dark); }
.ct .bar .meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.ct .tabs { display: flex; gap: 28px; margin-top: 18px; }
.ct .tabs span { padding: 12px 0; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; }
.ct .tabs span.on { color: var(--violet); border-color: var(--violet); }
.ct .ct-main { padding: 28px 40px 60px; }
.ct .block { background: #fff; border-radius: 14px; padding: 24px 28px; margin-bottom: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.ct .block h2 { margin: 0; font-size: 18px; color: var(--violet-dark); }
.ct .snap {
    position: relative; overflow: hidden; border-radius: 18px; padding: 28px 32px 26px; margin-bottom: 24px; color: #fff;
    background: radial-gradient(120% 140% at 85% -20%, rgba(185,138,230,.28) 0%, transparent 55%), linear-gradient(135deg, var(--night-2) 0%, var(--night-1) 100%);
    box-shadow: 0 18px 40px -18px rgba(42,17,69,.55);
  }
.ct .snap-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.ct .snap-top h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-light); }
.ct .snap-top .lead { font-size: 26px; font-weight: 700; margin-top: 4px; letter-spacing: -.01em; }
.ct .totals { display: flex; gap: 28px; flex-wrap: wrap; }
.ct .totals div { text-align: right; }
.ct .totals .k { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; }
.ct .totals .v { font-size: 24px; font-weight: 800; }
.ct .totals .v.red { color: var(--red); }
.ct .totals .s { font-size: 11px; color: rgba(255,255,255,.6); }
.ct .groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ct .grp { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 16px 18px 18px; }
.ct .grp .gh { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-light); margin-bottom: 14px; }
.ct .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct .st .cost { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.ct .st .cost.none { font-size: 20px; color: rgba(255,255,255,.45); padding: 6px 0 3px; }
.ct .st .per { font-size: 12px; color: rgba(255,255,255,.55); }
.ct .st .track { position: relative; height: 120px; margin: 10px 0 10px; display: flex; align-items: flex-end; }
.ct .st .fill { width: 100%; height: var(--h); min-height: 4px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #c9a3f0 0%, var(--violet) 100%); box-shadow: 0 6px 18px -6px rgba(185,138,230,.7); }
.ct .st .fill.empty { background: rgba(255,255,255,.12); box-shadow: none; }
.ct .st .count { position: absolute; left: 0; right: 0; bottom: calc(var(--h) + 6px); text-align: center; font-size: 13px; font-weight: 700; }
.ct .st .name { font-size: 14px; font-weight: 600; }
.ct .st .rate { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.ct .st .rate.ok { background: var(--ok-bg); color: var(--ok); }
.ct .st .rate.bad { background: var(--red-bg); color: var(--red); }
@media (max-width: 1100px) {
.ct .groups { grid-template-columns: 1fr; }
 }
@media (max-width: 700px) {
.ct .ct-main, .ct .bar { padding-left: 16px; padding-right: 16px; }
.ct .snap { padding: 22px 18px; }
 }
.ct .groups { grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr) 64px minmax(0,1fr) !important; gap: 0 !important; align-items: stretch; }
.ct .pair { grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr) !important; gap: 0 !important; }
.ct .st .name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ct .link { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; font-weight: 700; line-height: 1.25; color: rgba(255,255,255,.7); position: relative; }
.ct .link span { position: relative; padding-bottom: 18px; }
.ct .link span::after { content: '\2192'; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); font-size: 18px; }
.ct .link.ok { color: var(--ok); }
.ct .link.bad { color: var(--red); }
.ct .link:empty, .ct .link span:empty { visibility: hidden; }
@media (max-width: 1100px) {
.ct .groups { grid-template-columns: 1fr !important; }
.ct .groups > .link { padding: 8px 0; }
.ct .groups > .link span::after { content: '\2193'; }
 }
.ct .st .cnt { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: 16px; font-weight: 700; color: rgba(255,255,255,.9); }
.ct .link span { padding-bottom: 18px; }
.ct .block { padding: 24px 28px; }
.ct .bhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ct .bhead h2 { margin: 0; font-size: 18px; color: var(--violet-dark); }
.ct .bhead .role { font-size: 13px; color: var(--muted); }
.ct .bhead .src { font-size: 12px; color: var(--muted); }
.ct .help { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #ececf1; color: var(--muted); font-size: 11px; font-weight: 700; cursor: help; position: relative; margin-left: 4px; vertical-align: middle; }
.ct .help:hover::after, .ct .help:focus::after { content: attr(data-tip); position: absolute; left: 50%; bottom: 130%; transform: translateX(-50%); width: 260px; background: var(--ink); color: #fff; font-weight: 400; font-size: 12px; line-height: 1.45; padding: 9px 11px; border-radius: 8px; z-index: 5; text-align: left; white-space: normal; }
.ct .checks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ct .chk { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.ct .chk .top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ct .chk .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.ct .chk.ok .ic { background: #dcfce7; color: #15803d; }
.ct .chk.bad { border-color: #fecaca; background: #fff7f7; }
.ct .chk.bad .ic { background: #fee2e2; color: #b91c1c; }
.ct .chk.wait .ic { background: #fef3c7; color: #92400e; }
.ct .chk .val { margin-top: 8px; font-size: 20px; font-weight: 800; color: var(--ink); }
.ct .chk.bad .val { color: #b91c1c; }
.ct .chk .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ct .checks-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 1200px) {
.ct .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 }
@media (max-width: 600px) {
.ct .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 }
.ct .conv { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.ct .cv { flex: 1 1 200px; border-radius: 12px; padding: 14px 16px; background: #f1e8fb; }
.ct .cv .k { font-size: 13px; color: var(--violet-dark); font-weight: 600; }
.ct .cv .v { font-size: 26px; font-weight: 800; color: var(--violet-dark); margin-top: 2px; }
.ct .cv .s { font-size: 12px; color: var(--muted); }
.ct .kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (max-width: 1000px) {
.ct .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 }
.ct .kpi { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.ct .kpi .l { font-size: 13px; color: var(--muted); }
.ct .kpi .v { font-size: 22px; font-weight: 700; margin-top: 2px; color: var(--ink); }
.ct .kpi .s { font-size: 12px; color: var(--muted); }
.ct details { margin-top: 16px; }
.ct summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--violet); }
.ct table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.ct th, .ct td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ct th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--violet-dark); background: #f6f6f9; }
.ct td.r, .ct th.r { text-align: right; }
.ct dl.gloss { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; font-size: 14px; }
.ct dl.gloss dt { font-weight: 600; }
.ct dl.gloss dd { margin: 0; color: var(--muted); }
@media (max-width: 700px) {
.ct dl.gloss { grid-template-columns: 1fr; }
 }
.ct .kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important; }
.ct .groups2 { display: grid; grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr) 48px minmax(0,1fr); }
.ct .pair2 { display: grid; grid-template-columns: minmax(0,1fr) 84px minmax(0,1fr); }
.ct .grp-ad .st2 .big small { display: block; margin: 4px 0 0; }
.ct .grp-ad .pair2 { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); column-gap: 28px; }
.ct .grp-ad .pair2 > .st2:first-child { text-align: right; }
.ct .grp-ad .pair2 > .link { width: auto; }
.ct .grp-ad .pair2 > .link { padding-top: 46px !important; }
.ct .cards6 { display: grid; grid-template-columns: repeat(5, minmax(0,1fr) 92px) minmax(0,1fr); align-items: stretch; }
.ct .card6 { border-radius: 14px; padding: 16px 16px 18px; border: 1px solid; }
.ct .card6 .cg { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.ct .c-ad { background: rgba(96,165,250,.09); border-color: rgba(96,165,250,.28); }
.ct .c-ad .cg { color: #93c5fd; }
.ct .c-lp { background: rgba(185,138,230,.11); border-color: rgba(185,138,230,.32); }
.ct .c-lp .cg { color: #d8b4fe; }
.ct .c-crm { background: rgba(45,212,191,.08); border-color: rgba(45,212,191,.26); }
.ct .c-crm .cg { color: #5eead4; }
.ct .card6 .st2 .big { font-size: 30px; }
.ct .card6 .st2 .big small { display: block; margin: 4px 0 0; }
.ct .cards6 > .link { display: flex; flex-direction: column; align-items: center !important; justify-content: flex-start !important; padding-top: 74px !important; }
@media (max-width: 1100px) {
.ct .cards6 { grid-template-columns: 1fr; }
.ct .cards6 > .link { padding: 8px 0 !important; }
 }
.ct .card6 .hero { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-top: 4px; color: #fff; }
.ct .card6 .per2 { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 2px; }
.ct .card6 .cnt2 { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); border-radius: 99px; padding: 2px 10px; }
.ct .card6 .st2.muted .hero { color: rgba(255,255,255,.4); }
.ct .card6 .st2 .name { color: #fff; }
.ct .c-ad .hero { color: #93c5fd; }
.ct .c-lp .hero { color: #d8b4fe; }
.ct .card6 .cnt2 { color: #0b1020; font-weight: 700; }
.ct .c-ad .cnt2 { background: #93c5fd; }
.ct .c-lp .cnt2 { background: #d8b4fe; }
.ct .c-crm .cnt2 { background: #5eead4; }
.ct .card6 .st2.muted .cnt2 { opacity: .6; }
.ct .hand { display: flex; flex-direction: column; gap: 10px; }
.ct .hr { display: grid; grid-template-columns: 28px 230px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: start; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ct .hr .ic { grid-row: 1 / span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ct .hr .hw { grid-row: 1 / span 2; font-size: 13px; color: var(--muted); padding-top: 2px; }
.ct .hr .ht { font-size: 15px; font-weight: 700; color: var(--ink); }
.ct .hr .hd { font-size: 14px; color: var(--muted); margin-top: 2px; }
.ct .hr.ok .ic { background: #dcfce7; color: #15803d; }
.ct .hr.wait .ic { background: #fef3c7; color: #92400e; }
.ct .hr.bad { border-color: #fecaca; background: #fff7f7; }
.ct .hr.bad .ic { background: #fee2e2; color: #b91c1c; }
.ct .hr.bad .ht { color: #b91c1c; }
@media (max-width: 800px) {
.ct .hr { grid-template-columns: 28px 1fr; }
.ct .hr .hw { grid-row: auto; grid-column: 2; }
 }
.ct .link { flex-direction: column; }
.ct .leak { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 12px; text-decoration: none; color: var(--red); font-size: 11px; font-weight: 700; line-height: 1.25; }
.ct .leak em { font-style: normal; max-width: 84px; text-align: center; }
.ct .leak i { width: 18px; height: 18px; border-radius: 50%; background: #f87171; color: #450a0a; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; }
.ct .leak:hover em { text-decoration: underline; }
.ct .hq { display: inline-block; background: #fef3c7; color: #92400e; font-weight: 700; font-size: 11px; border-radius: 99px; padding: 1px 8px; margin-right: 8px; }
.ct [data-ex-t] { cursor: pointer; }
.ct .card6 .hero[data-ex-t] { text-decoration: underline dotted rgba(255,255,255,.35); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ct .link span[data-ex-t]:hover b, .ct .card6 .hero[data-ex-t]:hover { filter: brightness(1.15); }
.ct .exm { position: fixed; inset: 0; background: rgba(15,8,25,.45); display: grid; place-items: center; z-index: 50; padding: 16px; }
.ct .exm[hidden] { display: none; }
.ct .exm-box { position: relative; background: #fff; color: var(--ink); border-radius: 14px; max-width: 420px; width: 100%; padding: 20px 22px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.ct .exm-t { font-size: 17px; font-weight: 800; color: var(--violet-dark); padding-right: 28px; }
.ct .exm-b { font-size: 15px; line-height: 1.55; margin-top: 8px; color: var(--ink); }
.ct .exm-calc { font-size: 16px; font-weight: 700; background: #f6f2fb; border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.ct .exm-b ul { margin: 14px 0 0; padding-left: 20px; }
.ct .exm-b li { margin: 6px 0; }
.ct .exm-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.ct .filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; background: #fff; border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.08); }
.ct .filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ct .filters select { font: inherit; font-size: 14px; color: var(--ink); padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 210px; }
.ct .filters .fnote { font-size: 13px; color: var(--muted); margin-left: auto; padding-bottom: 8px; }
.ct table.camps td { vertical-align: middle; }
.ct table.camps tr.sel td { background: #f6f0fd; }
.ct table.camps tbody tr { cursor: pointer; }
.ct table.camps tbody tr:hover td { background: #faf7fd; }
.ct .ctype { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ct .cs { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.ct .cs.active { background: #dcfce7; color: #166534; }
.ct .cs.ended { background: #f1f1f4; color: var(--muted); }
.ct .nc { font-size: 12px; color: #9a94a6; }
.ct .cnote { margin-top: 12px; font-size: 13px; color: var(--muted); }
.ct .tabs span { cursor: pointer; }
.ct .hqtag { font-style: normal; font-size: 10px; font-weight: 800; background: #fef3c7; color: #92400e; border-radius: 99px; padding: 1px 6px; margin-left: 4px; vertical-align: 2px; }
.ct .dd { position: relative; display: flex; flex-direction: column; gap: 4px; }
.ct .dl { font-size: 12px; font-weight: 600; color: var(--muted); }
.ct .db { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 240px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; text-align: left; }
.ct .db:hover { border-color: var(--violet); }
/* Custom dates: the From and To boxes take the dropdown button's look so the row lines up. */
.ct .dd input[type="date"] { min-width: 170px; font: inherit; font-size: 14px; font-weight: 600; height: 41px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; cursor: pointer; accent-color: var(--violet); }
.ct .dd input[type="date"]:hover, .ct .dd input[type="date"]:focus { border-color: var(--violet); outline: none; }
.ct .dd input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
.ct .car { width: 8px; height: 8px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(45deg) translateY(-2px); }
.ct .dp { position: absolute; top: 100%; left: 0; margin: 6px 0 0; padding: 6px; list-style: none; min-width: 300px; background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(30,20,50,.18); border: 1px solid var(--line); z-index: 20; }
.ct .opt { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink); }
.ct .opt:hover { background: #f6f0fd; }
.ct .opt small { display: block; font-size: 12px; color: var(--muted); }
.ct .opt.dis { cursor: default; opacity: .55; }
.ct .opt.dis:hover { background: none; }
.ct .box, .ct .dot { flex: none; width: 18px; height: 18px; border: 2px solid #c9bfd8; margin-top: 1px; display: grid; place-items: center; }
.ct .box { border-radius: 5px; }
.ct .dot { border-radius: 50%; }
.ct .opt.on .box { background: var(--violet); border-color: var(--violet); }
.ct .opt.on .box::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }
.ct .opt.on .dot { border-color: var(--violet); }
.ct .opt.on .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.ct .alert { display: flex; gap: 12px; align-items: flex-start; background: #fff7f7; border: 1px solid #fecaca; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; color: var(--ink); }
.ct .alert .ai { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fee2e2; color: #b91c1c; display: grid; place-items: center; font-weight: 800; }
.ct .alert b { display: block; color: #b91c1c; font-size: 15px; }
.ct .alert span { font-size: 14px; color: var(--muted); }
.ct table.lpt td.w { width: 40%; }
.ct .hb { display: block; height: 8px; background: #ececf1; border-radius: 99px; overflow: hidden; }
.ct .hb i { display: block; height: 100%; width: var(--w); background: var(--violet); border-radius: 99px; }
.ct .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ct .two .block { margin-bottom: 24px; }
@media (max-width: 1000px) {
.ct .two { grid-template-columns: 1fr; }
 }
.ct .hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; align-items: end; height: 150px; }
.ct .hc { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.ct .hc i { display: block; width: 100%; height: var(--h); background: var(--violet); border-radius: 4px 4px 0 0; opacity: .85; }
.ct .hc span { font-size: 10px; color: var(--muted); }
.ct .soon { color: var(--muted); margin: 0; }
.ct .lost.info .lh { color: rgba(255,255,255,.85); }
.ct .link { font-size: 11px !important; font-weight: 700 !important; }
.ct .link b { display: block; font-size: 14px; font-weight: 800; padding: 3px 8px; border-radius: 99px; margin-bottom: 2px; }
.ct .link.ok b { background: #4ade80; color: #052e16; }
.ct .link.bad b { background: #f87171; color: #450a0a; }
.ct .groups2 > .link, .ct .pair2 > .link { align-items: flex-start !important; padding-top: 58px; }
.ct .groups2 > .link { padding-top: 86px; }
.ct .link span { padding-bottom: 20px; }
.ct .gsub { font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.45); margin-left: 6px; }
.ct .st2 .name { font-size: 14px; font-weight: 700; color: #fff; }
.ct .st2 .big { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; line-height: 1.05; }
.ct .st2 .big small { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); margin-left: 6px; letter-spacing: 0; }
.ct .st2 .each { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #e4d2f7; background: rgba(185,138,230,.18); border-radius: 99px; padding: 2px 10px; }
.ct .st2.muted .big { color: rgba(255,255,255,.45); }
.ct .st2.muted .each { background: rgba(255,255,255,.07); color: rgba(255,255,255,.5); }
.ct .moved { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; font-weight: 700; color: #fff; }
.ct .moved + .lost { margin-top: 8px; padding-top: 0; border-top: 0; }
.ct .lost { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.75); }
.ct .lost .lh { font-weight: 700; color: var(--red); margin-bottom: 4px; font-size: 13px; }
.ct .lost .lr { display: flex; justify-content: space-between; gap: 8px; padding: 1px 0; }
.ct .lost .lr b { color: #fff; font-weight: 700; }
.ct .lost.note { color: rgba(255,255,255,.55); }
@media (max-width: 1100px) {
.ct .groups2 { grid-template-columns: 1fr; }
 }
.ct table.recon { margin-top: 16px; max-width: 640px; }
.ct table.recon tr.bad td { color: #b91c1c; font-weight: 600; }
.ct table.recon tr.tot td { font-weight: 700; border-bottom: 0; }
.ct .checks { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important; }


/* The site's heading styles set a normal weight; the mock-up's headings are bold. */
.ct h1, .ct h2, .ct h3 { font-weight: 700; letter-spacing: normal; }

/* Search box at the top of a multi-select list (as the portal's standard MultiSelect) */
.ct .dp .search { padding: 4px 4px 2px; }
.ct .dp .search input { width: 100%; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.ct .dp .opt[hidden] { display: none; }

/* Select all / Clear row at the top of a multi-select list */
.ct .dp .bulk { display: flex; gap: 8px; align-items: center; padding: 6px 10px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ct .dp .bulk button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--violet); cursor: pointer; }
.ct .dp .bulk button:hover { text-decoration: underline; }

/* ── Kept from v1: PIN screen and the licensee's lead list ─────────────────── */
.ct { --ink-red: #b91c1c; min-height: 100vh; }
.ct [hidden] { display: none !important; }
.ct .lock { display: flex; justify-content: center; align-items: center; min-height: 80vh; padding: 16px; }
.ct .lock .block { width: 100%; max-width: 380px; text-align: center; }
.ct .lock h1 { margin: 0 0 6px; font-size: 22px; font-weight: 700; color: var(--violet-dark); }
.ct .lock .sub { font-size: 14px; color: var(--muted); }
.ct .lock input { width: 100%; margin-top: 18px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 28px; letter-spacing: 0.6em; text-align: center; }
.ct .lock button { width: 100%; margin-top: 12px; padding: 12px; border: 0; border-radius: 10px; background: var(--violet); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.ct .lock .err { color: var(--ink-red); font-size: 13px; margin-top: 10px; }
.ct .app-error { background: #fff7f7; border: 1px solid #fecaca; color: var(--ink-red); border-radius: 12px; padding: 10px 16px; margin-bottom: 18px; font-size: 14px; }
.ct .signout { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.ct .bar .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ct .scroll { overflow-x: auto; }
.ct .lead-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ct .lead-filters button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.ct .lead-filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ct table.leads { width: 100%; border-collapse: collapse; font-size: 14px; }
.ct .leads select, .ct .leads input { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.ct .leads input { width: 100%; min-width: 180px; }
.ct .leads a { color: var(--violet); text-decoration: none; font-weight: 500; }
.ct .sub { font-size: 12px; color: var(--muted); }
.ct .age-late { color: var(--ink-red); font-weight: 600; }
.ct .noteline { font-size: 12px; color: var(--muted); margin-top: 4px; }
.ct .empty { color: var(--muted); font-size: 14px; padding: 8px 0; }

/* ── v3, mock-up of 13 Oct 2026 ─────────────────────────────────────────────── */

/* Six cards, row for row: every row has a set height so all six line up. */
.ct .card6 { display: flex; flex-direction: column; padding: 16px 13px 18px; }
.ct .card6 .st2 { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.ct .card6 .cg { height: 2.6em; line-height: 1.3; margin-bottom: 10px; }
.ct .card6 .st2 .name { height: 2.6em; line-height: 1.3; }
.ct .card6 .hero { height: 38px; display: flex; align-items: flex-end; }
.ct .card6 .hero.none { font-size: 23px; white-space: nowrap; padding: 4px 0 3px; }
.ct .card6 .per2 { height: 2.7em; line-height: 1.35; }
.ct .card6 .cnt2 { white-space: nowrap; font-size: 11px; padding: 2px 7px; letter-spacing: -.01em; margin-bottom: 14px; }
.ct .c-crm .hero { color: #5eead4; }
.ct .card6 .lost { margin-top: 0; width: 100%; }
/* One footer row per card: number on top, grey label under it; red only for a leak. */
.ct .lost .lr { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 0; color: rgba(255,255,255,.65); padding: 3px 0; line-height: 1.3; }
.ct .lost .lr b { font-size: 16px; }
.ct .lost .lr.isleak span, .ct .lost .lr.isleak b { color: var(--red); font-weight: 700; }

/* Tabs a PIN does not include. */
.ct .tabs span.locked { color: #b5b1bf; }
.ct .tabs span.locked::after { content: " \1F512"; font-size: 12px; }
.ct .locknote { background: #f6f6f9; border-radius: 8px; padding: 18px; color: var(--muted); font-size: 14px; }

/* Step summaries and notes. */
.ct .sumhead { margin: 34px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-light); }
.ct .full { font-size: 12px; color: var(--muted); margin-top: 10px; }
.ct .full b { color: var(--violet-dark); }
.ct .counts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; margin: 0 0 12px; }
.ct .counts b { color: var(--violet-dark); }
.ct tr.more { display: none; }
.ct table.showall tr.more { display: table-row; }
.ct .showbtn { margin-top: 10px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--violet); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
/* All leads toolbar: search plus filters, the portal list-toolbar shape in tracker colours. */
.ct .ltools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 10px; }
.ct .lsearch { position: relative; display: flex; align-items: center; flex: 1; min-width: 200px; max-width: 320px; }
.ct .lsearch .ico { position: absolute; left: 10px; font-size: 13px; opacity: .5; pointer-events: none; }
.ct .lsearch input { width: 100%; font: inherit; font-size: 14px; color: var(--ink); padding: 8px 32px; min-height: 36px; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.ct .lsearch input:focus { border-color: var(--violet); box-shadow: 0 0 0 2px rgba(119, 44, 187, .1); }
.ct .lsearch .clr { position: absolute; right: 8px; background: none; border: 0; padding: 4px; font-size: 12px; color: var(--muted); cursor: pointer; }
.ct .ltools select { appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); padding: 8px 34px 8px 12px; min-height: 36px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23772cbb' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; }
.ct .ltools select:hover { border-color: var(--violet); }
.ct .lcount { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.ct th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.ct th.sortable:hover { color: var(--violet); }
@media (max-width: 600px) {
  .ct .lsearch { max-width: none; flex-basis: 100%; }
  .ct .ltools select { flex: 1; min-width: 0; }
}
.ct .out { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #ececf1; color: var(--muted); white-space: nowrap; }
.ct .out.contacted { background: #e8f0fe; color: #1d4ed8; }
.ct .out.cancelled, .ct .out.junk { background: #fdecec; color: #b91c1c; }
.ct .out.booked { background: #dcfce7; color: #166534; }
.ct table.lpt tr.gap td { color: #b91c1c; font-weight: 600; }
.ct table.lpt tr.tot td { border-bottom: 0; }
.ct .muted { color: var(--muted); }

/* Ad by ad, every step. */
.ct .mxwrap { overflow-x: auto; }
.ct table.mx { width: 100%; border-collapse: separate; border-spacing: 6px; margin: 0 -6px; }
.ct table.mx th { background: none; text-align: left; padding: 4px 10px; }
.ct table.mx td { border: 0; vertical-align: top; }
.ct table.mx td.adn { padding: 10px 8px 10px 0; min-width: 170px; }
.ct table.mx td.cell { background: #f6f6f9; border-radius: 10px; padding: 10px 12px; min-width: 120px; }
.ct table.mx .c { font-size: 18px; font-weight: 800; color: var(--violet-dark); }
.ct table.mx .s { font-size: 12px; color: var(--muted); }
.ct table.mx td.best { background: #dcfce7; }
.ct table.mx td.best .c { color: #166534; }
.ct table.mx td.worst { background: #fee2e2; }
.ct table.mx td.worst .c { color: #991b1b; }
.ct table.mx td.none { background: #f6f6f9; opacity: .55; }
.ct table.mx tr.mtot td.cell { background: #ede4f7; }
.ct .mxkey { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.ct .mxkey .k::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; background: #f6f6f9; }
.ct .mxkey .k.best::before { background: #dcfce7; }
.ct .mxkey .k.worst::before { background: #fee2e2; }
.ct .mxkey .k.none::before { opacity: .55; }

/* Landing page: parts that need new tracking. */
.ct .nt { display: inline-block; font-size: 11px; font-weight: 700; color: #6b5310; background: #fff7e0; border: 1px dashed #d9b44a; border-radius: 99px; padding: 2px 9px; }
.ct .nt.small { font-weight: 600; }
.ct .smap { display: grid; gap: 6px; }
.ct .smr { display: grid; grid-template-columns: minmax(150px, 260px) 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.ct .smb { height: 12px; border-radius: 99px; background: repeating-linear-gradient(45deg, #f1eef6, #f1eef6 6px, #e7e2ef 6px, #e7e2ef 12px); }
.ct .smv { font-size: 12px; color: var(--muted); }
/* Filled bars once the page sends section_viewed (15 Oct 2026): a plain track, the share in violet. */
.ct .smb.on { background: #f1eef6; overflow: hidden; }
.ct .smb.on i { display: block; height: 100%; border-radius: 99px; background: var(--violet); }
.ct .smb.on + .smv { min-width: 84px; text-align: right; }
.ct .tbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ct .tb { background: #f6f6f9; border-radius: 10px; padding: 14px; }
.ct .tbv { font-size: 13px; font-weight: 700; color: #6b5310; }
.ct .tbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Leads CRM: the Junk button and its menu. */
.ct .junkb { font-family: inherit; font-size: 12px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.ct .junkb:hover { color: #b91c1c; border-color: #f3b4b4; }
.ct .junkm { position: absolute; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); padding: 10px; width: 230px; }
.ct .junkm .q { font-size: 13px; font-weight: 700; color: var(--violet-dark); }
.ct .junkm .h { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.ct .junkm button { display: block; width: 100%; text-align: left; font-family: inherit; font-size: 13px; background: #f6f6f9; border: 0; border-radius: 6px; padding: 7px 10px; margin-top: 4px; cursor: pointer; color: var(--ink); }
.ct .junkm button:hover { background: #fee2e2; }
@media (max-width: 700px) {
.ct .smr { grid-template-columns: 1fr; gap: 4px; }
 }

/* Compare tab (head office): pick what to compare, then the two sides. */
.ct .cmp-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ct .cmp-modes button { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.ct .cmp-modes button.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.ct .cmp-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ct .cmp-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.ct .cmp-side .k { flex-basis: 100%; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-light); }
.ct .cmp-side select, .ct .cmp-side input { font: inherit; font-size: 14px; color: var(--ink); padding: 8px 10px; min-height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; max-width: 100%; }
.ct .cmp-side select { flex: 1; min-width: 0; appearance: none; font-weight: 600; padding-right: 34px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23772cbb' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; }
.ct .cmp-side select:hover, .ct .cmp-side input:hover { border-color: var(--violet); }
.ct .cmp-to { font-size: 13px; color: var(--muted); }
.ct .cmp-fixed { font-size: 15px; font-weight: 700; color: var(--violet-dark); }
.ct .cmp-go { font: inherit; font-size: 14px; font-weight: 700; padding: 10px 22px; border-radius: 10px; border: 0; background: var(--violet); color: #fff; cursor: pointer; margin-bottom: 18px; }
.ct .cmp-go:disabled { opacity: .6; cursor: default; }
.ct .cmp-heads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 10px; }
.ct .cmp-heads div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--violet-dark); }
.ct .cmp-heads span { font-size: 12px; color: var(--muted); }
.ct table.cmp tr.cmp-grp td { background: #faf7fd; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-light); }
.ct .cmp-up { color: #166534; font-weight: 700; }
.ct .cmp-down { color: var(--ink-red); font-weight: 700; }
.ct .cmp-same { color: var(--muted); }
@media (max-width: 700px) {
  .ct .cmp-pick, .ct .cmp-heads { grid-template-columns: 1fr; }
}

/* Instagram tab (13 Oct 2026): new followers by day, and the "Use in ads" mark. */
.ct .ig-bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; border-bottom: 1px solid var(--line); padding-top: 8px; }
.ct .ig-bars i { flex: 1; background: var(--violet); border-radius: 3px 3px 0 0; min-height: 2px; }
.ct table.lpt td.nw { white-space: nowrap; }
.ct .ig-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.ct .ig-best { display: inline-block; font-size: 11px; font-weight: 700; color: #166534; background: #dcfce7; border-radius: 999px; padding: 2px 8px; margin-left: 6px; }

/* Dashboard split by campaign and by route (15 Oct 2026, Gary's mock-up). Closed by default.
   Rows use the six cards' 11-column grid so each figure sits under its card. */
.ct .sp-btns { display: grid; grid-template-columns: repeat(5, minmax(0,1fr) 92px) minmax(0,1fr); margin-top: 12px; }
.ct .sp-btns > :first-child { grid-column: 1 / 4; }
.ct .sp-btns > :nth-child(2) { grid-column: 5 / 8; }
.ct .sp-btn { font: inherit; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85); border-width: 1px; border-style: solid; border-radius: 99px; padding: 7px 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ct .sp-btn:hover, .ct .sp-btn.on { filter: brightness(1.25); color: #fff; }
.ct .sp-chev { font-style: normal; font-size: 13px; line-height: 1; transition: transform .15s; }
.ct .sp-btn.on .sp-chev { transform: rotate(180deg); }
.ct .sp-panel { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.ct .sp-panel[hidden] { display: none; }
.ct .sp-head { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.ct .sp-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr) 92px) minmax(0,1fr); align-items: stretch; margin-bottom: 10px; position: relative; padding-top: 22px; }
.ct .sp-label { position: absolute; left: 0; top: 0; font-size: 12px; white-space: nowrap; display: flex; gap: 8px; align-items: baseline; }
.ct .sp-label b { color: #fff; }
.ct .sp-label span { color: rgba(255,255,255,.55); }
.ct .sp-cell { border-width: 1px; border-style: solid; border-radius: 10px; padding: 8px 12px; min-width: 0; }
.ct .sp-cell .v { font-size: 18px; font-weight: 800; color: #fff; }
.ct .sp-cell .c { font-size: 12px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct .c-wa { background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.3); }
.ct .sp-pct { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--ok); }
.ct .sp-note { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
@media (max-width: 1100px) {
  .ct .sp-btns, .ct .sp-row { grid-template-columns: 1fr; gap: 6px; }
  .ct .sp-btns > :first-child, .ct .sp-btns > :nth-child(2) { grid-column: auto; }
  .ct .sp-label { position: static; margin-bottom: 4px; }
  .ct .sp-row { padding-top: 0; }
  .ct .sp-pct { justify-content: flex-start; padding-left: 12px; }
}

/* Command centre tab (head office). Gary's approved mock-up of 23 Oct 2026: docs/mockups/command-centre-2026-10-23.html */
.ct .cc-strip .lead small { display: block; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); margin-top: 4px; }
.ct .cc-kpis { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.ct .cc-kpi { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 12px 14px; }
.ct .cc-kpi .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-light); font-weight: 700; }
.ct .cc-kpi .v { font-size: 24px; font-weight: 800; margin-top: 2px; }
.ct .cc-kpi .s { font-size: 12px; color: rgba(255,255,255,.6); }
.ct .cc-kpi .v.ok { color: var(--ok); }
.ct .cc-kpi .v.red { color: var(--red); }
.ct .cc-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.ct .cc-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ct .cc-legend .chg::before { background: #fff3c4; border: 1px solid #e6c14a; }
.ct .cc-legend .ab::before { background: #efe4fa; border: 1px solid var(--violet-light); }
.ct .cc-legend .risk::before { background: #fde2e2; border: 1px solid #f19a9a; }
.ct .cc-legend .meta::before { background: #f3f4f6; border: 1px dashed #b8bcc6; }
.ct .cc-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ct table.cc-grid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 960px; font-size: 14px; }
.ct .cc-grid th, .ct .cc-grid td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; text-transform: none; letter-spacing: 0; color: var(--ink); }
.ct .cc-grid thead th { background: #faf8fd; font-size: 13px; }
.ct .cc-grid thead th .ver { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ct .cc-grid thead th.now { background: var(--violet); color: #fff; }
.ct .cc-grid thead th.now .ver { color: rgba(255,255,255,.75); }
.ct .cc-grid thead th.next { background: #fff; border: 2px dashed var(--violet-light); }
.ct .cc-grid th.lever { width: 210px; position: sticky; left: 0; background: #fff; z-index: 1; font-weight: 600; }
.ct .cc-grid th.lever small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.ct .cc-grid tr.grp th { background: #f4effa; color: var(--violet-dark); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; position: static; }
.ct .cc-grid td.chg { background: #fff8db; box-shadow: inset 3px 0 0 #e6c14a; }
.ct .cc-grid td.ab { background: #f6effd; box-shadow: inset 3px 0 0 var(--violet-light); }
.ct .cc-grid td.risk { background: #fdecec; box-shadow: inset 3px 0 0 var(--red); }
.ct .cc-grid td.meta { color: #8a8f9c; font-style: italic; }
.ct .cc-grid td.same { color: #a3a7b1; }
.ct .cc-grid tr.res th, .ct .cc-grid tr.res td { background: #faf8fd; font-weight: 600; }
.ct .cc-grid tr.res td b { font-size: 16px; }
.ct .cc-grid tr.res td .s { font-weight: 400; color: var(--muted); font-size: 12px; }
.ct .cc-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.ct .cc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ct .cc-list { list-style: none; margin: 0; padding: 0; }
.ct .cc-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ct .cc-list li:last-child { border-bottom: 0; }
.ct .cc-list .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ct .cc-list .ic.ok { background: #dcfce7; color: #166534; }
.ct .cc-list .ic.wait { background: #fef3c7; color: #92400e; }
.ct .cc-list .ic.bad { background: #fee2e2; color: #991b1b; }
.ct .cc-list .ic.fix { background: #e0e7ff; color: #3730a3; }
.ct .cc-list .t { font-weight: 600; }
.ct .cc-list .d { font-size: 13px; color: var(--muted); }
.ct .cc-list .w { font-size: 12px; color: var(--muted); white-space: nowrap; }
.ct .cc-days { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.ct .cc-days span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #f1f2f5; color: var(--muted); cursor: pointer; }
.ct .cc-days span.on { background: var(--violet); color: #fff; }
.ct .cc-days span.done { background: #ede4f8; color: var(--violet-dark); }
.ct .cc-week { border-left: 3px solid var(--line); padding: 2px 0 14px 16px; margin-left: 4px; }
.ct .cc-week.now { border-color: var(--violet); }
.ct .cc-week h3 { margin: 0 0 4px; font-size: 15px; }
.ct .cc-week .d { font-size: 13px; color: var(--muted); }
.ct .cc-week .rule { margin-top: 8px; font-size: 13px; background: #faf8fd; border-radius: 8px; padding: 8px 10px; }
@media (max-width: 1100px) { .ct .cc-kpis { grid-template-columns: repeat(3, minmax(0,1fr)); } .ct .cc-two { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .ct .cc-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Dashboard journeys: one row per route (Gary's approved mock-up of 23 Oct 2026, docs/mockups/dashboard-journeys-2026-10-23.html) */
.ct .rt-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; }
.ct .rt-head h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-light); }
.ct .rt-head span { font-size: 13px; color: rgba(255,255,255,.7); }
.ct .rt-head span b { color: #fff; }
.ct .rt + .rt { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.ct .link.n { color: rgba(255,255,255,.75); }
.ct .link.n b { background: rgba(255,255,255,.16); color: #fff; min-width: 56px; text-align: center; }
.ct .card6 .hero.win { color: #4ade80; }
.ct .card6 .hero.lose { color: #f87171; }
/* Two decimals must fit a narrow card on a laptop (1280px): the cost shrinks with the screen instead of spilling. */
.ct .rt .card6 .hero { font-size: clamp(20px, 2.1vw, 34px); white-space: nowrap; }
.ct .rt .card6 .hero.none { font-size: clamp(17px, 1.6vw, 23px); }
@media (max-width: 1100px) { .ct .rt .card6 .hero { font-size: 30px; } .ct .rt .card6 .hero.none { font-size: 23px; } }
/* Seven tabs are wider than a phone: they scroll sideways instead of widening the page. */
@media (max-width: 700px) { .ct .tabs { overflow-x: auto; white-space: nowrap; scrollbar-width: none; } .ct .tabs span { flex: none; } }

/* Header (Gary's mock-up of 23 Oct 2026, docs/mockups/tracker-header-2026-10-23.html): fixed name, who and sign out
   on the right; the tabs with the tab's own narrow filters on their right (under them on smaller screens). */
.ct .bar { padding-top: 14px; }
.ct .bar .top { align-items: baseline; }
.ct .bar h1 { font-size: 20px; }
.ct .bar .who { font-size: 13px; color: var(--muted); }
.ct .tabrow { display: flex; justify-content: space-between; align-items: center; gap: 6px 16px; flex-wrap: wrap; }
.ct .tabrow .tabs { margin-top: 8px; }
.ct .tabrow .tabs span { padding: 10px 0; }
.ct .bar .filters { background: none; box-shadow: none; padding: 0; margin: 6px 0 4px; border-radius: 0; gap: 8px 14px; align-items: center; }
.ct .bar .filters[hidden] { display: none; }
.ct .bar .filters .dd { flex-direction: row; align-items: center; gap: 8px; }
.ct .bar .filters .dl { font-size: 11px; }
.ct .bar .filters .db { min-width: 0; font-size: 13px; padding: 5px 10px; gap: 8px; border-radius: 8px; }
.ct .bar .filters .dv { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct .bar .filters input[type="date"] { min-width: 0; height: 32px; font-size: 13px; }
.ct .bar .filters .fnote { margin-left: 4px; padding-bottom: 0; font-size: 12px; }
.ct .bar + .ct-main { padding-top: 18px; }

/* Levers over the dashboard's columns (Gary, 23 Oct 2026): the ad (steps 1-2), first contact (3-4), the close (5-6), on the cards' own grid */
.ct .levers { display: grid; grid-template-columns: repeat(5, minmax(0,1fr) 92px) minmax(0,1fr); margin: 0 0 12px; }
.ct .levers span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 6px; text-align: center; }
.ct .levers span:nth-child(1) { grid-column: 1 / 4; }
.ct .levers span:nth-child(2) { grid-column: 5 / 8; }
.ct .levers span:nth-child(3) { grid-column: 9 / 12; }
@media (max-width: 1100px) { .ct .levers { display: none; } }

/* Refresh beside "Updated" (Gary, 23 Oct 2026): reloads the figures without reloading the page */
.ct .bar .filters .refresh { font: inherit; font-size: 12px; font-weight: 600; color: var(--violet); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.ct .bar .filters .refresh:hover { border-color: var(--violet); }
