/* one-look.css (T3540, 2026-12-01): one look on FoxPlug's own public pages: dark, flat, gold, one sans font, mono for code.
   Added by worker.js to stored public pages only (not the app, not embeds, not customers' own pages). Remove that one line to undo. */
:root {
  --ol-bg: #0e0e11; --ol-raise: #18181d; --ol-line: #2e2e37; --ol-text: #ececf0; --ol-dim: #b4b4be; --ol-gold: #d4af37; --ol-gold-hi: #e6c458; --ol-on-gold: #15130a;
  color-scheme: dark;
}
html, html body { background: var(--ol-bg) !important; color: var(--ol-text) !important; }
html body, html body :is(h1,h2,h3,h4,h5,h6,p,li,a,span,div,td,th,button,input,select,textarea,label,summary,small,strong,em,figcaption,blockquote,dt,dd) {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}
html body :is(code, pre, kbd, samp), html body :is(code, pre, kbd, samp) * { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; }

/* one flat surface: page furniture takes the page colour, text takes the page text colour. Chat bubble, cookie bar and bar charts keep their own paint. */
html body :where(main, section, article, aside, header, footer, nav, div, ul, ol, li, form, fieldset, details, summary, figure, blockquote, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, label, span, small, strong, em, b, i, table, thead, tbody, tfoot, tr, td, th, caption):not([class*="bar"]):not([class*="Bar"]):not([style*="height:"]):not([id*="foxchat"]):not([class*="foxchat"]):not([id*="consent"]):not([class*="consent"]):not([id*="cookie"]):not([class*="cookie"]):not([class*="h3-tag"]):not(.ig-lg),
html body > :is(main, section, article, aside, header, footer, nav, div):not([id*="foxchat"]):not([class*="foxchat"]):not([id*="consent"]):not([class*="consent"]) {
  background-color: transparent !important; background-image: none !important; color: inherit !important; border-color: var(--ol-line) !important; text-shadow: none !important;
}
html body :where(div, section, article, aside, table, li, a, form) { box-shadow: none !important; }

