
:root{color-scheme:light dark;--bg:#f6f6f3;--side:#efefeb;--card:#fff;--sunk:#f3f3f0;--ink:#17181a;--ink2:#44464b;--muted:#63656b;--line:#e2e1dc;--line2:#cfcec8;--field:#8a8984;--accent:#1f5fd1;--accent-soft:#e6eefc;--on-accent:#fff;--news:#a8480d;--news-soft:#fde9dc;--ok:#006300;--ok-soft:#e3f4e3;--warn:#8a5300;--warn-soft:#fdf1d8;--bad:#b42318;--bad-soft:#fde8e6;--s1:#2a78d6;--s2:#eb6834;--s3:#138a60;--s4:#b07800;--s5:#c9507e;--s6:#008300;--s7:#6250d6;--s8:#e0284f;--s9:#0e7c86;--s10:#8c5a3c;--s0:#7f7e77;--shade:rgb(0 0 0/.14);--edge:rgb(0 0 0/.28);--well:#8a8984;--sheet:#fff;--sheet-shade:rgb(0 0 0/.12)}
@media (prefers-color-scheme:dark){:root{--bg:#131312;--side:#0e0e0d;--card:#1a1a19;--sunk:#222220;--ink:#f0efec;--ink2:#c3c2b7;--muted:#a09f97;--line:#343431;--line2:#45453f;--field:#74736c;--accent:#76a8ff;--accent-soft:#1a2a45;--on-accent:#0b1220;--news:#f08a4b;--news-soft:#3a1f10;--ok:#4cc38a;--ok-soft:#12301f;--warn:#f2b33d;--warn-soft:#33280d;--bad:#ff8a80;--bad-soft:#3a1614;--s1:#3987e5;--s2:#d95926;--s3:#199e70;--s4:#c98500;--s5:#d264c8;--s6:#7fc94a;--s7:#9085e9;--s8:#e5506a;--s9:#3fb8c4;--s10:#c08a68;--s0:#6f6e68;--shade:rgb(0 0 0/.6);--edge:rgb(255 255 255/.22);--well:#74736c;--sheet:#222220;--sheet-shade:transparent}}
@supports (color:light-dark(#000,#fff)){:root{--bg:light-dark(#f6f6f3,#131312);--side:light-dark(#efefeb,#0e0e0d);--card:light-dark(#fff,#1a1a19);--sunk:light-dark(#f3f3f0,#222220);--ink:light-dark(#17181a,#f0efec);--ink2:light-dark(#44464b,#c3c2b7);--muted:light-dark(#63656b,#a09f97);--line:light-dark(#e2e1dc,#343431);--line2:light-dark(#cfcec8,#45453f);--field:light-dark(#8a8984,#74736c);--accent:light-dark(#1f5fd1,#76a8ff);--accent-soft:light-dark(#e6eefc,#1a2a45);--on-accent:light-dark(#fff,#0b1220);--news:light-dark(#a8480d,#f08a4b);--news-soft:light-dark(#fde9dc,#3a1f10);--ok:light-dark(#006300,#4cc38a);--ok-soft:light-dark(#e3f4e3,#12301f);--warn:light-dark(#8a5300,#f2b33d);--warn-soft:light-dark(#fdf1d8,#33280d);--bad:light-dark(#b42318,#ff8a80);--bad-soft:light-dark(#fde8e6,#3a1614);--s1:light-dark(#2a78d6,#3987e5);--s2:light-dark(#eb6834,#d95926);--s3:light-dark(#138a60,#199e70);--s4:light-dark(#b07800,#c98500);--s5:light-dark(#c9507e,#d264c8);--s6:light-dark(#008300,#7fc94a);--s7:light-dark(#6250d6,#9085e9);--s8:light-dark(#e0284f,#e5506a);--s9:light-dark(#0e7c86,#3fb8c4);--s10:light-dark(#8c5a3c,#c08a68);--s0:light-dark(#7f7e77,#6f6e68);--shade:light-dark(rgb(0 0 0/.14),rgb(0 0 0/.6));--edge:light-dark(rgb(0 0 0/.28),rgb(255 255 255/.22));--well:light-dark(#8a8984,#74736c);--sheet:light-dark(#fff,#222220);--sheet-shade:light-dark(rgb(0 0 0/.12),transparent)}}
:root{--r:6px;--R:10px;
/* Type sizes in rem: they follow a larger default text size set in the browser; at the usual 16px they are 12, 13, 14, 15, 20 and 26px. */
--fs-xs:.75rem;--fs-sm:.8125rem;--fs-md:.875rem;--fs-h2:.9375rem;--fs-h1:1.25rem;--fs-kpi:1.625rem;
--sp1:4px;--sp2:8px;--sp3:12px;--sp4:16px;--sp5:24px;--sp6:32px;--sp7:48px;--card-x:16px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:var(--fs-md)/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-variant-numeric:tabular-nums}
a{color:var(--accent);text-underline-offset:2px}
/* A text link thickens its underline under the pointer. */
a:not(.btn):hover{text-decoration-thickness:2px}
h1,h2,h3,h4,p{margin:0}
h1{font-size:var(--fs-h1);line-height:1.25;letter-spacing:-.01em;font-weight:600}
h2{font-size:var(--fs-h2);font-weight:600}
h3{font-size:var(--fs-sm);font-weight:600}
/* One bold weight across the dashboard: bold words are no heavier than the headings. */
strong,b{font-weight:600}
/* No heading or paragraph ends on one stranded word, in browsers that can avoid it. */
h1,h2,h3{text-wrap:balance}
p,li,.notice{text-wrap:pretty}
/* Running text in a card or form stops at a readable line length; tables, rows and boxes keep the full width. */
.card>p,.card>.stack>p,form.stack>p,.head p,.tl>li>.stack>p{max-width:80ch}
h4{font-size:var(--fs-sm);font-weight:600;color:var(--ink2)}
code{font:var(--fs-xs) ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--sunk);border:1px solid var(--line);border-radius:4px;padding:1px 5px;overflow-wrap:anywhere}
code.nw{white-space:nowrap}
code.pick{display:inline-block;font-size:var(--fs-md);padding:var(--sp2) var(--sp3);user-select:all;-webkit-user-select:all}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* Text links get a rounded ring; buttons, fields and links with their own corners (the nav) keep them. */
:where(a:not(.btn)):focus-visible{border-radius:4px}
.muted{color:var(--muted)}.small{font-size:var(--fs-sm)}.tiny{font-size:var(--fs-xs)}.num{font-variant-numeric:tabular-nums}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* The first stop for a keyboard: off-screen until it has focus. */
.skip{position:absolute;left:var(--sp2);top:-60px;z-index:100;padding:var(--sp2) var(--sp3);background:var(--card);color:var(--ink);border:1px solid var(--line2);border-radius:var(--r);box-shadow:0 4px 16px var(--shade)}
.skip:focus{top:var(--sp2)}
#main:focus{outline:none}

/* Shell: sidebar, top bar, content */
/* Written top bar, sidebar, page (the reading order); on a computer the sidebar takes the left
   column down both rows. */
.app{display:grid;grid-template-columns:228px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100vh}
.side{grid-column:1;grid-row:1/3;background:var(--side);border-right:1px solid var(--line);padding:var(--sp3) var(--sp2);display:flex;flex-direction:column;gap:var(--sp3);position:sticky;top:0;height:100vh;overflow-y:auto}
.brand{display:flex;align-items:center;gap:var(--sp2);padding:var(--sp1) var(--sp2);font-weight:700;font-size:1rem;letter-spacing:-.01em;color:var(--ink);text-decoration:none}
.brand svg{color:var(--on-accent);background:var(--accent);border-radius:5px;padding:2px;box-sizing:border-box;stroke-width:2.4}
.nav{display:flex;flex-direction:column;gap:1px}
.nav .cap{font-size:var(--fs-xs);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);padding:var(--sp3) var(--sp2) var(--sp1)}
.nav a{display:flex;align-items:center;gap:var(--sp2);padding:var(--sp2);border-radius:var(--r);color:var(--ink2);text-decoration:none;min-height:34px}
.nav a:hover{background:var(--sunk);color:var(--ink)}
.nav a:active{background:var(--line)}
.nav a[aria-current]{background:var(--card);color:var(--ink);font-weight:600;box-shadow:inset 0 0 0 1px var(--line)}
.nav a svg{flex:none;color:var(--muted)}
.nav a[aria-current] svg{color:var(--accent)}
.nav a.newsy[aria-current] svg{color:var(--news)}
.nav .count{margin-left:auto;font-size:var(--fs-xs);font-weight:700;background:var(--warn-soft);color:var(--warn);border-radius:999px;padding:1px var(--sp2)}
/* Broken accounts: a filled badge, so it differs from the amber "waiting" count by more than hue. */
.nav .count.bad{background:var(--bad);color:var(--card)}
.side .foot{margin-top:auto;padding:var(--sp2);display:flex;flex-direction:column;gap:var(--sp2)}
/* The top bar's edges line up with the page column below it, also once that column is centred. */
.top{grid-column:2;grid-row:1;min-width:0;display:flex;align-items:center;gap:var(--sp3);justify-content:space-between;padding:var(--sp2) max(var(--sp5),calc((100% - 1240px)/2 + var(--sp5)));border-bottom:1px solid var(--line);background:var(--card);flex-wrap:wrap}
/* A long workspace name gives way (cut short with an ellipsis) instead of pushing the bar wider. */
.top .ws{display:flex;align-items:center;gap:var(--sp2);font-weight:600;min-width:min(12em,100%);flex:1 1 0}
.top .ws>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top .ws form{display:flex;flex-wrap:nowrap;min-width:0;max-width:100%}
.top .ws select{flex:0 1 auto;min-width:0;max-width:28em;text-overflow:ellipsis}
.top .ws button{flex:none}
.top .who{display:flex;align-items:center;gap:var(--sp3);flex-wrap:wrap}
/* Centred once the screen is wider than the sidebar plus 1240px (about 1468px). */
.page{grid-column:2;grid-row:2;min-width:0;padding:var(--sp5) var(--sp5) var(--sp7);max-width:1240px;width:100%;margin-inline:auto;display:flex;flex-direction:column;gap:var(--sp4)}
.head{display:flex;gap:var(--sp3) var(--sp4);align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
.head p{margin-top:2px}
/* The page's own answer in its intro (Ads: the amount spent) in the normal text colour, the rest muted. */
.head p strong{color:var(--ink)}
/* When the page was drawn, under the title: only on a phone, where the foot saying it is at the very end. */
.head p.asof{display:none}
/* "On this page" links under a long page's heading. */
.jump{display:flex;flex-wrap:wrap;gap:var(--sp1) var(--sp3);align-items:baseline}
/* The sidebar's foot, repeated at the end of the page for phones. */
.pfoot{display:none}
/* A computer screen too short for the whole sidebar: the captions go, so every link still shows. */
@media (min-width:901px) and (max-height:620px){.nav .cap{display:none}.side{gap:var(--sp2);padding-block:var(--sp2)}.side .foot{padding-block:0;gap:2px}}

/* Pieces */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--R);padding:var(--sp4) var(--card-x);display:flex;flex-direction:column;gap:var(--sp3);min-width:0}
.card>.row:first-child{min-height:34px}
.row{display:flex;gap:var(--sp2) var(--sp3);align-items:center;justify-content:space-between;flex-wrap:wrap}
.row.start{justify-content:flex-start}
.stack{display:flex;flex-direction:column;gap:var(--sp3);min-width:0}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp4)}
.grid2.wide{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
/* Cards side by side that keep their own height (Posting: Platforms and Pauses). */
.grid2.align-start{align-items:start}
/* Posting's queue and finished posts: one column until each card has room for a post's header. */
@media (max-width:1100px){.grid2.late{grid-template-columns:minmax(0,1fr)}}
/* A card in two columns measures its own width, so a list in it can stack (below) when it is narrow. */
.grid2>.card{container-type:inline-size}
/* Overview has six tiles: 3+3 on laptops, one row of 6 on wide screens, 2+2+2 on phones. */
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp4)}
.tile{background:var(--card);border:1px solid var(--line);border-radius:var(--R);padding:var(--sp3) var(--sp4);display:flex;flex-direction:column;gap:var(--sp1);min-width:0;container-type:inline-size}
.tile .label{font-size:var(--fs-xs);color:var(--muted)}
/* 26px where the tile has room; narrower tiles (phones, six in a row) step down, to 16px at the
   least, so a figure like CA$9,999.99 stays on one line (from 10,000 the Spend tile drops the
   cents). Breaking inside the number is only the last resort. */
