/* PXL Search Docs. Tokens and components lifted from the approved mockup (design/mockup-v7.html).
   Light only, on purpose: it matches pxlsearch.com, which has no dark theme. One blue, stone neutrals. */
:root {
  --bg: #fafafa; --bg-2: #f5f5f4; --card: #ffffff;
  --fg: #1c1917; --fg-2: #44403c; --muted: #78716c; --muted-2: #a8a29e;
  --line: #e7e5e4; --line-2: #d6d3d1; --guide: #efeeed;
  --accent: #2563eb; --accent-2: #1d4ed8; --accent-soft: #eff4ff; --accent-line: #bfd0fb;
  --code-bg: #1c1917; --code-fg: #e7e5e4; --code-muted: #a8a29e; --code-key: #93c5fd;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Crimson Pro", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --diag: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4d4d4' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
code, kbd, pre { font-family: var(--mono); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 12px; }
.skip:focus { left: 8px; }

/* ---------- header */
/* header and footer are as wide as the page container (1280px), like the sidebar + article below them.
   Desktop: logo left, the search field in the true centre of the bar, links right. Phone: logo, search, hamburger. */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: relative; }   /* the bar itself is full width */
.top-in { height: 60px; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(180px, 420px) minmax(max-content, 1fr); align-items: center; column-gap: 16px; padding: 0 20px; }
.top .brand { justify-self: start; }
.top .top-links { justify-self: end; }
.brand { display: flex; align-items: flex-start; gap: 10px; flex: none; }
.brand svg { height: 24px; width: auto; display: block; }
/* "search" in the lockup sits on a baseline 21.3px down a 24px logo; this puts DOCS on the same baseline */
.brand .docs-tag { font: 500 13px/13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-2); padding: 11px 0 0 10px; height: 24px; }
.top-search { min-width: 0; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 13.5px; cursor: text; }
.top-search svg { flex: none; }
.top-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 13.5px var(--font); color: var(--fg); -webkit-appearance: none; appearance: none; }
.top-search input::-webkit-search-cancel-button { display: none; }
.top-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--card); }
.top-search:focus-within kbd { display: none; }
kbd { font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 5px; background: var(--card); }
.top-links { display: flex; gap: 18px; font-size: 13.5px; color: var(--fg-2); align-items: center; flex: none; }
.top-links a:not(.btn):hover { color: var(--accent-2); }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; font: 500 13.5px/1 var(--font); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 1px 2px rgba(29,78,216,.4); }
.btn-primary:hover { background: var(--accent-2); }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--card); border-radius: 8px; height: 36px; width: 36px; align-items: center; justify-content: center;
  order: 9; margin-left: 4px; cursor: pointer; color: var(--fg); padding: 0; }
@media (max-width: 760px) {
  .top { position: sticky; top: 0; z-index: 20; }
  .top-in { display: flex; gap: 16px; max-width: none; padding: 0 16px; }
  .top-search { flex: 1; }
  .top-links, .brand .docs-tag { display: none; }
  .top-search { max-width: none; }
  .top-search kbd { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- shell: section nav | article | on this page */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr) 200px; max-width: 1280px; margin: 0 auto; }
/* the section nav stays in view while the article scrolls (its own scroll if taller than the screen).
   No ancestor may use overflow:hidden, or sticky stops working: use overflow:clip. */
