/**
 * Workbench design tokens and the product typeface.
 *
 * The --wb-* tokens are defined here from upstream variables so workbench
 * chrome still looks sensible in the GeoCities or Solarized themes. The bench
 * themes in _themes.css override them with the real palette.
 *
 * @author cyberchef.tools
 * @license Apache-2.0
 */

/* The two faces are the extension's, so the site, the extension and the
   landing pages read as one product. The request below is resolved from the
   repository root at build time and the file is emitted into the build as
   `assets/fonts/<name>.woff2`, which the extracted stylesheet then references
   relatively (`../assets/fonts/...`). That is what makes the fonts load on the
   hosted site, from a sub-path, and from `file://` in the sealed build, where
   an absolute `/extension/...` URL would resolve to the root of the disk.
   See the `assets/fonts` rule in webpack.config.js. */

@font-face {
    font-family: "Archivo";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("/extension/assets/fonts/archivo-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Archivo";
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url("/extension/assets/fonts/archivo-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Archivo";
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url("/extension/assets/fonts/archivo-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Archivo";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("/extension/assets/fonts/archivo-latin-700-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Red Hat Mono";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("/extension/assets/fonts/red-hat-mono-latin-400-normal.woff2") format("woff2");
}

:root {
    /* Type */
    --wb-font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --wb-mono: "Red Hat Mono", ui-monospace, Menlo, Consolas, monospace;

    /* Surfaces and text, derived from whichever upstream theme is active */
    --wb-bg: var(--primary-background-colour);
    --wb-surface: var(--secondary-background-colour);
    --wb-surface2: var(--title-background-colour);
    --wb-fg: var(--primary-font-colour);

    --wb-muted: var(--subtext-font-colour);
    --wb-border: var(--primary-border-colour);

    /* --wb-link is for hyperlinks, and for hyperlinks only. It follows the
       theme's own link colour, which is amber in the bench themes. Anything
       that is interactive chrome rather than a link uses --wb-accent. */
    --wb-link: var(--banner-url-colour);

    /* The accent: the one colour workbench chrome uses to say "this is
       interactive", "this is selected" or "this is the thing to look at".
       Every icon, focus ring, active state, progress bar, marker and checkbox
       in the workbench resolves to this token and nothing else, so changing it
       here (or through Options › Appearance, which sets it on :root) changes
       all of them at once. It is not a status colour: --wb-ok / --wb-warn /
       --wb-bad carry meaning and must not be swapped for it. */
    --wb-accent: #2b66c9;

    /* Ink readable on top of a filled --wb-accent. Set alongside the accent
       whenever the accent changes; ui/Options.mjs computes it for a custom
       colour by luminance. */
    --wb-accent-fg: #ffffff;

    /* Accent washes, for tinted backgrounds. Mixed with `transparent` so one
       definition works over any surface. */
    --wb-accent-tint: color-mix(in srgb, var(--wb-accent) 10%, transparent);
    --wb-accent-soft: color-mix(in srgb, var(--wb-accent) 18%, transparent);
    --wb-accent-mark: color-mix(in srgb, var(--wb-accent) 32%, transparent);

    /* Status. The -fg variants are the readable-on-a-surface text colours;
       the plain tokens stay saturated because they also fill pills and pips. */
    --wb-ok: #3fb37a;
    --wb-warn: #d9a23a;
    --wb-bad: #dc5a4f;
    --wb-ok-fg: var(--wb-ok);
    --wb-warn-fg: var(--wb-warn);
    --wb-bad-fg: var(--wb-bad);

    /* Status washes, on the same three-step scale as the accent, so no
       stylesheet has to spell a mix out for itself. */
    --wb-ok-tint: color-mix(in srgb, var(--wb-ok) 10%, transparent);
    --wb-ok-wash: color-mix(in srgb, var(--wb-ok) 16%, transparent);
    --wb-ok-mark: color-mix(in srgb, var(--wb-ok) 28%, transparent);
    --wb-warn-tint: color-mix(in srgb, var(--wb-warn) 12%, transparent);
    --wb-warn-wash: color-mix(in srgb, var(--wb-warn) 18%, transparent);
    --wb-warn-mark: color-mix(in srgb, var(--wb-warn) 32%, transparent);
    --wb-bad-tint: color-mix(in srgb, var(--wb-bad) 10%, transparent);
    --wb-bad-wash: color-mix(in srgb, var(--wb-bad) 17%, transparent);
    --wb-bad-mark: color-mix(in srgb, var(--wb-bad) 32%, transparent);
    --wb-link-wash: color-mix(in srgb, var(--wb-link) 18%, transparent);

    /* Ink used on top of a filled status pill, in every theme. */
    --wb-on-status: #15171c;

    /* The two inks --wb-accent-fg is chosen from. ui/Options.mjs reads these
       back out of the cascade rather than carrying its own copies. */
    --wb-ink-dark: #15171c;
    --wb-ink-light: #ffffff;

    /* The accent swatches offered in Options › Appearance. Each has a value for
       dark surfaces and one for light, because no single hex clears 4.5:1 on
       both. Measured against each family's --wb-bg / --wb-surface /
       --wb-surface2; the weakest is Blue on Bench light at 4.78:1.
       ui/Options.mjs reads these, so this is the only place they are written. */
    --wb-swatch-blue-dark: #7aa7ff;
    --wb-swatch-blue-light: #2b66c9;
    --wb-swatch-amber-dark: #e0c073;
    --wb-swatch-amber-light: #8a5a12;
    --wb-swatch-green-dark: #5ccb92;
    --wb-swatch-green-light: #146b43;
    --wb-swatch-violet-dark: #b79bff;
    --wb-swatch-violet-light: #6d46c8;
    --wb-swatch-slate-dark: #a8b3c4;
    --wb-swatch-slate-light: #4a5568;

    /* The dimming behind a modal overlay. */
    --wb-scrim: rgba(0, 0, 0, 0.45);

    /* The opaque stop of a CSS mask. This is an alpha channel, not a colour;
       it is a token so no other stylesheet needs a literal. */
    --wb-mask-opaque: #000;

    /* Print is paper, not a theme: these deliberately do not follow --wb-bg. */
    --wb-print-bg: #ffffff;
    --wb-print-fg: #000000;
    --wb-print-muted: #555555;
    --wb-print-border: #cccccc;
    --wb-print-rule: #999999;

    /* Radii */
    --wb-radius-control: 6px;
    --wb-radius-card: 10px;
    --wb-radius-pill: 999px;

    /* Metrics */
    --wb-control-h: 30px;
    --wb-control-h-sm: 26px;
    --wb-pane-title-h: 44px;
    --wb-rail-w: 56px;

    /* Phone metrics (_responsive.css): the rail as a bottom tab bar, the same
       height plus the home-indicator inset, the Bake bar pinned above it, the
       Input | Recipe | Output switcher under the banner, and the smallest hit
       target a finger gets. */
    --wb-bar-h: 56px;
    --wb-bar-safe: calc(56px + env(safe-area-inset-bottom, 0px));
    --wb-bake-h: 56px;
    --wb-switch-h: 40px;
    --wb-touch: 44px;

    /* The install tour's one line above the switcher (_tour.css). Zero unless
       there is a strip, so every offset below the banner can add it
       unconditionally and `body.wb-tour-strip-on` is the only switch. */
    --wb-tour-h: 0px;

    /* Depth */
    --wb-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.12);
    --wb-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.10);

    /* Focus */
    --wb-focus: 0 0 0 2px var(--wb-bg), 0 0 0 4px var(--wb-accent);
}

/* The saturated status colours are readable as text on a dark background but
   not on a light one, so the light upstream themes get darker text variants.
   The bench themes set their own in _themes.css. */
:root.classic,
:root.geocities,
:root.solarizedLight {
    --wb-ok-fg: #146b43;
    --wb-warn-fg: #7d5a0a;
    --wb-bad-fg: #a82a20;
}

/* The legacy themes' own --subtext-font-colour is a flat grey chosen for a
   1990s layout, and it lands between 2.5:1 and 3.7:1 on their surfaces. Deriving
   the muted tone from the theme's own body colour instead keeps the hue of the
   theme and raises the contrast everywhere the workbench uses --wb-muted. */
:root.classic,
:root.dark,
:root.geocities,
:root.solarizedDark,
:root.solarizedLight {
    --wb-muted: color-mix(in srgb, var(--primary-font-colour) 82%, var(--primary-background-colour));
}

/* --wb-bad-fg is body text, so it has to clear 4.5:1 on --wb-bg, --wb-surface
   and --wb-surface2. The saturated #dc5a4f only reaches 3.4:1 on the dark
   theme's title bar and 3.5:1 on Solarized Dark's panels, so both dark themes
   take the bench palette's lighter red instead. Its worst case is 4.64:1
   (dark theme, on #333) and 4.77:1 (Solarized Dark, on #073642). */
:root.dark,
:root.solarizedDark {
    --wb-bad-fg: #f07a6c;
}

/* GeoCities paints --wb-bg pure blue, --wb-surface pure red and --wb-surface2
   pure yellow. Those three sit so far apart in luminance that no single text
   colour can clear 4.5:1 on all of them — blue demands a relative luminance of
   at least 0.500, red demands at most 0.008. This pale red is the most
   saturated value that still reads as "bad" while holding 7.6:1 on the blue
   background and 3.6:1 on the red panels (4.0:1 is the ceiling for any colour,
   reached only by pure white). */
:root.geocities {
    --wb-bad-fg: #ffeeea;
}

/* Accent per legacy theme: light enough to read on the dark ones, dark enough
   to read on the light ones. Every value below clears 4.5:1 on that theme's
   --wb-bg, --wb-surface and --wb-surface2. */
:root.classic {
    --wb-accent: #2b66c9;
    --wb-accent-fg: #ffffff;
}

:root.solarizedLight {
    --wb-accent: #2a60bd;
    --wb-accent-fg: #ffffff;
}

:root.dark,
:root.solarizedDark {
    --wb-accent: #7aa7ff;
    --wb-accent-fg: #15171c;
}

/* GeoCities again: blue, red and yellow surfaces cannot all be cleared at once
   (see --wb-bad-fg above). This holds 7.5:1 on the blue background the chrome
   mostly sits on and 3.5:1 on the red panels, against a 4.0:1 ceiling. */
:root.geocities {
    --wb-accent: #e8f0ff;
    --wb-accent-fg: #0000ff;
}

/**
 * The two bench themes.
 *
 * Each one sets the --wb-* tokens to the product palette and then maps every
 * upstream variable that themes/_dark.css and themes/_classic.css define onto
 * those tokens, so all upstream chrome follows without any upstream edits.
 *
 * @author cyberchef.tools
 * @license Apache-2.0
 */

:root.bench {
    /* Tokens */
    --wb-bg: #15171c;
    --wb-surface: #1d2027;
    --wb-surface2: #262a33;
    --wb-fg: #e8e9ec;
    --wb-muted: #9aa0ab;
    --wb-border: #2e323b;
    --wb-link: #e0c073;
    /* Chrome accent. Amber stays on hyperlinks and the Endpoint label only.
       6.02:1 on --wb-bg, 6.83:1 on --wb-surface, 7.51:1 on --wb-surface2. */
    --wb-accent: #7aa7ff;
    --wb-accent-fg: #15171c;
    --wb-ok: #5ccb92;
    --wb-warn: #e0b355;
    --wb-bad: #f07a6c;
    --wb-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.45);
    --wb-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);

    /* Type */
    --primary-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --primary-font-colour: #e8e9ec;
    --primary-font-size: 14px;
    --primary-line-height: 20px;

    --fixed-width-font-family: "Red Hat Mono", ui-monospace, Menlo, Consolas, monospace;
    --fixed-width-font-colour: inherit;
    --fixed-width-font-size: inherit;

    --subtext-font-colour: #9aa0ab;
    --subtext-font-size: 13px;

    /* Surfaces */
    --primary-background-colour: #15171c;
    --secondary-background-colour: #1d2027;

    --primary-border-colour: #2e323b;
    --secondary-border-colour: #262a33;

    --title-colour: #e8e9ec;
    --title-weight: 600;
    --title-size: 14px;
    --title-background-colour: #1d2027;

    --banner-font-colour: #9aa0ab;
    --banner-bg-colour: #15171c;
    --banner-url-colour: #e0c073;

    --category-list-font-colour: #e8e9ec;

    --loader-background-colour: #262a33;
    --loader-outer-colour: var(--wb-accent);
    --loader-middle-colour: #f07a6c;
    --loader-inner-colour: #5ccb92;

    /* Operation colours */
    --op-list-operation-font-colour: #e8e9ec;
    --op-list-operation-bg-colour: #1d2027;
    --op-list-operation-border-colour: #2e323b;

    --rec-list-operation-font-colour: #e8e9ec;
    --rec-list-operation-bg-colour: #1d2027;
    --rec-list-operation-border-colour: #2e323b;

    --selected-operation-font-color: var(--wb-accent-fg);
    --selected-operation-bg-colour: var(--wb-accent);
    --selected-operation-border-colour: var(--wb-accent);

    --breakpoint-font-colour: #f7d7d2;
    --breakpoint-bg-colour: #4a2320;
    --breakpoint-border-colour: #6c332e;

    --disabled-font-colour: #6a707b;
    --disabled-bg-colour: #1a1d23;
    --disabled-border-colour: #262a33;

    --fc-operation-font-colour: #cfe9db;
    --fc-operation-bg-colour: #1f2b26;
    --fc-operation-border-colour: #2f4239;

    --fc-breakpoint-operation-font-colour: #f7d7d2;
    --fc-breakpoint-operation-bg-colour: #3d211f;
    --fc-breakpoint-operation-border-colour: #5c2f2b;

    /* Operation arguments */
    --op-title-font-weight: 600;
    --arg-font-colour: #e8e9ec;
    --arg-background: #262a33;
    --arg-border-colour: #2e323b;
    --arg-disabled-background: #1a1d23;
    --arg-label-colour: #9aa0ab;

    /* Operation buttons */
    --disable-icon-colour: #6a707b;
    --disable-icon-selected-colour: #f07a6c;
    --breakpoint-icon-colour: #6a707b;
    --breakpoint-icon-selected-colour: #f07a6c;

    /* Buttons */
    --btn-default-font-colour: #e8e9ec;
    --btn-default-bg-colour: #262a33;
    --btn-default-border-colour: #2e323b;

    --btn-default-hover-font-colour: #ffffff;
    --btn-default-hover-bg-colour: #2e323b;
    --btn-default-hover-border-colour: #3a3f4a;

    --btn-success-font-colour: #15171c;
    --btn-success-bg-colour: #e8e9ec;
    --btn-success-border-colour: #e8e9ec;

    --btn-success-hover-font-colour: #15171c;
    --btn-success-hover-bg-colour: #ffffff;
    --btn-success-hover-border-colour: #ffffff;

    /* Highlighter colours */
    --hl1: rgba(224, 192, 115, 0.35);
    --hl2: rgba(92, 203, 146, 0.28);
    --hl3: rgba(240, 122, 108, 0.32);
    --hl4: rgba(224, 179, 85, 0.28);
    --hl5: rgba(122, 162, 247, 0.30);

    /* Scrollbar */
    --scrollbar-track: #15171c;
    --scrollbar-thumb: #343943;
    --scrollbar-hover: #434955;

    /* Misc. */
    --drop-file-border-colour: var(--wb-accent);
    --table-border-colour: #2e323b;
    --popover-background: #1d2027;
    --popover-border-colour: #2e323b;
    --code-background: #262a33;
    --code-font-colour: #e0c073;
    --input-highlight-colour: var(--wb-accent);
    --input-border-colour: #2e323b;
}