.tile .value{font-size:var(--fs-kpi);font-size:clamp(16px,15cqi,var(--fs-kpi));line-height:1.15;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tile .sub{display:flex;align-items:center;justify-content:space-between;gap:var(--sp2);min-height:28px}
.delta{flex:1 1 0;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;color:var(--muted)}
.delta.good{color:var(--ok)}.delta.poor{color:var(--bad)}
/* The figure never breaks; the word "better" or "worse" may go to a second line, so the change
   never runs under the sparkline on a narrow tile. */
.delta .fig{white-space:nowrap}
/* Every sparkline in a row is the same size: 92px, smaller on narrow tiles, none on the narrowest. */
.spark{flex:none;width:92px;height:auto;color:var(--muted)}
@container (max-width:200px){.spark{width:56px}}
@container (max-width:124px){.spark{width:40px}}
@container (max-width:100px){.spark{display:none}}
.spark .dot{fill:var(--accent)}
/* Today, still filling up: a dashed line into a hollow dot, by shape rather than by fading. */
.spark polyline.partial{stroke-dasharray:2 3}.spark .dot.partial{fill:var(--card);stroke:var(--accent);stroke-width:1.5}

.pill{display:inline-flex;align-items:center;gap:var(--sp1);padding:1px var(--sp2);border-radius:999px;font-size:var(--fs-xs);font-weight:600;line-height:1.6;white-space:nowrap;border:1px solid var(--line);color:var(--ink2);background:var(--card)}
.pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.9}
.pill.ok{color:var(--ok);background:var(--ok-soft);border-color:transparent}
.pill.warn{color:var(--warn);background:var(--warn-soft);border-color:transparent}
.pill.bad{color:var(--bad);background:var(--bad-soft);border-color:transparent}
.pill.info{color:var(--accent);background:var(--accent-soft);border-color:transparent}
.pill.news{color:var(--news);background:var(--news-soft);border-color:transparent}
.pill.quiet{color:var(--muted);background:none;border-color:transparent;padding-inline:0;font-weight:500}
.pill.quiet::before{background:var(--ok);opacity:1}
/* The top bar's posting chip is a link to the Pauses card. */
a.pill{text-decoration:none}
a.pill:hover{text-decoration:underline}

button,.btn{font:inherit;cursor:pointer;border-radius:var(--r);border:1px solid var(--line2);background:var(--card);color:var(--ink);padding:6px var(--sp3);text-decoration:none;display:inline-flex;align-items:center;gap:var(--sp2);min-height:34px;line-height:1.3}
button:hover,.btn:hover{background:var(--sunk)}
button.primary,.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}
button.primary:hover,.btn.primary:hover{filter:brightness(1.08);background:var(--accent)}
/* Pressed looks different from hovered. */
button:active,.btn:active{background:var(--line)}
button.primary:active,.btn.primary:active{background:var(--accent);filter:brightness(.92)}
button.link:active{background:none;opacity:.7}
button:disabled{opacity:.55;cursor:not-allowed}
button.danger{color:var(--bad);border-color:var(--bad)}
button.link{border:0;background:none;color:var(--accent);padding:0 2px;min-height:28px}
button.link:hover{text-decoration:underline;background:none}
button.link.danger{color:var(--bad)}
input,select,textarea{font:inherit;padding:6px var(--sp3);border-radius:var(--r);border:1px solid var(--field);background:var(--card);color:var(--ink);min-height:34px;max-width:100%}
/* Fields are the same height as the buttons beside them. */
input,select{line-height:1.3}
::placeholder{color:var(--muted);opacity:1}
/* A field a refusal was about: a red edge that stays after the cursor leaves it. */
:is(input,select,textarea)[aria-invalid=true]{border-color:var(--bad);box-shadow:inset 0 0 0 1px var(--bad)}
input[type=checkbox]{min-height:0;width:16px;height:16px;accent-color:var(--accent)}
input[type=file]{padding:2px;border-style:dashed;max-width:min(440px,100%);font-size:var(--fs-md)}
input[type=file]::file-selector-button{font:inherit;cursor:pointer;margin-right:var(--sp3);border-radius:var(--r);border:1px solid var(--line2);background:var(--card);color:var(--ink);padding:4px var(--sp3)}
input[type=file]::file-selector-button:hover{background:var(--sunk)}
label{color:var(--ink2)}
/* A tick box lines up with the fields above it; the gap spaces its words. */
label.check{display:inline-flex;align-items:center;gap:var(--sp2)}
label.check input{margin:0}
form.inline{display:inline-flex;gap:var(--sp2);align-items:center;flex-wrap:wrap}
/* A field with its label above it: the buttons line up with the field, not the label. */
form.inline.ends{align-items:flex-end}
/* Its own rule: a browser without :has() drops the whole rule, and must keep the one above. */
.row:has(>form.ends){align-items:flex-end}
.w-s{width:120px}.w-m{width:220px}.w-l{width:300px}
/* Ids and keys are long: wide enough to check what was pasted, never wider than the card. */
.w-xl{width:min(100%,460px)}
/* A refusal repeated under the form it is about. */
.why{color:var(--bad);font-size:var(--fs-sm);font-weight:600;margin:0}
/* "Connect an ad account" and the key folds: a button that opens in place, with an arrow that turns. */
details.connect>summary,details.keyc>summary{list-style:none;width:auto}
details.connect>summary::-webkit-details-marker,details.keyc>summary::-webkit-details-marker{display:none}
details.connect>summary::after,details.keyc>summary::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-3px 2px 0 var(--sp1);flex:none}
details.connect[open]>summary::after,details.keyc[open]>summary::after{transform:rotate(-135deg);margin-top:3px}
details.connect[open]>summary{margin-bottom:var(--sp3)}
details.keyc[open]>summary{background:var(--sunk);font-weight:600}
/* An open key fold takes the whole line under the row of closed ones, with its own edge. */
.keys{align-items:flex-start}
details.keyc[open]{flex-basis:100%;border:1px solid var(--line2);border-radius:var(--r);padding:var(--sp3)}
details.keyc>form{margin-top:var(--sp3)}
.keyform{gap:var(--sp2)}
/* On a phone a labelled field fills the card, and its button goes under it. */
@media (max-width:600px){.row>.field{flex:1 1 100%}.field>.w-l{width:100%}.row.fit>.field{max-width:none}}
/* A label above its field; in a .row.end-align the button lines up with the fields. */
.field{display:flex;flex-direction:column;gap:var(--sp1);min-width:0;max-width:100%}
.row.end-align{align-items:flex-end}

