﻿:root {
  color-scheme: light;
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #17212f;
  --muted: #657386;
  --line: #dde6ee;
  --brand: #0f6970;
  --brand-strong: #0a555b;
  --accent: #d9822b;
  --success: #17885f;
  --danger: #c83532;
  --shadow: 0 24px 70px rgba(23, 33, 47, 0.11);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.section { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { width: min(1180px, calc(100% - 32px)); min-height: 72px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 8px; overflow: hidden; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand > span:last-child { font-family: "YouYuan", "Microsoft JhengHei UI", "Microsoft YaHei UI", "PingFang SC", sans-serif; font-size: 22px; font-weight: 900; line-height: 1; color: #102235; }
.primary-nav { display: flex; justify-content: center; gap: 8px; min-width: 0; scrollbar-width: none; }
.primary-nav::-webkit-scrollbar { display: none; }
.primary-nav a { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 40px; padding: 0 14px; color: #415163; border-radius: 8px; font-size: 15px; font-weight: 750; white-space: nowrap; word-break: keep-all; }
.primary-nav a.active, .primary-nav a:hover { color: var(--brand); background: #eef7f6; }
.header-actions { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.about-link { color: var(--muted); font-size: 15px; white-space: nowrap; }
.about-link:hover { color: var(--brand); }
.nav-menu { position: relative; }
.nav-menu summary { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; color: #fff; background: var(--brand); border-radius: 8px; font-size: 15px; font-weight: 850; list-style: none; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 7px; height: 7px; margin-left: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(680px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 22px 70px rgba(23, 33, 47, 0.16); }
.menu-panel h2 { margin: 0 0 10px; color: var(--text); font-size: 15px; }
.menu-panel a, .menu-panel span { display: block; padding: 9px 10px; color: var(--muted); border-radius: 6px; font-size: 14px; }
.menu-panel a { color: var(--brand); font-weight: 850; background: #f2f8f7; }
.menu-panel span { opacity: 0.78; }
.tool-hero { padding: 54px 0 50px; background: radial-gradient(circle at 50% 0%, rgba(15, 105, 112, 0.1), transparent 42%), linear-gradient(180deg, #f8fbfd 0%, #f3f7fa 100%); border-bottom: 1px solid var(--line); }
.hero-shell { max-width: 960px; }
.hero-title { text-align: center; margin-bottom: 24px; }
.eyebrow { margin: 0; color: var(--brand); font-size: 14px; font-weight: 850; }
h1 { margin: 8px 0 10px; font-size: clamp(34px, 4.5vw, 42px); line-height: 1.18; letter-spacing: 0; }
.hero-title p:last-child { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.tool-panel { padding: 28px; background: rgba(255, 255, 255, 0.98); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.lookup-form label { display: block; margin-bottom: 10px; font-weight: 850; }
.search-row { display: grid; grid-template-columns: 1fr 128px; gap: 10px; padding: 8px; background: #f6fafb; border: 1px solid #d9e6ed; border-radius: 8px; }
input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: inherit; outline: none; background: #fff; }
input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 105, 112, 0.12); }
button { min-height: 52px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
button:hover { background: var(--brand-strong); }
button:disabled { cursor: wait; opacity: 0.68; }
button:disabled:not(.is-generating) { cursor: not-allowed; }
.secondary-button:disabled, .secondary-button:disabled:hover { color: #91a0ad; background: #f3f6f8; border-color: #d8e1e8; }
.is-generating { position: relative; opacity: 0.82; }
.generate-loading-toast { position: fixed; left: 50%; top: 88px; z-index: 100; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; color: #fff; background: #102a2e; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; box-shadow: 0 18px 50px rgba(16, 42, 46, 0.28); font-weight: 850; transform: translateX(-50%); animation: generateToastIn 0.18s ease-out; }
.generate-loading-toast.is-hiding { opacity: 0; transform: translate(-50%, -8px); transition: opacity 0.18s ease, transform 0.18s ease; }
.generate-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.32); border-top-color: #fff; border-radius: 50%; animation: generateSpin 0.72s linear infinite; }
.generate-success-dialog { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 18px; background: rgba(15, 23, 42, 0.36); backdrop-filter: blur(5px); }
.generate-success-dialog[hidden] { display: none; }
.generate-success-card { position: relative; width: min(420px, 100%); padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24); animation: generateDialogIn 0.18s ease-out; }
.generate-success-card strong { display: block; margin-bottom: 8px; color: var(--success); font-size: 22px; line-height: 1.3; }
.generate-success-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.7; }
.generate-success-close { position: absolute; top: 10px; right: 10px; width: 34px; min-width: 34px; min-height: 34px; color: var(--muted); background: #f4f7f9; border-radius: 8px; font-size: 22px; line-height: 1; }
.generate-success-close:hover { color: var(--text); background: #e9eef2; }
.generate-success-ok { width: 100%; min-height: 44px; }
@keyframes generateSpin { to { transform: rotate(360deg); } }
@keyframes generateToastIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes generateDialogIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.form-tip { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.my-ip-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 16px; background: #f7fbfb; border: 1px solid #d8e9e7; border-radius: 8px; }
.mini-label { display: block; color: var(--brand); font-size: 13px; font-weight: 850; }
.my-ip-card strong { display: block; margin-top: 4px; font-size: 21px; line-height: 1.25; overflow-wrap: anywhere; }
.my-ip-card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tool-local-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; }
.tool-local-actions > span { color: var(--muted); font-size: 13px; }
.tool-favorite-button { min-height: 36px; padding: 0 12px; color: #6a4a0a; background: #fffaf0; border: 1px solid #eed39b; border-radius: 8px; font-size: 13px; font-weight: 800; }
.tool-favorite-button:hover, .tool-favorite-button.is-favorited { color: #614108; background: #fff0c9; border-color: #d7ad51; }
.secondary-button { min-width: 118px; min-height: 42px; color: var(--brand); background: #fff; border: 1px solid #b8d6d4; }
.secondary-button:hover { color: #fff; background: var(--brand); }
.result-panel { margin-top: 20px; padding: 20px; background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%); border: 1px solid var(--line); border-radius: 8px; }
.result-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 18px; }
.status-dot { width: 10px; height: 10px; background: var(--success); border-radius: 50%; }
.highlight-summary-card { display: grid; grid-template-columns: auto minmax(170px, auto) minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 72px; margin-bottom: 14px; padding: 14px 16px; border: 1px solid #cfe5df; border-left: 5px solid var(--success); border-radius: 8px; background: linear-gradient(90deg, #eaf8f2 0%, #f8fcfb 100%); }
.highlight-summary-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; color: #116b4c; background: #dff3ea; border: 1px solid #bee5d3; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.highlight-summary-value { min-width: 0; color: var(--brand); font-size: clamp(22px, 3vw, 32px); line-height: 1.1; font-weight: 950; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.highlight-summary-meta { min-width: 0; color: #17212f; font-size: 15px; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.highlight-summary-badge { color: #8b531a; background: #fff6e8; border: 1px solid #efd6b1; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.result-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 0; }
.result-list div { min-width: 0; padding: 13px 14px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; }
.result-full { grid-column: 1 / -1; display: grid; grid-template-columns: 120px 1fr; align-items: center; }
.result-next-actions { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.result-next-actions > strong { display: block; margin-bottom: 10px; color: var(--text); font-size: 15px; }
.result-next-actions > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.result-next-actions a { display: grid; gap: 4px; min-height: 76px; padding: 12px; color: var(--brand); background: #fff; border: 1px solid #d8e6e5; border-radius: 8px; text-decoration: none; }
.result-next-actions a:hover, .result-next-actions a:focus-visible { border-color: var(--brand); background: #f3fbfa; }
.result-next-actions a span { font-weight: 850; }
.result-next-actions a small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.result-inline-link { color: var(--brand); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
dt { color: var(--muted); font-size: 14px; }
dd { margin: 2px 0 0; color: #111827; font-size: 17px; font-weight: 850; overflow-wrap: anywhere; }
.error-box { margin: 16px 0 0; padding: 12px; color: var(--danger); background: #fff3f2; border: 1px solid #ffd2cf; border-radius: 8px; }
.json-workbench { display: grid; gap: 14px; }
.json-toolbar { display: flex; flex-wrap: wrap; gap: 10px; }
.json-toolbar button { min-width: 104px; min-height: 44px; padding: 0 14px; }
.json-toolbar .secondary-button { min-width: 88px; }
.postcode-toolbar { margin-top: 14px; }
.editor-shell { overflow: hidden; background: #111827; border: 1px solid #263244; border-radius: 8px; }
.editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 14px; color: #dbeafe; background: #172033; border-bottom: 1px solid #263244; font-size: 14px; font-weight: 850; }
.editor-head span:last-child { color: #9ca3af; font-weight: 700; }
.json-editor { display: block; width: 100%; min-height: 420px; padding: 18px; resize: vertical; color: #e5edf8; background: #111827; border: 0; border-radius: 0; outline: none; font: 15px/1.65 Consolas, "SFMono-Regular", "Liberation Mono", Menlo, monospace; tab-size: 2; }
.json-editor:focus { box-shadow: inset 0 0 0 2px rgba(15, 105, 112, 0.8); }
.formatter-title { margin-bottom: 22px; }
.formatter-workbench { display: grid; gap: 16px; }
.formatter-options { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 12px; }
.formatter-field { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 800; }
.formatter-field[hidden] { display: none; }
.formatter-field .select-field { min-height: 42px; padding: 0 10px; }
.formatter-toolbar { display: flex; flex-wrap: wrap; gap: 10px; }
.formatter-toolbar button, .formatter-file-button { min-height: 42px; padding: 0 15px; }
.formatter-file-button { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.formatter-layout-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }
.formatter-layout-toolbar > span { margin-right: 2px; }
.formatter-layout-toolbar small { margin-left: auto; color: var(--muted); font-weight: 650; }
.formatter-layout-button { min-height: 34px; padding: 0 12px; color: var(--muted); background: #f7fafc; border: 1px solid #d8e1e8; border-radius: 8px; font-size: 13px; }
.formatter-layout-button.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.formatter-layout-button:disabled { opacity: 0.55; cursor: not-allowed; }
.formatter-editors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.formatter-editors[data-layout="stack"] { grid-template-columns: 1fr; }
.formatter-editor { min-height: 460px; }
.formatter-drop-zone { position: relative; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.formatter-drop-zone.is-dragging { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15, 105, 112, 0.14); }
.formatter-drop-zone.is-dragging::after { content: "松开即可导入文本文件"; position: absolute; inset: 42px 0 0; display: grid; place-items: center; color: #fff; background: rgba(15, 105, 112, 0.86); font-weight: 850; pointer-events: none; z-index: 2; }
.formatter-drop-hint { margin: 0; padding: 8px 14px; color: #94a3b8; background: #172033; border-top: 1px solid #263244; font-size: 12px; }
.formatter-editor[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #dc2626; }
.formatter-status { margin: 0; padding: 11px 13px; border-radius: 9px; font-weight: 750; }
.formatter-status.success { color: #166534; background: #ecfdf3; border: 1px solid #bbf7d0; }
.formatter-status.error { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }
.formatter-privacy { margin: 0; color: var(--muted); font-size: 14px; }
.home-code-spotlight { background: linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%); }
.home-code-spotlight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-code-spotlight-grid a { display: grid; gap: 7px; padding: 18px; color: inherit; background: #fff; border: 1px solid #dce8e8; border-radius: 12px; text-decoration: none; box-shadow: 0 8px 24px rgba(15, 105, 112, 0.06); }
.home-code-spotlight-grid a:hover { border-color: var(--primary); transform: translateY(-2px); }
.home-code-spotlight-grid strong { color: var(--text); }
.home-code-spotlight-grid span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.http-headers-workbench, .http-status-workbench { display: grid; gap: 18px; }
.http-headers-workbench form, .http-status-workbench form { display: grid; gap: 14px; }
.http-headers-result { display: grid; gap: 20px; }
.http-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.http-summary-grid article { display: grid; gap: 5px; padding: 16px; background: #f7fafc; border: 1px solid var(--line); border-radius: 10px; }
.http-summary-grid span, .http-summary-grid small { color: var(--muted); font-size: 13px; }
.http-summary-grid strong { color: var(--brand); font-size: 26px; }
.http-url-summary { margin: 0; padding: 14px 16px; background: #f7fafc; border: 1px solid var(--line); border-radius: 10px; }
.http-url-summary div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
.http-url-summary dt { color: var(--muted); font-weight: 850; }
.http-url-summary dd { margin: 0; overflow-wrap: anywhere; font-family: Consolas, "SFMono-Regular", monospace; }
.http-result-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.http-result-heading h2 { margin: 3px 0 0; }
.http-result-heading > span { color: var(--brand); font-weight: 850; }
.http-security-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.http-security-check { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.http-security-check > span { justify-self: start; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 850; }
.http-security-check.present { background: #f1fbf6; border-color: #bde5ce; }
.http-security-check.present > span { color: #166534; background: #dcfce7; }
.http-security-check.missing { background: #fff8f1; border-color: #f2d2ad; }
.http-security-check.missing > span { color: #9a4d12; background: #ffedd5; }
.http-security-check p { margin: 0; color: var(--muted); font-size: 13px; }
.http-header-groups { display: grid; gap: 16px; }
.http-header-group h2 { margin: 0 0 8px; font-size: 18px; }
.http-header-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.http-header-table { width: 100%; border-collapse: collapse; background: #fff; }
.http-header-table th, .http-header-table td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.http-header-table th { width: 230px; color: #24434a; background: #f8fafc; font-family: Consolas, "SFMono-Regular", monospace; font-size: 13px; }
.http-header-table td { font-family: Consolas, "SFMono-Regular", monospace; font-size: 13px; white-space: pre-wrap; }
.http-header-table tr:last-child > * { border-bottom: 0; }
.http-status-quick { display: flex; align-items: flex-start; gap: 12px; }
.http-status-quick > span { padding-top: 8px; color: var(--muted); font-size: 13px; font-weight: 850; white-space: nowrap; }
.http-status-quick > div { display: flex; flex-wrap: wrap; gap: 7px; }
.http-status-quick button { min-height: 34px; padding: 0 10px; color: var(--brand); background: #f7fafc; border: 1px solid #cfe0e4; border-radius: 8px; font-size: 13px; }
.http-status-quick button.active { color: #fff; background: var(--brand); border-color: var(--brand); }
.http-status-result { display: grid; gap: 18px; padding: 20px; background: #f8fbfd; border: 1px solid var(--line); border-left: 6px solid var(--brand); border-radius: 10px; }
.http-status-heading { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px; }
.http-status-heading > span { padding: 5px 9px; color: #1d4ed8; background: #dbeafe; border-radius: 999px; font-size: 12px; font-weight: 850; }
.http-status-heading > strong { color: var(--brand); font-size: 42px; line-height: 1; }
.http-status-heading h2 { margin: 0 0 4px; }
.http-status-heading p { margin: 0; color: var(--muted); }
.http-status-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.http-status-detail-grid section { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.http-status-detail-grid h3 { margin: 0 0 10px; }
.http-status-detail-grid ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: var(--muted); }
.json-status { margin: 0; padding: 12px 14px; border-radius: 8px; font-weight: 750; }
.json-status.success { color: var(--success); background: #eefaf5; border: 1px solid #ccebdd; }
.json-status.error { color: var(--danger); background: #fff3f2; border: 1px solid #ffd2cf; }
.json-feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.json-feature { padding: 14px; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; }
.json-feature strong { display: block; margin-bottom: 4px; }
.json-feature p { margin: 0; color: var(--muted); font-size: 14px; }
.select-field { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: inherit; outline: none; background: #fff; }
.select-field:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 105, 112, 0.12); }
.currency-page-body .site-header { position: static; }
.currency-page-body .tool-hero { padding: 18px 0 28px; }
.currency-page-body .hero-title { margin-bottom: 14px; }
.currency-page-body .hero-title h1 { font-size: clamp(30px, 4vw, 38px); }
.currency-page-body .hero-title p:last-child { max-width: 620px; font-size: 15px; line-height: 1.5; }
.currency-hero { padding: 26px 0 30px; }
.currency-shell { width: min(1160px, calc(100% - 32px)); max-width: none; }
.currency-title { margin-bottom: 14px; }
.currency-title h1 { margin: 4px 0 8px; font-size: clamp(30px, 4vw, 42px); }
.currency-title p:last-child { max-width: 760px; font-size: 15px; line-height: 1.55; }
.currency-panel { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr); gap: 12px 14px; padding: 18px; }
.currency-rate-meta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 12px 14px; background: #f7fbfb; border: 1px solid #d8e9e7; border-radius: 8px; }
.currency-rate-meta strong { display: block; margin-top: 2px; color: #153d40; font-size: 17px; line-height: 1.3; }
.currency-rate-meta p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.currency-rate-meta .secondary-button { min-height: 40px; }
.currency-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.currency-grid .lookup-form { display: grid; align-content: start; gap: 7px; min-width: 0; padding: 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; }
.currency-grid .lookup-form label { margin: 0; color: #153d40; font-size: 14px; font-weight: 900; }
.currency-panel input, .currency-panel .select-field { min-height: 46px; }
.currency-panel .json-toolbar { align-content: start; }
.currency-panel .json-toolbar button { min-height: 42px; }
.currency-panel .result-panel { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; padding: 16px; }
.currency-panel .result-title { margin-bottom: 10px; }
.currency-panel .result-list { gap: 10px; }
.currency-panel .result-list div { padding: 12px; }
.currency-panel .result-full { display: block; }
.currency-panel dd { font-size: 18px; line-height: 1.35; }
.currency-panel #currencyTargetValue { color: var(--brand); font-size: clamp(24px, 3vw, 34px); }
.currency-panel .json-status { grid-column: 1 / -1; padding: 10px 12px; font-size: 14px; }
.dns-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 12px; align-items: end; }
.dns-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.dns-record-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.dns-record-table th, .dns-record-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.dns-record-table th { color: var(--muted); background: #f8fafc; font-weight: 850; white-space: nowrap; }
.dns-record-table td { overflow-wrap: anywhere; }
.dns-record-table tr:last-child td { border-bottom: 0; }
.lookup-summary-row td { padding: 0; background: #eef8f5; border-bottom-color: #cfe5df; }
.lookup-summary-card { display: grid; grid-template-columns: auto minmax(180px, auto) minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 70px; padding: 14px 16px; border-left: 5px solid var(--success); background: linear-gradient(90deg, #eaf8f2 0%, #f8fcfb 100%); }
.lookup-summary-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; color: #116b4c; background: #dff3ea; border: 1px solid #bee5d3; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.lookup-summary-value { min-width: 0; color: var(--brand); font-size: 24px; line-height: 1.1; font-weight: 950; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.lookup-summary-meta { min-width: 0; color: #17212f; font-size: 14px; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookup-summary-badge { color: #8b531a; background: #fff6e8; border: 1px solid #efd6b1; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.postcode-result-panel { padding: 18px; border-color: #cfe0df; background: #f7fbfb; }
.postcode-result-panel .result-title { margin-bottom: 12px; font-size: 17px; }
.postcode-table-wrap { border-color: #d6e5e3; background: #fff; }
.postcode-record-table { table-layout: fixed; min-width: 920px; font-size: 14px; }
.postcode-record-table th:nth-child(1) { width: 112px; }
.postcode-record-table th:nth-child(2) { width: 270px; }
.postcode-record-table th:nth-child(3) { width: 140px; }
.postcode-record-table th:nth-child(4) { width: auto; }
.postcode-record-table th, .postcode-record-table td { vertical-align: middle; }
.postcode-record-table td { overflow-wrap: normal; word-break: keep-all; }
.postcode-code-cell { color: var(--brand); font-size: 18px; font-weight: 950; white-space: nowrap; letter-spacing: 0; }
.postcode-area-cell, .postcode-type-cell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.postcode-area-cell { color: #17212f; font-weight: 850; }
.postcode-type-cell { color: #965c20; font-weight: 850; }
.postcode-note-cell { color: #526170; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.postcode-summary-row td { padding: 0; background: #eef8f5; border-bottom-color: #cfe5df; }
.postcode-summary-card { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 74px; padding: 14px 16px; border-left: 5px solid var(--success); background: linear-gradient(90deg, #eaf8f2 0%, #f6fbfa 100%); }
.postcode-summary-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; color: #116b4c; background: #dff3ea; border: 1px solid #bee5d3; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.postcode-summary-code { color: var(--brand); font-size: 32px; line-height: 1; font-weight: 950; white-space: nowrap; letter-spacing: 0; }
.postcode-summary-area { min-width: 0; color: #17212f; font-size: 18px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.postcode-summary-type { color: #8b531a; background: #fff6e8; border: 1px solid #efd6b1; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.uuid-panel { display: grid; gap: 18px; max-width: 880px; margin: 0 auto; }
.uuid-control-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: stretch; }
.uuid-control-main { display: grid; align-content: start; gap: 12px; min-width: 0; }
.uuid-control-main label { font-weight: 850; }
.uuid-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.uuid-actions button { min-width: 100px; min-height: 44px; padding: 0 14px; }
.uuid-options { display: grid; gap: 12px; padding: 16px; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; }
.uuid-options strong { font-size: 16px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 850; cursor: pointer; }
.switch-row input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.switch-ui { position: relative; flex: 0 0 auto; width: 44px; height: 24px; background: #cbd5df; border-radius: 999px; transition: background 0.18s ease; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(23, 33, 47, 0.24); transition: transform 0.18s ease; }
.switch-row input:checked + .switch-ui { background: var(--brand); }
.switch-row input:checked + .switch-ui::after { transform: translateX(20px); }
.switch-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 105, 112, 0.12); }
.uuid-result-shell { background: #172033; }
.uuid-result-shell .json-editor { min-height: 230px; color: #e8eef7; background: #111827; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 38px 0; }
.content-card { position: relative; min-height: 210px; padding: 22px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 8px; }
.content-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: rgba(15, 105, 112, 0.12); border-radius: 8px 0 0 8px; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 30px; margin-bottom: 12px; padding: 0 9px; color: var(--brand); background: #eef7f6; border: 1px solid #cfe5e2; border-radius: 8px; font-size: 12px; font-weight: 900; letter-spacing: 0; }
.card-data { border-top-color: #2f6fed; }
.card-data::before { background: rgba(47, 111, 237, 0.12); }
.card-data .card-icon { color: #2f4f9b; background: #eef3ff; border-color: #d7e2ff; }
.card-local { border-top-color: #17885f; }
.card-local::before { background: rgba(23, 136, 95, 0.12); }
.card-local .card-icon { color: #11704d; background: #edf8f3; border-color: #cfecdf; }
.card-use { border-top-color: #d9822b; }
.card-use::before { background: rgba(217, 130, 43, 0.14); }
.card-use .card-icon { color: #9d5d1d; background: #fff6e8; border-color: #f1d8b7; }
.card-server { border-top-color: #7c5cc4; }
.card-server::before { background: rgba(124, 92, 196, 0.13); }
.card-server .card-icon { color: #6548a8; background: #f4f0ff; border-color: #ded3ff; }
.card-safe { border-top-color: #bf4a60; }
.card-safe::before { background: rgba(191, 74, 96, 0.12); }
.card-safe .card-icon { color: #99364a; background: #fff0f3; border-color: #f3ccd4; }
.content-card h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.3; }
.content-card p, .main-article p, details p { color: var(--muted); }
.article-band { padding: 42px 0; background: #fff; border-block: 1px solid var(--line); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 34px; align-items: start; }
.main-article h2 { margin: 0 0 10px; padding-top: 22px; font-size: 25px; line-height: 1.3; }
.main-article h2:first-child { padding-top: 0; }
.main-article p { margin: 0 0 14px; }
.side-panel { position: sticky; top: 92px; padding: 18px; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; }
.side-panel h2 { margin: 0 0 12px; font-size: 20px; }
.side-panel a, .side-panel span { display: block; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.side-panel a { color: var(--brand); font-weight: 850; }
.keyword-section { padding: 36px 0 4px; }
.keyword-section h2 { margin: 0 0 16px; font-size: 25px; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 10px; }
.keyword-list span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; color: #35515b; background: #edf4f3; border: 1px solid #d7e7e4; border-radius: 999px; font-size: 14px; }
.seo-panel { margin-top: 28px; padding: 24px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 8px; }
.seo-panel-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.panel-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 38px; color: #fff; background: var(--brand); border-radius: 8px; font-size: 13px; font-weight: 900; }
.seo-panel h2 { margin: 0 0 4px; font-size: 25px; line-height: 1.3; }
.seo-panel-head p { margin: 0; color: var(--muted); }
.seo-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seo-columns article { padding: 16px; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; }
.seo-columns h3 { margin: 0 0 8px; font-size: 18px; }
.seo-columns p { margin: 0; color: var(--muted); }
.faq-section { padding: 42px 0 64px; }
.section-title h2 { margin: 6px 0 0; font-size: clamp(24px, 3vw, 32px); }
.faq-list { display: grid; gap: 12px; margin-top: 20px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
summary { padding: 16px 18px; font-weight: 850; cursor: pointer; }
details p { margin: 0; padding: 0 18px 18px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding: 28px 16px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }
.home-page { background: #f3f6f7; }
.home-hero { position: relative; overflow: hidden; padding: 58px 0 42px; color: #11242a; background: linear-gradient(135deg, #eaf5f2 0%, #f8fbfc 48%, #f4efe7 100%); border-bottom: 1px solid #dce8e6; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 105, 112, 0.09) 1px, transparent 1px), linear-gradient(180deg, rgba(15, 105, 112, 0.07) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 86%); pointer-events: none; }
.home-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 38px; align-items: center; }
.home-hero-copy h1 { max-width: 730px; margin: 8px 0 14px; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: 0; }
.home-hero-copy > p:not(.eyebrow) { max-width: 670px; margin: 0; color: #536575; font-size: 18px; }
.home-search { max-width: 680px; margin-top: 28px; padding: 12px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(176, 197, 203, 0.88); border-radius: 8px; box-shadow: 0 24px 70px rgba(23, 33, 47, 0.11); backdrop-filter: blur(12px); }
.home-search label { display: block; margin: 0 0 8px; color: #24434a; font-size: 14px; font-weight: 900; }
.home-search-row { display: grid; grid-template-columns: 1fr 112px; gap: 10px; }
.home-quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.home-quick-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; color: #0f6970; background: #ffffff; border: 1px solid #cfe1df; border-radius: 999px; font-size: 14px; font-weight: 850; box-shadow: 0 10px 26px rgba(23, 33, 47, 0.07); }
.home-quick-links a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.home-hero-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(205, 221, 224, 0.95); border-radius: 8px; box-shadow: 0 30px 90px rgba(15, 53, 56, 0.16); backdrop-filter: blur(14px); }
.home-stat { min-height: 116px; padding: 18px; background: #102a2e; border-radius: 8px; color: #fff; }
.home-stat:nth-child(2) { background: #754f1a; }
.home-stat strong { display: block; font-size: 42px; line-height: 1; }
.home-stat span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.76); font-weight: 850; }
.home-mini-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-mini-grid a { min-height: 82px; padding: 14px; background: #f8fbfc; border: 1px solid #dce7e7; border-radius: 8px; }
.home-mini-grid span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 28px; margin-bottom: 8px; padding: 0 8px; color: #0f6970; background: #e8f5f2; border-radius: 6px; font-size: 12px; font-weight: 900; }
.home-mini-grid strong { display: block; line-height: 1.3; }
.home-featured, .home-reasons { padding: 44px 0; }
.home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.home-section-head h2 { margin: 4px 0 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.featured-card { position: relative; display: flex; min-height: 230px; flex-direction: column; justify-content: flex-end; padding: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 8px; box-shadow: 0 16px 42px rgba(23, 33, 47, 0.08); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.featured-card::before { content: ""; position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; border-radius: 8px; background: linear-gradient(135deg, rgba(15, 105, 112, 0.12), rgba(217, 130, 43, 0.12)); }
.featured-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(23, 33, 47, 0.14); border-color: #cbdde1; }
.tool-badge { position: relative; width: fit-content; min-height: 30px; display: inline-flex; align-items: center; padding: 0 10px; color: var(--brand); background: #eef7f6; border: 1px solid #d2e8e5; border-radius: 999px; font-size: 13px; font-weight: 900; }
.featured-card h3 { position: relative; margin: 18px 0 8px; font-size: 23px; line-height: 1.25; }
.featured-card p { position: relative; margin: 0; color: var(--muted); }
.home-band { padding: 46px 0; background: #fff; border-block: 1px solid var(--line); }
.tool-category-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr) minmax(0, 0.95fr); gap: 18px; align-items: start; }
.tool-category { padding: 20px; background: #f8fafc; border: 1px solid #dfe8ef; border-radius: 8px; }
.category-head { display: flex; align-items: flex-start; gap: 14px; min-height: 82px; padding-bottom: 16px; border-bottom: 1px solid #dfe8ef; }
.category-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 42px; color: #fff; background: #0f6970; border-radius: 8px; font-size: 13px; font-weight: 900; }
.tool-category:nth-child(2) .category-icon { background: #2f4f9b; }
.tool-category:nth-child(3) .category-icon { background: #9d5d1d; }
.category-head h2 { margin: 4px 0 0; font-size: 22px; line-height: 1.25; }
.tool-list { display: grid; gap: 10px; margin-top: 16px; }
.tool-list a, .tool-list > span { display: grid; gap: 4px; min-height: 70px; padding: 13px 14px; background: #fff; border: 1px solid #dde7ed; border-radius: 8px; }
.tool-list a:hover { border-color: #a9d2d0; box-shadow: 0 12px 28px rgba(23, 33, 47, 0.08); }
.tool-list strong { color: #17212f; line-height: 1.35; }
.tool-list span span, .tool-list a span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.tool-list em { width: fit-content; color: #9d5d1d; font-style: normal; font-size: 13px; font-weight: 900; }
.reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reason-grid article { min-height: 188px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.reason-grid span { color: #d9822b; font-size: 13px; font-weight: 950; }
.reason-grid h3 { margin: 10px 0 8px; font-size: 22px; }
.reason-grid p { margin: 0; color: var(--muted); }
.simple-page { padding: 56px 0 72px; }
.simple-page h1 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 52px); }
.simple-page article { max-width: 820px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.simple-page p, .simple-page li { color: var(--muted); }
.privacy-page .privacy-policy { max-width: 820px; margin-inline: auto; font-size: 1rem; line-height: 1.75; }
.privacy-policy h1 { margin: 0 0 24px; text-align: center; font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.4; }
.privacy-policy .privacy-meta { margin: 0 0 24px; color: var(--text); line-height: 2; }
.privacy-policy section { margin-top: 24px; }
.privacy-policy h2 { margin: 0 0 10px; color: var(--text); font-size: 1rem; line-height: 1.75; }
.privacy-policy p { margin: 0 0 10px; }
.privacy-policy ol, .privacy-policy ul { margin: 0; padding-left: 1.55em; }
.privacy-policy ol > li, .privacy-policy ul > li { margin: 10px 0; padding-left: 0.2em; }
.privacy-policy ul { list-style-type: circle; }
.privacy-policy li > ul { margin-top: 10px; }
.privacy-policy li > p { margin-top: 10px; }
.privacy-policy .privacy-contact { list-style-type: disc; }
.privacy-policy .privacy-statement { margin-top: 24px; color: var(--text); }
.privacy-policy .privacy-signature { margin-top: 24px; color: var(--text); line-height: 2; }
.privacy-policy strong { color: var(--text); }
.utm-page-body { background: #f3f6f4; }
.utm-page .section { width: min(1160px, calc(100% - 32px)); }
.utm-hero { padding: 46px 0 34px; background: #0f3538; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.utm-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: center; }
.utm-hero-copy h1 { margin: 8px 0 12px; color: #fff; font-size: clamp(34px, 5vw, 56px); }
.utm-hero-copy p:last-child { max-width: 720px; margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 18px; }
.utm-hero .eyebrow { color: #92e0c3; }
.utm-hero-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; }
.utm-hero-panel span { min-height: 42px; display: flex; align-items: center; padding: 0 12px; color: #e7f7f1; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; font-weight: 850; }
.utm-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; margin-top: -18px; padding-bottom: 38px; }
.utm-builder-card, .utm-side-section { background: #fff; border: 1px solid #d9e4de; border-radius: 8px; box-shadow: 0 20px 50px rgba(15, 53, 56, 0.1); }
.utm-builder-card { display: grid; gap: 18px; padding: 22px; }
.utm-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid #e4ece8; }
.utm-card-head h2, .utm-side-section h2 { margin: 4px 0 0; font-size: 24px; line-height: 1.25; }
.utm-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.utm-actions button { min-height: 42px; min-width: 84px; padding: 0 14px; }
.utm-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.utm-field { display: grid; gap: 7px; padding: 14px; background: #f8fbf9; border: 1px solid #dde8e2; border-radius: 8px; }
.utm-field label { font-size: 14px; font-weight: 900; color: #153d40; }
.utm-field input, .utm-field textarea { width: 100%; min-height: 48px; padding: 0 13px; color: var(--text); background: #fff; border: 1px solid #cfded7; border-radius: 8px; outline: none; font: inherit; }
.utm-field textarea { min-height: 86px; padding: 12px 13px; resize: vertical; line-height: 1.6; }
.utm-field input:focus, .utm-field textarea:focus { border-color: #0f6970; box-shadow: 0 0 0 4px rgba(15, 105, 112, 0.12); }
.utm-field p { margin: 0; color: #687a72; font-size: 13px; line-height: 1.5; }
.utm-result-box { overflow: hidden; background: #102024; border: 1px solid #1f363b; border-radius: 8px; }
.utm-result-head { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; color: #d8fff0; background: #183036; border-bottom: 1px solid #28464d; font-size: 14px; font-weight: 850; }
.utm-result-head span:last-child { color: #9bb5ad; }
.utm-result-box textarea { display: block; width: 100%; min-height: 132px; padding: 16px; color: #e8fff8; background: #102024; border: 0; outline: none; resize: vertical; font: 14px/1.65 Consolas, "SFMono-Regular", "Liberation Mono", Menlo, monospace; overflow-wrap: anywhere; }
.utm-sidebar { position: sticky; top: 92px; display: grid; gap: 14px; }
.utm-side-section { padding: 18px; }
.utm-side-section .select-field { margin-top: 14px; }
.utm-rule-list { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.utm-rule-list li { position: relative; padding-left: 22px; color: #566961; font-size: 14px; line-height: 1.55; }
.utm-rule-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: #d9822b; border-radius: 50%; }
.utm-related a { display: block; margin-top: 10px; padding: 10px 12px; color: #0f6970; background: #f1f8f6; border: 1px solid #d8e9e4; border-radius: 8px; font-weight: 850; }
.utm-related a:hover { color: #fff; background: #0f6970; }
.compact-tool-page { overflow-x: hidden; background: #f3f6f4; }
.compact-tool-page .section { width: min(1160px, calc(100% - 32px)); }
.compact-tool-page .utm-workspace,
.compact-tool-page .utm-builder-card,
.compact-tool-page .utm-sidebar,
.compact-tool-page .utm-side-section,
.compact-tool-page .utm-field,
.compact-tool-page .utm-result-box,
.compact-tool-page textarea,
.compact-tool-page input { min-width: 0; max-width: 100%; }
.compact-tool-page .utm-hero-copy p,
.compact-tool-page .utm-field p,
.compact-tool-page .main-article p { overflow-wrap: anywhere; }
.compact-tool-page .utm-result-head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-tool-page .password-option-grid,
.compact-tool-page .switch-row { width: 100%; min-width: 0; max-width: 100%; }
.compact-tool-page .switch-row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-tool-page .switch-ui { flex: 0 0 44px; }
.tool-preview { display: grid; place-items: center; min-height: 320px; padding: 20px; background: #f8fbf9; border: 1px solid #dde8e2; border-radius: 8px; }
.tool-preview canvas { width: min(100%, 360px); height: auto; background: #fff; border: 1px solid #d6e3df; border-radius: 8px; box-shadow: 0 16px 38px rgba(15, 53, 56, 0.12); }
.color-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.color-row input[type="color"] { min-height: 48px; padding: 4px; cursor: pointer; }
.tool-output-list { display: grid; gap: 12px; min-height: 220px; padding: 14px; background: #f8fbf9; border: 1px solid #dde8e2; border-radius: 8px; }
.tool-empty { margin: 0; color: var(--muted); }
.match-card { display: grid; gap: 6px; padding: 14px; background: #fff; border: 1px solid #dce8e4; border-radius: 8px; }
.match-card strong { color: var(--brand); overflow-wrap: anywhere; }
.match-card span { color: var(--muted); font-size: 13px; font-weight: 850; }
.match-card ul { display: grid; gap: 6px; margin: 4px 0 0; padding-left: 18px; color: #526170; }
.match-card code { padding: 1px 5px; background: #eef7f6; border-radius: 6px; overflow-wrap: anywhere; }
.password-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) {
  .http-security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-code-spotlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formatter-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .formatter-editors { grid-template-columns: 1fr; }
  .formatter-layout-toolbar small { width: 100%; margin-left: 0; }
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; }
  .primary-nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .primary-nav a { background: #f4f7f8; }
  .header-actions { grid-row: 1; grid-column: 2; }
  .about-link { display: none; }
  .menu-panel { grid-template-columns: 1fr; width: min(320px, calc(100vw - 32px)); }
  .content-grid, .article-layout, .seo-columns, .json-feature-row { grid-template-columns: 1fr; }
  .currency-hero { padding-top: 24px; }
  .currency-panel { grid-template-columns: 1fr; }
  .currency-grid { grid-template-columns: 1fr; }
  .currency-panel .result-panel { grid-column: auto; grid-row: auto; }
  .uuid-control-grid { grid-template-columns: 1fr; }
  .utm-hero-inner, .utm-workspace, .utm-field-grid, .color-row, .password-option-grid { grid-template-columns: 1fr; }
  .home-hero-inner, .featured-grid, .tool-category-layout, .reason-grid { grid-template-columns: 1fr; }
  .home-hero-panel { max-width: 520px; }
  .utm-sidebar { position: static; }
  .utm-workspace { margin-top: 0; padding-top: 18px; }
  .side-panel { position: static; }
}
@media (max-width: 620px) {
  .http-summary-grid, .http-security-grid, .http-status-detail-grid { grid-template-columns: 1fr; }
  .http-url-summary div, .http-status-heading { grid-template-columns: 1fr; }
  .http-header-table th { width: 150px; }
  .http-status-quick { display: grid; }
  .home-code-spotlight-grid { grid-template-columns: 1fr; }
  .formatter-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formatter-editor { min-height: 300px; }
  .formatter-toolbar > * { flex: 1 1 calc(50% - 10px); }
  .brand { gap: 10px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand > span:last-child { font-size: 17px; }
  .tool-hero { padding-top: 34px; }
  .currency-page-body .tool-hero { padding: 12px 0 18px; }
  .currency-page-body .hero-title { margin-bottom: 10px; text-align: left; }
  .currency-page-body .hero-title h1 { font-size: 26px; margin-top: 4px; }
  .currency-page-body .hero-title p:last-child { display: none; }
  .tool-panel { padding: 18px; }
  .tool-panel,
  .json-workbench,
  .currency-panel,
  .uuid-panel {
    display: flex;
    flex-direction: column;
  }
  .currency-panel { padding: 14px 14px 112px; gap: 10px; }
  .currency-panel .result-panel { order: 1; }
  .currency-panel .currency-rate-meta { order: 2; }
  .currency-panel .currency-grid { order: 3; }
  .currency-panel .json-toolbar { order: 4; }
  .currency-panel .json-status { order: 5; }
  .tool-panel > .result-panel { order: 1; }
  .tool-panel > form { order: 2; }
  .tool-panel > .tool-local-actions { order: 3; }
  .tool-panel > .my-ip-card { order: 4; }
  .tool-panel > .error-box { order: 5; }
  .json-workbench > .editor-shell:first-of-type { order: 3; }
  .json-workbench > .editor-shell:last-of-type { order: 1; }
  .json-workbench > .json-toolbar { order: 2; }
  .json-workbench > .json-status { order: 4; }
  .json-workbench > .lookup-form { order: 3; }
  .uuid-control-grid { order: 2; }
  .uuid-result-shell { order: 1; }
  .uuid-status, .uuid-panel .json-status { order: 3; }
  .search-row, .result-list { grid-template-columns: 1fr; }
  .result-panel { padding: 16px; }
  .result-list { gap: 8px; }
  .json-toolbar,
  .uuid-actions,
  .utm-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(104px, max-content);
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: calc(100vw - 24px);
    margin: 0;
    padding: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(201, 218, 224, 0.95);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(23, 33, 47, 0.18);
    backdrop-filter: blur(12px);
    -webkit-overflow-scrolling: touch;
  }
  .json-toolbar::-webkit-scrollbar,
  .uuid-actions::-webkit-scrollbar,
  .utm-actions::-webkit-scrollbar { display: none; }
  .json-workbench,
  .uuid-panel,
  .utm-builder-card {
    padding-bottom: 112px;
  }
  .currency-panel .json-toolbar,
  .uuid-panel .uuid-actions,
  .utm-builder-card .utm-actions {
    padding-bottom: 12px;
  }
  .json-toolbar button,
  .uuid-actions button,
  .utm-actions button {
    width: auto;
    min-width: 104px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .highlight-summary-card, .lookup-summary-card, .postcode-summary-card { grid-template-columns: 1fr; align-items: start; }
  .highlight-summary-value, .lookup-summary-value, .postcode-summary-code { font-size: 24px; }
  .highlight-summary-meta, .lookup-summary-meta, .postcode-summary-area { white-space: normal; }
  .dns-form-grid { grid-template-columns: 1fr; }
  .search-row { padding: 0; background: transparent; border: 0; }
  .result-full { grid-column: auto; display: block; }
  .result-next-actions > div { grid-template-columns: 1fr; }
  .my-ip-card { align-items: stretch; flex-direction: column; }
  .secondary-button { width: 100%; }
  .currency-rate-meta { align-items: stretch; flex-direction: column; }
  .currency-panel .result-list { grid-template-columns: 1fr; }
  .currency-panel #currencyTargetValue { font-size: 26px; }
  .utm-card-head { display: grid; }
  .utm-hero { padding-top: 32px; }
  .utm-hero-panel { grid-template-columns: 1fr; }
  .utm-builder-card { display: flex; flex-direction: column; }
  .utm-card-head { order: 1; }
  .utm-result-box { order: 2; }
  .utm-field-wide { order: 3; }
  .utm-field-grid { order: 4; }
  .utm-field:last-of-type { order: 5; }
  .utm-status { order: 6; }
  .home-hero { padding-top: 36px; }
  .home-search-row { grid-template-columns: 1fr; }
  .home-search { padding: 10px; }
  .home-hero-panel { grid-template-columns: 1fr; }
  .home-stat { min-height: 96px; padding: 14px; }
  .home-mini-grid { grid-template-columns: 1fr; }
  .home-section-head { display: block; }
  .featured-card { min-height: 190px; }
  .dns-record-table { font-size: 13px; }
  .dns-record-table th, .dns-record-table td { padding: 10px 12px; white-space: normal; }
  .postcode-record-table { min-width: 0; table-layout: auto; }
  .postcode-record-table th:nth-child(1) { width: 96px; }
  .postcode-record-table th:nth-child(2) { width: auto; }
  .postcode-record-table th:nth-child(3) { width: 110px; }
  .postcode-record-table th:nth-child(4) { width: auto; }
  .postcode-record-table td { white-space: normal; word-break: break-word; }
  .json-editor { min-height: 360px; font-size: 14px; }
  .uuid-result-shell .json-editor { min-height: 220px; }
  .utm-workspace { display: flex; flex-direction: column; }
  .utm-builder-card { order: 1; }
  .utm-sidebar { order: 2; }
  .compact-tool-page { padding-bottom: 88px; }
  .compact-tool-page .section,
  .compact-tool-page .header-inner { width: calc(100vw - 32px); max-width: calc(100vw - 32px); }
  .compact-tool-page .utm-hero { overflow: hidden; }
  .compact-tool-page .utm-builder-card,
  .compact-tool-page .utm-sidebar { width: 100%; }
  .compact-tool-page .utm-card-head { order: 1; }
  .compact-tool-page .utm-field { order: 2; }
  .compact-tool-page .utm-field-grid { order: 3; }
  .compact-tool-page .password-option-grid,
  .compact-tool-page .color-row { order: 4; }
  .compact-tool-page .json-status { order: 5; }
  .compact-tool-page .tool-preview { min-height: 240px; padding: 14px; }
  .compact-tool-page .tool-preview canvas { width: min(100%, 280px); }
  .compact-tool-page .tool-output-list { min-height: 180px; }
  .compact-tool-page .utm-result-box textarea { min-height: 180px; }
  .compact-tool-page .switch-row { padding: 10px 8px 10px 12px; }
  .compact-tool-page .switch-ui { flex-basis: 36px; width: 36px; height: 22px; }
  .compact-tool-page .switch-ui::after { width: 16px; height: 16px; }
  .compact-tool-page .switch-row input:checked + .switch-ui::after { transform: translateX(14px); }
  .utm-builder-card { padding-bottom: 112px; }
  h1 { font-size: 32px; }
  .simple-page { padding: 34px 0 56px; }
  .simple-page article { padding: 20px; }
  .simple-page h1 { font-size: 28px; }
}

/* 2026 interface refresh */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #172033;
  --muted: #647084;
  --line: #dfe5ee;
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --accent: #0f8fa6;
  --success: #16845b;
  --danger: #c73737;
  --shadow: 0 14px 38px rgba(26, 39, 64, 0.08);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.65; }
button, input, textarea, select { font-family: inherit; }
button { border-radius: 10px; transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
button:active { transform: translateY(1px); }
input, .select-field { border-radius: 10px; }
input:focus, .select-field:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.section { width: min(1160px, calc(100% - 40px)); }

.site-header { z-index: 300; background: rgba(255, 255, 255, 0.9); border-color: rgba(215, 223, 234, 0.9); }
.header-inner { width: min(1200px, calc(100% - 40px)); min-height: 64px; gap: 20px; }
.brand { gap: 10px; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; }
.brand > span:last-child { color: #172033; font-family: inherit; font-size: 20px; font-weight: 800; }
.primary-nav { gap: 4px; }
.primary-nav a { min-height: 38px; padding: 0 13px; color: #556175; border-radius: 9px; font-size: 14px; font-weight: 700; }
.primary-nav a.active, .primary-nav a:hover { color: var(--brand); background: #eff4ff; }
.header-actions { gap: 8px; }
.header-search-trigger { position: relative; min-height: 38px; padding: 0 12px 0 36px; color: #536076; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 750; }
.header-search-trigger::before { content: ""; position: absolute; left: 13px; top: 50%; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; transform: translateY(-58%); }
.header-search-trigger::after { content: ""; position: absolute; left: 24px; top: 23px; width: 6px; height: 2px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.header-search-trigger:hover { color: var(--brand); background: #f8faff; border-color: #b9caf5; }
.nav-menu { border: 0; background: transparent; }
.nav-menu summary { min-height: 38px; padding: 0 13px; background: var(--brand); border-radius: 9px; font-size: 14px; font-weight: 800; }
.menu-panel { z-index: 310; top: calc(100% + 10px); width: min(760px, calc(100vw - 32px)); max-height: min(650px, calc(100vh - 88px)); display: block; padding: 0; overflow: auto; border-radius: 14px; box-shadow: 0 22px 65px rgba(26, 39, 64, 0.18); }
.menu-panel-head { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: auto minmax(260px, 1fr); align-items: center; gap: 20px; padding: 18px; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.menu-panel-head > strong { font-size: 18px; }
.menu-search input { min-height: 44px; padding-left: 14px; background: #f8fafc; }
.menu-groups { display: grid; grid-template-columns: 0.85fr 1.5fr 0.85fr; gap: 18px; padding: 18px; }
.menu-groups section { min-width: 0; }
.menu-panel h2 { margin-bottom: 10px; color: #29354a; font-size: 14px; }
.menu-panel a, .menu-panel span { min-height: 40px; padding: 9px 10px; border-radius: 8px; }
.menu-panel a { color: #40516a; background: transparent; font-weight: 700; }
.menu-panel a:hover, .menu-panel a.active { color: var(--brand); background: #eff4ff; }
.menu-panel span { color: #929baa; }
.menu-empty { margin: 0; padding: 30px 20px; text-align: center; }
.menu-empty[hidden], .menu-groups section[hidden], .menu-panel [hidden] { display: none; }

.tool-hero { padding: 28px 0 34px; background: linear-gradient(180deg, #f9fbff 0%, #f4f7fb 100%); border-color: var(--line); }
.hero-shell { max-width: 1040px; }
.hero-title { margin-bottom: 18px; text-align: left; }
.eyebrow { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: 0.03em; }
.hero-title h1 { margin: 5px 0 7px; font-size: clamp(30px, 3.4vw, 38px); line-height: 1.2; }
.hero-title p:last-child { max-width: 760px; margin: 0; font-size: 15px; }
.tool-panel { padding: 22px; border-radius: 14px; box-shadow: var(--shadow); }
.editor-shell, .result-panel, .content-card, .side-panel, .seo-panel, details, .simple-page article { border-radius: 12px; }
.json-toolbar { gap: 8px; }
.json-toolbar button { min-height: 42px; border-radius: 9px; }
.secondary-button { color: #40516a; border-color: #ccd5e2; }
.secondary-button:hover { color: var(--brand); background: #eff4ff; border-color: #b9caf5; }
.editor-shell { border-color: #283348; }
.json-editor { min-height: 400px; }
.mobile-action-overflow { display: contents; }
.mobile-action-more, .mobile-actions-backdrop { display: none; }
.content-grid { padding: 28px 0; }
.content-card { min-height: 168px; padding: 20px; border-top-width: 1px; }
.content-card::before { display: none; }
.content-card h2 { font-size: 20px; }
.article-band { padding: 36px 0; }
.faq-section { padding: 36px 0 52px; }

.utm-page-body, .compact-tool-page { background: var(--bg); }
.utm-hero { padding: 28px 0 30px; background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #167d9a 100%); }
.utm-hero-inner { grid-template-columns: minmax(0, 1fr) 320px; }
.utm-hero-copy h1 { margin: 5px 0 9px; font-size: clamp(32px, 3.8vw, 44px); }
.utm-hero-copy p:last-child { font-size: 16px; }
.utm-hero .eyebrow { color: #dce8ff; }
.utm-hero-panel { padding: 14px; border-radius: 12px; }
.utm-hero-panel span { min-height: 38px; border-radius: 9px; }
.utm-workspace { margin-top: -14px; }
.utm-builder-card, .utm-side-section { border-color: var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.utm-field { background: #f8fafc; border-color: var(--line); border-radius: 10px; }
.utm-field input:focus, .utm-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.utm-related a { color: var(--brand); background: #eff4ff; border-color: #d9e4ff; }
.utm-related a:hover { background: var(--brand); }

.home-page { background: var(--bg); }
.home-hero { padding: 52px 0; color: var(--text); background: linear-gradient(135deg, #eef4ff 0%, #f9fbff 50%, #eff9fb 100%); border-color: #dce5f3; }
.home-hero::before { background: radial-gradient(circle at 16% 8%, rgba(37, 99, 235, 0.12), transparent 32%), radial-gradient(circle at 88% 92%, rgba(15, 143, 166, 0.1), transparent 30%); mask-image: none; }
.home-hero-inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 52px; }
.home-hero-copy h1 { max-width: 700px; margin: 7px 0 14px; font-size: clamp(40px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.035em; }
.home-hero-copy > p:not(.eyebrow) { max-width: 640px; color: #5c687b; font-size: 17px; }
.home-search { max-width: 650px; margin-top: 24px; padding: 8px; background: #fff; border-color: #d7e0ec; border-radius: 14px; box-shadow: 0 16px 40px rgba(37, 67, 118, 0.1); backdrop-filter: none; }
.home-search label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home-search-row { grid-template-columns: 1fr 104px; gap: 8px; }
.home-search-row input, .home-search-row button { min-height: 48px; }
.home-trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; color: #647084; font-size: 13px; font-weight: 650; }
.home-trust-row span { position: relative; padding-left: 18px; }
.home-trust-row span::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.home-hero-panel { display: block; padding: 18px; background: rgba(255, 255, 255, 0.88); border-color: #d8e1ee; border-radius: 16px; box-shadow: 0 18px 50px rgba(37, 67, 118, 0.11); backdrop-filter: blur(10px); }
.home-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 2px 14px; }
.home-panel-head strong { font-size: 18px; }
.home-panel-head span { color: var(--muted); font-size: 12px; }
.home-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.home-mini-grid a { min-height: 88px; padding: 13px; background: #f8faff; border-color: #e0e6f0; border-radius: 11px; transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease; }
.home-mini-grid a:hover { transform: translateY(-2px); background: #fff; border-color: #b8c9f4; }
.home-mini-grid span { color: var(--brand); background: #eaf0ff; border-radius: 7px; }
.home-mini-grid strong { font-size: 14px; }
.home-featured, .home-reasons { padding: 40px 0; }
.home-section-head { align-items: end; margin-bottom: 18px; }
.home-section-head h2 { margin-top: 3px; font-size: clamp(25px, 2.6vw, 32px); }
.section-more { color: var(--brand); font-size: 14px; font-weight: 750; }
.section-more::after { content: " →"; }
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.featured-card { min-height: 176px; justify-content: flex-start; padding: 18px; border-top-width: 1px; border-radius: 13px; box-shadow: 0 8px 24px rgba(26, 39, 64, 0.055); }
.featured-card::before { display: none; }
.featured-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(26, 39, 64, 0.1); border-color: #b9caf5; }
.featured-icon { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--brand); background: #eef4ff; border-radius: 10px; }
.featured-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-badge { min-height: 26px; padding: 0 9px; color: #53637a; background: #f4f6f9; border-color: #e2e7ef; font-size: 12px; }
.featured-card h3 { margin: 22px 0 7px; padding-right: 38px; font-size: 20px; }
.featured-card p { color: var(--muted); font-size: 14px; }
.home-band { padding: 40px 0; border-color: var(--line); }
.tool-category-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-category { padding: 18px; background: #f8fafc; border-radius: 14px; }
.category-head { min-height: 72px; gap: 12px; padding-bottom: 14px; }
.category-icon, .tool-category:nth-child(2) .category-icon, .tool-category:nth-child(3) .category-icon { min-width: 44px; height: 38px; color: var(--brand); background: #eaf0ff; border-radius: 10px; }
.category-head h2 { font-size: 19px; }
.tool-list { gap: 8px; margin-top: 14px; }
.tool-list a, .tool-list > span { min-height: 64px; padding: 11px 12px; border-radius: 10px; }
.tool-list a:hover { border-color: #b9caf5; box-shadow: 0 8px 22px rgba(26, 39, 64, 0.07); }
.reason-grid article { min-height: 160px; padding: 20px; border-radius: 13px; }
.reason-grid span { color: var(--brand); }
.reason-grid h3 { font-size: 20px; }

@media (max-width: 1020px) {
  .home-hero-inner { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-category-layout { grid-template-columns: 1fr 1fr; }
  .tool-category:nth-child(2) { grid-row: span 2; }
}

@media (max-width: 920px) and (min-width: 761px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .header-actions { grid-row: auto; grid-column: auto; }
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-panel { margin-top: 24px; }
}

@media (max-width: 760px) {
  body.nav-open { overflow: hidden; }
  .section, .header-inner { width: min(100% - 28px, 1160px); }
  .site-header { position: sticky; }
  .header-inner { min-height: 60px; grid-template-columns: 1fr auto; padding: 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand > span:last-child { font-size: 17px; }
  .primary-nav, .about-link { display: none; }
  .header-actions { grid-row: auto; grid-column: auto; }
  .header-search-trigger { width: 40px; min-width: 40px; min-height: 40px; padding: 0; font-size: 0; }
  .header-search-trigger::before { left: 12px; width: 12px; height: 12px; }
  .header-search-trigger::after { left: 23px; top: 24px; }
  .nav-menu summary { min-height: 40px; padding: 0 11px; }
  .nav-menu[open] summary { position: fixed; top: 10px; right: 14px; z-index: 322; min-width: 74px; color: #40516a; background: #f1f4f8; }
  .nav-menu[open] summary::after { transform: rotate(225deg) translate(-1px, -1px); }
  .menu-panel { position: fixed; inset: 0; z-index: 320; width: 100vw; max-height: none; height: 100dvh; padding: 68px 14px 24px; background: #f7f9fc; border: 0; border-radius: 0; box-shadow: none; }
  .menu-panel-head { position: static; display: block; padding: 0 0 14px; background: transparent; border: 0; backdrop-filter: none; }
  .menu-panel-head > strong { display: block; margin-bottom: 12px; font-size: 22px; }
  .menu-search input { min-height: 48px; background: #fff; }
  .menu-groups { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .menu-groups section { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .menu-panel a, .menu-panel span { min-height: 44px; }

  .tool-hero { padding: 20px 0 24px; }
  .hero-title { margin-bottom: 14px; }
  .hero-title h1 { margin-top: 3px; font-size: 26px; }
  .hero-title p:last-child { font-size: 14px; line-height: 1.55; }
  .tool-panel { padding: 14px; border-radius: 12px; }
  .json-editor { min-height: 320px; padding: 14px; font-size: 14px; }
  .content-grid { gap: 10px; padding: 20px 0; }
  .content-card { min-height: 136px; padding: 16px; }
  .article-band { padding: 28px 0; }

  .currency-page-body .tool-hero { padding: 18px 0 22px; }
  .utm-hero { padding: 22px 0 24px; }
  .utm-hero-inner { display: block; }
  .utm-hero-copy h1 { font-size: 29px; }
  .utm-hero-copy p:last-child { font-size: 14px; }
  .utm-hero-panel { display: none; }
  .utm-workspace { margin-top: 0; padding-top: 14px; }

  .json-toolbar, .uuid-actions, .utm-actions { position: static; display: flex; width: auto; max-width: none; padding: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; }
  .json-toolbar .secondary-button, .uuid-actions .secondary-button, .utm-actions .secondary-button { width: auto; }
  .json-workbench, .uuid-panel, .utm-builder-card { padding-bottom: 14px; }
  .json-workbench > .json-toolbar.is-mobile-enhanced { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 72; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: auto; padding: 8px; background: rgba(255, 255, 255, 0.96); border: 1px solid #d7dfea; border-radius: 14px; box-shadow: 0 16px 45px rgba(26, 39, 64, 0.2); backdrop-filter: blur(12px); }
  .json-workbench > .json-toolbar.is-mobile-enhanced > button { width: 100%; min-width: 0; min-height: 44px; padding: 0 8px; }
  .mobile-action-more { display: block; }
  .mobile-action-overflow { position: fixed; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 73; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(26, 39, 64, 0.22); }
  .mobile-action-overflow.is-open { display: grid; }
  .mobile-action-overflow button { width: 100%; min-width: 0; min-height: 44px; }
  .mobile-actions-backdrop { position: fixed; inset: 0; z-index: 71; display: none; width: 100%; min-height: 0; background: rgba(20, 29, 46, 0.28); border-radius: 0; }
  .mobile-actions-backdrop.is-open { display: block; }
  .json-workbench:has(> .json-toolbar.is-mobile-enhanced) { padding-bottom: 88px; }
  body.nav-open .json-toolbar.is-mobile-enhanced { visibility: hidden; }

  .home-hero { padding: 30px 0 34px; }
  .home-hero-inner { display: block; }
  .home-hero-copy h1 { margin: 5px 0 12px; font-size: 34px; line-height: 1.12; letter-spacing: -0.025em; }
  .home-hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .home-search { margin-top: 20px; padding: 7px; }
  .home-search-row { grid-template-columns: 1fr 82px; }
  .home-search-row input { padding: 0 12px; }
  .home-trust-row { gap: 9px 16px; margin-top: 12px; }
  .home-hero-panel { margin-top: 24px; padding: 14px; }
  .home-panel-head { padding-bottom: 12px; }
  .home-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-mini-grid a { min-height: 74px; padding: 11px; }
  .home-mini-grid span { height: 24px; margin-bottom: 6px; }
  .home-featured, .home-reasons { padding: 30px 0; }
  .home-section-head { display: flex; align-items: end; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .featured-card { min-height: 148px; padding: 14px; }
  .featured-icon { top: 13px; right: 13px; width: 34px; height: 34px; }
  .featured-card h3 { margin-top: 18px; padding-right: 0; font-size: 16px; }
  .featured-card p { display: none; }
  .home-band { padding: 30px 0; }
  .tool-category-layout { grid-template-columns: 1fr; }
  .tool-category:nth-child(2) { grid-row: auto; }
  .tool-list a, .tool-list > span { min-height: 58px; }
  .reason-grid { gap: 10px; }
  .reason-grid article { min-height: 132px; padding: 16px; }
}

@media (max-width: 390px) {
  .brand > span:last-child { max-width: 104px; overflow: hidden; text-overflow: ellipsis; }
  .nav-menu summary { font-size: 13px; }
  .home-hero-copy h1 { font-size: 31px; }
  .home-search-row { grid-template-columns: 1fr; }
  .home-search-row button { min-height: 44px; }
  .home-panel-head span { display: none; }
}

/* MBTI personality preference test */
.mbti-page { background: #f3f6fb; }
.mbti-intro { background: linear-gradient(135deg, #f4f0ff 0%, #f8fbff 52%, #eaf8f6 100%); }
.mbti-shell { max-width: 920px; padding-top: 24px; padding-bottom: 42px; }
.mbti-card { padding: 30px; background: #fff; border: 1px solid #dfe6ef; border-radius: 18px; box-shadow: 0 14px 42px rgba(29, 45, 75, .08); }
.mbti-card[hidden], .mbti-result[hidden], .mbti-quiz[hidden] { display: none; }
.mbti-welcome { position: relative; overflow: hidden; text-align: center; }
.mbti-welcome::before { position: absolute; top: -100px; right: -70px; width: 250px; height: 250px; background: radial-gradient(circle, rgba(124, 58, 237, .11), transparent 68%); content: ""; }
.mbti-welcome-mark { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; color: #fff; background: linear-gradient(135deg, #6d4bd1, #3589a9); border-radius: 20px; box-shadow: 0 12px 28px rgba(109, 75, 209, .22); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.mbti-welcome h2 { margin: 6px 0 10px; font-size: clamp(25px, 3vw, 34px); }
.mbti-welcome > p:not(.eyebrow) { max-width: 680px; margin: 0 auto; color: var(--muted); line-height: 1.75; }
.mbti-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 610px; margin: 25px auto; border: 1px solid #e3e7ef; border-radius: 14px; }
.mbti-facts span { padding: 16px; color: #657186; border-right: 1px solid #e3e7ef; font-size: 13px; }
.mbti-facts span:last-child { border-right: 0; }
.mbti-facts strong { display: block; margin-bottom: 3px; color: #25314a; font-size: 22px; }
.mbti-notice { max-width: 680px; margin: 0 auto 24px; padding: 14px 16px; color: #665b3c; background: #fffaf0; border: 1px solid #f1dfb7; border-radius: 12px; text-align: left; }
.mbti-notice strong { font-size: 13px; }
.mbti-notice p { margin: 5px 0 0; font-size: 13px; line-height: 1.65; }
.mbti-primary-action { min-width: 200px; min-height: 48px; }
.mbti-welcome > .secondary-button { min-width: 200px; min-height: 48px; margin-left: 8px; }
.mbti-progress-head { display: flex; justify-content: space-between; margin-bottom: 9px; color: #627087; font-size: 13px; font-weight: 750; }
.mbti-progress-track { height: 8px; overflow: hidden; background: #e9edf4; border-radius: 999px; }
.mbti-progress-track span { display: block; height: 100%; background: linear-gradient(90deg, #6d4bd1, #348aa7); border-radius: inherit; transition: width .2s ease; }
.mbti-question-fieldset { min-width: 0; margin: 28px 0 0; padding: 0; border: 0; }
.mbti-question-fieldset legend { width: 100%; color: #18233a; font-size: clamp(23px, 3vw, 30px); font-weight: 850; line-height: 1.4; }
.mbti-question-hint { margin: 8px 0 22px; color: var(--muted); font-size: 13px; }
.mbti-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.mbti-option { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 86px; padding: 14px 16px; background: #f9faff; border: 1px solid #dfe5ef; border-radius: 13px; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.mbti-option:hover { transform: translateY(-1px); background: #fff; border-color: #adbee9; }
.mbti-option:has(input:checked) { color: #173f91; background: #edf3ff; border-color: #7ea1ec; box-shadow: inset 0 0 0 1px #7ea1ec; }
.mbti-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mbti-option:has(input:focus-visible) { outline: 3px solid rgba(37, 99, 235, .24); outline-offset: 2px; }
.mbti-option kbd { display: grid; place-items: center; width: 28px; height: 28px; color: #69768b; background: #fff; border: 1px solid #d8dfe9; border-radius: 8px; box-shadow: 0 1px 1px rgba(0,0,0,.04); font: 700 12px/1 inherit; }
.mbti-option strong, .mbti-option small { display: block; }
.mbti-option strong { font-size: 14px; }
.mbti-option small { margin-top: 5px; color: #657186; font-size: 12px; line-height: 1.5; }
.mbti-quiz-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.mbti-quiz-actions button { min-height: 40px; }
.mbti-text-button { padding: 0 4px; color: #6a778b; background: transparent; }
.mbti-text-button:hover { color: var(--brand); }
.mbti-result { display: grid; gap: 16px; }
.mbti-result-hero { text-align: center; background: linear-gradient(145deg, #fff 0%, #f5f2ff 54%, #edf9f8 100%); }
.mbti-type-code { margin: 8px 0 2px; color: #6042bd; font-size: clamp(58px, 10vw, 88px); font-weight: 950; letter-spacing: .08em; line-height: 1; }
.mbti-result-hero h2 { margin: 8px 0 12px; font-size: 22px; }
.mbti-result-hero > p:not(.eyebrow):not(.json-status) { max-width: 700px; margin: 0 auto; color: #566379; line-height: 1.75; }
.mbti-stability { display: inline-flex; margin-top: 17px; padding: 8px 12px; color: #6a5520; background: #fff5d9; border: 1px solid #ead799; border-radius: 999px; font-size: 12px; font-weight: 750; }
.mbti-stability.level-2 { color: #176145; background: #eaf8f1; border-color: #b8e1ce; }
.mbti-stability.level-0 { color: #8a493a; background: #fff0ec; border-color: #edc8bd; }
.mbti-result-actions { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.mbti-result-actions button { min-width: 130px; }
.mbti-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.mbti-section-head h2 { margin: 4px 0 0; font-size: 24px; }
.mbti-section-head > span { color: var(--muted); font-size: 12px; }
.mbti-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.mbti-dimension { padding: 15px; background: #f8faff; border: 1px solid #e2e7f0; border-radius: 12px; }
.mbti-dimension-head, .mbti-dimension-labels { display: flex; justify-content: space-between; gap: 12px; }
.mbti-dimension-head strong { font-size: 14px; }
.mbti-dimension-head span { color: #6a4fc1; font-size: 11px; font-weight: 800; }
.mbti-dimension-labels { margin-top: 12px; color: #5d6b80; font-size: 12px; }
.mbti-dimension-labels b { color: #263550; font-size: 15px; }
.mbti-dimension-track { height: 9px; margin-top: 9px; overflow: hidden; background: #4d8da5; border-radius: 999px; }
.mbti-dimension-track span { display: block; height: 100%; background: #7558cd; border-right: 2px solid #fff; }
.mbti-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mbti-profile-grid article { padding: 18px; background: #f8faff; border: 1px solid #e2e7f0; border-radius: 12px; }
.mbti-profile-grid h3, .mbti-growth h3 { margin: 0 0 9px; font-size: 16px; }
.mbti-profile-grid p, .mbti-profile-grid li, .mbti-growth p { color: #59677c; font-size: 13px; line-height: 1.75; }
.mbti-profile-grid ul { margin: 0; padding-left: 19px; }
.mbti-growth { margin-top: 12px; padding: 18px; color: #3a3170; background: #f3f0ff; border-radius: 12px; }
.mbti-growth p { margin: 0; color: #5c547f; }
.mbti-result-note { display: flex; gap: 16px; padding-block: 20px; color: #665b3c; background: #fffbf1; border-color: #f0dfb9; }
.mbti-result-note strong { flex: 0 0 auto; }
.mbti-result-note p { margin: 0; font-size: 13px; line-height: 1.7; }

@media (max-width: 760px) {
  .mbti-shell { padding-top: 10px; padding-bottom: 24px; }
  .mbti-card { padding: 18px 14px; border-radius: 14px; box-shadow: none; }
  .mbti-welcome-mark { width: 58px; height: 58px; margin-bottom: 13px; border-radius: 16px; }
  .mbti-facts { margin-block: 19px; }
  .mbti-facts span { padding: 11px 5px; font-size: 10px; }
  .mbti-facts strong { font-size: 18px; }
  .mbti-primary-action, .mbti-welcome > .secondary-button { display: block; width: 100%; margin: 8px 0 0; }
  .mbti-question-fieldset { margin-top: 20px; }
  .mbti-question-fieldset legend { font-size: 22px; }
  .mbti-options { grid-template-columns: 1fr; gap: 8px; }
  .mbti-option { min-height: 70px; padding: 11px 12px; }
  .mbti-option kbd { display: none; }
  .mbti-option { grid-template-columns: 1fr; }
  .mbti-type-code { font-size: 58px; }
  .mbti-result-actions button { min-width: 0; flex: 1; }
  .mbti-section-head { display: block; margin-bottom: 16px; }
  .mbti-section-head > span { display: block; margin-top: 6px; }
  .mbti-dimensions, .mbti-profile-grid { grid-template-columns: 1fr; gap: 9px; }
  .mbti-result-note { display: block; }
  .mbti-result-note p { margin-top: 6px; }
}

/* Structure-first tool workbench */
.workbench-v2 { padding-bottom: 0; background: #f4f6fa; }
.tool-app-page { min-height: calc(100vh - 64px); }
.tool-app-intro { padding: 24px 0 20px; background: #fff; border-bottom: 1px solid var(--line); }
.tool-app-intro-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tool-app-kicker { margin: 0 0 5px; color: var(--brand); font-size: 13px; font-weight: 800; }
.tool-app-intro h1 { margin: 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.02em; }
.tool-app-intro h1 + p { max-width: 760px; margin: 7px 0 0; color: var(--muted); font-size: 15px; }
.tool-trust-chip, .result-count-chip { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 34px; padding: 0 12px; color: #176345; background: #ecf8f2; border: 1px solid #cce9db; border-radius: 999px; font-size: 13px; font-weight: 800; }
.tool-trust-chip::before { content: "✓"; margin-right: 6px; }
.tool-app-workspace { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 16px; align-items: stretch; padding-top: 18px; padding-bottom: 34px; }
.tool-app-panel { min-width: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 10px 28px rgba(26, 39, 64, 0.06); }
.tool-app-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.tool-app-panel-head.result-head { align-items: center; }
.panel-step { display: block; margin-bottom: 4px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: 0.03em; }
.tool-app-panel-head h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.tool-app-actions { position: relative; z-index: 72; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.tool-app-actions button { min-width: 84px; min-height: 40px; padding: 0 12px; }
.tool-app-field { display: grid; gap: 8px; }
.tool-app-field > span { color: #354156; font-size: 13px; font-weight: 800; }
.tool-app-field textarea, .tool-app-field input { width: 100%; min-width: 0; padding: 13px 14px; color: var(--text); background: #f9fafc; border: 1px solid #d6deea; border-radius: 11px; outline: none; font: inherit; }
.tool-app-field select { width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; color: var(--text); background: #f9fafc; border: 1px solid #d6deea; border-radius: 11px; outline: none; font: inherit; }
.tool-app-field textarea { min-height: 230px; resize: vertical; font: 14px/1.65 Consolas, "SFMono-Regular", Menlo, monospace; overflow-wrap: anywhere; }
.tool-app-field input { min-height: 54px; font: 16px/1.4 Consolas, "SFMono-Regular", Menlo, monospace; }
.tool-app-field textarea:focus, .tool-app-field input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11); }
.tool-app-field select:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11); }
.tool-field-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.tool-app-panel .json-status { margin-top: 12px; }
.tool-result-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #f0f3f8; border-radius: 10px; }
.tool-result-tabs button { min-height: 34px; padding: 0 13px; color: #637086; background: transparent; border-radius: 7px; font-size: 13px; }
.tool-result-tabs button.active { color: #fff; background: var(--brand); }
.tool-result-pane { overflow: hidden; background: #111827; border: 1px solid #263247; border-radius: 12px; }
.tool-result-pane[hidden] { display: none; }
.code-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; padding: 0 14px; color: #e7eefb; background: #1a2436; border-bottom: 1px solid #2a3548; }
.code-pane-head span { color: #94a2b8; font-size: 12px; }
.code-output { display: block; width: 100%; min-height: 340px; padding: 16px; resize: vertical; color: #e8eef8; background: #111827; border: 0; outline: none; font: 14px/1.65 Consolas, "SFMono-Regular", Menlo, monospace; }
.cron-workbench { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.cron-expression-field input { font-size: 18px; letter-spacing: 0.02em; }
.cron-field-guide { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.cron-field-guide span { display: grid; justify-items: center; gap: 3px; padding: 8px 4px; color: #657186; background: #f5f7fa; border: 1px solid #e1e6ee; border-radius: 8px; font-size: 11px; }
.cron-field-guide b { display: grid; place-items: center; width: 22px; height: 22px; color: var(--brand); background: #eaf0ff; border-radius: 50%; font-size: 11px; }
.cron-result-shell { overflow: hidden; background: #111827; border: 1px solid #263247; border-radius: 12px; }
.cron-result-shell .code-output { min-height: 315px; }
.result-count-chip { color: #47556b; background: #f5f7fa; border-color: #e0e5ed; }
.pace-mode-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; background: #f1f4f8; border: 1px solid #dfe5ee; border-radius: 11px; }
.pace-mode-switch button { min-height: 38px; padding: 0 8px; color: #5d6b80; background: transparent; border-radius: 8px; font-size: 13px; }
.pace-mode-switch button.active { color: #fff; background: var(--brand); box-shadow: none; }
.pace-input-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pace-input-grid[hidden], .pace-field-group[hidden] { display: none; }
.pace-field-group { margin-top: 12px; }
.workbench-v2 .article-band { margin-top: 0; }
.workbench-v2 .utm-hero { padding: 20px 0 17px; color: var(--text); background: #fff; border-bottom: 1px solid var(--line); }
.workbench-v2 .utm-hero-inner { display: block; }
.workbench-v2 .utm-hero-copy h1 { margin: 3px 0 6px; color: var(--text); font-size: clamp(28px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.02em; }
.workbench-v2 .utm-hero-copy p:last-child { max-width: 780px; color: var(--muted); font-size: 14px; }
.workbench-v2 .utm-hero .eyebrow { color: var(--brand); font-size: 12px; }
.workbench-v2 .utm-hero-panel { display: none; }
.workbench-v2 .utm-workspace { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; margin-top: 0; padding-top: 14px; }
.workbench-v2 .utm-builder-card, .workbench-v2 .utm-side-section { border-radius: 14px; box-shadow: 0 10px 28px rgba(26, 39, 64, 0.06); }
.workbench-v2 .utm-builder-card { padding: 18px; }
.workbench-v2 .utm-card-head { gap: 14px; padding-bottom: 13px; }
.workbench-v2 .utm-card-head h2, .workbench-v2 .utm-side-section h2 { font-size: 21px; }
.workbench-v2 .utm-field { padding: 12px; }
.workbench-v2 .utm-actions { position: relative; z-index: 72; }

@media (max-width: 760px) {
  .workbench-v2 { padding-bottom: 0; }
  .tool-app-page { min-height: calc(100vh - 60px); }
  .tool-app-intro { padding: 16px 0 14px; }
  .tool-app-intro-inner { display: block; }
  .tool-app-intro h1 { font-size: 25px; }
  .tool-app-intro h1 + p { margin-top: 5px; font-size: 13px; line-height: 1.5; }
  .tool-app-kicker { margin-bottom: 3px; font-size: 11px; }
  .tool-trust-chip { display: none; }
  .tool-app-workspace, .cron-workbench { grid-template-columns: 1fr; gap: 10px; padding-top: 10px; padding-bottom: 24px; }
  .tool-app-panel { padding: 13px; border-radius: 12px; box-shadow: none; }
  .tool-app-panel-head { display: block; margin-bottom: 12px; }
  .tool-app-panel-head.result-head { display: flex; align-items: center; }
  .tool-app-panel-head h2 { font-size: 19px; }
  .panel-step { font-size: 11px; }
  .tool-app-actions { display: flex; margin-top: 11px; }
  .tool-app-actions.is-mobile-enhanced { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .tool-app-actions.is-mobile-enhanced > button { width: 100%; min-width: 0; min-height: 42px; padding: 0 7px; }
  .tool-app-actions .mobile-action-overflow { position: absolute; left: 0; right: 0; top: calc(100% + 7px); bottom: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-app-actions .mobile-action-overflow button { min-width: 0; }
  .tool-app-field textarea { min-height: 145px; }
  .tool-app-field input { min-height: 50px; }
  .tool-field-note { margin-top: 8px; }
  .tool-result-tabs { width: auto; }
  .tool-result-tabs button { min-width: 70px; }
  .code-output { min-height: 260px; }
  .cron-result-shell .code-output { min-height: 270px; }
  .cron-field-guide { gap: 4px; margin-top: 9px; }
  .cron-field-guide span { padding: 6px 2px; font-size: 10px; }
  .result-count-chip { min-height: 28px; padding: 0 8px; font-size: 10px; }
  .pace-mode-switch { gap: 4px; padding: 4px; }
  .pace-mode-switch button { min-height: 36px; padding: 0 4px; font-size: 11px; }
  .pace-input-grid { gap: 7px; margin-top: 9px; }
  .workbench-v2 .utm-hero { padding: 14px 0 12px; }
  .workbench-v2 .utm-hero-copy h1 { font-size: 24px; }
  .workbench-v2 .utm-hero-copy p:last-child { font-size: 13px; line-height: 1.5; }
  .workbench-v2 .utm-workspace { display: grid; grid-template-columns: 1fr; gap: 10px; padding-top: 10px; padding-bottom: 24px; }
  .workbench-v2 .utm-builder-card, .workbench-v2 .utm-side-section { padding: 13px; border-radius: 12px; box-shadow: none; }
  .workbench-v2 .utm-card-head { display: block; padding-bottom: 11px; }
  .workbench-v2 .utm-card-head h2, .workbench-v2 .utm-side-section h2 { font-size: 19px; }
  .workbench-v2 .utm-actions { margin-top: 10px; }
  .workbench-v2 .utm-actions.is-mobile-enhanced { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .workbench-v2 .utm-actions.is-mobile-enhanced > button { width: 100%; min-width: 0; min-height: 42px; padding: 0 7px; }
  .workbench-v2 .utm-actions .mobile-action-overflow { position: absolute; left: 0; right: 0; top: calc(100% + 7px); bottom: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workbench-v2 .utm-field { padding: 11px; }
  .workbench-v2 .utm-sidebar { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Homepage workspace v3 */
.home-workspace { overflow: hidden; }
.home-workspace .home-hero { padding: 58px 0 54px; background: linear-gradient(135deg, #edf3ff 0%, #fbfcff 52%, #eaf9fa 100%); }
.home-workspace .home-hero::before { background: radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.16), transparent 31%), radial-gradient(circle at 91% 88%, rgba(8, 145, 178, 0.14), transparent 32%); }
.home-workspace .home-hero-inner { grid-template-columns: minmax(0, 1fr) 390px; gap: 64px; }
.home-workspace .home-hero-copy h1 { max-width: 760px; margin: 9px 0 15px; font-size: clamp(43px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -0.045em; }
.home-workspace .home-hero-copy h1 span { color: var(--brand); white-space: nowrap; }
.home-workspace .home-hero-copy > p:not(.eyebrow) { max-width: 650px; font-size: 17px; line-height: 1.7; }
.home-workspace .home-search { position: relative; z-index: 4; max-width: 680px; margin-top: 27px; border-radius: 16px; box-shadow: 0 18px 50px rgba(39, 72, 128, 0.13); }
.home-search-suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 7px; background: #fff; border: 1px solid #d9e2ef; border-radius: 14px; box-shadow: 0 22px 60px rgba(28, 43, 70, 0.18); }
.home-search-suggestions[hidden] { display: none; }
.home-search-suggestions p { margin: 0; padding: 16px; color: var(--muted); font-size: 14px; }
.home-search-suggestions .recent-tool-card { min-height: 58px; border: 0; box-shadow: none; }
.home-search-suggestions .recent-tool-card:hover, .home-search-suggestions .recent-tool-card:focus { background: #f2f6ff; }
.home-hot-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; color: #6a7689; font-size: 13px; }
.home-hot-terms, .tool-filter-bar { scrollbar-width: none; }
.home-hot-terms::-webkit-scrollbar, .tool-filter-bar::-webkit-scrollbar { display: none; }
.home-hot-terms button { min-height: 28px; padding: 0 10px; color: #52627a; background: rgba(255, 255, 255, 0.7); border: 1px solid #d9e2ef; border-radius: 999px; font-size: 12px; font-weight: 700; }
.home-hot-terms button:hover { color: var(--brand); background: #fff; border-color: #b8c9f4; }
.home-workspace .home-trust-row { margin-top: 18px; }
.home-workspace .home-hero-panel { padding: 20px; border-radius: 20px; box-shadow: 0 24px 70px rgba(34, 69, 122, 0.14); }
.home-scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-scene-grid a { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 88px; padding: 12px; background: #f8faff; border: 1px solid #e0e7f1; border-radius: 13px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.home-scene-grid a:hover { transform: translateY(-2px); background: #fff; border-color: #b9caf5; }
.scene-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #2159c8; background: #e9f0ff; border-radius: 11px; font-size: 11px; font-weight: 900; }
.scene-text { color: #7c3aed; background: #f1eafe; }
.scene-operation { color: #b45309; background: #fff1df; }
.scene-network { color: #08778b; background: #e4f7fa; }
.home-scene-grid strong, .home-scene-grid small { display: block; }
.home-scene-grid strong { font-size: 14px; }
.home-scene-grid small { margin-top: 4px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.home-scene-grid b { color: #9aa6b8; font-size: 16px; }
.section-description { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.home-recent { padding-top: 32px; }
.recent-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.recent-head h2 { margin: 3px 0 0; font-size: 23px; }
.recent-head button { min-height: 32px; padding: 0; color: var(--muted); background: transparent; font-size: 13px; }
.recent-head button:hover { color: var(--brand); }
.recent-tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.recent-tool-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 72px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 7px 20px rgba(26, 39, 64, 0.045); }
.recent-tool-card i, .directory-card i { display: grid; place-items: center; width: 38px; height: 38px; color: var(--brand); background: #edf3ff; border-radius: 10px; font-size: 10px; font-style: normal; font-weight: 900; }
.recent-tool-card strong, .recent-tool-card small { display: block; min-width: 0; }
.recent-tool-card strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.recent-tool-card small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.recent-tool-card b { color: #9aa6b8; }
.home-workspace .home-featured { padding: 44px 0 48px; }
.featured-grid-v3 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 13px; }
.featured-grid-v3 .featured-card { grid-column: span 2; min-height: 210px; padding: 18px; }
.featured-grid-v3 .featured-card-primary { grid-column: span 4; color: #fff; background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 56%, #1689a3 100%); border: 0; box-shadow: 0 18px 45px rgba(37, 99, 235, 0.24); }
.featured-grid-v3 .featured-card-primary .tool-badge { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.2); }
.featured-grid-v3 .featured-card-primary p { color: rgba(255,255,255,.78); }
.featured-grid-v3 .featured-card-primary em { margin-top: auto; color: #fff; font-size: 13px; font-style: normal; font-weight: 800; }
.featured-symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; color: var(--brand); background: #edf3ff; border-radius: 12px; font-size: 12px; font-weight: 900; }
.featured-card-primary .featured-symbol { color: #fff; background: rgba(255,255,255,.16); }
.featured-grid-v3 .featured-card h3 { margin: 18px 0 7px; padding: 0; font-size: 18px; }
.home-trust-band { color: #fff; background: #111d35; }
.home-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-trust-grid div { display: grid; gap: 6px; min-height: 116px; align-content: center; padding: 22px 38px; border-right: 1px solid rgba(255,255,255,.12); }
.home-trust-grid div:last-child { border-right: 0; }
.home-trust-grid strong { font-size: 22px; }
.home-trust-grid span { color: #aebbd1; font-size: 13px; }
.home-tools-directory { padding: 54px 0 58px; background: #fff; }
.directory-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.directory-head h2 { margin: 3px 0 0; font-size: clamp(27px, 3vw, 34px); }
.directory-count { flex: 0 0 auto; min-height: 36px; padding: 8px 13px; color: #5f6d82; background: #f4f6fa; border: 1px solid #e2e7ef; border-radius: 999px; font-size: 13px; }
.directory-count b { color: var(--brand); }
.tool-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding: 6px; background: #f3f6fa; border-radius: 13px; }
.tool-filter-bar button { min-height: 38px; padding: 0 16px; color: #5d6a7e; background: transparent; border-radius: 9px; font-size: 13px; font-weight: 750; }
.tool-filter-bar button:hover { color: var(--brand); background: #fff; }
.tool-filter-bar button.active { color: #fff; background: var(--brand); box-shadow: 0 7px 18px rgba(37, 99, 235, .2); }
.all-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.directory-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 86px; padding: 13px 15px; background: #fff; border: 1px solid #e0e6ef; border-radius: 13px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.directory-card:hover { transform: translateY(-2px); border-color: #b9caf5; box-shadow: 0 12px 30px rgba(26, 39, 64, .08); }
.directory-card i { width: 44px; height: 44px; }
.directory-card strong, .directory-card small { display: block; }
.directory-card strong { font-size: 15px; }
.directory-card small { margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.directory-card b { color: #a4afbf; font-size: 16px; }
.directory-actions { display: flex; justify-content: center; padding-top: 22px; }
.directory-actions button { min-width: 190px; }
.home-legacy-directory, .home-workspace .home-reasons { display: none; }

@media (max-width: 1020px) {
  .home-workspace .home-hero-inner { grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; }
  .featured-grid-v3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-grid-v3 .featured-card, .featured-grid-v3 .featured-card-primary { grid-column: span 1; }
  .featured-grid-v3 .featured-card-primary { grid-row: span 2; }
  .all-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home-workspace .home-hero { padding: 32px 0 36px; }
  .home-workspace .home-hero-inner { display: block; }
  .home-workspace .home-hero-copy h1 { max-width: 350px; margin-top: 6px; font-size: 35px; line-height: 1.1; }
  .home-workspace .home-hero-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.6; }
  .home-workspace .home-search { margin-top: 21px; }
  .home-workspace .home-search-row { grid-template-columns: minmax(0, 1fr) 78px; }
  .home-workspace .home-search-row button { min-height: 48px; }
  .home-hot-terms { flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; }
  .home-hot-terms > * { flex: 0 0 auto; }
  .home-workspace .home-trust-row { font-size: 12px; }
  .home-workspace .home-hero-panel { margin-top: 24px; padding: 14px; border-radius: 16px; }
  .home-scene-grid { gap: 8px; }
  .home-scene-grid a { grid-template-columns: 34px minmax(0,1fr); min-height: 76px; padding: 10px; }
  .scene-mark { width: 34px; height: 34px; border-radius: 9px; font-size: 9px; }
  .home-scene-grid small { font-size: 10px; }
  .home-scene-grid b { display: none; }
  .home-recent { padding-top: 25px; }
  .recent-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recent-tool-card { grid-template-columns: 34px minmax(0,1fr); min-height: 66px; padding: 8px; }
  .recent-tool-card i { width: 34px; height: 34px; }
  .recent-tool-card b, .recent-tool-card small { display: none; }
  .home-workspace .home-featured { padding: 30px 0 34px; }
  .featured-grid-v3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .featured-grid-v3 .featured-card { min-height: 156px; padding: 13px; }
  .featured-grid-v3 .featured-card-primary { grid-column: span 2; grid-row: auto; min-height: 184px; }
  .featured-symbol { width: 36px; height: 36px; margin-bottom: 12px; }
  .featured-grid-v3 .featured-card h3 { margin-top: 13px; font-size: 16px; }
  .featured-grid-v3 .featured-card p { display: none; }
  .featured-grid-v3 .featured-card-primary p { display: block; }
  .home-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-trust-grid div { min-height: 106px; padding: 15px 8px; text-align: center; }
  .home-trust-grid strong { font-size: 16px; }
  .home-trust-grid span { font-size: 10px; line-height: 1.45; }
  .home-tools-directory { padding: 34px 0 38px; }
  .directory-head { align-items: flex-start; margin-bottom: 16px; }
  .directory-head h2 { font-size: 26px; }
  .directory-count { margin-top: 4px; padding-inline: 10px; }
  .tool-filter-bar { flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; background: transparent; border-radius: 0; }
  .tool-filter-bar button { flex: 0 0 auto; background: #f3f6fa; }
  .all-tools-grid { grid-template-columns: 1fr; gap: 8px; }
  .directory-card { min-height: 75px; padding: 10px 12px; }
}

@media (max-width: 390px) {
  .home-workspace .home-hero-copy h1 { font-size: 32px; }
  .home-workspace .home-search-row { grid-template-columns: minmax(0, 1fr) 72px; }
  .home-workspace .home-search-row button { min-height: 48px; }
  .home-scene-grid strong { font-size: 13px; }
}

/* Unified typography system */
:root {
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 750;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.375rem, 2.1vw, 1.625rem);
  line-height: 1.32;
  letter-spacing: -0.012em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.006em;
}

p, li, dd, dt, summary, label, input, textarea, select, button { text-wrap: pretty; }
.main-article p, .simple-page p, .simple-page li, details p { line-height: 1.75; }

.brand > span:last-child { font-family: var(--font-sans); font-size: 1.1875rem; font-weight: 780; letter-spacing: -0.015em; }
.primary-nav a, .about-link, .nav-menu summary { font-size: 0.875rem; }
.eyebrow, .tool-app-kicker { font-size: 0.8125rem; line-height: 1.45; letter-spacing: 0.04em; }

.hero-title h1,
.currency-page-body .hero-title h1,
.currency-title h1,
.utm-hero-copy h1 {
  font-size: clamp(2rem, 3vw, 2.375rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.workbench-v2 .utm-hero-copy h1,
.tool-app-intro h1 { font-size: clamp(1.875rem, 2.8vw, 2.25rem); }

.hero-title p:last-child,
.currency-page-body .hero-title p:last-child,
.currency-title p:last-child,
.utm-hero-copy p:last-child,
.workbench-v2 .utm-hero-copy p:last-child,
.tool-app-intro h1 + p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.home-workspace .home-hero-copy h1 {
  font-size: clamp(2.375rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.home-workspace .home-hero-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.7; }
.simple-page h1 { font-size: clamp(1.875rem, 3vw, 2.375rem); line-height: 1.2; }

.home-section-head h2,
.directory-head h2,
.section-title h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.28;
}

.main-article h2,
.keyword-section h2,
.seo-panel h2 {
  font-size: 1.4375rem;
  line-height: 1.38;
}

.content-card h2 { font-size: 1.1875rem; line-height: 1.4; }
.side-panel h2 { font-size: 1.125rem; line-height: 1.4; }
.tool-app-panel-head h2,
.workbench-v2 .utm-card-head h2,
.workbench-v2 .utm-side-section h2 { font-size: 1.25rem; line-height: 1.35; }
.recent-head h2 { font-size: 1.375rem; line-height: 1.35; }
.featured-grid-v3 .featured-card h3, .featured-card h3, .reason-grid h3 { font-size: 1.125rem; line-height: 1.4; }

.content-card p, .featured-card p, .reason-grid p, .section-description { font-size: 0.875rem; line-height: 1.65; }
.side-panel a, .side-panel span { font-size: 0.875rem; line-height: 1.5; }
summary { font-size: 0.9375rem; line-height: 1.5; font-weight: 700; }
details p { font-size: 0.9375rem; }

.json-editor, .utm-result-box textarea, .tool-app-field textarea, .tool-app-field input, .code-output { font-family: var(--font-mono); }

.site-footer {
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.site-footer a { font-weight: 550; }

@media (max-width: 760px) {
  h1,
  .hero-title h1,
  .currency-page-body .hero-title h1,
  .currency-title h1,
  .utm-hero-copy h1,
  .workbench-v2 .utm-hero-copy h1,
  .tool-app-intro h1 { font-size: 1.75rem; line-height: 1.22; letter-spacing: -0.015em; }

  .home-workspace .home-hero-copy h1 { font-size: 2.125rem; line-height: 1.14; letter-spacing: -0.02em; }
  .simple-page h1 { font-size: 1.75rem; }

  .home-section-head h2,
  .directory-head h2,
  .section-title h2 { font-size: 1.5rem; }

  .main-article h2,
  .keyword-section h2,
  .seo-panel h2 { font-size: 1.3125rem; }

  .content-card h2,
  .tool-app-panel-head h2,
  .workbench-v2 .utm-card-head h2,
  .workbench-v2 .utm-side-section h2 { font-size: 1.125rem; }

  .hero-title p:last-child,
  .currency-title p:last-child,
  .utm-hero-copy p:last-child,
  .workbench-v2 .utm-hero-copy p:last-child,
  .tool-app-intro h1 + p { font-size: 0.875rem; line-height: 1.6; }

  .tool-app-kicker, .panel-step { font-size: 0.75rem; }
  .result-count-chip { font-size: 0.6875rem; }
  .home-scene-grid small, .recent-tool-card small, .home-trust-grid span { font-size: 0.6875rem; }
  .site-footer { gap: 0.625rem 0.875rem; padding: 1.125rem 0.875rem; }
}

/* Unified navigation and breadcrumbs */
.site-breadcrumbs {
  color: #6b7688;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-breadcrumbs ol {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: hidden;
  list-style: none;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
}

.site-breadcrumbs li { min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
.site-breadcrumbs li.has-separator::before { content: "/"; color: #b1bac7; }
.site-breadcrumbs a { color: #5e6d82; transition: color 0.18s ease; }
.site-breadcrumbs a:hover { color: var(--brand); }
.site-breadcrumbs [aria-current="page"] { overflow: hidden; color: #28354a; font-weight: 700; text-overflow: ellipsis; }

.menu-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.menu-panel .menu-group-heading h2 { margin: 0; }
.menu-group-heading small {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  color: #768297;
  background: #edf1f6;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

@media (min-width: 761px) {
  .menu-groups { display: block; columns: 3; column-gap: 12px; }
  .menu-groups section {
    break-inside: avoid;
    margin: 0 0 12px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 11px;
  }
  .menu-panel a { min-height: 36px; }
}

@media (max-width: 760px) {
  .site-breadcrumbs ol { min-height: 38px; gap: 6px; padding-top: 7px; padding-bottom: 7px; font-size: 12px; }
  .site-breadcrumbs li { gap: 6px; }
  .menu-group-heading { margin-bottom: 5px; }
}

/* About page reading rhythm */
.about-page .simple-page { padding-top: 48px; padding-bottom: 64px; }
.about-page .simple-page article {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 42px 40px;
}
.about-page .simple-page .eyebrow { margin-bottom: 7px; }
.about-page .simple-page h1 {
  margin: 0 0 17px;
  font-size: clamp(2rem, 2.7vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.about-page .simple-page h2 {
  margin: 28px 0 9px;
  font-size: 1.3125rem;
  line-height: 1.4;
  font-weight: 730;
  letter-spacing: -0.012em;
}
.about-page .simple-page article > p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0;
  color: #5b687b;
  font-size: 0.96875rem;
  line-height: 1.82;
}
.about-page .simple-page h1 + p {
  color: #526075;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .about-page .simple-page { padding-top: 26px; padding-bottom: 44px; }
  .about-page .simple-page article { padding: 22px 18px 26px; }
  .about-page .simple-page .eyebrow { margin-bottom: 5px; }
  .about-page .simple-page h1 { margin-bottom: 14px; font-size: 1.75rem; line-height: 1.25; }
  .about-page .simple-page h2 { margin-top: 24px; margin-bottom: 7px; font-size: 1.1875rem; }
  .about-page .simple-page article > p:not(.eyebrow) { font-size: 0.9375rem; line-height: 1.76; }
}

/* Homepage SEO content modules */
.home-seo-section { padding: 58px 0; background: #fff; }
.home-seo-topical-hub { background: #f7f9fc; border-block: 1px solid var(--line); }
.home-seo-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-seo-hub-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 16px; min-height: 236px; padding: 20px; background: #fff; border: 1px solid #dfe6ef; border-radius: 14px; box-shadow: 0 8px 24px rgba(27, 43, 71, .04); }
.home-seo-hub-card[data-home-seo-group="popular"], .home-seo-hub-card[data-home-seo-group="all"] { grid-column: 1 / -1; }
.home-seo-hub-card h3 { margin: 4px 0 8px; font-size: 1.32rem; }
.home-seo-hub-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.home-seo-hub-more { display: inline-flex; margin-top: 14px; color: var(--brand); font-weight: 850; text-decoration: none; }
.home-seo-hub-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.home-seo-hub-tools a { display: grid; align-content: start; gap: 5px; min-height: 88px; padding: 12px; color: inherit; text-decoration: none; background: #f8fafc; border: 1px solid #e3e9f2; border-radius: 10px; }
.home-seo-hub-tools a:hover, .home-seo-hub-tools a:focus { color: var(--brand); background: #fff; border-color: #b9caf5; box-shadow: 0 8px 20px rgba(26, 39, 64, .06); }
.home-seo-hub-tools span { color: var(--muted); font-size: .77rem; line-height: 1.5; }
.home-content-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); align-items: end; gap: 48px; margin-bottom: 26px; }
.home-content-head h2, .processing-copy h2, .update-panel h2, .needs-panel h2, .faq-intro h2 { margin: 4px 0 0; font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.28; }
.home-content-head > p, .faq-intro > p:not(.eyebrow), .processing-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.75; }
.home-content-head.compact { grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); }
.home-value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.home-value-grid article { position: relative; min-height: 232px; padding: 21px; overflow: hidden; background: #f8faff; border: 1px solid #e1e7f1; border-radius: 16px; }
.home-value-grid article::after { content: ""; position: absolute; right: -35px; bottom: -45px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(37, 99, 235, .1), transparent 67%); }
.value-title-row, .case-title-row { display: flex; align-items: center; gap: 13px; }
.home-value-grid .value-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: var(--brand); background: #e9f0ff; border-radius: 12px; }
.value-icon svg, .case-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-value-grid h3 { margin: 0; font-size: 1.0625rem; }
.home-value-grid p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.72; }
.home-value-grid .value-title-row + p { margin-top: 17px; }
.home-value-grid a { position: absolute; left: 21px; bottom: 20px; z-index: 1; color: var(--brand); font-size: .8125rem; font-weight: 750; }
.home-value-grid a::after { content: " →"; }
.home-use-cases { background: #f4f7fb; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.use-case-grid article { min-height: 220px; padding: 21px; background: #fff; border: 1px solid #dfe6f0; border-radius: 16px; box-shadow: 0 9px 26px rgba(27, 43, 71, .045); }
.case-icon { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; color: #0d6680; background: #e7f5f8; border-radius: 12px; }
.use-case-grid article:nth-child(3n + 1) .case-icon { color: #2259c7; background: #eaf0ff; }
.use-case-grid article:nth-child(3n) .case-icon { color: #8a4b0d; background: #fff1df; }
.use-case-grid h3 { margin: 0; font-size: 1.0625rem; }
.use-case-grid p { margin: 16px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.68; }
.use-case-grid article > div:not(.case-title-row) { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.use-case-grid a, .processing-cards a { min-height: 29px; padding: 4px 9px; color: #53637a; background: #f3f6fa; border: 1px solid #e2e7ef; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.use-case-grid a:hover { color: var(--brand); background: #edf3ff; border-color: #c7d5f6; }
.home-processing { color: #fff; background: linear-gradient(135deg, #111d35 0%, #152542 60%, #123449 100%); }
.processing-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: 55px; }
.processing-copy h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.processing-copy > p:not(.eyebrow) { margin-top: 16px; color: #b8c5da; }
.text-link { display: inline-flex; margin-top: 20px; color: var(--brand); font-size: .875rem; font-weight: 750; }
.home-processing .text-link { color: #8ab5ff; }
.processing-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.processing-cards article { min-height: 285px; padding: 23px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 17px; backdrop-filter: blur(8px); }
.processing-cards article > span { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; color: #d8e7ff; background: rgba(105, 156, 245, .15); border: 1px solid rgba(138, 181, 255, .22); border-radius: 999px; font-size: .75rem; font-weight: 750; }
.processing-cards h3 { margin: 24px 0 9px; color: #fff; font-size: 1.125rem; }
.processing-cards p { margin: 0; color: #b8c5da; font-size: .875rem; line-height: 1.72; }
.processing-cards article > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.processing-cards a { color: #dbe8fb; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); }
.home-task-section { background: #fff; }
.popular-task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.popular-task-grid a { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 78px; padding: 14px 17px; background: #f8faff; border: 1px solid #e1e7f0; border-radius: 14px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.popular-task-grid a:hover { transform: translateY(-2px); border-color: #b9caf5; box-shadow: 0 10px 26px rgba(26, 39, 64, .07); }
.popular-task-grid span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--brand); background: #e9f0ff; border-radius: 11px; font-size: .75rem; font-weight: 850; }
.popular-task-grid strong { font-size: .9375rem; line-height: 1.5; }
.popular-task-grid b { color: #9aa6b8; }
.home-articles { background: #f4f7fb; }
.home-articles-more { display: inline; margin: 0 0 0 7px; white-space: nowrap; }
.home-article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-article-grid article { display: flex; min-height: 270px; flex-direction: column; padding: 20px; background: #fff; border: 1px solid #dfe6ef; border-radius: 15px; box-shadow: 0 9px 26px rgba(27, 43, 71, .04); }
.home-article-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #8b96a6; font-size: .7rem; }
.home-article-meta span { color: var(--brand); font-weight: 800; }
.home-article-grid h3 { margin: 18px 0 9px; font-size: 1rem; line-height: 1.5; }
.home-article-grid h3 a:hover { color: var(--brand); }
.home-article-grid p { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.68; }
.home-article-link { margin-top: auto; padding-top: 18px; color: var(--brand); font-size: .78rem; font-weight: 750; }
.home-evidence { background: #f4f7fb; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.update-panel, .needs-panel { min-height: 430px; padding: 27px; background: #fff; border: 1px solid #dfe6ef; border-radius: 18px; }
.update-panel ul { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }
.update-panel li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-top: 1px solid #e8ecf2; }
.update-panel time { color: var(--brand); font-size: .75rem; font-weight: 800; }
.update-panel strong, .update-panel small { display: block; }
.update-panel strong { font-size: .9375rem; }
.update-panel small { margin-top: 5px; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.need-list { display: grid; gap: 9px; margin-top: 22px; }
.need-list article { padding: 15px 16px; background: #f7f9fc; border: 1px solid #e6eaf1; border-radius: 12px; }
.need-list span { color: var(--brand); font-size: .8125rem; font-weight: 800; }
.need-list p { margin: 5px 0 0; color: #58677b; font-size: .875rem; line-height: 1.62; }
.needs-note { margin: 14px 0 0; color: #8a95a6; font-size: .75rem; }
.home-faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: minmax(260px, .52fr) minmax(0, 1fr); align-items: start; gap: 54px; }
.faq-intro { position: sticky; top: 90px; }
.faq-intro > p:not(.eyebrow) { margin-top: 12px; }
.home-faq-list { display: grid; gap: 9px; }
.home-faq-list details { overflow: hidden; background: #f8faff; border: 1px solid #e1e7f0; border-radius: 13px; }
.home-faq-list summary { position: relative; min-height: 62px; padding: 19px 50px 17px 19px; cursor: pointer; list-style: none; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after { content: "+"; position: absolute; top: 17px; right: 18px; display: grid; place-items: center; width: 28px; height: 28px; color: var(--brand); background: #e9f0ff; border-radius: 8px; font-size: 18px; line-height: 1; }
.home-faq-list details[open] summary::after { content: "−"; }
.home-faq-list details p { margin: 0; padding: 0 19px 19px; color: var(--muted); font-size: .875rem; line-height: 1.72; }

@media (max-width: 1020px) {
  .home-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .processing-layout { grid-template-columns: 1fr; gap: 30px; }
  .processing-copy { max-width: 700px; }
}

@media (max-width: 760px) {
  .home-seo-section { padding: 38px 0; }
  .home-seo-hub-grid, .home-seo-hub-card, .home-seo-hub-tools { grid-template-columns: 1fr; }
  .home-seo-hub-card[data-home-seo-group="popular"], .home-seo-hub-card[data-home-seo-group="all"] { grid-column: auto; }
  .home-seo-hub-card { min-height: 0; padding: 17px; }
  .home-content-head, .home-content-head.compact { grid-template-columns: 1fr; gap: 10px; margin-bottom: 19px; }
  .home-content-head h2, .processing-copy h2, .update-panel h2, .needs-panel h2, .faq-intro h2 { font-size: 1.5rem; }
  .home-content-head > p { font-size: .875rem; }
  .home-value-grid, .use-case-grid, .processing-cards, .popular-task-grid, .evidence-grid, .faq-layout { grid-template-columns: 1fr; }
  .home-value-grid { gap: 9px; }
  .home-value-grid article { min-height: 208px; padding: 18px; }
  .home-value-grid a { left: 18px; bottom: 17px; }
  .use-case-grid { gap: 9px; }
  .use-case-grid article { min-height: 0; padding: 18px; }
  .home-value-grid .value-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .case-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .processing-layout { gap: 24px; }
  .processing-cards article { min-height: 0; padding: 18px; }
  .processing-cards h3 { margin-top: 18px; }
  .popular-task-grid a { grid-template-columns: 36px minmax(0, 1fr) auto; min-height: 70px; padding: 11px 13px; }
  .popular-task-grid span { width: 36px; height: 36px; }
  .popular-task-grid strong { font-size: .875rem; }
  .home-article-grid { grid-template-columns: 1fr; gap: 9px; }
  .home-article-grid article { min-height: 220px; padding: 18px; }
  .update-panel, .needs-panel { min-height: 0; padding: 20px 17px; }
  .update-panel li { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
  .faq-layout { gap: 22px; }
  .faq-intro { position: static; }
  .home-faq-list summary { min-height: 58px; padding: 17px 48px 15px 16px; }
  .home-faq-list details p { padding: 0 16px 17px; }
}

.ssl-workbench,
.cidr-workbench,
.ssl-result,
.cidr-result {
  display: grid;
  gap: 20px;
}

.ssl-workbench form,
.cidr-workbench form {
  display: grid;
  gap: 14px;
}

.ssl-summary-grid,
.cidr-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cidr-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssl-summary-grid article,
.cidr-summary-grid article {
  display: grid;
  gap: 5px;
  padding: 16px;
  overflow-wrap: anywhere;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ssl-summary-grid span,
.ssl-summary-grid small,
.cidr-summary-grid span,
.cidr-summary-grid small {
  color: var(--muted);
  font-size: 13px;
}

.ssl-summary-grid strong,
.cidr-summary-grid strong {
  color: var(--brand);
  font-size: clamp(18px, 2vw, 25px);
}

.ssl-details,
.cidr-details {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ssl-details > div,
.cidr-details > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.ssl-details > div:last-child,
.cidr-details > div:last-child {
  border-bottom: 0;
}

.ssl-details dt,
.cidr-details dt {
  color: var(--muted);
  font-weight: 750;
}

.ssl-details dd,
.cidr-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.ssl-chain,
.cidr-binary-rows {
  display: grid;
  gap: 10px;
}

.ssl-chain article {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 9px;
}

.ssl-chain p,
.ssl-chain small {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.cidr-binary-rows > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.cidr-binary-rows span {
  color: var(--muted);
  font-weight: 750;
}

.cidr-binary-rows code {
  overflow-x: auto;
  color: #183c45;
  font-size: clamp(12px, 1.5vw, 15px);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ssl-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Teleprompter */
.teleprompter-page {
  background: #f4f7f8;
}

.teleprompter-hero {
  padding: 42px 0 26px;
  background:
    radial-gradient(circle at 78% 18%, rgba(45, 212, 191, .14), transparent 30%),
    linear-gradient(135deg, #edf8f6, #f8fbfc 55%, #eef5f8);
  border-bottom: 1px solid var(--line);
}

.teleprompter-hero h1 {
  margin: 5px 0 10px;
  color: #12353d;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -.04em;
}

.teleprompter-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.teleprompter-workspace {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(480px, 1.38fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 26px;
}

.teleprompter-editor-panel {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto auto;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(16, 52, 61, .08);
}

.teleprompter-panel-head,
.teleprompter-settings-head,
.teleprompter-stage-toolbar,
.teleprompter-stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.teleprompter-panel-head h2,
.teleprompter-settings-head h2 {
  margin: 2px 0 0;
  font-size: 20px;
}

.teleprompter-editor-actions,
.teleprompter-playback-actions,
.teleprompter-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.teleprompter-import-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#teleprompterScript {
  width: 100%;
  min-height: 340px;
  padding: 15px;
  resize: vertical;
  color: #183c45;
  background: #f8fafb;
  border: 1px solid #cfdadd;
  border-radius: 11px;
  font: 16px/1.65 system-ui, sans-serif;
}

#teleprompterScript:focus {
  outline: 3px solid rgba(13, 148, 136, .16);
  border-color: #0d9488;
}

.teleprompter-settings {
  display: grid;
  gap: 13px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.teleprompter-settings-head > span {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}

.teleprompter-settings > label {
  display: grid;
  gap: 7px;
}

.teleprompter-settings > label > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #34545b;
  font-size: 13px;
  font-weight: 760;
}

.teleprompter-settings output {
  color: #0f766e;
  font-variant-numeric: tabular-nums;
}

.teleprompter-settings input[type="range"] {
  width: 100%;
  accent-color: #0d9488;
}

.teleprompter-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.teleprompter-color-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  color: #34545b;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 760;
}

.teleprompter-color-grid input[type="color"] {
  width: 42px;
  height: 30px;
  padding: 2px;
  background: transparent;
  border: 0;
}

.teleprompter-stage {
  --teleprompter-font-size: 48px;
  --teleprompter-line-height: 1.6;
  --teleprompter-content-width: 78%;
  --teleprompter-text-color: #f8fafc;
  --teleprompter-background: #071015;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 690px;
  min-height: 690px;
  overflow: hidden;
  color: #fff;
  background: var(--teleprompter-background);
  border: 1px solid rgba(15, 118, 110, .25);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(3, 18, 23, .2);
}

.teleprompter-stage-toolbar,
.teleprompter-stage-footer {
  position: relative;
  z-index: 2;
  padding: 12px 14px;
  background: rgba(1, 12, 16, .86);
  backdrop-filter: blur(10px);
}

.teleprompter-stage-toolbar {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.teleprompter-stage-toolbar .secondary-button {
  color: #e5f3f2;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

.teleprompter-stage-toolbar button[aria-pressed="true"] {
  color: #052f2d;
  background: #99f6e4;
  border-color: #99f6e4;
}

.teleprompter-stage-footer {
  color: rgba(226, 247, 244, .68);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}

.teleprompter-viewport {
  position: relative;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(153, 246, 228, .5) transparent;
  touch-action: none;
  cursor: grab;
}

.teleprompter-viewport:active {
  cursor: grabbing;
}

.teleprompter-viewport:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: -3px;
}

.teleprompter-viewport::after {
  position: sticky;
  bottom: 50%;
  display: block;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, .32), transparent);
  pointer-events: none;
}

.teleprompter-content {
  width: var(--teleprompter-content-width);
  margin: 0 auto;
  color: var(--teleprompter-text-color);
  font-size: var(--teleprompter-font-size);
  font-weight: 650;
  line-height: var(--teleprompter-line-height);
  letter-spacing: .01em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  transform-origin: center;
  transition: color .15s ease, width .15s ease, transform .18s ease;
}

.teleprompter-content::before,
.teleprompter-content::after {
  display: block;
  height: 34vh;
  content: "";
}

.teleprompter-content.is-placeholder {
  color: rgba(226, 247, 244, .45);
}

.teleprompter-content.is-mirrored {
  transform: scaleX(-1);
}

.teleprompter-stage.is-fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
}

.teleprompter-status {
  margin-top: 14px;
}

.teleprompter-shortcuts {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
  padding-top: 34px;
  padding-bottom: 42px;
}

.teleprompter-shortcuts h2 {
  margin: 4px 0 0;
  color: #173a42;
}

.teleprompter-shortcuts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.teleprompter-shortcuts dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.teleprompter-shortcuts dt,
.teleprompter-shortcuts dd {
  margin: 0;
}

.teleprompter-shortcuts dd {
  color: var(--muted);
  font-size: 13px;
}

.teleprompter-shortcuts kbd {
  display: inline-block;
  min-width: 27px;
  padding: 4px 7px;
  text-align: center;
  color: #19474d;
  background: #edf7f5;
  border: 1px solid #bdded9;
  border-bottom-width: 3px;
  border-radius: 6px;
  font: 750 12px/1 system-ui, sans-serif;
}

@media (max-width: 1020px) {
  .teleprompter-workspace {
    grid-template-columns: 1fr;
  }

  .teleprompter-stage {
    height: 620px;
    min-height: 620px;
  }

  .teleprompter-editor-panel {
    grid-template-rows: auto auto auto auto;
  }
}

@media (max-width: 680px) {
  .teleprompter-hero {
    padding: 30px 0 22px;
  }

  .teleprompter-workspace {
    width: min(100% - 20px, var(--section-width));
    padding-top: 16px;
  }

  .teleprompter-editor-panel {
    padding: 14px;
  }

  .teleprompter-panel-head,
  .teleprompter-stage-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .teleprompter-editor-actions,
  .teleprompter-playback-actions,
  .teleprompter-view-actions {
    width: 100%;
  }

  .teleprompter-editor-actions > *,
  .teleprompter-playback-actions > *,
  .teleprompter-view-actions > * {
    flex: 1;
  }

  #teleprompterScript {
    min-height: 280px;
  }

  .teleprompter-stage {
    height: 72vh;
    min-height: 72vh;
    border-radius: 13px;
  }

  .teleprompter-stage-footer {
    display: none;
  }

  .teleprompter-content {
    font-size: min(var(--teleprompter-font-size), 16vw);
  }

  .teleprompter-shortcuts {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 26px;
  }

  .teleprompter-shortcuts dl {
    grid-template-columns: 1fr;
  }

  .teleprompter-shortcuts dl > div {
    grid-template-columns: 100px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .ssl-summary-grid,
  .cidr-summary-grid {
    grid-template-columns: 1fr;
  }

  .ssl-details > div,
  .cidr-details > div,
  .cidr-binary-rows > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

.tools-directory-hero { padding: 58px 0 42px; background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.tools-directory-hero h1 { max-width: 760px; margin: 10px 0 12px; font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.05; }
.tools-directory-hero p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.tools-directory-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: .86rem; }
.tools-directory-breadcrumb a { color: var(--brand); text-decoration: none; }
.tools-directory-breadcrumb b { color: #b5bfcd; font-weight: 700; }
.tools-directory-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tools-directory-stats span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .82rem; font-weight: 800; }
.tools-directory-section, .tools-directory-group { padding: 34px 0; background: #fff; }
.tools-category-grid, .tools-directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tools-category-card, .tools-directory-card { display: flex; flex-direction: column; min-height: 168px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 8px 24px rgba(26, 39, 64, .05); }
.tools-category-card:hover, .tools-category-card:focus, .tools-directory-card:hover, .tools-directory-card:focus { border-color: rgba(46, 107, 255, .35); box-shadow: 0 12px 30px rgba(26, 39, 64, .09); transform: translateY(-1px); }
.tools-category-card span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 10px; background: #edf3ff; color: var(--brand); font-size: .72rem; font-weight: 900; }
.tools-category-card strong, .tools-directory-card strong { font-size: 1.02rem; }
.tools-category-card small, .tools-directory-card p { margin-top: 8px; color: var(--muted); line-height: 1.65; }
.tools-category-card b { margin-top: auto; color: var(--brand); font-size: .84rem; }
.tools-directory-group-head { display: flex; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.tools-directory-group-head h2 { margin: 4px 0 0; }
.tools-directory-group-head a { color: var(--brand); font-weight: 800; text-decoration: none; }
.tools-directory-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.tools-directory-aside { position: sticky; top: 82px; align-self: start; display: grid; gap: 8px; }
.tools-directory-aside a { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-weight: 800; text-decoration: none; }
.tools-directory-aside a[aria-current="page"], .tools-directory-aside a:hover, .tools-directory-aside a:focus { color: var(--brand); border-color: rgba(46, 107, 255, .35); background: #f4f7ff; }
.tools-directory-card { justify-content: space-between; }
.tools-directory-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tools-directory-card-tags span { padding: 5px 8px; border-radius: 999px; background: #f3f6fb; color: var(--muted); font-size: .75rem; font-weight: 800; }

@media (max-width: 760px) {
  .tools-directory-hero { padding: 38px 0 30px; }
  .tools-directory-layout { grid-template-columns: 1fr; }
  .tools-directory-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-directory-group-head { align-items: start; flex-direction: column; }
}

/* Article index and detail pages */
.articles-page, .article-detail-page { background: #f4f7fb; }
.article-index-hero { padding: 64px 0 58px; color: #fff; background: linear-gradient(135deg, #111d35 0%, #18335a 62%, #0d6070 100%); }
.article-index-hero-inner { max-width: 900px; }
.article-index-hero .eyebrow { color: #9fc4ff; }
.article-index-hero h1 { max-width: 760px; margin: 8px 0 15px; color: #fff; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.12; letter-spacing: -0.035em; }
.article-index-hero p:last-child { max-width: 720px; margin: 0; color: #c2cee0; font-size: 1rem; line-height: 1.75; }
.article-index-content { padding-top: 48px; padding-bottom: 68px; }
.article-index-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr); align-items: end; gap: 42px; margin-bottom: 22px; }
.article-index-head h2 { margin: 4px 0 0; font-size: clamp(1.65rem, 2.8vw, 2.15rem); }
.article-index-head > p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.article-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; padding: 6px; background: #e9eef5; border-radius: 13px; }
.article-filter-bar button { min-height: 38px; padding: 0 15px; color: #5c687b; background: transparent; border-radius: 9px; font-size: .8125rem; font-weight: 750; }
.article-filter-bar button:hover { color: var(--brand); background: #fff; }
.article-filter-bar button.active { color: #fff; background: var(--brand); box-shadow: 0 7px 18px rgba(37, 99, 235, .2); }
.article-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article-card { display: flex; min-height: 280px; flex-direction: column; padding: 24px; background: #fff; border: 1px solid #dfe6ef; border-radius: 17px; box-shadow: 0 10px 30px rgba(27, 43, 71, .045); }
.article-card[hidden] { display: none; }
.article-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #788598; font-size: .75rem; }
.article-card-meta span { color: var(--brand); font-weight: 800; }
.article-card h3 { margin: 21px 0 10px; font-size: 1.25rem; line-height: 1.42; }
.article-card h3 a:hover { color: var(--brand); }
.article-card > p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.72; }
.article-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 22px; color: #8994a5; font-size: .78rem; }
.article-card-footer a { color: var(--brand); font-weight: 750; }
.article-filter-empty { padding: 42px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed #cfd8e5; border-radius: 14px; }
.article-detail-header { padding: 54px 0 48px; background: #fff; border-bottom: 1px solid var(--line); }
.article-detail-header-inner { max-width: 920px; }
.article-category-label { display: inline-flex; min-height: 30px; align-items: center; padding: 0 11px; color: var(--brand); background: #eaf0ff; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.article-detail-header h1 { max-width: 880px; margin: 17px 0 14px; font-size: clamp(2.15rem, 4vw, 3rem); line-height: 1.18; letter-spacing: -0.035em; }
.article-lead { max-width: 790px; margin: 0; color: #59687c; font-size: 1.02rem; line-height: 1.78; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; color: #8591a2; font-size: .78rem; }
.article-layout-v2 { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: center; gap: 44px; align-items: start; padding-top: 42px; padding-bottom: 64px; }
.article-toc { position: sticky; top: 90px; padding: 18px; background: #fff; border: 1px solid #e0e6ef; border-radius: 14px; }
.article-toc strong { display: block; font-size: .875rem; }
.article-toc ol { display: grid; gap: 10px; margin: 14px 0 0; padding-left: 20px; color: #8490a2; font-size: .78rem; }
.article-toc a { color: #5e6d81; line-height: 1.5; }
.article-toc a:hover { color: var(--brand); }
.article-body { min-width: 0; padding: 34px 40px 40px; background: #fff; border: 1px solid #dfe6ef; border-radius: 18px; box-shadow: 0 12px 36px rgba(27, 43, 71, .045); }
.article-answer { margin: 0 0 34px; padding: 19px 21px; color: #34435a; background: #eef4ff; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; font-size: .95rem; line-height: 1.78; }
.article-section { scroll-margin-top: 96px; }
.article-section + .article-section { margin-top: 38px; padding-top: 38px; border-top: 1px solid #e8ecf2; }
.article-section h2, .article-tool-cta h2, .article-faq h2 { margin: 0 0 14px; font-size: 1.45rem; line-height: 1.4; }
.article-section p { margin: 0 0 15px; color: #4f5f73; font-size: .95rem; line-height: 1.88; }
.article-section ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 17px 19px 17px 38px; color: #4f5f73; background: #f7f9fc; border-radius: 12px; font-size: .9rem; line-height: 1.68; }
.article-tool-cta, .article-faq { margin-top: 42px; padding-top: 38px; border-top: 1px solid #e8ecf2; }
.article-tool-cta > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.article-tool-cta a { display: grid; gap: 4px; min-height: 76px; align-content: center; padding: 13px 15px; background: #f4f7fc; border: 1px solid #e1e7f0; border-radius: 12px; }
.article-tool-cta a:hover { border-color: #b9caf5; background: #eef4ff; }
.article-tool-cta strong { font-size: .875rem; }
.article-tool-cta span { color: var(--muted); font-size: .75rem; }
.article-faq > div { display: grid; gap: 9px; }
.article-faq details { overflow: hidden; background: #f7f9fc; border: 1px solid #e2e7ef; border-radius: 12px; }
.article-faq summary { padding: 16px 18px; cursor: pointer; font-size: .9rem; font-weight: 750; }
.article-faq details p { margin: 0; padding: 0 18px 17px; color: var(--muted); font-size: .875rem; line-height: 1.72; }
.article-related-band { padding: 48px 0 58px; background: #fff; border-top: 1px solid var(--line); }
.article-related-head { margin-bottom: 20px; }
.article-related-head h2 { margin: 4px 0 0; font-size: 1.65rem; }
.article-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.article-related-card { display: grid; min-height: 190px; align-content: start; padding: 20px; background: #f7f9fc; border: 1px solid #e1e7ef; border-radius: 14px; }
.article-related-card:hover { background: #fff; border-color: #b9caf5; box-shadow: 0 10px 26px rgba(26, 39, 64, .06); }
.article-related-card span { color: var(--brand); font-size: .72rem; font-weight: 800; }
.article-related-card strong { margin-top: 15px; font-size: .98rem; line-height: 1.48; }
.article-related-card small { margin-top: 9px; color: var(--muted); font-size: .78rem; line-height: 1.62; }

/* Reserved advertising placements. These elements only render when ADS_ENABLED is true. */
.ad-slot-wrapper { padding-top: 22px; padding-bottom: 22px; }
.ad-slot { position: relative; display: grid; min-height: 112px; place-items: center; overflow: hidden; background: #f8fafc; border: 1px solid #dde4ed; border-radius: 13px; }
.ad-slot-label { position: absolute; top: 8px; left: 10px; color: #929dac; font-size: .65rem; letter-spacing: .08em; }
.ad-slot-mount { width: 100%; min-height: inherit; }
.ad-slot-wrapper.ad-slot-collapsed { display: none !important; padding: 0 !important; }
.ad-slot.ad-slot-collapsed { display: none !important; min-height: 0 !important; margin: 0 !important; border: 0 !important; }
.article-body > .ad-slot { min-height: 250px; margin: 34px 0; }
.ad-slot-article-end-01 { margin-bottom: 0; }
.tool-related-guides { padding: 42px 0; background: #f4f7fb; border-block: 1px solid var(--line); }
.tool-related-guides-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.tool-related-guides-head h2 { margin: 4px 0 0; font-size: clamp(1.45rem, 2.5vw, 1.85rem); }
.tool-related-guides-head > a { color: var(--brand); font-size: .8125rem; font-weight: 750; white-space: nowrap; }
.tool-related-guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.tool-related-guides-grid > a { display: grid; min-height: 190px; align-content: start; padding: 20px; background: #fff; border: 1px solid #dfe6ef; border-radius: 14px; box-shadow: 0 8px 24px rgba(27, 43, 71, .04); }
.tool-related-guides-grid > a:hover { border-color: #b9caf5; box-shadow: 0 11px 28px rgba(26, 39, 64, .07); }
.tool-related-guides-grid span { color: var(--brand); font-size: .72rem; font-weight: 800; }
.tool-related-guides-grid strong { margin-top: 16px; font-size: .98rem; line-height: 1.48; }
.tool-related-guides-grid small { margin-top: 9px; color: var(--muted); font-size: .78rem; line-height: 1.62; }
.tool-seo-module { padding: 44px 0 0; background: #fff; border-top: 1px solid var(--line); }
.tool-seo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.tool-seo-layout-single { grid-template-columns: minmax(0, 1fr); }
.tool-seo-main, .tool-seo-side > section, .tool-seo-faq { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(27, 43, 71, .04); }
.tool-seo-main h2 { margin: 4px 0 10px; font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
.tool-seo-main h3, .tool-seo-side h2 { margin: 24px 0 12px; font-size: 1.08rem; }
.tool-seo-main p { color: var(--muted); line-height: 1.78; }
.tool-seo-keywords, .tool-related-tools-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-seo-keywords { margin-top: 14px; }
.tool-seo-keywords span { padding: 6px 9px; border-radius: 999px; background: #f3f6fb; color: var(--muted); font-size: .75rem; font-weight: 800; }
.tool-howto-list, .tool-feature-list { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: var(--text); line-height: 1.65; }
.tool-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; list-style: none; }
.tool-feature-list li { padding: 10px 12px; border-radius: 10px; background: #f5f8fc; font-weight: 750; }
.tool-related-tools-grid { display: grid; gap: 10px; }
.tool-related-tools-grid a { display: grid; gap: 6px; padding: 13px; border: 1px solid #dfe6ef; border-radius: 10px; color: inherit; text-decoration: none; background: #f8fafc; }
.tool-related-tools-grid a:hover, .tool-related-tools-grid a:focus { color: var(--brand); border-color: #b9caf5; background: #fff; }
.tool-related-tools-grid span { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.tool-seo-faq { margin-top: 18px; }
.tool-related-guides.compact { margin-top: 26px; }

@media (max-width: 900px) {
  .article-layout-v2 { grid-template-columns: minmax(0, 760px); }
  .article-toc { position: static; }
  .article-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .article-index-hero { padding: 38px 0 36px; }
  .article-index-hero h1 { font-size: 2rem; }
  .article-index-hero p:last-child { font-size: .9rem; }
  .article-index-content { padding-top: 30px; padding-bottom: 42px; }
  .article-index-head { grid-template-columns: 1fr; gap: 8px; }
  .article-filter-bar { flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; background: transparent; }
  .article-filter-bar button { flex: 0 0 auto; background: #e9eef5; }
  .article-card-grid, .article-related-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 250px; padding: 19px; }
  .article-detail-header { padding: 32px 0 30px; }
  .article-detail-header h1 { margin-top: 13px; font-size: 1.85rem; }
  .article-lead { font-size: .92rem; }
  .article-layout-v2 { gap: 12px; padding-top: 16px; padding-bottom: 36px; }
  .article-toc { padding: 15px; }
  .article-toc ol { grid-template-columns: 1fr; }
  .article-body { padding: 23px 17px 26px; border-radius: 14px; box-shadow: none; }
  .article-answer { margin-bottom: 28px; padding: 15px 16px; font-size: .9rem; }
  .article-section + .article-section { margin-top: 30px; padding-top: 30px; }
  .article-section h2, .article-tool-cta h2, .article-faq h2 { font-size: 1.28rem; }
  .article-section p { font-size: .92rem; line-height: 1.82; }
  .article-tool-cta > div { grid-template-columns: 1fr; }
  .article-related-band { padding: 34px 0 40px; }
  .article-related-card { min-height: 0; }
  .ad-slot-wrapper { padding-top: 14px; padding-bottom: 14px; }
  .ad-slot { min-height: 100px; border-radius: 10px; }
  .article-body > .ad-slot { min-height: 250px; margin: 28px 0; }
  .ad-slot-article-end-01 { display: none; }
  .tool-related-guides { padding: 32px 0; }
  .tool-related-guides-head { align-items: start; }
  .tool-related-guides-head > a { margin-top: 5px; }
  .tool-related-guides-grid { grid-template-columns: 1fr; gap: 9px; }
  .tool-related-guides-grid > a { min-height: 0; padding: 17px; }
  .tool-seo-layout { grid-template-columns: 1fr; }
  .tool-seo-main, .tool-seo-side > section, .tool-seo-faq { padding: 17px; }
  .tool-feature-list { grid-template-columns: 1fr; }
}

/* Regression fixes: keep the rebuilt header from overlapping at desktop widths. */
.header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.brand {
  justify-self: start;
}

.primary-nav {
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
}

@media (max-width: 1120px) and (min-width: 761px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .primary-nav {
    display: none;
  }
}

#all-tools,
#network-tools,
#developer-tools,
#marketing-tools,
#legacy-operation-tools,
#data-processing,
#usage-scenarios,
#recent-updates {
  scroll-margin-top: 84px;
}

/* Tools directory pages: align category/index pages with the homepage workspace. */
.tools-directory-page {
  background: var(--bg);
}

.tools-directory-page .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(215, 223, 234, 0.9);
  backdrop-filter: blur(14px);
}

.tools-directory-page > .site-breadcrumbs {
  display: none;
}

.tools-directory-page .tools-directory-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 48px;
  color: var(--text);
  background: linear-gradient(135deg, #edf3ff 0%, #fbfcff 52%, #eaf9fa 100%);
  border-bottom: 1px solid #dce5f3;
}

.tools-directory-page .tools-directory-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.16), transparent 31%),
    radial-gradient(circle at 91% 88%, rgba(8, 145, 178, 0.14), transparent 32%);
  pointer-events: none;
}

.tools-directory-page .tools-directory-hero > .section {
  position: relative;
}

.tools-directory-page .tools-directory-breadcrumb {
  margin-bottom: 18px;
  color: #6a7689;
  font-size: 13px;
  font-weight: 650;
}

.tools-directory-page .tools-directory-breadcrumb a {
  color: var(--brand);
  font-weight: 750;
}

.tools-directory-page .tools-directory-breadcrumb b {
  color: #a7b2c2;
  font-weight: 700;
}

.tools-directory-page .tools-directory-hero h1 {
  max-width: 760px;
  margin: 9px 0 15px;
  font-size: clamp(43px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.tools-directory-page .tools-directory-hero p:not(.eyebrow) {
  max-width: 650px;
  color: #5c687b;
  font-size: 17px;
  line-height: 1.7;
}

.tools-directory-page .tools-directory-stats {
  gap: 9px;
  margin-top: 24px;
}

.tools-directory-page .tools-directory-stats span {
  min-height: 34px;
  padding: 6px 12px;
  color: #52627a;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.tools-directory-page .tools-directory-section,
.tools-directory-page .tools-directory-group {
  background: #fff;
}

.tools-directory-page .tools-directory-section {
  padding: 44px 0 26px;
}

.tools-directory-page .tools-directory-group {
  padding: 34px 0;
}

.tools-directory-page .tools-category-grid,
.tools-directory-page .tools-directory-grid {
  gap: 11px;
}

.tools-directory-page .tools-category-card,
.tools-directory-page .tools-directory-card {
  border-color: #e0e6ef;
  border-radius: 13px;
  box-shadow: 0 7px 20px rgba(26, 39, 64, 0.045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tools-directory-page .tools-category-card {
  min-height: 164px;
  padding: 18px;
}

.tools-directory-page .tools-directory-card {
  min-height: 168px;
  padding: 18px;
}

.tools-directory-page .tools-category-card:hover,
.tools-directory-page .tools-category-card:focus,
.tools-directory-page .tools-directory-card:hover,
.tools-directory-page .tools-directory-card:focus {
  transform: translateY(-2px);
  border-color: #b9caf5;
  box-shadow: 0 12px 30px rgba(26, 39, 64, .08);
}

.tools-directory-page .tools-category-card span {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--brand);
  background: #edf3ff;
  border-radius: 12px;
  font-size: 11px;
}

.tools-directory-page .tools-category-card strong,
.tools-directory-page .tools-directory-card strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.tools-directory-page .tools-category-card small,
.tools-directory-page .tools-directory-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.tools-directory-page .tools-category-card b,
.tools-directory-page .tools-directory-group-head a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.tools-directory-page .tools-directory-group-head {
  align-items: end;
  margin-bottom: 18px;
}

.tools-directory-page .tools-directory-group-head h2 {
  margin-top: 3px;
  font-size: clamp(25px, 2.6vw, 32px);
}

.tools-directory-page .tools-directory-layout {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
}

.tools-directory-page .tools-directory-aside {
  top: 82px;
  gap: 8px;
  padding: 8px;
  background: #f3f6fa;
  border: 1px solid #e2e7ef;
  border-radius: 13px;
}

.tools-directory-page .tools-directory-aside a {
  min-height: 38px;
  padding: 8px 11px;
  color: #5d6a7e;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 750;
}

.tools-directory-page .tools-directory-aside a[aria-current="page"],
.tools-directory-page .tools-directory-aside a:hover,
.tools-directory-page .tools-directory-aside a:focus {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 7px 18px rgba(37, 99, 235, .2);
}

.tools-directory-page .tools-directory-card-tags {
  gap: 7px;
  margin-top: 16px;
}

.tools-directory-page .tools-directory-card-tags span {
  color: #5f6d82;
  background: #f4f6fa;
  border: 1px solid #e2e7ef;
  font-size: 12px;
}

@media (max-width: 760px) {
  .tools-directory-page .tools-directory-hero {
    padding: 32px 0 36px;
  }

  .tools-directory-page .tools-directory-hero h1 {
    max-width: 350px;
    margin-top: 6px;
    font-size: 35px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .tools-directory-page .tools-directory-hero p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.6;
  }

  .tools-directory-page .tools-directory-section {
    padding: 30px 0 18px;
  }

  .tools-directory-page .tools-directory-layout {
    grid-template-columns: 1fr;
  }

  .tools-directory-page .tools-directory-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-directory-page .tools-directory-group-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .tools-directory-page .tools-category-grid,
  .tools-directory-page .tools-directory-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tools-directory-page .tools-category-card,
  .tools-directory-page .tools-directory-card {
    min-height: 0;
    padding: 16px;
  }
}
