:root {
  color-scheme: light;
  --page: #ffffff;
  --surface: #f6f6f5;
  --surface-strong: #efefed;
  --border: #e7e7e5;
  --text: #242424;
  --muted: #666666;
  --soft-muted: #858585;
  --accent: #e96b27;
  --accent-hover: #ca5419;
  --accent-soft: #fff0e6;
  --success: #176c43;
  --success-bg: #e9f8ef;
  --warning: #86520b;
  --warning-bg: #fff5d9;
  --danger: #a32b2b;
  --danger-bg: #fff0ef;
  --info: #255e92;
  --info-bg: #eef6ff;
  --shadow: 0 16px 45px rgba(20, 20, 20, .07);
  --shadow-soft: 0 4px 18px rgba(20, 20, 20, .045);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shell: 1200px;
  --focus: #8a3f10;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #151515;
  --surface: #202020;
  --surface-strong: #292929;
  --border: #353535;
  --text: #f5f5f5;
  --muted: #b7b7b7;
  --soft-muted: #969696;
  --accent: #f28a4b;
  --accent-hover: #ff9d60;
  --accent-soft: #39271d;
  --success: #87ddb0;
  --success-bg: #183426;
  --warning: #ffd17b;
  --warning-bg: #3b3019;
  --danger: #ffaaa5;
  --danger-bg: #3c2020;
  --info: #a4d2ff;
  --info-bg: #1d2d3d;
  --shadow: 0 16px 45px rgba(0, 0, 0, .25);
  --shadow-soft: 0 4px 18px rgba(0, 0, 0, .18);
  --focus: #ffb88c;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--text); background: var(--page); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [contenteditable="true"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img, svg { max-width: 100%; }
.icon { flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.page-shell { min-height: calc(100vh - 72px); display: flex; flex-direction: column; }
.page-shell > main { flex: 1; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 1000; padding: 10px 14px; background: var(--text); color: var(--page); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-muted { color: var(--muted); }
.text-small { font-size: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.eyebrow-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--page) 94%, transparent); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 180px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; background: var(--accent); color: white; }
.brand-mark svg { width: 35px; height: 35px; overflow: visible; }
.brand-mark path { stroke: currentColor; fill: none; stroke-width: 3.4; stroke-linecap: round; }
.brand-mark circle { fill: currentColor; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.1; font-size: 15px; letter-spacing: -.025em; }
.brand-wordmark strong { font-weight: 750; }
.brand-wordmark span { color: var(--muted); font-weight: 550; margin-top: 3px; }
.desktop-nav { display: flex; align-items: center; gap: 24px; height: 100%; flex: 0 0 auto; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 8px 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.nav-link:hover, .nav-link:focus-visible { color: var(--text); }
.nav-chevron { width: 15px; height: 15px; }
.nav-menu-wrap { position: relative; }
.nav-menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 260px; border: 1px solid var(--border); border-radius: 14px; background: var(--page); box-shadow: var(--shadow); padding: 7px; }
.nav-menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.nav-menu a:hover { background: var(--surface); color: var(--text); }
.nav-menu small { font-size: 10px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 2px 6px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 1; min-width: 0; }
.global-search { position: relative; display: flex; align-items: center; min-width: 175px; width: min(31vw, 300px); height: 42px; border: 1px solid var(--border); background: var(--surface); border-radius: 11px; padding: 0 10px; gap: 8px; }
.global-search:focus-within { border-color: color-mix(in srgb, var(--accent) 70%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent); }
.search-symbol { display: inline-flex; color: var(--muted); }
.search-symbol .icon { width: 18px; height: 18px; }
.global-search input { min-width: 0; width: 100%; border: 0; background: transparent; color: var(--text); outline: 0; font-size: 13px; }
.global-search input::placeholder { color: var(--soft-muted); }
.search-shortcut { border: 1px solid var(--border); border-radius: 5px; padding: 1px 4px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.search-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 9px); z-index: 100; background: var(--page); border: 1px solid var(--border); border-radius: 13px; box-shadow: var(--shadow); padding: 7px; }
.search-suggestions a { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 9px; }
.search-suggestions a:hover, .search-suggestions a[aria-selected="true"] { background: var(--surface); color: var(--text); }
.search-result-icon { color: var(--accent); padding-top: 2px; }
.search-result-title { display: block; font-size: 13px; font-weight: 650; line-height: 1.35; }
.search-result-category { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.search-empty { padding: 13px 10px; font-size: 13px; color: var(--muted); }
.search-all { display: flex; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 5px; padding: 10px 10px 6px; font-size: 12px; font-weight: 700; color: var(--accent); }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 11px; background: var(--page); cursor: pointer; }
.icon-button:hover { background: var(--surface); }
.icon-button .icon { width: 18px; height: 18px; }
.mobile-menu-toggle, .mobile-nav { display: none; }
.mobile-nav { padding-top: 8px; padding-bottom: 14px; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; }
.mobile-nav a:hover { background: var(--surface); }
.status-pill, .badge, .status-badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 4px 8px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.3; white-space: nowrap; }
.badge-accent { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); background: var(--accent-soft); color: var(--accent-hover); }
.badge-success { background: var(--success-bg); color: var(--success); border-color: color-mix(in srgb, var(--success) 30%, var(--border)); }
.badge-warning { background: var(--warning-bg); color: var(--warning); border-color: color-mix(in srgb, var(--warning) 30%, var(--border)); }
.hero { padding: 74px 0 55px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); align-items: center; gap: 55px; }
.hero-copy h1 { margin: 18px 0 18px; font-size: clamp(2.25rem, 4.1vw, 3.65rem); line-height: 1.08; letter-spacing: -.055em; max-width: 720px; }
.hero-copy h1 .accent-text { color: var(--accent); }
.hero-copy > p { max-width: 630px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

.hero-search-form { position: relative; max-width: 590px; margin-top: 24px; }
.hero-search-control { position: relative; display: flex; align-items: center; gap: 9px; min-height: 58px; padding: 6px 7px 6px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--page); box-shadow: var(--shadow-soft); }
.hero-search-control:focus-within { border-color: color-mix(in srgb, var(--accent) 70%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.hero-search-control .search-symbol { color: var(--muted); }
.hero-search-control .search-symbol .icon { width: 20px; height: 20px; }
.hero-search-control input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; padding: 10px 0; font-size: 14px; }
.hero-search-control input::placeholder { color: var(--soft-muted); }
.hero-search-form > .field-help { display: block; margin-top: 8px; }
.hero-search-form .search-suggestions { left: 0; right: 0; top: calc(100% + 8px); }

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.hero-proof { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 21px; color: var(--muted); font-size: 12px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof .icon { width: 15px; height: 15px; color: var(--success); }
.hero-visual { position: relative; border: 1px solid var(--border); border-radius: 23px; background: linear-gradient(145deg, var(--surface) 0%, var(--page) 75%); padding: 16px; box-shadow: var(--shadow); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; top: -100px; right: -80px; background: var(--accent); opacity: .07; }
.visual-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding: 3px 4px 14px; color: var(--muted); font-size: 12px; }
.dot-stack { display: flex; gap: 5px; }
.dot-stack span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.visual-main { position: relative; z-index: 1; padding: 22px 7px 6px; }
.visual-main h2 { margin: 0 0 7px; font-size: 17px; letter-spacing: -.02em; }
.visual-main p { margin: 0 0 16px; font-size: 12px; color: var(--muted); }
.visual-search { padding: 11px 12px; display: flex; gap: 8px; align-items: center; background: var(--page); border: 1px solid var(--border); border-radius: 9px; color: var(--muted); font-size: 12px; }
.visual-result { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px; background: var(--page); border: 1px solid var(--border); border-radius: 10px; }
.visual-result-icon { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 9px; flex: 0 0 35px; background: var(--accent-soft); color: var(--accent); }
.visual-result strong { display: block; font-size: 12px; line-height: 1.3; }
.visual-result small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.visual-result .icon-check { margin-left: auto; color: var(--success); }
.section { padding: 56px 0; }
.section-muted { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 1.9rem); letter-spacing: -.035em; line-height: 1.2; }
.section-heading p { max-width: 570px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 13px; white-space: nowrap; }
.text-link:hover { color: var(--accent-hover); }
.text-link .icon { width: 16px; height: 16px; }
.tool-grid, .category-grid, .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card, .category-card, .article-card, .info-card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--page); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.tool-card:hover, .category-card:hover, .article-card:hover { border-color: color-mix(in srgb, var(--accent) 48%, var(--border)); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.tool-card a.card-link, .category-card a.card-link, .article-card a.card-link { display: flex; height: 100%; flex-direction: column; padding: 20px; color: inherit; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.card-icon .icon { width: 21px; height: 21px; }
.card-link h3 { margin: 16px 0 7px; font-size: 16px; letter-spacing: -.02em; line-height: 1.35; }
.card-link p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }
.card-link .card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 17px; font-size: 12px; font-weight: 700; color: var(--accent); }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card a.card-link { padding: 18px; }
.category-card .card-icon { width: 39px; height: 39px; }
.category-card h3 { margin-top: 13px; font-size: 14px; }
.category-card p { font-size: 12px; }
.category-card .card-bottom { font-size: 11px; padding-top: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.feature-item { padding: 21px 0; }
.feature-item .card-icon { margin-bottom: 16px; }
.feature-item h3 { margin: 0 0 7px; font-size: 15px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.banner-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); }
.banner-panel h2 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.035em; }
.banner-panel p { margin: 0; max-width: 650px; color: var(--muted); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--page); border-color: var(--border); color: var(--text); }
.btn-secondary:hover { background: var(--surface); color: var(--text); border-color: var(--soft-muted); }
.btn-quiet { background: transparent; border-color: var(--border); color: var(--muted); }
.btn-quiet:hover { color: var(--text); background: var(--surface); }
.btn-danger { background: var(--danger-bg); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, var(--border)); }
.btn-small { min-height: 35px; padding: 7px 10px; font-size: 12px; }
.btn .icon { width: 16px; height: 16px; }
.site-footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--surface); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 35px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand-block p { max-width: 360px; color: var(--muted); font-size: 12px; line-height: 1.75; margin: 0; }
.footer-column h2 { margin: 3px 0 15px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.footer-column a { display: block; width: fit-content; margin: 9px 0; font-size: 12px; color: var(--muted); }
.footer-column a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.page-hero { padding: 44px 0 24px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.breadcrumbs .icon { width: 12px; height: 12px; }
.breadcrumbs a:hover { color: var(--accent); }
.page-hero h1 { max-width: 850px; margin: 0 0 12px; font-size: clamp(1.9rem, 3.7vw, 2.6rem); line-height: 1.12; letter-spacing: -.045em; }
.page-hero p { max-width: 770px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.tool-page-heading { display: flex; align-items: flex-start; gap: 16px; margin-top: 18px; }
.tool-page-heading > div:last-child { min-width: 0; }
.tool-page-heading .eyebrow { margin-bottom: 12px; }
.tool-page-heading h1 { margin: 0 0 10px; }
.tool-page-heading p { margin: 0; max-width: 770px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.tool-page-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 60px; width: 60px; height: 60px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); border-radius: 17px; background: var(--accent-soft); color: var(--accent-hover); }
.tool-page-icon .icon { width: 29px; height: 29px; }
.tool-card-icon .icon { width: 22px; height: 22px; }

.page-content { padding: 12px 0 64px; }
.content-narrow { max-width: 850px; }
.content-prose h2 { margin-top: 32px; margin-bottom: 10px; font-size: 22px; letter-spacing: -.03em; }
.content-prose h3 { margin-top: 24px; margin-bottom: 8px; font-size: 17px; }
.content-prose p, .content-prose li { color: var(--muted); font-size: 15px; line-height: 1.85; }
.content-prose li { margin: 6px 0; }
.content-prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.content-prose hr { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }
.callout { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--surface); color: var(--muted); font-size: 13px; }
.callout strong { color: var(--text); }
.callout.warning { border-color: color-mix(in srgb, var(--warning) 30%, var(--border)); background: var(--warning-bg); }
.callout.success { border-color: color-mix(in srgb, var(--success) 30%, var(--border)); background: var(--success-bg); }
.two-column-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 24px; align-items: start; }
.tool-workspace { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--page); overflow: hidden; }
.workspace-header { padding: 22px 24px 17px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--surface) 0, var(--page) 100%); }
.workspace-header h2 { margin: 0 0 5px; font-size: 17px; letter-spacing: -.025em; }
.workspace-header p { margin: 0; color: var(--muted); font-size: 12px; }
.workspace-form { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.form-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, .field-label { font-size: 13px; font-weight: 700; }
.required-mark { color: var(--accent); }
.form-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .form-field textarea, .form-field select, .input-control { width: 100%; min-width: 0; border: 1px solid var(--border); border-radius: 9px; background: var(--page); color: var(--text); padding: 11px 12px; outline: 0; font-size: 13px; line-height: 1.5; }
.form-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .form-field select, .input-control { min-height: 44px; }
.form-field textarea { resize: vertical; min-height: 102px; }
.form-field input:not([type="checkbox"]):not([type="radio"]):focus, .form-field textarea:focus, .form-field select:focus, .input-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.form-field input:not([type="checkbox"]):not([type="radio"])::placeholder, .form-field textarea::placeholder { color: var(--soft-muted); }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.55; }
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.workspace-result { border-top: 1px solid var(--border); background: var(--surface); padding: 22px 24px; }
.workspace-result[hidden] { display: none !important; }
.result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.result-heading h2 { margin: 0; font-size: 16px; }
.result-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.result-list { display: grid; gap: 10px; }
.result-card { border: 1px solid var(--border); border-radius: 11px; background: var(--page); padding: 14px; }
.result-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.result-card h3 { margin: 0; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.result-card p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.result-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.result-card-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.result-card-actions .btn { min-height: 33px; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.result-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip { display: inline-flex; gap: 6px; align-items: center; max-width: 100%; border: 1px solid var(--border); border-radius: 999px; padding: 6px 7px 6px 10px; background: var(--page); font-size: 12px; overflow-wrap: anywhere; }
.tag-chip button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--surface); color: var(--muted); width: 21px; height: 21px; cursor: pointer; flex: 0 0 21px; }
.tag-chip button:hover { color: var(--danger); }
.progress-meter { width: 100%; height: 7px; overflow: hidden; border-radius: 999px; background: var(--surface-strong); }
.progress-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .15s ease; }
.tool-sidebar { display: grid; gap: 14px; }
.sidebar-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 17px; background: var(--page); }
.sidebar-card h2 { margin: 0 0 10px; font-size: 13px; }
.sidebar-card p, .sidebar-card li { color: var(--muted); font-size: 12px; line-height: 1.7; }
.sidebar-card p { margin: 0; }
.sidebar-card ul { padding-left: 17px; margin: 8px 0 0; }
.sidebar-links { display: grid; gap: 8px; }
.sidebar-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 650; }
.sidebar-links a .icon { width: 14px; height: 14px; color: var(--muted); }
.tool-detail-section { margin-top: 30px; }
.tool-detail-section h2 { margin: 0 0 11px; font-size: 20px; letter-spacing: -.03em; }
.tool-detail-section p, .tool-detail-section li { color: var(--muted); font-size: 14px; line-height: 1.8; }
.tool-detail-section ul { padding-left: 20px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: 11px; background: var(--page); padding: 14px 16px; }
.faq-list summary { cursor: pointer; font-weight: 650; font-size: 13px; }
.faq-list details p { color: var(--muted); margin: 10px 0 0; font-size: 13px; line-height: 1.75; }
.category-filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.filter-chip { display: inline-flex; align-items: center; min-height: 35px; border: 1px solid var(--border); background: var(--page); border-radius: 100px; padding: 7px 12px; color: var(--muted); font-size: 12px; cursor: pointer; }
.filter-chip[aria-pressed="true"], .filter-chip:hover { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); color: var(--accent-hover); }
.directory-search { max-width: 520px; }
.search-page-form { display: flex; align-items: center; gap: 8px; }
.search-page-form input { flex: 1; min-width: 0; min-height: 45px; border: 1px solid var(--border); background: var(--page); border-radius: 10px; padding: 10px 12px; color: var(--text); }
.empty-state { padding: 34px 22px; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state .card-icon { margin: 0 auto 12px; }
.empty-state h2 { margin: 0 0 7px; font-size: 17px; }
.empty-state p { margin: 0 auto 18px; max-width: 520px; color: var(--muted); font-size: 13px; }
.article-card .article-art { display: grid; place-items: center; aspect-ratio: 16 / 7; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--accent-soft), var(--surface)); color: var(--accent); }
.article-card .article-art .icon { width: 40px; height: 40px; }
.article-card .article-card-content { padding: 18px; }
.article-card .article-card-content h2 { margin: 10px 0 8px; font-size: 16px; line-height: 1.4; letter-spacing: -.02em; }
.article-card .article-card-content p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 12px; }
.article-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: 11px; }
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h1 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.05em; }
.article-excerpt { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 16px; }
.article-content { margin-top: 30px; overflow-wrap: anywhere; }
.article-content p, .article-content li { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-content h2 { margin-top: 34px; font-size: 24px; letter-spacing: -.03em; }
.article-content h3 { margin-top: 25px; font-size: 19px; }
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--muted); }
.admin-shell { max-width: 1050px; margin-inline: auto; padding: 34px 0 64px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 23px; border-bottom: 1px solid var(--border); }
.admin-topbar h1 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.admin-nav a { display: inline-flex; padding: 8px 11px; border: 1px solid var(--border); border-radius: 9px; font-size: 12px; font-weight: 650; }
.admin-nav a:hover { background: var(--surface); }
.admin-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; background: var(--page); }
.admin-card h2 { margin: 0 0 14px; font-size: 17px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table th { background: var(--surface); color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td .row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-login-wrap { display: grid; place-items: center; min-height: 65vh; padding: 35px 0; }
.admin-login-card { width: min(100%, 450px); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; background: var(--page); box-shadow: var(--shadow-soft); }
.admin-login-card h1 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.04em; }
.admin-login-card > p { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.notice { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 17px; font-size: 13px; }
.notice.success { background: var(--success-bg); color: var(--success); border-color: color-mix(in srgb, var(--success) 25%, var(--border)); }
.notice.error { background: var(--danger-bg); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 25%, var(--border)); }
.notice.info { background: var(--info-bg); color: var(--info); border-color: color-mix(in srgb, var(--info) 25%, var(--border)); }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--border); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--surface); }
.editor-toolbar button { min-width: 34px; min-height: 34px; border: 1px solid var(--border); border-radius: 6px; background: var(--page); cursor: pointer; font-size: 12px; }
.editor-toolbar button:hover { border-color: var(--accent); color: var(--accent); }
.editor-content { min-height: 300px; border: 1px solid var(--border); border-radius: 0 0 10px 10px; padding: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.editor-content:empty::before { content: attr(data-placeholder); color: var(--soft-muted); }
.editor-content h2 { font-size: 22px; }
.editor-content h3 { font-size: 18px; }
.editor-content p { margin: 0 0 12px; }
.editor-content ul, .editor-content ol { padding-left: 24px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.checkbox-row input[type="checkbox"], .form-field input[type="checkbox"], .form-field input[type="radio"] { appearance: auto; accent-color: var(--accent); width: 16px !important; height: 16px; min-width: 16px; min-height: 16px !important; margin: 3px 0 0; padding: 0 !important; border: 0; border-radius: 3px; box-shadow: none !important; flex: 0 0 16px; cursor: pointer; }
.checkbox-row { align-items: center; }
.checkbox-row input[type="checkbox"] { align-self: flex-start; }
.toast-region { position: fixed; z-index: 200; right: 16px; bottom: 16px; display: grid; gap: 8px; max-width: min(360px, calc(100% - 32px)); pointer-events: none; }
.toast { padding: 12px 15px; border-radius: 10px; background: var(--text); color: var(--page); box-shadow: var(--shadow); font-size: 13px; animation: toast-in .18s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.site-map-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.site-map-list a { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 9px; font-size: 13px; }
.site-map-list a:hover { background: var(--surface); }

@media (max-width: 1080px) {
  .header-inner { gap: 16px; }
  .brand { min-width: 165px; }
  .desktop-nav { gap: 16px; }
  .global-search { width: min(29vw, 270px); }
  .hero-inner { gap: 32px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / 4; }
}
@media (max-width: 820px) {
  .shell { width: min(var(--shell), calc(100% - 40px)); }
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; }
  .header-inner { min-height: 70px; }
  .brand { min-width: 0; }
  .global-search { width: min(44vw, 300px); }
  .search-shortcut { display: none; }
  .hero { padding: 50px 0 38px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy h1 { max-width: 680px; }
  .hero-visual { max-width: 620px; }
  .section { padding: 43px 0; }
  .tool-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; gap: 3px; }
  .feature-item { display: grid; grid-template-columns: 44px 1fr; gap: 0 13px; padding: 12px 0; }
  .feature-item .card-icon { grid-row: span 2; margin: 0; }
  .feature-item h3 { align-self: end; }
  .feature-item p { align-self: start; }
  .two-column-layout { grid-template-columns: 1fr; }
  .tool-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-column:last-child { grid-column: auto; }
  .banner-panel { align-items: flex-start; flex-direction: column; }
  .admin-shell { width: min(100% - 40px, 1050px); }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 65px; gap: 9px; }
  .brand { gap: 7px; }
  .brand-mark { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark svg { width: 30px; height: 30px; }
  .brand-wordmark { font-size: 12px; }
  .header-actions { gap: 5px; }
  .global-search { width: 40px; min-width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 10px; background: transparent; }
  .global-search input, .global-search .search-shortcut { display: none; }
  .global-search.search-open { position: absolute; top: 12px; left: 16px; right: 112px; z-index: 150; width: auto; min-width: 0; padding: 0 10px; background: var(--page); box-shadow: var(--shadow-soft); }
  .global-search.search-open input { display: block; }
  .global-search.search-open .search-suggestions { top: calc(100% + 9px); }
  .icon-button { width: 39px; height: 39px; border-radius: 10px; }
  .mobile-nav:not([hidden]) { display: grid; grid-template-columns: 1fr; }
  .hero { padding: 38px 0 28px; }
  .hero-inner { gap: 25px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 10vw, 2.85rem); letter-spacing: -.055em; margin-top: 14px; }
  .hero-copy > p { font-size: 15px; }
  .hero-search-form { margin-top: 19px; }
  .hero-search-control { min-height: 54px; padding-left: 11px; }
  .hero-search-control .btn { padding-inline: 12px; }
  .hero-actions { margin-top: 19px; }
  .hero-actions .btn { flex: 1; }
  .hero-proof { gap: 10px 14px; }
  .hero-visual { padding: 12px; border-radius: 17px; }
  .visual-main { padding: 18px 3px 3px; }
  .visual-result { padding: 9px; }
  .section { padding: 34px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 19px; }
  .tool-grid, .article-grid { grid-template-columns: 1fr; gap: 11px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-card a.card-link { padding: 16px; }
  .category-card a.card-link { padding: 13px; }
  .category-card .card-icon { width: 34px; height: 34px; }
  .category-card h3 { font-size: 12px; }
  .category-card p { font-size: 11px; }
  .card-link h3 { font-size: 15px; }
  .banner-panel { padding: 21px; }
  .banner-panel h2 { font-size: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 17px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .page-hero { padding: 29px 0 17px; }
  .page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.15rem); }
  .page-hero p { font-size: 14px; }
  .page-content { padding-bottom: 42px; }
  .workspace-header { padding: 18px 16px 14px; }
  .workspace-form { padding: 17px 15px; }
  .workspace-result { padding: 17px 15px; }
  .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .form-field.full { grid-column: auto; }
  .form-actions .btn { flex: 1; }
  .tool-sidebar { grid-template-columns: 1fr; }
  .result-heading { flex-direction: column; }
  .result-card-top { flex-direction: column; }
  .result-card-actions .btn { flex: 1; }
  .site-map-list { grid-template-columns: 1fr; }
  .admin-shell { width: calc(100% - 32px); padding: 25px 0 45px; }
  .admin-topbar { align-items: flex-start; flex-direction: column; }
  .admin-card { padding: 16px; }
  .admin-login-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Final responsive and visual-editor refinements */
.editor-toolbar { align-items: center; }
.editor-toolbar button { min-width: 36px; min-height: 36px; padding: 6px 9px; }
.editor-toolbar select, .editor-toolbar input[type="color"] { min-height: 36px; border: 1px solid var(--border); border-radius: 7px; background: var(--page); color: var(--text); padding: 4px 7px; font-size: 12px; }
.editor-toolbar input[type="color"] { width: 42px; padding: 3px; cursor: pointer; }
.editor-content { background: var(--page); }
.editor-content h1 { font-size: 30px; line-height: 1.2; margin: 18px 0 12px; }
.editor-content h2 { font-size: 24px; line-height: 1.3; margin: 17px 0 10px; }
.editor-content h3 { font-size: 20px; line-height: 1.35; margin: 15px 0 9px; }
.editor-content img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 16px 0; }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; }
.tool-workspace, .tool-sidebar, .workspace-form, .workspace-result, .admin-card, .editor-content { min-width: 0; }
.result-card textarea, .workspace-result textarea { max-width: 100%; }
@media (max-width: 820px) {
  .shell { width: min(var(--shell), calc(100% - 36px)); }
  .header-inner { gap: 12px; }
  .global-search { min-width: 0; }
  .tool-page-heading { gap: 12px; }
  .tool-page-icon { flex-basis: 52px; width: 52px; height: 52px; border-radius: 14px; }
  .tool-page-icon .icon { width: 25px; height: 25px; }
  .workspace-form, .workspace-result { padding: 20px; }
  .tool-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-table { min-width: 620px; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { gap: 7px; }
  .brand-wordmark { max-width: 88px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .header-actions { flex: 0 0 auto; }
  .tool-page-heading { align-items: flex-start; gap: 10px; }
  .tool-page-icon { flex-basis: 44px; width: 44px; height: 44px; border-radius: 12px; }
  .tool-page-icon .icon { width: 22px; height: 22px; }
  .tool-page-heading .eyebrow { margin-bottom: 8px; }
  .tool-page-heading h1 { font-size: clamp(1.55rem, 7vw, 2rem); overflow-wrap: anywhere; }
  .tool-page-heading p { font-size: 13px; }
  .workspace-form, .workspace-result { padding: 15px 12px; }
  .workspace-header { padding: 16px 13px 13px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions { gap: 8px; }
  .form-actions .btn { min-width: 0; flex: 1 1 auto; }
  .form-field input, .form-field textarea, .form-field select { max-width: 100%; }
  .checkbox-row { align-items: flex-start; }
  .tool-sidebar { grid-template-columns: 1fr; }
  .editor-toolbar { gap: 5px; padding: 6px; }
  .editor-toolbar button { min-width: 32px; min-height: 32px; padding: 5px 7px; }
  .editor-toolbar select { max-width: 105px; min-width: 0; }
  .editor-content { min-height: 240px; padding: 12px; }
  .editor-content h1 { font-size: 26px; }
  .editor-content h2 { font-size: 21px; }
  .article-content p, .article-content li { font-size: 15px; }
  .admin-card { padding: 14px; }
  .admin-login-card { padding: 20px; }
  .search-page-form { align-items: stretch; flex-direction: column; }
}


/* Expanded local-first catalogue and shared tool engine */
.catalog-search-wrap { display:flex; align-items:center; gap:10px; max-width:760px; margin-top:24px; padding:8px 11px; border:1px solid var(--border); border-radius:12px; background:var(--page); color:var(--muted); }
.catalog-search-wrap > .icon { flex:0 0 auto; }
.catalog-search-wrap input { flex:1; width:100%; min-width:0; border:0; outline:0; background:transparent; color:var(--text); font:inherit; padding:7px 0; }
.catalog-count { white-space:nowrap; font-size:11px; color:var(--muted); }
.catalog-content { padding-top:10px; }
.category-group-nav { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 30px; }
.category-group-nav a { display:inline-flex; min-height:36px; align-items:center; padding:7px 11px; border:1px solid var(--border); border-radius:99px; color:var(--muted); background:var(--surface); font-size:12px; }
.category-group-nav a:hover { border-color:var(--accent); color:var(--accent-hover); }
.catalog-group { margin:0 0 34px; scroll-margin-top:90px; }
.catalog-group[hidden], .catalog-tool-card[hidden] { display:none !important; }
.catalog-group-heading { margin-bottom:13px; }
.catalog-group-heading h2 { margin:0; font-size:21px; }
.catalog-group-heading p { margin:4px 0 0; font-size:12px; color:var(--muted); }
.catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.catalog-tool-card .card-link { min-height:100%; }
.catalog-tool-card .card-topline { align-items:center; }
.catalog-tool-card .card-icon { display:inline-flex; flex:0 0 40px; width:40px; height:40px; align-items:center; justify-content:center; border-radius:12px; background:var(--accent-soft); color:var(--accent-hover); }
.catalog-tool-card .card-icon .icon { width:20px; height:20px; }
.badge-warning { background:var(--warning-bg); color:var(--warning); border:1px solid color-mix(in srgb,var(--warning) 23%,var(--border)); }
.category-brand-icon { flex:0 0 60px; }
.universal-workspace .form-field input[type="checkbox"], .universal-workspace .form-field input[type="radio"], .workspace-form input[type="checkbox"], .workspace-form input[type="radio"] { width:16px !important; height:16px !important; min-width:16px; min-height:16px; margin:2px 0 0; padding:0; accent-color:var(--accent); }
.checkbox-row { display:flex; align-items:center; gap:9px; font-weight:500 !important; line-height:1.45; }
.universal-output { display:block; width:100%; min-height:150px; font-family:inherit; }
.mockup-output-image, .processed-image-preview { display:block; max-width:100%; height:auto; max-height:640px; margin:14px auto; border:1px solid var(--border); border-radius:12px; background:var(--page); object-fit:contain; }
.local-media-preview { margin:0 24px 18px; padding:12px; border:1px solid var(--border); border-radius:12px; background:var(--surface); }
.local-media-preview[hidden] { display:none !important; }
.local-image-preview, .local-video-preview { display:block; width:100%; max-height:430px; object-fit:contain; border-radius:8px; background:#111; }
.preview-meta { color:var(--muted); font-size:12px; margin-bottom:8px; overflow-wrap:anywhere; }
.color-pick-canvas { display:block; max-width:100%; height:auto; margin:12px 0; border:1px solid var(--border); border-radius:9px; cursor:crosshair; }
.signature-panel { padding:20px 24px; }
.signature-panel canvas { display:block; width:100%; max-width:100%; height:auto; aspect-ratio:9/2; border:1px dashed var(--border); border-radius:10px; background:#fff; touch-action:none; }
.signature-panel .form-actions { margin-bottom:12px; }
.quiz-answer { display:block; width:100%; margin:7px 0; padding:11px 13px; border:1px solid var(--border); border-radius:9px; background:var(--page); color:var(--text); text-align:left; cursor:pointer; }
.quiz-answer:hover, .quiz-answer:focus-visible { border-color:var(--accent); }
.prompt-vault-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.prompt-card { min-width:0; border:1px solid var(--border); border-radius:12px; padding:15px; background:var(--surface); }
.prompt-card h3 { margin:0 0 8px; font-size:14px; }
.prompt-card p { overflow-wrap:anywhere; white-space:pre-wrap; font-size:12px; color:var(--muted); line-height:1.65; }
.calendar-results { margin-top:15px; padding:15px; border:1px solid var(--border); border-radius:12px; background:var(--surface); }
.calendar-results h3 { margin:0 0 12px; }
.calendar-results li { margin:7px 0; color:var(--muted); }
.unavailable-engine { margin:22px 24px; }
.tool-spec-table { width:100%; border-collapse:collapse; }
.tool-spec-table th,.tool-spec-table td { padding:11px 13px; text-align:left; border-bottom:1px solid var(--border); vertical-align:top; font-size:12px; }
.tool-spec-table th { font-weight:700; }
.tool-table-wrap { max-width:100%; overflow-x:auto; }
.result-card { white-space:pre-wrap; overflow-wrap:anywhere; }
@media (max-width:900px) { .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .tool-page-icon.category-brand-icon { flex-basis:52px; } }
@media (max-width:560px) {
  .catalog-grid { grid-template-columns:1fr; }
  .catalog-search-wrap { gap:7px; padding:7px 9px; }
  .catalog-count { font-size:10px; }
  .category-group-nav { flex-wrap:nowrap; overflow-x:auto; padding-bottom:5px; margin-right:-2px; }
  .category-group-nav a { flex:0 0 auto; }
  .catalog-tool-card .card-link { padding:15px; }
  .local-media-preview { margin:0 12px 15px; }
  .prompt-vault-grid { grid-template-columns:1fr; }
  .signature-panel { padding:16px 12px; }
  .signature-panel canvas { aspect-ratio:3/1; }
  .tool-spec-table th,.tool-spec-table td { padding:9px; }
}

/* Interactive local checklist and draft library */
.interactive-checklist { gap: 1rem; }
.checklist-summary { display: grid; gap: .8rem; padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.checklist-summary > div:first-child { display:flex; align-items: baseline; justify-content:space-between; gap:.75rem; flex-wrap:wrap; }
.checklist-progress { height: 9px; border-radius: 999px; overflow:hidden; background: var(--border); }
.checklist-progress span { display:block; width:0; height:100%; border-radius:inherit; background:var(--accent); transition:width .18s ease; }
.checklist-items { display:grid; gap:.6rem; }
.checklist-item { display:flex; gap:.7rem; align-items:flex-start; padding:.85rem .9rem; border:1px solid var(--border); border-radius:12px; cursor:pointer; transition:background .15s ease,border-color .15s ease; }
.checklist-item input[type="checkbox"] { width:16px; height:16px; min-width:16px; margin:.14rem 0 0; accent-color:var(--accent); }
.checklist-item span { line-height:1.5; }
.checklist-item.is-checked { background:var(--surface); }
.checklist-item.is-checked span { text-decoration:line-through; opacity:.72; }
.draft-library-list { display:grid; gap:.85rem; margin-top:1.25rem; }
.draft-library-list > h3 { margin:0; }
.draft-library-item { display:grid; gap:.65rem; padding:1rem; border:1px solid var(--border); border-radius:14px; background:var(--surface); min-width:0; }
.draft-library-meta { display:flex; justify-content:space-between; gap:.8rem; align-items:flex-start; flex-wrap:wrap; }
.draft-library-meta h4 { margin:0; overflow-wrap:anywhere; }
.draft-library-item > p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
@media (prefers-reduced-motion: reduce) { .checklist-progress span,.checklist-item { transition:none; } }