.seg{display:inline-flex;border:1px solid var(--field);border-radius:var(--r);overflow:hidden;background:var(--card)}
.seg a{padding:var(--sp1) var(--sp3);font-size:var(--fs-sm);color:var(--ink2);text-decoration:none;border-left:1px solid var(--line2);min-height:32px;display:inline-flex;align-items:center}
.seg a:first-child{border-left:0}
.seg{max-width:100%;overflow-x:auto}
.seg a{white-space:nowrap}
/* On a phone the switcher fills its line and the choices share it, so the last one ("This month")
   is never cut off; a short choice ("All") is still 40px wide. */
@media (max-width:480px){.seg{display:flex;width:100%}.seg a{flex:1 1 auto;justify-content:center;padding-inline:var(--sp1);min-width:40px}}
@media (max-width:359px){.seg a{font-size:var(--fs-xs);padding-inline:2px}}
/* Drawn inside the segment, so the switcher's overflow:hidden does not cut it off. */
.seg a:focus-visible{outline-offset:-3px}
.seg a:hover{background:var(--sunk)}
.seg a:active{background:var(--line)}
.seg a[aria-current]{background:var(--accent-soft);color:var(--accent);font-weight:600;box-shadow:inset 0 -2px 0 var(--accent)}

/* A table wider than its card scrolls sideways (position:relative holds the hidden screen-reader
   words inside it, so they cannot widen the page). The shadows say so: each edge shows one only while
   there is more to see on that side (the card-coloured covers scroll with the content). */
.scroll{position:relative;container-type:inline-size;overflow-x:auto;margin:0 calc(-1*var(--card-x));padding:0 var(--card-x);
background:linear-gradient(to right,var(--card) 30%,transparent),linear-gradient(to left,var(--card) 30%,transparent) 100% 0,radial-gradient(farthest-side at 0 50%,var(--edge),transparent),radial-gradient(farthest-side at 100% 50%,var(--edge),transparent) 100% 0;
background-repeat:no-repeat;background-size:32px 100%,32px 100%,16px 100%,16px 100%;background-attachment:local,local,scroll,scroll}
/* The naming column keeps room for a name, so it does not wrap into a tall stack of words; with large
   text on a phone that room stays a share of the screen, so the figures beside a pinned name still show. */
.scroll td:first-child,.scroll th:first-child{min-width:min(9em,38vw);overflow-wrap:anywhere}
form.inline select{min-width:0}
table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
th,td{text-align:left;padding:var(--sp2) var(--sp3) var(--sp2) 0;border-bottom:1px solid var(--line);vertical-align:top}
th:last-child,td:last-child{padding-right:0}
thead th,tr.rehead>th{font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600;white-space:nowrap;vertical-align:bottom}
/* A long table's heading, repeated every ten rows. */
tr.rehead>th{background:var(--sunk)}
tbody tr:last-child>*{border-bottom:0}
/* A cell that names its row is a header for screen readers, and looks like any other cell. */
tbody th{font-weight:inherit}
tfoot :is(th,td){border-bottom:0;border-top:1px solid var(--line2);font-weight:600}
td strong{font-weight:600}
td.r,th.r{text-align:right;font-variant-numeric:tabular-nums}
/* A money amount ("CA$15.00 a day") stays on one line. */
td.nw{white-space:nowrap}
/* A left-aligned column after a figure gets a little room, so the two do not touch. */
td.r+td:not(.r),th.r+th:not(.r){padding-left:var(--sp3)}
td.act{text-align:right;white-space:nowrap}
/* Two controls in a row's action cell keep a clear gap, so an instant one is not pressed for its neighbour. */
/* The sheet a button opens is written in the cell too, but it centres itself: the gap is for the buttons only. */
td.act>*+*:not([popover]){margin-left:var(--sp2)}
/* A row's buttons are taller than its text; they overlap the cell's padding so their words sit on the row's first line. */
td.act :is(button.link,.cs>summary.link){margin-block:-6px}
td.act .btn{margin-block:-6px}
/* A pill in a cell sits on the cell's first text line, not below it. */
td>.pill{vertical-align:top}
.day{white-space:nowrap}
.day .pill{margin-left:var(--sp2);line-height:17px;vertical-align:top}
/* Every day's date takes the same room, so the Over alert marks line up. */
.day time:has(+.pill){display:inline-block;min-width:3.6em}
/* See-through, so the scroller's edge shadow still shows under an over-alert row. */
/* Only the day and its Total are tinted, so a month of marked days does not turn into one amber block. */
/* The plain colour comes first and the mix only where color-mix() works: a colour written with var()
   is checked late, so a browser without color-mix() would otherwise drop both and show no tint. */
tr.over>.day,tr.over>.tot{background:var(--warn-soft)}
/* The band runs a little past the date at the start. */
tr.over>.day{box-shadow:calc(-1*var(--sp2)) 0 0 var(--warn-soft)}
@supports (color:color-mix(in srgb,#000 10%,#fff)){
tr.over>.day,tr.over>.tot{background:color-mix(in srgb,var(--warn) 14%,transparent)}
tr.over>.day{box-shadow:calc(-1*var(--sp2)) 0 0 color-mix(in srgb,var(--warn) 14%,transparent)}}
/* On the tinted row the pill keeps its shape. */
tr.over .pill.warn{background:var(--card);border-color:var(--warn)}
td.act .sub2{white-space:normal;overflow-wrap:normal;min-width:12em;max-width:18em;margin-left:auto;text-align:left}
.sub2{color:var(--muted);font-size:var(--fs-sm);overflow-wrap:anywhere}
form+.sub2{margin-top:var(--sp1)}
/* Settings' Workspace rows: a label lines up with the text in the field beside it. */
@media (min-width:601px){table.kv :is(th,td){vertical-align:baseline}}
.plat{display:inline-flex;align-items:flex-start;gap:var(--sp2);font-weight:500}
/* A mark sits beside the first line of its name, also when the name wraps: centred on one line's height. */
.plat>.lg{margin-top:3px;margin-top:calc((1lh - 14px)/2)}
.plat>.sw{margin-top:5px;margin-top:calc((1lh - 10px)/2)}
strong>.plat{font-weight:inherit}
/* In a heading the name is part of the sentence: same weight, wraps like the words around it, and a mark sized to the text. */
h1 .plat{display:inline;font-weight:inherit}
h1 .plat>.lg{width:.8em;height:.8em;margin:0 .3em 0 0;vertical-align:-.04em}
/* In a grey line under a name, the platform reads as part of the sentence, on its baseline. */
.sub2 .plat{display:inline;font-weight:inherit}
.sub2 .plat .lg{margin:0 var(--sp1) 0 0}
.sw{width:10px;height:10px;border-radius:3px;flex:none;background:var(--s0)}
.sw.c1{background:var(--s1)}.sw.c2{background:var(--s2)}.sw.c3{background:var(--s3)}.sw.c4{background:var(--s4)}.sw.c5{background:var(--s5)}.sw.c6{background:var(--s6)}.sw.c7{background:var(--s7)}.sw.c8{background:var(--s8)}.sw.c9{background:var(--s9)}.sw.c10{background:var(--s10)}

.notice{border:1px solid var(--line);border-left:3px solid var(--warn);padding:var(--sp2) var(--sp3);background:var(--card);border-radius:var(--r);min-width:0;overflow-wrap:anywhere}
.notice.bad{border-left-color:var(--bad);background:var(--bad-soft)}.notice.ok{border-left-color:var(--ok)}.notice.info{border-left-color:var(--accent)}
.needs{border-color:var(--warn);border-left-width:3px}
/* The thicker left edge does not push the text in: it keeps the shared edge of every other card. */
.card.needs{padding-left:calc(var(--card-x) - 2px)}
.needs ul,.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.needs>ul>li,.list li{display:flex;gap:var(--sp2) var(--sp4);align-items:flex-start;justify-content:space-between;padding:var(--sp3) 0;border-top:1px solid var(--line);flex-wrap:wrap}
.needs>ul>li:first-child,.list li:first-child{border-top:0;padding-top:var(--sp1)}
.needs>ul>li>div:first-child,.list li>div:first-child{flex:1 1 320px;min-width:0;overflow-wrap:anywhere}
/* The days inside a Needs you item: compact rows, each Dismiss right after its day. */
.needs details li{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp1) var(--sp3);padding:var(--sp1) 0}
.empty{color:var(--muted);padding:var(--sp2) 0}
.list strong{font-weight:600}
span.nw{white-space:nowrap}
/* Draft rows: the status pill stays on the right of the title at every width. */
.list.drafts li{flex-wrap:nowrap}
.list.drafts li>div:first-child{flex:1 1 auto}
.list.drafts li>div+div{flex:none}
/* Rows whose second cell is an action (Revoke): it stays beside the name, on the name's line. */
.list.acts li{flex-wrap:nowrap;align-items:baseline}
.list.acts li>div:first-child{flex:1 1 10em}
/* Forms whose fields share a line with their button: the fields give way so the button never sits alone. */
.row.fit>.field{flex:1 1 200px;max-width:300px}
.row.fit>.field>input{width:100%}
/* The part a link or a form led to (#conn-…, #pauses, #days): one neutral outline everywhere, never a
   status colour (amber is a warning, blue is keyboard focus), drawn inside a row so a scroller never cuts it. */