.side { padding: 26px 18px 40px 20px; font-size: 13.5px; position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; }
.main { border-left: 1px solid var(--guide); padding: 34px clamp(20px, 4vw, 56px) 64px; min-width: 0; }
.toc { align-self: stretch; padding: 34px 20px 40px 0; font-size: 13px; }
.side h4 { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px 10px; }
.side h4:first-child { margin-top: 0; }
.side a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 6px; color: var(--fg-2); }
.side a:hover { background: var(--bg-2); }
.side a.on { background: var(--accent-soft); color: var(--accent-2); font-weight: 500; }
.toc-in { position: sticky; top: 20px; }
.toc h4 { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc a { display: block; padding: 4px 0 4px 12px; border-left: 1px solid var(--line); color: var(--muted); }
.toc a:hover { color: var(--fg); }
.toc a.on { border-left-color: var(--accent); color: var(--fg); }
.toc .edit { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.toc .edit a { display: inline; padding: 0; border: 0; color: var(--accent-2); }
.shell.wide { grid-template-columns: 248px minmax(0, 1fr); }
.shell.wide .main { padding: 0; }
@media (max-width: 1080px) {
  .shell { grid-template-columns: 228px minmax(0, 1fr); }
  .shell.wide { grid-template-columns: 228px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .shell, .shell.wide { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .main { border-left: 0; padding: 24px 18px 48px; }
  .shell.wide .main { padding: 0; }
}

/* tags */
.tag { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; border-radius: 4px; flex: none; }
.tag.live { color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.tag.next { color: var(--muted); background: var(--bg-2); border: 1px dashed var(--line-2); }

/* ---------- article typography */
.crumb { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb b { color: var(--accent); font-weight: 500; }
.art { max-width: 70ch; }
.art h1 { font: 400 clamp(34px, 5vw, 46px)/1.08 var(--display); letter-spacing: -0.018em; margin: 14px 0 12px; text-wrap: balance; }
.art .lede { font-size: 17px; color: var(--fg-2); margin: 0 0 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font: 400 12px/1.4 var(--mono); color: var(--muted); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.art h2 { font: 400 28px/1.15 var(--display); letter-spacing: -0.015em; margin: 38px 0 10px; scroll-margin-top: 20px; }
.art h3 { font: 600 15.5px/1.3 var(--font); margin: 26px 0 6px; }
.art p, .art li { color: var(--fg-2); }
.art p { margin: 0 0 12px; }
.art ul, .art ol { padding-left: 20px; margin: 0 0 14px; }
.art li { margin: 4px 0; }
.art strong { color: var(--fg); font-weight: 600; }
.art a:not(.anchor):not(.path) { color: var(--accent-2); }
.art a:not(.anchor):hover { text-decoration: underline; }
.art :not(pre) > code { font-size: 12.5px; background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--fg); white-space: nowrap; }
.path { font: 500 12.5px var(--mono); color: var(--fg); }
.anchor { color: var(--muted-2); margin-left: 6px; font-family: var(--mono); font-size: 16px; opacity: 0; }
.art h2:hover .anchor, .anchor:focus-visible { opacity: 1; }
@media (max-width: 760px) { .art h2 { scroll-margin-top: 76px; } }

/* code block: a filename bar, dark body, copy button */
.code { margin: 14px 0 18px; border-radius: 10px; overflow: hidden; border: 1px solid #292524; background: var(--code-bg); }
.code-bar { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px 7px 14px; border-bottom: 1px solid #292524;
  font: 400 11.5px/1 var(--mono); color: var(--code-muted); }
.copy { border: 1px solid #44403c; background: none; color: var(--code-fg); font: 500 11px/1 var(--mono); padding: 6px 9px; border-radius: 6px; cursor: pointer; }
.copy:hover { background: #292524; }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; color: var(--code-fg); font-size: 12.8px; line-height: 1.65; }
.code .k { color: var(--code-key); } .code .c { color: #78716c; } .code .s { color: #d6d3d1; }

/* steps: a real sequence, so numbers are information */
.steps { list-style: none; padding: 0 !important; counter-reset: s; margin: 16px 0 18px !important; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 44px; margin: 0 !important; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center;
  font: 500 12.5px var(--mono); color: var(--accent-2); background: var(--card); border: 1px solid var(--accent-line); }
.steps > li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 4px; width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps > li > b { display: block; color: var(--fg); font-weight: 600; }

/* callouts: by role, not decoration */
.note { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; padding: 12px 14px; border-radius: 10px; margin: 16px 0; font-size: 14px;
  background: var(--card); border: 1px solid var(--line); }
.note .ic { font: 500 10.5px/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.note.tip { background: var(--accent-soft); border-color: var(--accent-line); }
.note.tip .ic { color: var(--accent-2); }
.note p { margin: 0; }

/* a settings path rendered like the WP admin */
.wpui { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 13px; }
.wpui span { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; color: var(--fg); }
.wpui i { font-style: normal; color: var(--muted-2); }

/* tables */
.tbl { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.tbl table { border-collapse: collapse; width: 100%; font-size: 13.5px; min-width: 540px; }
.tbl th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--fg-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--fg); font-weight: 500; }
.tbl a { color: var(--accent-2); }

/* prev / next */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; max-width: 70ch; }
.pager a { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 12px 14px; }
.pager a:hover { border-color: var(--accent-line); }
.pager a:last-child { text-align: right; }
.pager a:only-child { grid-column: 2; }
.pager a.prev:only-child { grid-column: 1; text-align: left; }
.pager small { display: block; font: 500 10.5px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pager span { font-weight: 500; color: var(--fg); }
.helpful { margin-top: 18px; max-width: 70ch; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line); padding-top: 16px; }
.helpful a { color: var(--accent-2); }

/* ---------- home */
.home-hero { position: relative; padding: 56px 24px 44px; text-align: center; border-bottom: 1px solid var(--line); overflow: clip; }
.home-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--diag); z-index: 0; }
.home-hero > * { position: relative; max-width: 760px; margin-left: auto; margin-right: auto; }
.home-hero .crumb, .home-hero .popular { justify-content: center; }
.home-hero .crumb { margin-bottom: 14px; }
.home-hero h1 { font: 400 clamp(36px, 6vw, 56px)/1.04 var(--display); letter-spacing: -0.02em; margin: 0 auto 12px; text-wrap: balance; }
.home-hero p { font-size: 17px; color: var(--fg-2); margin: 0 auto 20px; max-width: 58ch; }
.popular { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 14px; font-size: 13px; color: var(--muted); align-items: center; }
.popular a { border: 1px solid var(--line); background: var(--card); padding: 3px 9px; border-radius: 999px; color: var(--fg-2); }
.popular a:hover { border-color: var(--accent-line); color: var(--accent-2); }

.home-body { max-width: 1000px; margin: 0 auto; padding: 36px 24px 56px; }
.start { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 16px; margin-bottom: 40px; }
.start-card { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 20px; min-width: 0; }
.start-card h3 { font: 400 24px/1.15 var(--display); margin: 0 0 6px; letter-spacing: -0.01em; }
.start-card p { color: var(--fg-2); margin: 0 0 14px; font-size: 14px; }
.mini-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; }
.mini-steps li { display: flex; gap: 10px; align-items: baseline; color: var(--fg-2); }
.mini-steps li a:hover { color: var(--accent-2); }
.mini-steps li b { font: 500 11.5px var(--mono); color: var(--accent-2); min-width: 18px; }
.mini-steps li em { font-style: normal; margin-left: auto; color: var(--muted); font: 400 11.5px var(--mono); white-space: nowrap; }
.snip { background: var(--code-bg); color: var(--code-fg); border-radius: 10px; padding: 14px 16px; font: 400 12.8px/1.65 var(--mono); overflow-x: auto; margin: 0 0 12px; }
.snip .k { color: var(--code-key); }
.more { font-size: 13.5px; color: var(--accent-2); font-weight: 500; }
.more:hover { text-decoration: underline; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.sec-head h2 { font: 400 30px/1.1 var(--display); letter-spacing: -0.015em; margin: 0; }
.sec-head span { font: 400 12px var(--mono); color: var(--muted); }
.sections { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); gap: 1px; }
.section { background: var(--card); padding: 18px 18px 16px; }
.section h3 { font: 600 15px/1.3 var(--font); margin: 0 0 4px; display: flex; gap: 8px; align-items: center; }
.section p { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; }
.section ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13.5px; }
.section li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3px 0; color: var(--fg-2); }
.section li a:hover { color: var(--accent-2); }
@media (max-width: 900px) { .start { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 560px) { .sections { grid-template-columns: minmax(0,1fr); } .home-hero { padding: 36px 18px 30px; } .home-body { padding: 28px 18px 40px; } }

.foot { border-top: 1px solid var(--line); background: var(--card); font-size: 12.5px; color: var(--muted); }
.foot-in { max-width: 1280px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a:hover { color: var(--accent-2); }

/* ---------- search results page */
.sr { max-width: 760px; margin: 0 auto; padding: 40px 24px 64px; }
.sr h1 { font: 400 36px/1.1 var(--display); letter-spacing: -0.018em; margin: 10px 0 6px; }
.sr .count { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.sr-list { display: grid; gap: 10px; }
.sr-list a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.sr-list a:hover { border-color: var(--accent-line); }
.sr-list .t { font-weight: 600; color: var(--fg); }
.sr-list .sec { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sr-list p { margin: 4px 0 0; color: var(--fg-2); font-size: 14px; }
.sr-list mark { background: var(--accent-soft); color: var(--accent-2); border-radius: 3px; padding: 0 2px; }
.sr .none { color: var(--fg-2); }
.sr .none a { color: var(--accent-2); }

/* ---------- phone drawer (shadcn Sheet): overlay fades, the panel slides in from the right.
   500ms in, 300ms out, ease-in-out. */
.drawer { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; background: rgba(28,25,23,0); transition: background-color .3s ease-in-out; }
.drawer .drawer-in { width: min(320px, 86%); height: 100%; background: var(--card); overflow-y: auto; padding: 14px 14px 30px; border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .3s ease-in-out; box-shadow: -10px 0 30px -12px rgba(23,23,23,.3); }
.drawer[data-state="open"] { background: rgba(28,25,23,.5); transition-duration: .5s; }
.drawer[data-state="open"] .drawer-in { transform: none; transition-duration: .5s; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer .drawer-in { transition: none !important; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer-head .crumb { margin: 0; }
.drawer-head .menu-btn { display: inline-flex; order: 0; margin: 0; }
.drawer .side { display: block; border: 0; padding: 0; position: static; max-height: none; overflow: visible; }
.drawer-links { display: grid; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.drawer-links .btn { justify-content: center; }

/* ---------- annotated screenshots: real admin captures, numbered markers match the steps beside them */
.shot { margin: 18px 0 20px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--card); }
.shot-bar { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); font: 400 11.5px var(--mono); color: var(--muted); background: var(--bg); }
.shot-crop { position: relative; overflow: hidden; }
.shot-crop img { position: absolute; left: 0; width: 100%; max-width: none; }
.typed { position: absolute; background: #fff; font: 400 clamp(8px, 1.15vw, 13px)/1 var(--font); color: var(--fg); display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.typed::after { content: ""; width: 1.5px; height: 1.1em; background: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.shot ol { margin: 0 !important; padding: 12px 16px 12px 16px !important; list-style: none; display: grid; gap: 8px; border-top: 1px solid var(--line); font-size: 14px; }
.shot ol li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px; align-items: baseline; margin: 0 !important; }
.shot ol li b.n { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 11.5px/22px var(--mono); text-align: center; }
.shot ol code.ty, .art code.ty { background: var(--accent-soft) !important; border-color: var(--accent-line) !important; color: var(--accent-2) !important; }
@media (prefers-reduced-motion: reduce) { .typed::after { animation: none; } }
/* drawn annotations: blue marks with a white halo so they read on any part of the screenshot */
.ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ink .h { fill: none; stroke: #fff; stroke-width: 16; stroke-linecap: round; }
.ink .m { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; }
.ink .pn circle { fill: var(--accent); stroke: #fff; stroke-width: 7; }
.ink .pn text { fill: #fff; font: 700 32px var(--mono); text-anchor: middle; }
.ink .pn.sm circle { stroke-width: 4; } .ink .pn.sm text { font-size: 18px; }
.zoom .ink .h { stroke-width: 9; } .zoom .ink .m { stroke-width: 4; }
.zooms { display: grid; grid-template-columns: minmax(0,1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.zoom { background: var(--bg); padding: 12px; min-width: 0; container-type: inline-size; }
.zoom .shot-crop { border: 1px solid var(--line-2); border-radius: 8px; background: #fff; box-shadow: 0 6px 18px -10px rgba(23,23,23,.25); }
.zoom-label { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.zoom p { margin: 8px 0 0 !important; font-size: 13px; color: var(--muted) !important; }

/* annotation overlay in the crop's own pixel space (scripts/annotate.py): thinner strokes, example text with a blinking caret */
.ink.px .h { stroke-width: 7; } .ink.px .m { stroke-width: 3; }
.ink.px .pn circle { stroke-width: 3; } .ink.px .pn text { font: 700 12px var(--mono); }
.ink.px .cover { fill: #fff; }
.ink.px text.ty { font: 400 14px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; fill: #1d2327; }
.ink.px .caret { fill: var(--accent); animation: blink 1s steps(1) infinite; }
.shot-crop img { height: auto; }
@media (prefers-reduced-motion: reduce) { .ink.px .caret { animation: none; } }

/* group headings in the sidebar link to the group's own page */
.side h4 a { display: inline; padding: 0; background: none; color: inherit; font-weight: inherit; }
.side h4 a:hover { background: none; color: var(--accent-2); }
.side h4 a.on { background: none; color: var(--accent-2); }
.crumb a:hover { color: var(--accent); }
.section h3 a:hover { color: var(--accent-2); }
.group-page .t { font-size: 15px; display: flex; gap: 8px; align-items: center; }

/* the previous / next cards are not text links: no underline on hover */
.art .pager a:hover, .art .pager a:hover span, .art .pager a:hover small { text-decoration: none; }

/* "Was this page helpful?": two buttons, the chosen one stays highlighted */
.helpful .vote { display: inline-flex; gap: 6px; align-items: center; }
.vote-btn { font: 500 12.5px/1 var(--font); border: 1px solid var(--line-2); background: var(--card); color: var(--fg-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.vote-btn:hover { border-color: var(--accent-line); color: var(--accent-2); }
.vote-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }
.vote-note { font-size: 12.5px; color: var(--muted); min-height: 1em; margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .vote-btn { transition: none; } }

/* cookie consent (the same choice as pxlsearch.com) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 10px 40px -12px rgba(23,23,23,.3); padding: 14px 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--fg-2); }
.consent p { margin: 0; flex: 1 1 260px; }
.consent a { color: var(--accent-2); text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; }
.consent-btn { font: 500 13px/1 var(--font); border: 1px solid var(--line-2); background: var(--card); color: var(--fg); border-radius: 8px; padding: 9px 14px; cursor: pointer; }
.consent-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.consent-btn:hover { filter: brightness(.97); }