/* headers that stick need the page colour behind them */
html body :is(header, nav)[class*="sticky"], html body :is(header, nav)[class*="fixed"], html body .sticky { background-color: var(--ol-bg) !important; }
/* raised surfaces: tables heads, code, fields */
html body :is(pre, code, kbd) { background-color: var(--ol-raise) !important; color: var(--ol-text) !important; border-color: var(--ol-line) !important; }
html body pre * { background-color: transparent !important; color: inherit !important; }
html body :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]) { background-color: var(--ol-raise) !important; color: var(--ol-text) !important; border: 1px solid #4a4a56 !important; }
html body ::placeholder { color: #9a9aa6 !important; opacity: 1; }
html body thead :is(th, td) { background-color: var(--ol-raise) !important; }

/* one accent: links */
html body a, html body a:visited { color: var(--ol-gold-hi) !important; }
html body a * { color: inherit !important; }

/* one accent: buttons, whether they are buttons or links dressed as one */
html body :is(button[type="submit"], input[type="submit"], .btn, .btn-gold, .btn-primary, .nav-cta, a[class*="btn"], a[class*="cta-btn"], a[class~="cta"], button[class*="btn"], button[class*="primary"]),
html body :is(a, button)[class*="bg-indigo-"], html body :is(a, button)[class*="bg-blue-"], html body :is(a, button)[class*="bg-orange-"], html body :is(a, button)[class*="bg-slate-9"], html body :is(a, button)[class*="bg-violet-"], html body :is(a, button)[class*="bg-purple-"] {
  background: var(--ol-gold) !important; color: var(--ol-on-gold) !important; border-color: var(--ol-gold) !important; box-shadow: none !important; border-radius: 8px !important;
}
html body :is(button[type="submit"], .btn, .btn-gold, .btn-primary, .nav-cta, a[class*="btn"], a[class*="cta-btn"], a[class~="cta"], button[class*="btn"], button[class*="primary"], a[class*="bg-indigo-"], a[class*="bg-blue-"], a[class*="bg-orange-"], a[class*="bg-slate-9"]) * { color: var(--ol-on-gold) !important; background-color: transparent !important; }
/* secondary buttons: outlined */
html body :is(.btn-ghost, .btn-line, .btn-outline, .btn-secondary, a[class*="btn-ghost"], a[class*="btn-line"], a[class*="btn-outline"], button[class*="ghost"]) { background: transparent !important; color: var(--ol-gold-hi) !important; border: 1px solid var(--ol-gold) !important; }
html body :is(.btn-ghost, .btn-line, .btn-outline, .btn-secondary) * { color: var(--ol-gold-hi) !important; }
html body button:not([aria-pressed="true"]):not([type="submit"]):not([class*="btn"]):not([class*="primary"]):not([class*="bg-indigo-"]):not([class*="bg-slate-9"]):not([id*="foxchat"]):not([class*="foxchat"]) { background-color: var(--ol-raise) !important; color: var(--ol-text) !important; border: 1px solid #4a4a56 !important; }

/* fewer pills: text labels get small corners */
html body :is(span, a, button, div, li)[class*="rounded-full"][class*="px-"], html body :is(.chip, .pill, .tag, .badge), html body :is(span, a)[class*="chip"], html body :is(span, a)[class*="pill"] { border-radius: 6px !important; }
html body :is(.chip, .pill, .tag, .badge, span[class*="chip"], span[class*="pill"], span[class*="badge"]) { border: 1px solid var(--ol-line) !important; background-color: var(--ol-raise) !important; color: var(--ol-text) !important; }

/* secondary text stays readable on the dark page (about 9:1) */
html body :is([class*="text-slate-4"], [class*="text-slate-5"], [class*="text-gray-4"], [class*="text-gray-5"], .muted, .dim, .sub, .sh-meta) { color: var(--ol-dim) !important; }
html body :is(hr) { border-color: var(--ol-line) !important; }

/* charts drawn with coloured blocks: the one accent */
html body :is([class*="bar"]:not([class*="sidebar"]):not([class*="navbar"]):not([class*="toolbar"]):not([class*="topbar"]):empty) { background-color: var(--ol-gold) !important; }
html body svg text { fill: var(--ol-dim); }

/* older secondary greys */
html body :is([class*="text-slate-6"], [class*="text-slate-7"], [class*="text-gray-6"], [class*="text-gray-7"]) { color: var(--ol-dim) !important; }
html body :is([class*="text-slate-6"], [class*="text-slate-7"]) a { color: var(--ol-gold-hi) !important; }
/* the directory pages' check button, which was white on orange */
html body .lede a[style], html body .lede > a:not([class]) { background: var(--ol-gold) !important; color: var(--ol-on-gold) !important; border-radius: 8px !important; }
/* the comparison header strip */
html body .fp-cmp-top > span { background: var(--ol-raise) !important; color: var(--ol-text) !important; border: 1px solid var(--ol-line) !important; }
html body .fp-cmp-top > span a { color: var(--ol-gold-hi) !important; }

/* a chosen switch stays visibly chosen */
html body button[aria-pressed="true"]:not([id*="foxchat"]) { background: var(--ol-gold) !important; color: var(--ol-on-gold) !important; border-color: var(--ol-gold) !important; }
html body button[aria-pressed="true"] * { color: var(--ol-on-gold) !important; background: transparent !important; }
/* drawn charts: the one accent */
html body svg rect:is([fill="#6366f1"], [fill="#4f46e5"], [fill="#818cf8"]) { fill: var(--ol-gold) !important; }
html body svg text { fill: var(--ol-dim) !important; }

/* buttons the page styles under their own names: the same gold button */
html body :is(a, button)[class*="cta"]:not([class*="note"]):not([class*="text"]), html body a.fp-sbx-pill, html body a.mh-app, html body .cl-cta a.b:not(.s), html body a.b:not(.s), html body .cta-block a, html body :is(a, button)[class*="lcnc-gradient-bg"], html body :is(a, button)[class*="bg-yellow-"] {
  background: var(--ol-gold) !important; color: var(--ol-on-gold) !important; border: 1px solid var(--ol-gold) !important; box-shadow: none !important; border-radius: 8px !important;
}
html body :is(a, button)[class*="cta"]:not([class*="note"]):not([class*="text"]) *, html body :is(a.fp-sbx-pill, a.mh-app, .cl-cta a.b:not(.s), .cta-block a, a[class*="lcnc-gradient-bg"], a[class*="bg-yellow-"]) * { color: var(--ol-on-gold) !important; background: transparent !important; }
html body .cl-cta a.b.s, html body a.b.s { background: transparent !important; color: var(--ol-gold-hi) !important; border: 1px solid var(--ol-gold) !important; }
/* white link cards become flat cards; headline text that was painted with a gradient becomes plain gold */
html body a[class*="bg-white"]:not([class*="cta"]):not([class*="btn"]), html body a[class*="card"] { background: transparent !important; border: 1px solid var(--ol-line) !important; color: var(--ol-text) !important; }
html body a[class*="card"] :is(h2, h3, p, span, div) { color: inherit !important; }
html body [class*="gradient-text"] { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--ol-gold-hi) !important; }

html body .st-alert a { background: var(--ol-gold) !important; color: var(--ol-on-gold) !important; border-radius: 8px !important; }

/* tool logos are painted shapes: they keep their own colour */
html body .ig-lg, html body .ig-lg[style] { background-color: var(--c, var(--ol-dim)) !important; }
/* the chosen billing switch */
html body .pp-ivl-in button[aria-pressed="true"], html body button[aria-pressed="true"][aria-pressed="true"]:not([id*="foxchat"]):not([class*="foxchat"]):not([type="submit"]):not([class*="btn"]) { background: var(--ol-gold) !important; background-color: var(--ol-gold) !important; color: var(--ol-on-gold) !important; border-color: var(--ol-gold) !important; }