:is(section,article.post,.media>li,form,tr,.legal h2):target{outline:2px solid var(--ink2);outline-offset:2px}
tr:target{outline-offset:-2px}
:is(form,.legal h2):target{outline-offset:4px;border-radius:var(--r)}
/* A little room above it, so the outline and the heading are not flush with the edge. */
:target{scroll-margin-top:var(--sp4)}
/* The notice that says what the form did stays in view at the top while the page opens further down,
   and the part it led to lands below it. */
.page:has(:target)>.notice:first-child{position:sticky;top:var(--sp2);z-index:2;box-shadow:0 0 0 var(--sp2) var(--bg)}
.page:has(>.notice:first-child) :target{scroll-margin-top:calc(var(--notice-h,3.5rem) + var(--sp6))}
/* "Older" keeps one place, at the end of the pager row, while "Newer" and "Back to newest" come and go. */
nav.row a[rel=next]{margin-left:auto}
/* The intro gives way before the period or filter switch does, so the switch stays top right. */
.head>div:first-child{flex:1 1 320px;min-width:0}
.head>.seg{flex:none}

/* Charts (inline SVG drawn on the server) */
/* Two drawings of the spend chart; the card's width picks one (see the @container rules at the end). */
.charts{container-type:inline-size}
.chart{display:block;width:100%;height:auto;max-height:260px}
.chart text{fill:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.chart-sm{max-width:380px}
.chart-sm text{font-size:12px}
.chart .grid{stroke:var(--line);stroke-width:1}
.chart .axis{stroke:var(--line2);stroke-width:1}
.f0{fill:var(--s0)}.f1{fill:var(--s1)}.f2{fill:var(--s2)}.f3{fill:var(--s3)}.f4{fill:var(--s4)}.f5{fill:var(--s5)}.f6{fill:var(--s6)}.f7{fill:var(--s7)}.f8{fill:var(--s8)}.f9{fill:var(--s9)}.f10{fill:var(--s10)}
.chart rect,.chart path{stroke:var(--card);stroke-width:1}
.chart .partial{fill-opacity:.45}
.chart .hit{fill:transparent;stroke:none}.chart .hit:hover{fill:var(--ink);fill-opacity:.06}
/* The daily alert: a dashed ink line on a card-coloured halo, named in the key. */
.chart .limit{stroke:var(--ink);stroke-width:1.5;stroke-dasharray:4 3}
.chart .limit-halo{stroke:var(--card);stroke-width:4}
.legend{display:flex;flex-wrap:wrap;gap:var(--sp2) var(--sp4);font-size:var(--fs-xs);color:var(--ink2)}
.legend span{display:inline-flex;align-items:center;gap:var(--sp2)}
.sw.lim{width:16px;height:0;border-radius:0;background:none;border-top:2px dashed var(--ink)}
.meter{display:block;width:100%;height:10px;border-radius:5px;overflow:hidden}
/* The Today strip: heading on the left, the meter filling the rest of the line. */
.today-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp3) var(--sp5)}
.today-head{display:flex;flex-direction:column;gap:var(--sp1)}
.today-meter{flex:1 1 280px;display:flex;flex-direction:column;gap:var(--sp2);min-width:0}
.today-row>p{flex:1 1 280px}
.meter .track{fill:var(--line2);fill-opacity:1}@supports (color:color-mix(in srgb,#000 10%,#fff)){.meter .track{fill:color-mix(in srgb,var(--ink) 18%,var(--card))}}.meter .fill{fill:var(--accent)}
.today .num{font-size:var(--fs-kpi);font-weight:600;line-height:1.15;letter-spacing:-.025em}
/* Over the alert: the bar is the day's spend, blue up to the alert and amber past it. */
.meter.over .track{fill:var(--warn)}
/* Where the alert amount falls, a gap in the card's colour: the two fills are close in lightness. */
.meter .cut{fill:var(--card)}

/* Timeline and before/after */
.tl{list-style:none;margin:0;padding:0}
.tl>li{display:grid;grid-template-columns:132px minmax(0,1fr) auto;gap:var(--sp1) var(--sp4);padding:var(--sp3) 0;border-top:1px solid var(--line);align-items:start}
.tl>li:first-child{border-top:0}
/* Steps: the number shares the sentence's line, and the pills keep one column so every sentence wraps at the same width. */
.tl.steps>li{grid-template-columns:18px minmax(0,1fr) 92px;align-items:baseline}
.tl.steps>li>:last-child:nth-child(3){justify-self:end}
.tl time{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap}
.tl .what{font-size:var(--fs-md);font-weight:600}
details{min-width:0}
summary{cursor:pointer;color:var(--accent);font-size:var(--fs-sm);width:max-content;max-width:100%}
/* A text-style fold answers the pointer like a link; button-style folds keep their own hover. */
summary:not(.btn):hover{text-decoration:underline}
.cs>summary:not(.link):hover{text-decoration:none}
.diff{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp3);margin-top:var(--sp2)}
.diff pre{margin:0;padding:var(--sp2) var(--sp3);border-radius:var(--r);background:var(--sunk);border:1px solid var(--line);font:var(--fs-xs)/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.diff .label{margin-bottom:var(--sp1);font-size:var(--fs-sm);color:var(--muted);font-weight:600}
/* Under the KPI tiles: what every change is compared with, said once. */
.tiles-note{margin-top:-8px}
/* The KPI tiles and their note, under one hidden heading. */
.kpis{display:flex;flex-direction:column;gap:var(--sp4);min-width:0}
/* A period still filling up throughout: its figures are muted, never as firm as a finished one's. */
.tiles.partial .value{color:var(--muted)}
.quote{border-left:2px solid var(--line2);padding-left:var(--sp3);color:var(--ink2)}
/* A long link or id in an entry wraps instead of pushing the page sideways. */
.tl>li>.stack{overflow-wrap:anywhere}
/* An entry reads in three levels: the title, then what changed and the yes, then the small print, close together. */
.tl.days>li>.stack{gap:var(--sp2)}
/* The technical detail is the least of it: quiet, not the accent colour. */
.tl details>summary{color:var(--muted);font-size:var(--fs-xs)}
.tl details[open]>summary{margin-bottom:var(--sp2)}
/* Activity: the pill column is one width, so every entry's text and boxes line up down the page; the time sits on the title's line. */
.tl.days{max-width:880px}
.tl.days>li{grid-template-columns:52px minmax(0,1fr) 128px}
.tl.days>li>:last-child{justify-self:end;margin-top:-1px;display:flex}
.tl.days time{line-height:21px}
h2.tl-day{padding:var(--sp4) 0 var(--sp1);font-size:var(--fs-md);font-weight:600;color:var(--ink)}
/* The rule sits between days, not only between entries of one day. */
.tl-group+.tl-group{border-top:1px solid var(--line2);margin-top:var(--sp2)}
.tl-group:first-child>h2.tl-day{padding-top:0}
.chg{display:grid;grid-template-columns:fit-content(45%) minmax(0,1fr);gap:2px var(--sp3);margin:0;font-size:var(--fs-sm);font-variant-numeric:tabular-nums}
.chg dt{color:var(--muted);overflow-wrap:anywhere}
.chg dd{margin:0;min-width:0;overflow-wrap:anywhere}
.chg del{color:var(--muted)}
/* In a list change the word "removed" says it; a struck-out country code is hard to read. */
.chg dd.lst del{text-decoration:none}
.chg ins{text-decoration:none;font-weight:600}
/* Each side is isolated, so a right-to-left name cannot swap the old and new around the arrow. */
.chg :is(del,ins){unicode-bidi:isolate}
.notes{margin:0;padding:0;list-style:none;font-size:var(--fs-sm);color:var(--ink2)}

/* Library */
.media{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:var(--sp3)}
.media>li{border:1px solid var(--line);border-radius:var(--R);overflow:hidden;background:var(--card);display:flex;flex-direction:column}
/* The figure grows, so the age and Delete line sits at the same height on every tile in a row. */
.media figure{margin:0;display:flex;flex-direction:column;flex:1 1 auto}
/* A fixed 4:3 well: min-height:0 stops a tall picture from stretching it (and its whole row). */
.media .thumb{aspect-ratio:4/3;min-height:0;overflow:hidden;background:var(--sunk);display:flex;align-items:center;justify-content:center;color:var(--muted)}
/* An image sits on a mid-grey well in both themes, so a white logo and a black one with a see-through
   background both still show. */
.media .thumb:has(img){background:var(--well)}
.media img{width:100%;height:100%;min-height:0;object-fit:contain;display:block}
/* The whole well is the link that opens the file. */
.media .thumb>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--muted)}
.media .thumb>a:hover{color:var(--ink);background:var(--line)}
.media .thumb>a:focus-visible{outline-offset:-3px}
.media figcaption{padding:var(--sp2) var(--sp3) var(--sp1);display:flex;flex-direction:column;gap:var(--sp1);font-size:var(--fs-sm);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.media .foot{padding:0 var(--sp3) var(--sp2);display:flex;flex-direction:column;gap:var(--sp1);font-size:var(--fs-sm);font-variant-numeric:tabular-nums}
.media .nowrap{white-space:nowrap}
/* Where the browser can, the tiles in a row share two rows: the picture and its name, then the age and
   buttons, so the age line sits at one height across the row even when one tile has no Use for posts. */
@supports (grid-template-rows:subgrid){.media>li{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}}
/* Two tiles a row on a phone, so a page of files is not one long column. */
@media (max-width:480px){.media{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp2)}}

