/**
 * CyberChef - The Cyber Swiss Army Knife
 *
 * @copyright Crown Copyright 2016-2026
 * @license Apache-2.0
 *
 *   Copyright 2016-2026 Crown Copyright
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
:root {
    --app-font-native-sans: system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif;
    --app-font-text: "proxima-nova", system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif;
    --app-font-text: "proxima-nova", var(--app-font-native-sans);
    --font-sans: "proxima-nova", system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif;
    --font-sans: var(--app-font-text);
    --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
    --ink: #202532;
    --muted: #737b8c;
    --line: #e6e9f0;
    --surface-1: #fff;
    --cyan: #4b61d1;
    --accent: #4b61d1;
    color: #202532;
    color: var(--ink);
    background: #f8f9fc;
    font-family: system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif;
    font-family: var(--font-sans);
    font-synthesis-weight: none;
}
html.wf-inactive { --font-sans: var(--app-font-native-sans); }
/* Keep boxes and native editors usable while only Adobe text waits. */
html.wf-loading [data-font-shell] > :not([data-font-shell], [data-font-independent]),
html.wf-loading [data-font-gated] { visibility: hidden; }
html.wf-loading [data-font-independent] { visibility: visible; }
.font-loading { display: none; }
html.wf-loading .font-loading { display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; background: #eef1fd; overflow: hidden; }
.font-loading::after { content: ""; display: block; width: 25%; height: 100%; background: #4b61d1; background: var(--accent); animation: font-progress 1.2s ease-in-out infinite alternate; }
/* Feedback stays readable for actions that can run before Adobe is available. */
#tool-status { font-family: system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif; font-family: var(--app-font-native-sans); }
#tool-error { font-family: system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif; font-family: var(--app-font-native-sans); }
h1 { position: relative; }
html.wf-loading h1::after { content: ""; visibility: visible; position: absolute; top: .15em; inset-inline-start: 0; height: .8em; width: min(18rem, 80%); border-radius: 5px; background: #e6e9f0; }
@keyframes font-progress { to { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .font-loading::after { animation: none; width: 100%; } }

html[data-navigating] { cursor: progress; }
html[data-navigating]::before { content: ""; position: fixed; inset: 0 0 auto; height: 3px; background: #4b61d1; background: var(--accent); z-index: 100; pointer-events: none; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 "proxima-nova", system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif; font: 15px/1.5 var(--font-sans); }
strong, b { font-weight: 600; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #e6e9f0; border: 1px solid var(--line); border-radius: 7px; min-height: 36px; padding: 8px 12px; background: #fff; font-size: 13px; }
button:hover { background: #f3f5fa; border-color: #ccd3e1; }
button:disabled { opacity: .42; cursor: default; }
button:focus-visible { outline: 2px solid #4b61d1; outline: 2px solid var(--accent); outline-offset: 3px; }
a:focus-visible { outline: 2px solid #4b61d1; outline: 2px solid var(--accent); outline-offset: 3px; }
input:focus-visible { outline: 2px solid #4b61d1; outline: 2px solid var(--accent); outline-offset: 3px; }
select:focus-visible { outline: 2px solid #4b61d1; outline: 2px solid var(--accent); outline-offset: 3px; }
textarea:focus-visible { outline: 2px solid #4b61d1; outline: 2px solid var(--accent); outline-offset: 3px; }
summary:focus-visible { outline: 2px solid #4b61d1; outline: 2px solid var(--accent); outline-offset: 3px; }
input, textarea, select { border: 1px solid #dfe3ed; border-radius: 7px; background: #fff; padding: 10px 12px; min-width: 0; }
textarea { resize: vertical; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(28px, 2.7vw, 36px); line-height: 1.2; letter-spacing: -.03em; font-weight: 600; }
h2 { font-size: 17px; font-weight: 600; }
h3 { font-size: 15px; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; -webkit-clip-path: inset(50%); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 10; padding: 12px 18px; color: #fff; background: #3349b6; border-radius: 7px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-frame { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100dvh; }
.site-sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 28px 16px 0; -webkit-border-end: 1px solid #e6e9f0; -moz-border-end: 1px solid #e6e9f0; border-inline-end: 1px solid #e6e9f0; -webkit-border-end: 1px solid var(--line); -moz-border-end: 1px solid var(--line); border-inline-end: 1px solid var(--line); background: #fff; }
.wordmark { display: flex; align-items: center; gap: 10px; margin: 0 10px 38px; font-size: 24px; font-weight: 600; letter-spacing: -.7px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: #fff; background: #4b61d1; border-radius: 9px; box-shadow: 0 3px 6px #4b61d117; }
.brand-dot { color: #4b61d1; color: var(--accent); -webkit-margin-start: -10px; -moz-margin-start: -10px; margin-inline-start: -10px; }
.sidebar-label, .category-sidebar h2 { color: #657087; font-size: 10px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; margin: 0 12px 10px; }
.library-nav { display: flex; flex-direction: column; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid #e6e9f0; border-bottom: 1px solid var(--line); }
.library-nav a, .category-sidebar nav > * { display: flex; gap: 10px; align-items: center; min-height: 38px; padding: 8px 11px; border: 0; border-radius: 7px; text-align: start; font-size: 13px; background: transparent; color: #626b7d; }
.library-nav a:hover { color: #4b61d1; color: var(--accent); background: #f6f7fc; }
.category-sidebar nav > *:hover { color: #4b61d1; color: var(--accent); background: #f6f7fc; }
.library-nav a[aria-current=page] { color: #4b61d1; color: var(--accent); background: #eef1fd; font-weight: 600; }
.mobile-library { display: none; }
.library-nav small, .category-sidebar small { -webkit-margin-start: auto; -moz-margin-start: auto; margin-inline-start: auto; font-size: 10px; color: #657087; }
.library-nav svg, .category-sidebar svg { width: 17px; color: #949cac; }
.library-nav a[aria-current] svg { color: #4b61d1; color: var(--accent); }
.category-sidebar { margin-top: 24px; min-height: 0; display: flex; flex-direction: column; }
.category-sidebar nav { display: flex; flex-direction: column; gap: 3px; overflow: auto; scrollbar-width: thin; }
.category-sidebar nav > * { flex-shrink: 0; min-height: 36px; font-size: 12px; }
.category-sidebar a[aria-current] { background: #f1f3fa; color: #37435d; font-weight: 600; }
.category-sidebar nav > * > span { min-width: 0; }
.sidebar-bottom { margin-top: auto; padding: 20px 10px; font-size: 11px; color: #657087; display: flex; align-items: center; gap: 8px; }
.sidebar-bottom svg { color: #7d98a0; }
.site-body { min-width: 0; }
.site-header { height: 68px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e6e9f0; border-bottom: 1px solid var(--line); background: #fff; }
.header-location { display: flex; align-items: center; gap: 12px; color: #657087; font-size: 12px; }
.header-location a { color: #687287; }
.header-location > span { color: #394257; }
.header-utilities { display: flex; align-items: center; gap: 25px; font-size: 12px; color: #667085; }
.header-utilities > a:hover { color: #4b61d1; color: var(--accent); }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; gap: 7px; list-style: none; padding: 8px 0; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu nav { position: absolute; inset-inline-end: 0; top: 35px; width: 180px; z-index: 5; background: #fff; border: 1px solid #e6e9f0; border: 1px solid var(--line); border-radius: 9px; padding: 8px; box-shadow: 0 12px 28px #202a4214; }
.language-menu nav a { display: block; padding: 7px 10px; border-radius: 4px; }
.language-menu nav a:hover { background: #f0f3fb; }
.mobile-wordmark { display: none; }
#main-content { max-width: 1200px; padding: 0 40px 54px; margin: auto; }
.directory-hero { padding: 34px 0 24px; }
.eyebrow { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #657087; font-weight: 600; margin-bottom: 9px; }
.hero-description { font-size: 14px; color: #657087; margin-top: 10px; max-width: 730px; }
.directory-search { display: flex; align-items: center; gap: 12px; margin-bottom: 29px; }
.search-field { min-width: 0; flex: 1; display: flex; align-items: center; gap: 11px; padding: 0 15px; height: 48px; background: #fff; border: 1px solid #dfe4ef; border-radius: 9px; box-shadow: 0 2px 3px #1c2b4603; }
.search-field:focus-within { border-color: #8593de; box-shadow: 0 0 0 3px #4b61d10a; }
.search-field > svg { color: #8b94a7; }
.search-field input { width: 100%; height: 100%; padding: 0; background: transparent; border: 0; outline: 0; box-shadow: none; font-size: 14px; }
.search-field input:focus-visible { outline: 0; }
.search-field input::-webkit-input-placeholder { color: #657087; }
.search-field input::-moz-placeholder { color: #657087; }
.search-field input::placeholder { color: #657087; }
.search-field kbd { white-space: nowrap; padding: 2px 6px; color: #657087; border: 1px solid #e9ecf3; border-radius: 4px; font: 10px "proxima-nova", system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif; font: 10px var(--font-sans); }
#clear-filters { background: transparent; border-color: transparent; font-size: 12px; color: #657087; }
#clear-filters:hover { color: #4b61d1; color: var(--accent); background: #eef1fa; }
#category-select { display: none; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.section-heading h2 { font-size: 15px; }
.section-heading > span { font-size: 11px; color: #657087; }
.popular-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.popular-card { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 18px 15px; border: 1px solid #e3e7f0; border-radius: 10px; background: #fff; box-shadow: 0 2px 2px #17244602; transition: border-color .15s, box-shadow .15s; }
.popular-card:hover { border-color: #bdc7e7; box-shadow: 0 4px 12px #2f3c6210; }
.tool-glyph { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; color: #6478d5; background: #eff2fd; border-radius: 8px; }
.tone-1 { color: #8a6ac2; background: #f4effc; }
.tone-2 { color: #5488b6; background: #eff5fb; }
.tone-3 { color: #b08c4a; background: #faf4e9; }
.tone-4 { color: #508e85; background: #edf7f4; }
.tone-5 { color: #998071; background: #f7f1ed; }
.popular-card > span:nth-child(2) { flex: 1; min-width: 0; }
.popular-card strong { display: block; font-size: 14px; font-weight: 600; margin: 1px 0 4px; }
.popular-card small { display: block; color: #657087; font-size: 11px; line-height: 1.5; }
.popular-card > svg { color: #b3bbc9; margin-top: 8px; }
#popular-tools { margin-bottom: 31px; }
.directory-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.directory-heading h2 { font-size: 15px; }
.directory-heading output { padding: 1px 6px; border-radius: 4px; font-size: 10px; color: #657087; background: #edf0f5; }
.directory-hint { -webkit-margin-start: auto; -moz-margin-start: auto; margin-inline-start: auto; color: #657087; font-size: 11px; }
.directory-group { margin-bottom: 18px; border: 1px solid #e6e9f0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.directory-group h3 { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #fcfcfe; border-bottom: 1px solid #e6e9f0; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; color: #657087; letter-spacing: .015em; }
.directory-group h3 svg { color: #9ba6ba; }
.directory-group ul { padding: 0; margin: 0; list-style: none; }
.directory-group li { display: flex; align-items: center; }
.directory-group li > a { flex: 1; min-width: 0; }
.favorite-toggle { flex-shrink: 0; width: 40px; min-height: 40px; padding: 8px; -webkit-margin-end: 8px; -moz-margin-end: 8px; margin-inline-end: 8px; color: #7b869c; border-color: transparent; background: transparent; }
.favorite-toggle:hover { color: #4b61d1; color: var(--accent); background: #eef1fd; }
.favorite-toggle[aria-pressed=true] { color: #986b0e; }
.favorite-toggle[aria-pressed=true] svg { fill: #f7df9d; }
.favorite-detail { width: auto; margin: 0; border-color: #e6e9f0; border-color: var(--line); background: #fff; white-space: nowrap; }
.tool-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.favorites-empty { padding: 48px 24px; border: 1px dashed #dce1ec; border-radius: 10px; background: #fff; text-align: center; }
.favorites-empty > svg { color: #a9b2c4; margin-bottom: 14px; }
.favorites-empty p { margin: 10px auto 20px; max-width: 400px; color: #657087; font-size: 13px; }
.favorites-browse { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; background: #eef1fd; border-radius: 7px; color: #4b61d1; color: var(--accent); font-size: 13px; }
.favorite-status:not(.storage-warning) { position: absolute; width: 1px; height: 1px; overflow: hidden; -webkit-clip-path: inset(50%); clip-path: inset(50%); }
.favorite-status.storage-warning { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 10; max-width: min(400px, calc(100% - 36px)); padding: 12px 18px; border: 1px solid #e9d9ae; border-radius: 8px; background: #fff9e9; font-size: 13px; }
.directory-group li + li { border-top: 1px solid #f0f2f7; }
.directory-group li a { display: grid; grid-template-columns: 26px minmax(140px, 29%) minmax(0, 1fr) 16px; align-items: center; gap: 12px; min-height: 55px; padding: 12px 16px; overflow-wrap: anywhere; }
.directory-group li a:hover { background: #f8faff; }
.row-glyph { color: #8593ae; }
.directory-group strong { font-size: 13px; font-weight: 600; line-height: 1.45; }
.row-description { font-size: 13px; color: #657087; line-height: 1.55; }
.row-arrow { color: #bac1ce; }
.directory-group a:hover .row-arrow { color: #4b61d1; color: var(--accent); }
#directory-empty { padding: 50px 20px; text-align: center; background: #fff; border: 1px dashed #dce1ec; border-radius: 10px; color: #737b8c; color: var(--muted); }
.tool-heading { position: relative; padding: 28px 0 24px; }
.tool-heading h1 { font-size: clamp(26px, 2.5vw, 33px); }
.tool-heading p { font-size: 13px; color: #657087; margin-top: 10px; max-width: 710px; line-height: 1.6; }
.tool-free { display: block; font-size: 11px; color: #546a62; margin-top: 9px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #657087; font-size: 11px; margin-bottom: 22px; }
.tool-heading h1, .tool-guide, .header-location { overflow-wrap: anywhere; }
.breadcrumbs a:hover { color: #4b61d1; color: var(--accent); }
#toolbar-ad { display: none; width: 320px; height: 70px; margin: 48px auto; text-align: center; }
#toolbar-ad > span { display: block; text-transform: uppercase; font: 8px/20px "proxima-nova", system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif; font: 8px/20px var(--font-sans); letter-spacing: .1em; color: #adb4c2; }
@media (min-width: 1440px) { #toolbar-ad[data-ad-requested="true"] { display: block; } }
.tool-runner { background: #fff; border: 1px solid #dfe4ef; border-radius: 12px; box-shadow: 0 3px 8px #182f5504; overflow: hidden; }
#tool-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.input-column, .output-column { min-width: 0; padding: 0 18px 13px; }
.output-column { background: #fbfcff; -webkit-border-start: 1px solid #e4e8f1; -moz-border-start: 1px solid #e4e8f1; border-inline-start: 1px solid #e4e8f1; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 58px; }
.panel-heading h2 { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.panel-heading h2 svg { color: #98a2b7; }
.output-actions { display: flex; gap: 5px; }
.output-actions button, .file-button { display: inline-flex; gap: 5px; align-items: center; border: 1px solid #e3e7f0; border-radius: 6px; background: #fff; min-height: 32px; padding: 5px 9px; font-size: 12px; color: #657087; }
.file-button { position: relative; cursor: pointer; overflow: hidden; }
.file-button input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.file-button:focus-within { outline: 2px solid #4b61d1; outline: 2px solid var(--accent); outline-offset: 2px; }
#tool-input { display: block; width: 100%; min-height: 278px; padding: 16px; background: #fff; border: 1px solid #e4e8f1; border-radius: 7px; font: 13px/1.8 "SF Mono", ui-monospace, Menlo, Consolas, monospace; font: 13px/1.8 var(--font-mono); color: #45516a; }
#tool-output { display: block; width: 100%; min-height: 278px; padding: 16px; background: #fff; border: 1px solid #e4e8f1; border-radius: 7px; font: 13px/1.8 "SF Mono", ui-monospace, Menlo, Consolas, monospace; font: 13px/1.8 var(--font-mono); color: #45516a; }
#tool-output { background: #f5f7fc; border-color: #e6eaf3; }
#tool-input::-webkit-input-placeholder, #tool-output::-webkit-input-placeholder { color: #657087; }
#tool-input::-moz-placeholder, #tool-output::-moz-placeholder { color: #657087; }
#tool-input::placeholder, #tool-output::placeholder { color: #657087; }
#tool-input:disabled { background: #f5f7fb; color: #9aa3b5; }
.input-meta, #output-info { min-height: 17px; margin-top: 9px; color: #657087; font-size: 10px; overflow-wrap: anywhere; }
.input-meta { display: flex; align-items: center; gap: 8px; }
.input-meta button { font-size: 10px; min-height: 20px; padding: 1px 6px; }
.runner-footer { grid-column: 1 / -1; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #e6e9f0; border-top: 1px solid var(--line); background: #fff; }
.run-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.run-actions .primary { background: #4b61d1; background: var(--accent); border-color: #4b61d1; border-color: var(--accent); color: #fff; padding: 9px 17px; font-weight: 600; box-shadow: 0 2px 4px #4b61d122; }
.run-actions .primary:hover { background: #4055c4; }
.run-actions > button:not(.primary) { border-color: transparent; color: #657087; font-size: 12px; }
#tool-status { color: #657087; font-size: 11px; }
#tool-error { grid-column: 1 / -1; padding: 13px 18px; background: #fff5f3; border-top: 1px solid #f0d7d2; color: #b45e4c; font-size: 12px; overflow-wrap: anywhere; }
.tool-options { grid-column: 1 / -1; padding: 13px 18px; border-top: 1px solid #e6e9f0; border-top: 1px solid var(--line); }
.tool-options summary { display: flex; align-items: center; gap: 8px; list-style: none; font-size: 12px; color: #657087; }
.tool-options summary::after { content: "+"; -webkit-margin-start: auto; -moz-margin-start: auto; margin-inline-start: auto; font: 17px "proxima-nova", system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", -apple-system, Arial, sans-serif; font: 17px var(--font-sans); color: #a3adbe; }
.tool-options[open] summary::after { content: "−"; }
.tool-options summary::-webkit-details-marker { display: none; }
.argument-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 17px 0 5px; }
.argument-field { min-width: 0; }
.argument-field > label { display: block; font-size: 11px; font-weight: 600; color: #657087; margin-bottom: 5px; }
.argument-field input:not([type=checkbox]), .argument-field select, .argument-field textarea { width: 100%; font-size: 12px; padding: 8px 9px; color: #68758c; }
.argument-field small { font-size: 10px; color: #657087; }
.argument-check { display: flex; align-items: center; gap: 9px; }
.argument-check label { order: 1; margin: 0; }
.argument-check input { accent-color: #4b61d1; accent-color: var(--accent); }
.paired-input { display: flex; gap: 5px; }
.paired-input select { max-width: 83px; }
.argument-heading { grid-column: 1 / -1; font-size: 12px; color: #69768e; }
#result-preview { width: 100%; height: 278px; border: 1px solid #e6e9f0; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
#result-files { display: flex; flex-direction: column; gap: 7px; }
#result-files a { padding: 10px; font-size: 12px; border: 1px solid #e6e9f0; border: 1px solid var(--line); border-radius: 7px; }
.tool-guide { margin-top: 32px; }
.tool-guide section { padding: 24px; border: 1px solid #e6e9f0; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 16px; }
.tool-guide h2 { font-size: 15px; margin-bottom: 11px; color: #505d74; }
.tool-guide h3 { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: #657087; margin-bottom: 8px; }
.tool-guide p, .tool-guide li { color: #566279; font-size: 14px; line-height: 1.85; }
.tool-guide p + p { margin-top: 10px; }
.tool-guide a { color: #6980ca; }
.tool-guide a:hover { text-decoration: underline; text-underline-offset: 3px; }
.public-description { white-space: pre-line; }
.example-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 16px; }
.tool-guide pre { margin: 0; padding: 15px; font: 11px/1.8 "SF Mono", ui-monospace, Menlo, Consolas, monospace; font: 11px/1.8 var(--font-mono); background: #f7f9fd; color: #657087; border: 1px solid #e9edf5; border-radius: 7px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 230px; overflow: auto; }
.public-table { overflow: auto; }
.public-table table { width: 100%; border-collapse: collapse; font-size: 13px; color: #657087; }
.public-table { max-width: 100%; }
.public-table table { table-layout: fixed; }
.public-table th:first-child { width: 22%; }
.example-settings { margin-top: 12px; font-size: 13px; color: #566279; }
.example-settings summary { padding: 6px 0; }
.public-table td, .public-table th { padding: 9px 11px; text-align: start; vertical-align: top; border-bottom: 1px solid #edf0f6; overflow-wrap: anywhere; }
.parameter-choices { margin-top: 8px; }
.parameter-choices ul { max-height: 260px; overflow: auto; -webkit-padding-start: 18px; -moz-padding-start: 18px; padding-inline-start: 18px; }
.parameter-choices li { font-size: 12px; }
.public-table th { font-size: 11px; font-weight: 600; color: #657087; background: #fafbfe; }
.public-table code { font: 11px "SF Mono", ui-monospace, Menlo, Consolas, monospace; font: 11px var(--font-mono); }
.related-links { -moz-columns: 2; columns: 2; padding-left: 18px; }
.app-footer { display: flex; justify-content: space-between; padding: 20px 40px; border-top: 1px solid #e6e9f0; border-top: 1px solid var(--line); color: #657087; font-size: 11px; background: #fff; }
.app-footer nav { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.app-footer { flex-wrap: wrap; gap: 16px; }
.info-page { max-width: 850px; padding-block: 24px 48px; }
.info-page h1 { max-width: 680px; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.info-page .hero-description { margin-block: 20px 36px; font-size: 19px; }
.info-page section { scroll-margin-top: 24px; }
.privacy-preference { margin-block: 20px; padding: 20px; border: 1px solid #e6e9f0; border: 1px solid var(--line); border-radius: 10px; background: #f8faff; }
.privacy-preference label { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.privacy-preference input { margin-top: 5px; accent-color: #4b61d1; accent-color: var(--accent); }
.privacy-preference p { font-size: 14px; }
@media (max-width: 1150px) {
    .site-frame { grid-template-columns: 205px minmax(0, 1fr); }
    .site-sidebar { padding-left: 12px; padding-right: 12px; }
    #main-content { padding-left: 28px; padding-right: 28px; }
    .site-header { padding-left: 28px; padding-right: 28px; }
    .popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .row-description { display: none; }
    .directory-group li a { grid-template-columns: 26px minmax(0, 1fr) 16px; }
    .argument-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .runner-footer { flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .site-frame { display: block; }
    .site-sidebar { display: none; }
    .site-header { height: 61px; padding: 0 20px; }
    .header-location { display: none; }
    .mobile-wordmark { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 600; letter-spacing: -.4px; }
    .mobile-wordmark svg { color: #4b61d1; color: var(--accent); }
    .mobile-library { display: flex; align-items: center; gap: 8px; padding: 8px 20px; background: #fff; border-bottom: 1px solid #e6e9f0; border-bottom: 1px solid var(--line); }
    .mobile-library a { display: flex; flex: 1; min-width: 0; align-items: center; gap: 7px; padding: 9px 10px; min-height: 44px; border-radius: 7px; font-size: 12px; }
    .mobile-library a > span { overflow-wrap: anywhere; }
    .mobile-library a[aria-current] { color: #4b61d1; color: var(--accent); background: #eef1fd; font-weight: 600; }
    .mobile-library small { font-size: 10px; color: #657087; }
    .mobile-library svg { width: 16px; }
    .tool-title { flex-wrap: wrap; gap: 12px; }
    .favorite-toggle { min-height: 44px; width: 44px; }
    .favorite-detail { width: auto; }
    .header-utilities { gap: 18px; font-size: 11px; }
    .language-menu summary > svg { display: none; }
    #main-content { padding: 0 20px 30px; }
    .directory-hero { padding: 25px 0 19px; }
    .directory-hero h1 { font-size: 27px; }
    .hero-description { font-size: 13px; line-height: 1.7; margin-top: 9px; }
    .eyebrow { font-size: 9px; }
    .directory-search { flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
    .search-field { flex-basis: 100%; height: 44px; padding: 0 12px; }
    .search-field input { font-size: 16px; }
    .search-field kbd { display: none; }
    #category-select { display: block; order: 1; flex: 1; font-size: 16px; padding: 8px 10px; }
    #clear-filters { order: 2; font-size: 11px; min-height: 34px; padding: 5px 9px; }
    .section-heading h2, .directory-heading h2 { font-size: 14px; }
    .section-heading > span { font-size: 10px; }
    .popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .popular-card { position: relative; flex-direction: column; gap: 12px; padding: 15px 13px; }
    .popular-card > svg { position: absolute; inset-inline-end: 12px; top: 16px; margin: 0; width: 14px; }
    .popular-card strong { font-size: 13px; }
    .popular-card small { font-size: 12px; }
    .tool-glyph { width: 30px; height: 30px; border-radius: 7px; }
    .tool-glyph svg { width: 18px; height: 18px; }
    #popular-tools { margin-bottom: 26px; }
    .directory-hint { display: none; }
    .directory-group li a { min-height: 51px; padding: 12px; gap: 8px; grid-template-columns: 22px minmax(0, 1fr) 16px; }
    .directory-group strong { font-size: 13px; }
    .directory-group h3 { padding: 10px 12px; font-size: 10px; }
    .tool-heading { padding: 21px 0; }
    .breadcrumbs { margin-bottom: 18px; font-size: 10px; }
    .tool-heading h1 { font-size: 26px; }
    .tool-heading p { font-size: 12px; }
    #tool-form { display: flex; flex-direction: column; }
    .input-column { order: 1; }
    .tool-options { order: 2; }
    .runner-footer { order: 3; }
    #tool-error { order: 4; }
    .output-column { order: 5; }
    .input-column, .output-column { padding: 0 14px 11px; }
    .output-column { -webkit-border-start: 0; -moz-border-start: 0; border-inline-start: 0; border-top: 1px solid #e6e9f0; border-top: 1px solid var(--line); }
    .panel-heading { height: 52px; }
    .panel-heading h2 { font-size: 12px; }
    #tool-input, #tool-output { min-height: 186px; font-size: 16px; padding: 12px; }
    .argument-field input:not([type=checkbox]), .argument-field select, .argument-field textarea { font-size: 16px; }
    #output-info, .input-meta { font-size: 9px; }
    .output-actions button, .file-button { font-size: 10px; padding: 4px 6px; }
    .output-actions button svg { width: 13px; }
    .runner-footer { padding: 13px 14px; gap: 11px; }
    .run-actions { gap: 4px; }
    .run-actions button { min-height: 37px; }
    .run-actions .primary { padding: 8px 13px; font-size: 12px; }
    .run-actions > button:not(.primary) { padding: 6px 7px; font-size: 11px; }
    #tool-status { font-size: 10px; }
    .tool-options { padding: 12px 14px; }
    .argument-grid { grid-template-columns: minmax(0, 1fr); }
    .tool-guide { margin-top: 22px; }
    .tool-guide section { padding: 19px 17px; margin-bottom: 12px; }
    .tool-guide h2 { font-size: 14px; }
    .tool-guide p, .tool-guide li { font-size: 13px; }
    .example-pair { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .related-links { -moz-columns: 1; columns: 1; }
    .app-footer { padding: 18px 20px; flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .popular-card { transition: none; } }

.home-use-cases{margin:36px 0 42px;padding:28px;border:1px solid #e6e9f0;border:1px solid var(--line);border-radius:16px;background:#fff;background:var(--surface-1)}
.home-use-cases>p{max-width:86ch;line-height:1.65;color:#737b8c;color:var(--muted)}
.home-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}
.home-task-grid h3{font-size:17px}.home-task-grid p{font-size:14px;line-height:1.65;color:#737b8c;color:var(--muted)}
.home-task-grid nav{display:flex;flex-wrap:wrap;gap:8px 16px}.home-task-grid a{font-size:14px;text-underline-offset:3px}
@media(max-width:800px){.home-task-grid{grid-template-columns:1fr;gap:12px}.home-use-cases{padding:20px}}