:root.benchLight {
    /* Tokens */
    --wb-bg: #f6f7f9;
    --wb-surface: #ffffff;
    --wb-surface2: #eef0f4;
    --wb-fg: #1c1f26;
    --wb-muted: #5f6470;
    --wb-border: #e1e4ea;
    --wb-link: #8a5a12;
    /* Chrome accent; 4.78:1 on --wb-surface2, 5.09:1 on --wb-bg, 5.46:1 on
       --wb-surface. */
    --wb-accent: #2b66c9;
    --wb-accent-fg: #ffffff;
    --wb-ok: #3fb37a;
    --wb-warn: #d9a23a;
    --wb-bad: #dc5a4f;
    --wb-ok-fg: #146b43;
    --wb-warn-fg: #7d5a0a;
    --wb-bad-fg: #a82a20;
    --wb-shadow: 0 1px 2px rgba(16, 20, 28, 0.06), 0 12px 32px rgba(16, 20, 28, 0.12);
    --wb-shadow-sm: 0 1px 2px rgba(16, 20, 28, 0.08);

    /* Type */
    --primary-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --primary-font-colour: #1c1f26;
    --primary-font-size: 14px;
    --primary-line-height: 20px;

    --fixed-width-font-family: "Red Hat Mono", ui-monospace, Menlo, Consolas, monospace;
    --fixed-width-font-colour: inherit;
    --fixed-width-font-size: inherit;

    --subtext-font-colour: #5f6470;
    --subtext-font-size: 13px;

    /* Surfaces */
    --primary-background-colour: #ffffff;
    --secondary-background-colour: #f6f7f9;

    --primary-border-colour: #e1e4ea;
    --secondary-border-colour: #eef0f4;

    --title-colour: #1c1f26;
    --title-weight: 600;
    --title-size: 14px;
    --title-background-colour: #f6f7f9;

    --banner-font-colour: #5f6470;
    --banner-bg-colour: #f6f7f9;
    --banner-url-colour: #8a5a12;

    --category-list-font-colour: #1c1f26;

    --loader-background-colour: #eef0f4;
    --loader-outer-colour: var(--wb-accent);
    --loader-middle-colour: #dc5a4f;
    --loader-inner-colour: #3fb37a;

    /* Operation colours */
    --op-list-operation-font-colour: #1c1f26;
    --op-list-operation-bg-colour: #ffffff;
    --op-list-operation-border-colour: #e1e4ea;

    --rec-list-operation-font-colour: #1c1f26;
    --rec-list-operation-bg-colour: #ffffff;
    --rec-list-operation-border-colour: #e1e4ea;

    --selected-operation-font-color: var(--wb-fg);
    --selected-operation-bg-colour: var(--wb-accent-soft);
    --selected-operation-border-colour: var(--wb-accent);

    --breakpoint-font-colour: #7a2b22;
    --breakpoint-bg-colour: #fbe3e0;
    --breakpoint-border-colour: #f1c7c1;

    --disabled-font-colour: #9aa0ab;
    --disabled-bg-colour: #eef0f4;
    --disabled-border-colour: #e1e4ea;

    --fc-operation-font-colour: #1f5d40;
    --fc-operation-bg-colour: #e2f4ea;
    --fc-operation-border-colour: #c6e6d4;

    --fc-breakpoint-operation-font-colour: #7a2b22;
    --fc-breakpoint-operation-bg-colour: #f7d8d3;
    --fc-breakpoint-operation-border-colour: #eab9b2;

    /* Operation arguments */
    --op-title-font-weight: 600;
    --arg-font-colour: #1c1f26;
    --arg-background: #ffffff;
    --arg-border-colour: #e1e4ea;
    --arg-disabled-background: #eef0f4;
    --arg-label-colour: #5f6470;

    /* Operation buttons */
    --disable-icon-colour: #9aa0ab;
    --disable-icon-selected-colour: #dc5a4f;
    --breakpoint-icon-colour: #9aa0ab;
    --breakpoint-icon-selected-colour: #dc5a4f;

    /* Buttons */
    --btn-default-font-colour: #1c1f26;
    --btn-default-bg-colour: #ffffff;
    --btn-default-border-colour: #e1e4ea;

    --btn-default-hover-font-colour: #1c1f26;
    --btn-default-hover-bg-colour: #eef0f4;
    --btn-default-hover-border-colour: #d5d9e1;

    --btn-success-font-colour: #f6f7f9;
    --btn-success-bg-colour: #1c1f26;
    --btn-success-border-colour: #1c1f26;

    --btn-success-hover-font-colour: #ffffff;
    --btn-success-hover-bg-colour: #000000;
    --btn-success-hover-border-colour: #000000;

    /* Highlighter colours */
    --hl1: rgba(217, 162, 58, 0.35);
    --hl2: rgba(63, 179, 122, 0.28);
    --hl3: rgba(220, 90, 79, 0.28);
    --hl4: rgba(217, 162, 58, 0.20);
    --hl5: rgba(59, 130, 246, 0.22);

    /* Scrollbar */
    --scrollbar-track: #f6f7f9;
    --scrollbar-thumb: #d2d6de;
    --scrollbar-hover: #bcc2cd;

    /* Misc. */
    --drop-file-border-colour: var(--wb-accent);
    --table-border-colour: #e1e4ea;
    --popover-background: #ffffff;
    --popover-border-colour: #e1e4ea;
    --code-background: #eef0f4;
    --code-font-colour: #8a5a12;
    --input-highlight-colour: var(--wb-accent);
    --input-border-colour: #d5d9e1;
}