/* Posts */
.post{border:1px solid var(--line);border-radius:var(--R);padding:var(--sp3) var(--sp4);display:flex;flex-direction:column;gap:var(--sp2);background:var(--card)}
.post.held{border-color:var(--warn)}
.post.planned{border-style:dashed;border-color:var(--field)}
.post.held.planned{border-color:var(--warn)}
.post time{font-size:var(--fs-sm);color:var(--ink);font-variant-numeric:tabular-nums}
/* A card's head has one shape: the time, then where it goes, then the pills, each on its own line. */
.phead{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp1);min-width:0}
.phead .who{min-width:0;overflow-wrap:anywhere}
.pmedia{background:var(--sunk);border-radius:var(--r);padding:var(--sp2);align-self:flex-start;max-width:100%}
.pmedia img{display:block;max-width:100%;max-height:160px;width:auto;height:auto}
#pauses .list li>div:first-child{flex-basis:200px}
.qday{font-size:var(--fs-sm);font-weight:600;color:var(--muted);margin:var(--sp2) 0 calc(-1*var(--sp1))}
.qday:first-child{margin-top:0}
.clip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.post .text{white-space:pre-wrap;overflow-wrap:anywhere;max-width:80ch}

/* Confirm sheets: a <dialog> opened as a modal (command="show-modal") or, in older browsers, as a popover. No script. */
/* A <dialog> opened as a popover has no [open]; this keeps it showing where a browser's own rules miss that case. */
dialog:popover-open{display:block}
/* A sheet sets its own type and wrapping, so it never inherits them from the cell it is written in (td.act is right-aligned and never wraps). */
[popover]{border:1px solid var(--line2);border-radius:var(--R);background:var(--sheet);color:var(--ink);padding:var(--sp4) var(--card-x);max-width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 16px);overflow:auto;box-shadow:0 8px 24px var(--sheet-shade);text-align:start;white-space:normal;overflow-wrap:normal;font-size:var(--fs-md)}
[popover]::backdrop{background:rgb(0 0 0/.35)}
/* The backdrop is set by media query, not light-dark(), since older browsers do not pass the colour scheme to it. */
@media (prefers-color-scheme:dark){[popover]::backdrop{background:rgb(0 0 0/.55)}}
/* While a sheet is open the page behind it does not scroll. */
html:has([popover]:modal,[popover]:popover-open){overflow:hidden}
/* The sheet is the same colour as --sunk in dark mode, so its buttons take a line-coloured hover. */
[popover] button:not(.primary,.link){background:var(--sheet)}
[popover] button:not(.primary,.link):hover{background:var(--line)}
[popover] button:not(.primary,.link):active{background:var(--line2)}
[popover] .stack{gap:var(--sp3)}
[popover] form.inline.ends{display:contents}
[popover] form.ends>.stack{flex:1 1 100%}
[popover] form.ends input{width:100%}
/* A browser without popovers (Safari before 17, Firefox before 125) would show every sheet open,
   its buttons live. There the sheet hides, and the trigger is a <details> toggle instead: opening
   it shows the sheet in place, under it, and clicking it again closes it. */
.cs,a.cs-out{display:none}
@supports not selector(:popover-open){
[popover],button[popovertarget]{display:none}
.cs{display:inline-block}
/* The sheet's Cancel there is a link that reloads the page, which closes every sheet. */
a.cs-out{display:inline-flex}
.cs>summary{list-style:none;cursor:pointer;color:var(--accent);min-height:28px;padding:0 2px}
.cs>summary::-webkit-details-marker{display:none}
.cs>summary.danger{color:var(--bad)}
/* A trigger that was a text button keeps its size and sits in the middle of its tap box. */
.cs>summary.link{display:inline-flex;align-items:center;font-size:inherit}
/* A trigger that was a button (not a link) keeps the look of one, a primary one its fill. */
.cs>summary:not(.link){display:inline-flex;align-items:center;border:1px solid var(--line2);border-radius:var(--r);background:var(--card);color:var(--ink);padding:6px var(--sp3);min-height:34px;font-size:inherit}
.cs>summary.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}
.cs>summary.danger:not(.link){color:var(--bad);border-color:var(--bad)}
@media (max-width:900px){.cs>summary{min-height:40px}.cs>summary.link{padding:0 var(--sp2)}}
.cs[open]>summary{text-decoration:underline}
.cs[open]+[popover]{display:block;position:fixed;left:var(--sp4);right:var(--sp4);bottom:var(--sp4);top:auto;margin:0 auto;max-height:70vh;z-index:20}
}

.center{max-width:440px;margin:9vh auto;text-align:center;align-items:center}
/* Long app names, addresses and emails break inside the card instead of running off a phone. */
.center.card>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.center .notice{text-align:left;align-self:stretch}
/* A message card under the public menu (Not found, Could not connect) reads at the public site's sizes. */
.pubcard{font-size:1rem;line-height:1.6}
.pubcard h1{font-size:1.5rem;line-height:1.25}
.pubcard>p{text-wrap:balance}
/* The consent page: the heading stays centred, what the app may do reads as left-aligned text. */
.consent>p,.consent>form,.consent-list{text-align:left;align-self:stretch}
.consent-list{margin:0;padding-left:var(--sp4);display:flex;flex-direction:column;gap:var(--sp2)}
.consent-buttons{justify-content:center;gap:var(--sp3)}
@media (max-width:600px){.consent-buttons>button{flex:1;justify-content:center}}
/* Pages outside the dashboard: the header, the page and the footer as one column at least the
   height of the window, so the footer rests at the bottom of a short page. */
.plainbody{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.plain{max-width:980px;width:100%;margin:0 auto;padding:var(--sp5) var(--sp4) 0;flex:1 0 auto}
.plainfoot{text-align:center;padding:var(--sp5) var(--sp4) var(--sp7)}
/* The bar runs edge to edge; what is in it lines up with the 720px reading column below. The
   brand is pulled back by its own padding, so its mark sits on the column's edge. */
.plainhead{display:flex;gap:var(--sp4);align-items:center;justify-content:space-between;padding:var(--sp3) max(var(--sp5),calc((100% - 720px)/2));border-bottom:1px solid var(--line);background:var(--card)}
.plainhead>.brand{margin-left:calc(-1*var(--sp2))}
/* The signed-in email gives way (cut short) so Sign out stays on the line, beside the brand. */
.plainhead>.row{min-width:0;flex-wrap:nowrap;justify-content:flex-end}
.plainhead>.row>.muted{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plainhead .brand,.plainhead>.row>form{flex:none}
.plainhead button{white-space:nowrap}
@media (max-width:900px){.plainhead{padding-inline:max(var(--sp4),calc((100% - 720px)/2));gap:var(--sp3)}}
/* A name or handle with no spaces wraps instead of pushing the page sideways. */
bdi{overflow-wrap:anywhere}
/* A sentence-long pill wraps on a phone instead of pushing the page sideways. */
.wrap-pill .pill{white-space:normal}
.post .row .row.start>*{min-width:0}
/* The public site: front page, FAQ, platform and comparison pages. */
.sitenav{display:flex;gap:var(--sp2) var(--sp4);flex-wrap:wrap;justify-content:flex-end;align-items:center;font-size:var(--fs-sm)}
/* The current page reads as where you are, by weight and no underline, not only by colour. */
.sitenav a[aria-current]{color:var(--ink);font-weight:600;text-decoration:none}
/* A phone: the four links keep one line beside the brand from 360px; narrower, they take a row of
   their own under it, spread evenly, so no link is left alone on a second line. */
@media (max-width:480px){.plainhead{gap:var(--sp2)}.sitenav{column-gap:var(--sp3)}}
@media (max-width:359px){.plainhead{flex-wrap:wrap;row-gap:0}.plainhead>.sitenav{flex:1 1 100%;justify-content:space-between}}
/* Every public page, Privacy and Terms too, sits in one 720px column, in reading sizes (the
   dashboard keeps its own). Tables keep the dashboard size so they fit a phone. */
.site{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:var(--sp4);line-height:1.6;font-size:1rem}
.site h2{font-size:1.125rem;line-height:1.3}
.site .legal h1{font-size:1.5rem;line-height:1.25}
.site li strong{font-weight:600}
.site table{font-size:var(--fs-md)}
.site .card ul,.legal ul{margin:0;padding-left:1.2em}
.site .card li{margin:var(--sp1) 0}
.hero{padding:var(--sp6) 0 var(--sp3);display:flex;flex-direction:column;gap:var(--sp3)}
.hero h1{font-size:1.75rem;line-height:1.2}
.lede{font-size:1.125rem;color:var(--ink2)}
/* Example requests on the home page, drawn like chat lines. */
.site .card ul.examples{list-style:none;padding:0;margin:var(--sp2) 0 var(--sp3);display:flex;flex-direction:column;gap:var(--sp2)}
.site .card ul.examples li{margin:0;padding:var(--sp2) var(--sp3);background:var(--sunk);border-radius:var(--R);align-self:flex-start;max-width:100%}
.site .card .platlist{padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--sp2)}
.site .platlist li{border:0;padding:var(--sp1) 0;margin:0}
.legal{line-height:1.6;max-width:720px;width:100%;margin-inline:auto;display:block;overflow-wrap:break-word}
.legal h1{margin-bottom:var(--sp2)}
.legal h2{margin:var(--sp5) 0 var(--sp2)}
.legal p,.legal ul,.site .legal ul{margin:0 0 var(--sp3)}
.qa{margin-top:var(--sp4)}.legal .qa h2{margin:0 0 var(--sp1)}
.legal>.jump{margin-bottom:var(--sp3)}
/* As much room under the last line as above the heading. */
.legal>:last-child,.legal>.qa:last-child p:last-child{margin-bottom:0}
.legal li{margin:var(--sp1) 0}
/* Apple Ads set-up: a key to copy whole. Shown as text, not a box to type in: all of it shows, and one tap selects it. */
pre.keybox{margin:var(--sp2) 0;padding:var(--sp3);background:var(--sunk);border:1px solid var(--line2);border-radius:var(--r);font:13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all;cursor:text}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
/* The steps hold the key and the fields, so the indent stays small and the fields keep the card's width on a phone. */
ol.setup{padding-left:1.4em;margin:0}
ol.setup .field{margin-top:var(--sp3)}
ol.setup li>p:first-of-type{margin:var(--sp3) 0 0}
.legal table{margin:var(--sp2) 0}
/* The Compare table: the two answers share the width equally, their heads read as words, and each
   row's name stands out. In a narrow card the name is a line of its own and the two answers sit
   side by side under it, each with its head as a small label. */
table.cmp{table-layout:fixed}
table.cmp thead th:first-child{width:24%}
.scroll table.cmp :is(td,th):first-child{min-width:0}
table.cmp thead th{text-transform:none;letter-spacing:0;font-size:var(--fs-sm);color:var(--ink);white-space:normal}
table.cmp tbody th{font-weight:600}
@container (max-width:600px){
table.cmp thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
table.cmp tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp1) var(--sp3);padding:var(--sp3) 0;border-bottom:1px solid var(--line)}
table.cmp tbody tr:last-child{border-bottom:0}
table.cmp tbody :is(td,th){display:block;padding:0;border:0}
table.cmp tbody th{grid-column:1/-1}
table.cmp td::before{content:attr(data-label);content:attr(data-label) / "";display:block;color:var(--muted);font-size:var(--fs-xs)}
}
/* With large text the two answers would be a few words wide each: then they stack, one under the other. */
@container (max-width:15em){table.cmp tr{grid-template-columns:minmax(0,1fr)}}

@media (min-width:1480px){.tiles{grid-template-columns:repeat(6,minmax(0,1fr))}}
/* The narrowest phones: a little less side padding, so the figure keeps more of the tile. */
@media (max-width:359px){.tile{padding-inline:var(--sp3)}}
@media (max-width:600px){.chart-lg{display:none}
td.act{white-space:normal}
thead th{white-space:normal}
/* Key and value tables (Settings): the label sits above its value, so a field gets the full width. */
table.kv tr{display:block;padding:var(--sp2) 0;border-bottom:1px solid var(--line)}
table.kv tbody tr:last-child{border-bottom:0}
table.kv :is(td,th){display:block;padding:0;border:0}
table.kv :is(td,th):first-child{min-width:0;font-size:var(--fs-sm)}
/* The table is a plain block too, so it takes the card's width and a field shrinks with it;
   a field and its Save share one line, the field taking what Save leaves. */
table.kv,table.kv tbody{display:block}
/* The Privacy table: each row is a short block, the item in plain text with only its group label
   (Ads., Posting., …) in bold, so the groups still stand out, then where it comes from and why,
   each under its own small label. */
table.byrow thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
table.byrow tr{display:block;padding:var(--sp2) 0;border-bottom:1px solid var(--line)}
table.byrow tbody tr:last-child{border-bottom:0}
table.byrow :is(td,th){display:block;padding:0 0 var(--sp1);border:0}
table.byrow tbody th{font-weight:400}
table.byrow td::before{content:attr(data-label);content:attr(data-label) / "";display:block;color:var(--muted);font-size:var(--fs-xs)}
table.kv form.inline{display:flex;flex-wrap:nowrap}
table.kv form.inline :is(input,select){flex:1 1 auto;min-width:0;width:auto;max-width:none}
/* Headings of a table that scrolls sideways stay on one line, so no empty band sits above them. */
.scroll thead th{white-space:nowrap}
}
/* On a phone and a small tablet, where a table may still scroll sideways, it keeps its
   first column (the name) in place while the figures move; it sticks at the scroller's padding edge,
   covers the gutter, and a line marks where the figures slide under it. Not on paper, where every
   table is whole. */