/* Static tool guides use a neutral palette, independently of the workbench. */
:root.benchLight.landing {
    --wb-bg: #ffffff;
    --wb-surface: #f6f7f9;
    --wb-link: var(--wb-fg);
    --wb-accent: var(--wb-fg);
}

/* Static search pages share the workbench's tokens and typefaces. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--wb-bg); color: var(--wb-fg); font: 15px/1.65 var(--wb-font); -webkit-font-smoothing: antialiased; }
a { color: var(--wb-link); text-underline-offset: 0.25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--wb-accent); outline-offset: 5px; }
header, main, footer { width: min(100% - 64px, 960px); margin-inline: auto; }
header { display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 88px; border-bottom: 1px solid var(--wb-border); }
header nav { display: flex; gap: 24px; align-items: center; font-size: 13px; font-weight: 500; }
header nav a { text-decoration: none; padding-block: 12px; }
header nav a:hover { text-decoration: underline; }
header nav a:last-child { padding: 9px 15px; border: 1px solid var(--wb-border); border-radius: var(--wb-radius-control); }
.brand { font-weight: 700; font-size: 18px; letter-spacing: -0.04em; color: var(--wb-fg); text-decoration: none; }
main { padding-block: 52px 12px; }
main > nav { font-size: 13px; margin-bottom: 22px; }
h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 600; line-height: 1.15; letter-spacing: -0.045em; max-width: 850px; margin: 0 0 18px; }
h2 { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.025em; margin: 0 0 14px; }
h3 { font-size: 12px; font-weight: 500; color: var(--wb-muted); margin: 0 0 12px; }
p { max-width: 720px; margin: 0 0 18px; }
.lead { font-size: 16px; line-height: 1.65; max-width: 670px; color: var(--wb-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 26px; font-size: 14px; }
.primary { background: var(--wb-accent); color: var(--wb-accent-fg); padding: 11px 18px; border-radius: var(--wb-radius-control); text-decoration: none; font-weight: 500; }
.primary:hover { background: var(--wb-muted); }
.note { color: var(--wb-muted); font-size: 12px; margin: 12px 0 38px; }
section { margin-block: 36px; }
ol { padding-left: 24px; max-width: 720px; }
li { padding-left: 4px; margin-block: 12px; }
li::marker { color: var(--wb-muted); }
.presets { padding-left: 20px; }
.example { background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-card); padding: 28px; }
.example-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.example-columns > div { min-width: 0; }
pre { font: 12px/1.75 var(--wb-mono); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.tool-list { list-style: none; padding: 0; border-block: 1px solid var(--wb-border); }
.tool-list li { padding: 0; margin: 0; }
.tool-list li + li { border-top: 1px solid var(--wb-border); }
.tool-row { display: grid; grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.5fr) 20px; gap: 32px; align-items: start; padding: 28px 12px; text-decoration: none; border-radius: var(--wb-radius-control); }
.tool-row:hover { background: var(--wb-surface); }
.tool-row:hover .tool-name { text-decoration: underline; }
.tool-name { font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -0.015em; }
.tool-description { font-size: 14px; line-height: 1.65; color: var(--wb-muted); }
.tool-arrow { width: 20px; height: 20px; margin-top: 2px; }
.index-list { margin-block: 36px 24px; }
.privacy { border-top: 1px solid var(--wb-border); padding-top: 24px; font-size: 13px; color: var(--wb-muted); }
.privacy h2 { font-size: 15px; color: var(--wb-fg); margin-bottom: 10px; }
footer { border-top: 1px solid var(--wb-border); padding-block: 22px 32px; font-size: 12px; color: var(--wb-muted); }
.skip { position: absolute; top: -80px; left: 16px; background: var(--wb-surface); padding: 12px; }
.skip:focus { top: 8px; }
@media (max-width: 620px) {
    header, main, footer { width: calc(100% - 40px); }
    header { gap: 12px; min-height: 72px; }
    header nav { gap: 14px; font-size: 12px; }
    header nav a:last-child { padding: 8px 10px; }
    .brand { font-size: 16px; }
    main { padding-top: 34px; }
    .lead { font-size: 15px; }
    .tool-row { grid-template-columns: minmax(0, 1fr) 20px; gap: 8px 20px; padding: 22px 0; }
    .tool-name { grid-column: 1; }
    .tool-description { grid-column: 1; }
    .tool-arrow { grid-column: 2; grid-row: 1; }
    .index-list { margin-top: 28px; }
    .example { padding: 20px 16px; }
    .example-columns { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
    header { flex-wrap: wrap; gap: 0; padding-block: 12px; }
    header nav { width: 100%; justify-content: space-between; }
}