@media screen and (max-width:759px){
.scroll table:not(.stackable):not(.kv):not(.live):not(.cmp) :is(td,th):first-child{position:sticky;left:0;z-index:1;background:var(--row-bg,var(--card));box-shadow:calc(-1*var(--card-x)) 0 0 var(--card),1px 0 0 var(--line)}
/* The pinned cell takes its row's colour: the amber of an over-alert day, the grey of a repeated heading. */
tr.over{--row-bg:var(--warn-soft)}
tr.rehead{--row-bg:var(--sunk)}
/* An over-alert day's band still runs a little past the pinned date. */
.scroll table:not(.stackable):not(.kv):not(.live):not(.cmp) tr.over>:first-child{box-shadow:calc(-1*var(--sp2)) 0 0 var(--row-bg),calc(-1*var(--card-x)) 0 0 var(--card),1px 0 0 var(--line)}
/* The short "Over" pill stays on the date's line, so a marked row is no taller than the rest. */
.day .pill{margin-left:var(--sp1)}
}
@supports (color:color-mix(in srgb,#000 10%,#fff)){tr.over{--row-bg:color-mix(in srgb,var(--warn) 14%,var(--card))}}
/* Phones, tablets and small laptops: the two ratio columns step aside so the Status column is in
   reach (the tiles above give the same ratios), and where even that is tight Share and Impressions
   too, so a status pill keeps one line. Each step back comes with some room to spare, so a column never
   returns a few pixels before it fits. Paper keeps every column. */
@media screen and (max-width:1259px){.mid-hide{display:none}}
@media screen and (max-width:819px){.tight-hide{display:none}}
@media screen and (min-width:901px) and (max-width:1049px){.tight-hide{display:none}}
/* A table that has to fit (three short columns) lets its first column wrap instead of scrolling,
   but a platform's name stays on one line, each account takes a line of its own (so a name of two
   words is not read as two accounts), and a note under a pill takes its own line. */
.scroll table.fit :is(td,th):first-child{min-width:0}
table.fit .plat{white-space:nowrap}
table.fit .acct{display:block}
/* The narrowest phones: the name may take two lines, broken between words only. */
@media (max-width:359px){table.fit .plat{white-space:normal}.scroll table.fit tbody th{overflow-wrap:break-word}}
table.fit td>.pill+.muted{display:block}
/* Connections: each account is a small card of labelled lines instead of a wide row, whenever the
   card is too narrow for the table (a phone, a tablet, a small laptop). */
@container (max-width:720px){
table.stackable thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
table.stackable tr{display:block;padding:var(--sp3) 0;border-bottom:1px solid var(--line)}
table.stackable tbody tr:last-child{border-bottom:0}
/* The indent is in pixels, not em, so a smaller-text cell ("Last update") lines up with the others. */
table.stackable tbody :is(td,th){display:block;position:relative;padding:var(--sp1) 0 var(--sp1) 112px;border:0;min-width:0}
/* The label is drawn for the eye only: a screen reader already hears the column's heading. */
table.stackable tbody :is(td,th)::before{content:attr(data-label);content:attr(data-label) / "";position:absolute;left:0;top:var(--sp1);width:7.5em;color:var(--muted);font-size:var(--fs-xs);line-height:23px}
/* The platform is the account card's title: no label, no indent, a size up. */
table.stackable tbody tr>td:first-child{padding-left:0;font-size:var(--fs-h2);font-weight:600}
table.stackable tbody tr>td:first-child::before{display:none}
/* A row named by a sentence (Settings' confirmations) gives it the full width, unlabelled, in plain weight. */
table.stackable tbody tr>th[scope=row]:first-child{padding-left:0}
table.stackable tbody tr>th[scope=row]:first-child::before{display:none}
/* Long words and handles wrap inside the card; a long status ("Needs reconnecting") may take two
   lines beside its label on the narrowest phones. In a wide table a pill keeps one line. */
table.stackable tbody :is(td,th){overflow-wrap:anywhere}
table.stackable .pill{white-space:normal}
table.stackable tbody :is(td,th):empty{display:none}
table.stackable td.act{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp2) var(--sp3);justify-content:flex-start;text-align:left;padding:var(--sp2) 0 0}
table.stackable td.act>*+*:not([popover]){margin-left:0}
table.stackable td.act :is(button.link,.cs>summary.link,.btn){margin-block:0}
/* A link-style button that starts the line keeps its tap area but its word lines up with the card's edge. */
table.stackable td.act>:first-child:is(button.link,.cs>summary.link),table.stackable td.act>form.inline:first-child>button.link{margin-left:calc(-1*var(--sp2))}
table.stackable td.act::before{display:none}
table.stackable td.act:empty{display:none}
table.stackable td.act .sub2{margin-left:0;min-width:0}
}
/* Settings' Live switches: short one-line rows, kept close together on a wide screen. In a narrow
   card each platform is two lines: its name with the switch on the right, then its posting state
   and accounts across the full width. The name breaks only between words; the switch keeps one
   line unless that would split a word of the name. */
.scroll:has(>table.live){max-width:calc(760px + 2*var(--card-x))}
table.live :is(td,th){vertical-align:middle}
/* Account handles keep room to be read whole beside a long posting note. */
@container (min-width:720px){table.live:not(.bare) tbody td:nth-child(2){min-width:13em}}
@container (max-width:600px){
table.live thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
table.live tr{display:grid;grid-template-columns:minmax(min-content,1fr) auto;align-items:center;gap:var(--sp1) var(--sp3);padding:var(--sp2) 0;border-bottom:1px solid var(--line)}
table.live tbody tr:last-child{border-bottom:0}
.scroll table.live tbody :is(td,th){display:block;padding:0;border:0;min-width:0}
table.live tbody th{grid-column:1;grid-row:1}
table.live td.act{grid-column:2;grid-row:1;white-space:normal}
.scroll table.live tbody th{overflow-wrap:break-word}
table.live:not(.bare) tbody td:nth-child(3),table.live.bare tbody td:nth-child(2){grid-column:1/-1;grid-row:2}
table.live:not(.bare) tbody td:nth-child(2){grid-column:1/-1;grid-row:3;font-size:var(--fs-sm)}
}
@media (min-width:601px){.chart-sm{display:none}}
@media (max-width:900px){
/* One column in the written order: the top bar, then the sections, then the page. */
.app{grid-template-columns:minmax(0,1fr);grid-template-rows:none;align-content:start}
.top,.side,.page{grid-column:1;grid-row:auto}
.side{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:var(--sp1) var(--sp2);gap:var(--sp1);flex-direction:column}
/* The workspace name is in the top bar and Overview is a section, so the brand line goes; the foot
   moves to the end of the page. */
.side .brand,.side .foot{display:none}
.head p.asof{display:block}
.pfoot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px var(--sp3);border-top:1px solid var(--line);padding-top:var(--sp3)}
/* All nine sections show at once, icon above label, so the current one is never off-screen. The
   column count divides nine (no link alone on a row) and leaves room for "Connections" in one piece. */
.nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;overflow:visible;padding:var(--sp1) 2px}
.nav .cap{display:none}
.nav a{position:relative;flex-direction:column;justify-content:center;gap:2px;font-size:var(--fs-xs);line-height:1.2;padding:var(--sp1) 2px;white-space:normal;text-align:center;min-height:48px;overflow-wrap:anywhere}
.nav .count{position:absolute;top:var(--sp1);right:var(--sp1);margin:0;padding:0 var(--sp1)}
.top .ws{flex:1 1 auto}
.top .pill{white-space:normal}
.top a.pill{min-height:40px}
.top{padding:var(--sp2) var(--sp4)}
.page{padding:var(--sp4) var(--sp4) var(--sp7);--notice-h:6rem}
.grid2,.grid2.wide{grid-template-columns:minmax(0,1fr)}
.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp3)}
/* The time and the status pill share the first line; what happened spans the full width below. */
.tl>li,.tl.steps>li,.tl.days>li{grid-template-columns:minmax(min(8.5em,50%),1fr) minmax(0,auto)}
.tl>li>:first-child{grid-column:1;grid-row:1}
.tl>li>:nth-child(2){grid-column:1/-1;grid-row:2}
/* The time keeps its floor; several pills wrap onto more lines instead of pushing it under them. */
.tl>li>:last-child:nth-child(n+3){grid-column:2;grid-row:1;justify-self:end;min-width:0;max-width:100%;justify-content:flex-end}
.tl>li>:last-child:nth-child(n+3) .pill{white-space:normal}
.tl.steps>li{grid-template-columns:18px minmax(0,1fr)}
.tl.steps>li>:nth-child(2){grid-column:2;grid-row:1}
.tl.steps>li>:last-child:nth-child(n+3){grid-column:2;grid-row:2;justify-self:start}
.diff{grid-template-columns:minmax(0,1fr)}
button,button.link,.btn,input,select,.seg a{min-height:40px}
button.link{padding:0 var(--sp2)}
td.act :is(button.link,.cs>summary.link){margin-block:-9px}
td.act .btn{margin-block:-9px}
/* Padding rather than flex, so the summary keeps its disclosure triangle. */
summary{min-height:40px;padding:var(--sp3) 0}
/* The 40px tap area overlaps the gaps around it instead of doubling them. */
.tl details>summary{margin-block:calc(-1*var(--sp2))}
/* A tick box's label is its tap target. */
label.check{display:inline-flex;align-items:center;gap:var(--sp2);min-height:40px}
input,select,textarea{font-size:16px}
/* Links that stand alone (not inside a sentence) get the same 40px tap height, the text unmoved:
   the public header and foot, the dashboard's page foot, card-head links and link-only lines. */
.sitenav{row-gap:0}
.sitenav a,.plainhead .brand,.plainfoot a,.pfoot a,.card>.row>a,.card>.row>span>a,.jump a,.site p.small>a,p.back>a,.site .platlist a.plat{display:inline-flex;align-items:center;min-height:40px}
.plainfoot a,.pfoot a{padding-inline:var(--sp1)}
.site .platlist li{padding:0}
/* A Coming up row is one tap target: its link covers the whole row. */
.tl>li:has(a.what){position:relative}
.tl a.what::after{content:"";position:absolute;inset:0}
}
@media (min-width:414px) and (max-width:759px){.nav{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:760px) and (max-width:900px){.nav{grid-template-columns:repeat(9,minmax(0,1fr))}}
/* A phone: the email gives way (Settings shows who is signed in), so the posting chip and Sign out
   share one line under the workspace name. */
@media (max-width:599px){.top .email{display:none}}
/* The spend chart by its card's width, not the window's (the media queries above are the fallback
   for a browser without container queries).
   The wide drawing from 600px, its labels a size up until it reaches full size, so they never
   show under about 11px; the small one below, its labels a size up on the narrowest phones. */
@container (min-width:600px){.chart-lg{display:block}.chart-sm{display:none}}
@container (max-width:599.98px){.chart-lg{display:none}.chart-sm{display:block}}
@container (max-width:759.98px){.chart-lg text{font-size:14px}}
@container (max-width:300px){.chart-sm text{font-size:13.5px}}
/* A timeline in a narrow card (two cards side by side on a small laptop) stacks as on a phone:
   the time and the pills share the first line, the words take the full width below. */
@container (max-width:560px){
.tl>li,.tl.steps>li,.tl.days>li{grid-template-columns:minmax(min(8.5em,50%),1fr) minmax(0,auto)}
.tl>li>:first-child{grid-column:1;grid-row:1}
.tl>li>:nth-child(2){grid-column:1/-1;grid-row:2}
/* The time keeps its floor; several pills wrap onto more lines instead of pushing it under them. */
.tl>li>:last-child:nth-child(n+3){grid-column:2;grid-row:1;justify-self:end;min-width:0;max-width:100%;justify-content:flex-end}
.tl>li>:last-child:nth-child(n+3) .pill{white-space:normal}
.tl.steps>li{grid-template-columns:18px minmax(0,1fr)}
.tl.steps>li>:nth-child(2){grid-column:2;grid-row:1}
.tl.steps>li>:last-child:nth-child(n+3){grid-column:2;grid-row:2;justify-self:start}
}
/* iOS zooms in on fields under 16px; touch screens wider than a phone get the larger size too. */
@media (pointer:coarse){input,select,textarea{font-size:16px}
/* A touch screen of any width (a tablet held sideways) gets the phone's 40px tap targets. */
button,button.link,.btn,input,select,.seg a,.cs>summary,.nav a{min-height:40px}
button.link,.cs>summary.link{padding:0 var(--sp2)}
td.act :is(button.link,.cs>summary.link){margin-block:-9px}
td.act .btn{margin-block:-9px}
summary{min-height:40px;padding:var(--sp3) 0}
label.check{display:inline-flex;align-items:center;gap:var(--sp2);min-height:40px}
input[type=checkbox]{min-height:0}
}
@media (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}
/* On paper: no menu or controls, every table whole and inside the page, the Total at the end,
   nothing split across sheets that belongs together, and the chart's key and logos kept. */
@media print{
.side,.skip,.pfoot,.top .who form,.top button,nav.seg,.jump,button,.btn,.cs,a.cs-out,[popover],details:not([open])>summary,nav.row:has(>a[rel]){display:none}
.app{display:block;min-height:0}
.page{padding:0;max-width:none}
.top{position:static;padding:0 0 var(--sp3);border:0;background:none}
.scroll{overflow:visible;margin:0;padding:0}
.scroll table{font-size:11px}
.scroll table :is(td,th),.scroll .pill{white-space:normal;padding-inline:4px}
.scroll table :is(td,th):first-child{min-width:0;position:static;box-shadow:none}
tfoot{display:table-row-group}
tr,.tl>li,article.post,.tile,svg,pre,.notice{break-inside:avoid}
h2,h3{break-after:avoid}
.sw,.lg,.meter{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

.lg{display:inline-block;width:14px;height:14px;flex:none;background:currentColor;color:var(--ink2);vertical-align:-2px;-webkit-mask:var(--lg) center/contain no-repeat;mask:var(--lg) center/contain no-repeat}
.lg-meta{--lg:url(/assets/logo.meta.rml3b0.svg);background:#0467df}.lg-facebook{--lg:url(/assets/logo.facebook.1fz4bpy.svg);background:#0866ff}.lg-instagram{--lg:url(/assets/logo.instagram.1b9v0at.svg);background:radial-gradient(circle at 30% 107%,#fdf497 0 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}.lg-threads{--lg:url(/assets/logo.threads.awbtgw.svg);background:#000}.lg-googleads{--lg:url(/assets/logo.googleads.6tcj1r.svg);background:radial-gradient(circle at 16.7% 78.9%,#34a853 0 15%,transparent 15.2%),linear-gradient(60deg,#fbbc04 0 47%,#4285f4 47.2%)}.lg-openai{--lg:url(/assets/logo.openai.7c99vd.svg);background:#000}.lg-microsoft{--lg:url(/assets/logo.microsoft.1cgn0by.svg);background:conic-gradient(#7fba00 0 25%,#ffb900 0 50%,#00a4ef 0 75%,#f25022 0)}.lg-tiktok{--lg:url(/assets/logo.tiktok.ne01u2.svg);background:#000}.lg-x{--lg:url(/assets/logo.x.p8phv9.svg);background:#000}.lg-linkedin{--lg:url(/assets/logo.linkedin.5n96hc.svg);background:#0a66c2}.lg-amazon{--lg:url(/assets/logo.amazon.1nttvt7.svg);background:linear-gradient(#232f3e 0 70%,#e47911 70%)}.lg-pinterest{--lg:url(/assets/logo.pinterest.1ld2hz0.svg);background:#e60023}.lg-reddit{--lg:url(/assets/logo.reddit.nysfj6.svg);background:#ff4500}.lg-youtube{--lg:url(/assets/logo.youtube.1ngl3op.svg);background:#ff0000}.lg-apple{--lg:url(/assets/logo.apple.13irgo9.svg);background:#000}.lg-snapchat{--lg:url(/assets/logo.snapchat.1jp4xpu.svg);background:#000}.lg-spotify{--lg:url(/assets/logo.spotify.fh182b.svg);background:#1db954}.lg-nextdoor{--lg:url(/assets/logo.nextdoor.1rdtyzr.svg)}.lg-uber{--lg:url(/assets/logo.uber.194neiy.svg);background:#000}.lg-googlemybusiness{--lg:url(/assets/logo.googlemybusiness.h4rneg.svg);background:#4285f4}.lg-bluesky{--lg:url(/assets/logo.bluesky.1jy2odc.svg);background:#0285ff}.lg-discord{--lg:url(/assets/logo.discord.1yz4g06.svg);background:#5865f2}.lg-mastodon{--lg:url(/assets/logo.mastodon.ngtbj3.svg);background:#6364ff}.lg-googlesearchconsole{--lg:url(/assets/logo.googlesearchconsole.a7cvpm.svg);background:#458cf5}.lg-microsoftbing{--lg:url(/assets/logo.microsoftbing.s3m33g.svg);background:#258ffa}.lg-appstore{--lg:url(/assets/logo.appstore.1lhen9a.svg);background:#0d96f6}.lg-googleplay{--lg:url(/assets/logo.googleplay.1fj97wl.svg);background:#01875f}.lg-perplexity{--lg:url(/assets/logo.perplexity.jxt3h8.svg);background:#1c8a99}.lg-googlegemini{--lg:url(/assets/logo.googlegemini.3ruuxr.svg);background:#8e75b2}.lg-ebay{--lg:url(/assets/logo.ebay.flec3b.svg);background:#e53238}.lg-etsy{--lg:url(/assets/logo.etsy.imdyzq.svg);background:#f16521}.lg-shopify{--lg:url(/assets/logo.shopify.1k9nrh1.svg);background:#5e8e3e}
@media (prefers-color-scheme:dark){.lg-meta{background:#4d9bff}.lg-facebook{background:#4d94ff}.lg-instagram{background:radial-gradient(circle at 30% 107%,#fdf497 0 5%,#fd5949 45%,#e04bb0 60%,#6f8ff5 90%)}.lg-threads{background:#fff}.lg-googleads{background:radial-gradient(circle at 16.7% 78.9%,#34a853 0 15%,transparent 15.2%),linear-gradient(60deg,#fbbc04 0 47%,#5b96f7 47.2%)}.lg-openai{background:#fff}.lg-tiktok{background:#fff}.lg-x{background:#fff}.lg-linkedin{background:#4a9be8}.lg-amazon{background:linear-gradient(#fff 0 70%,#ff9900 70%)}.lg-pinterest{background:#ff4d63}.lg-reddit{background:#ff5a1f}.lg-youtube{background:#ff3b3b}.lg-apple{background:#fff}.lg-snapchat{background:#fffc00}.lg-spotify{background:#1ed760}.lg-uber{background:#fff}.lg-googlemybusiness{background:#6ea3f7}.lg-bluesky{background:#4da3ff}.lg-discord{background:#8a94f7}.lg-mastodon{background:#8c8dff}.lg-ebay{background:#ff5c61}.lg-etsy{background:#ff8a4d}.lg-shopify{background:#95bf47}.lg-googlesearchconsole{background:#6ea3f7}.lg-microsoftbing{background:#5aabfb}.lg-appstore{background:#4db3f9}.lg-googleplay{background:#34a853}.lg-perplexity{background:#1fb8cd}.lg-googlegemini{background:#a993cc}}
/* High contrast (forced colours) drops backgrounds and shadows. What carried meaning there gets a mark that survives. */
@media (forced-colors:active){
.lg{background:CanvasText}
/* A refused field keeps a heavier edge when colours are taken away. */
:is(input,select,textarea)[aria-invalid=true]{border-width:2px}
/* The chart key keeps its colours, as the bars do, with an edge so it shows on any theme. */
.sw:not(.lim){forced-color-adjust:none;outline:1px solid CanvasText}
/* Text-style buttons look like the links they act as. */
button.link,button.link.danger,.cs>summary.link{color:LinkText;text-decoration:underline}
/* The row an owner was sent to, the chosen period or filter, and the current page. */
:is(section,article.post,.media>li,form,tr,.legal h2):target{outline:2px solid Highlight}
.seg a[aria-current],.nav a[aria-current]{forced-color-adjust:none;background:Highlight;color:HighlightText}
.nav a[aria-current] svg{color:HighlightText}
/* A dark picture stays visible on its light well. */
.media .thumb:has(img){forced-color-adjust:none}
/* The status dot and the main action keep their weight. */
.pill::before{background:CanvasText}
.pill.quiet{border:0}
button.primary,.btn.primary{border-width:2px}
/* A button that removes or stops loses its red, so a double edge and bold mark it beside Cancel. */
button.danger:not(.link),.cs>summary.danger:not(.link){border:3px double ButtonText;font-weight:600}
}
