/* tools-v1/tools.css: /tools/ hub and tool pages (fragments from design/tools-v1/render.cjs), EN/PT/ES. Light only, scoped to
 * #visu-tools. Same shell as 59-alternatives.css: bands painted full-bleed with box-shadow + clip-path because the fragment
 * sits inside the theme's content column. The tool itself is the first thing under the H1; text content comes after.
 * Primary buttons reuse .v9-btn-primary (09-buttons.css). Embed mode (html.vt-embed) hides the page around the tool.
 * Loaded ONLY on tool pages: the mu-plugin adds it in <head> next to the site-v5 CSS (no FOUC); the preview does the same. */
#visu-tools { --vt-ink: var(--vl-ink, #0a1324); --vt-text: var(--vl-ink-2, #33415a); --vt-muted: var(--vl-muted, #5d6a7e);
  --vt-line: var(--vl-line, rgba(10, 19, 36, .08)); --vt-line-2: var(--vl-line-2, rgba(10, 19, 36, .14)); --vt-surface: var(--vl-surface, #fff);
  --vt-bg: var(--vl-bg, #f7fafd); --vt-tint: var(--vl-tint, #eef6fc); --vt-accent: var(--vl-accent, #19b4ef); --vt-accent-text: var(--vl-accent-text, #0670a6);
  --vt-ok: #047857; --vt-warn: #a15c07; --vt-err: #b42318; --vt-radius: 18px;
  color: var(--vt-text); color-scheme: only light; font-family: Inter, "Inter Fallback", "Inter Fallback Android", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
#visu-tools *, #visu-tools *::before, #visu-tools *::after { box-sizing: border-box; }
#visu-tools :is(h1, h2, h3, h4) { color: var(--vt-ink) !important; text-transform: none !important; margin: 0 !important; font-family: inherit !important; letter-spacing: -0.02em; }
#visu-tools :is(p, ul, ol, dl, dd, figure) { margin: 0 !important; }
#visu-tools :is(ul, ol) { padding: 0 !important; }
#visu-tools li { margin: 0 !important; }
#visu-tools a { color: var(--vt-accent-text); text-decoration-color: rgba(6, 112, 166, .35); text-underline-offset: 3px; }
#visu-tools a:hover { color: var(--vt-ink); }
#visu-tools .vt-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
#visu-tools .vt-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#visu-tools :focus-visible { outline: 2px solid var(--vt-accent-text); outline-offset: 2px; }

/* Hero: compact on tool pages so the tool sits above the fold */
#visu-tools .vt-hero { padding: 40px 0 24px; background: var(--vt-bg); box-shadow: 0 0 0 100vmax var(--vt-bg); clip-path: inset(0 -100vmax); }
#visu-tools .vt-hero-hub { padding: 64px 0 36px; }
#visu-tools .vt-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--vt-accent-text) !important; margin-bottom: 14px !important; }
#visu-tools .vt-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vt-accent); }
#visu-tools h1 { font-size: clamp(30px, 3.6vw, 46px) !important; line-height: 1.08 !important; font-weight: 750 !important; letter-spacing: -0.035em !important; text-wrap: balance; }
#visu-tools .vt-hero-hub h1 { font-size: clamp(32px, 4.2vw, 54px) !important; max-width: 20ch; }
#visu-tools .vt-lead { margin-top: 12px !important; max-width: 70ch; font-size: 17px; line-height: 1.6; }
#visu-tools .vt-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--vt-muted); margin-bottom: 12px; }
#visu-tools .vt-crumb a { font-weight: 600; }
#visu-tools .vt-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px !important; font-size: 14px; color: var(--vt-muted); }
#visu-tools .vt-facts li { display: inline-flex; align-items: center; gap: 6px; }
#visu-tools .vt-facts svg { color: var(--vt-ok); }

/* App band */
#visu-tools .vt-app-band { padding: 8px 0 48px; background: var(--vt-bg); box-shadow: 0 0 0 100vmax var(--vt-bg); clip-path: inset(0 -100vmax); }
#visu-tools .vt-app { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
#visu-tools .vt-og { grid-template-columns: minmax(0, 1fr); }
#visu-tools .vt-panel { background: var(--vt-surface); border: 1px solid var(--vt-line); border-radius: var(--vt-radius); box-shadow: var(--vl-shadow-sm); padding: 22px; min-width: 0; }
#visu-tools .vt-out { position: sticky; top: 104px; display: grid; gap: 14px; }
#visu-tools .vt-out-label { font-size: 13px !important; font-weight: 700 !important; letter-spacing: .04em !important; text-transform: uppercase !important; color: var(--vt-muted) !important; }
#visu-tools .vt-out-sub { font-size: 13px; font-weight: 650; color: var(--vt-muted); }
#visu-tools .vt-powered { display: none; }

/* Fields */
#visu-tools .vt-field { display: grid; gap: 6px; min-width: 0; }
#visu-tools .vt-wide { grid-column: 1 / -1; }
#visu-tools .vt-label { font-size: 14px; font-weight: 600; color: var(--vt-ink); }
#visu-tools .vt-label small { font-weight: 400; color: var(--vt-muted); font-size: 12.5px; margin-left: 4px; }
#visu-tools :is(input[type=text], input[type=url], input[type=email], input[type=tel], input[type=search], select, textarea) {
  width: 100% !important; min-height: 46px; padding: 10px 14px !important; border-radius: 12px !important; border: 1px solid var(--vt-line-2) !important;
  background: #fff !important; color: var(--vt-ink) !important; font: inherit !important; font-size: 16px !important; line-height: 1.4 !important; box-shadow: none !important; margin: 0 !important; }
#visu-tools textarea { min-height: 84px; resize: vertical; }
#visu-tools :is(input, select, textarea):focus { border-color: var(--vt-accent-text) !important; outline: 2px solid rgba(25, 180, 239, .25); outline-offset: 0; }
#visu-tools .vt-hint { font-size: 13px; color: var(--vt-muted); line-height: 1.5; }
#visu-tools .vt-group, #visu-tools .vt-fields:not([hidden]), #visu-tools .vt-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#visu-tools .vt-group { display: block; margin-top: 18px; }
#visu-tools [hidden] { display: none !important; }
#visu-tools .vt-check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; align-self: end; min-height: 46px; }
#visu-tools .vt-check input { width: 18px; height: 18px; accent-color: var(--vt-accent-text); }
#visu-tools .vt-fieldset { border: 0 !important; padding: 0 !important; margin: 18px 0 0 !important; min-width: 0; }
#visu-tools .vt-fieldset > legend { margin-bottom: 10px; padding: 0; }
#visu-tools .vt-num { position: relative; display: block; }
#visu-tools .vt-unit:not(:empty) { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--vt-muted); font-size: 15px; pointer-events: none; }
#visu-tools .vt-unit:not(:empty) + input { padding-left: 46px !important; }
#visu-tools .vt-unit:is(:empty) + input { padding-left: 14px !important; }
#visu-tools .vt-ad-fields .vt-unit:not([data-unit="money"]):not(:empty) { left: auto; right: 14px; }
#visu-tools .vt-ad-fields .vt-unit:not([data-unit="money"]):not(:empty) + input { padding-left: 14px !important; padding-right: 36px !important; }
#visu-tools .vt-row-between { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-top: 16px; }
#visu-tools .vt-row-between .vt-field { width: 140px; }

/* Segmented choice (types, modes, platforms): wraps on small screens, keyboard via native radios */
#visu-tools .vt-seg { border: 0 !important; padding: 0 !important; margin: 0 !important; min-width: 0; }
#visu-tools .vt-seg > legend { padding: 0; margin-bottom: 10px; }
#visu-tools .vt-seg-items { display: flex; flex-wrap: wrap; gap: 8px; }
#visu-tools .vt-seg-item { position: relative; }
#visu-tools .vt-seg-item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
#visu-tools .vt-seg-item span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--vt-line-2);
  background: #fff; color: var(--vt-ink); font-size: 14.5px; font-weight: 550; transition: border-color .15s, background-color .15s; white-space: nowrap; }
#visu-tools .vt-seg-item input:hover + span { border-color: var(--vt-ink); }
#visu-tools .vt-seg-item input:checked + span { background: var(--vt-ink); border-color: var(--vt-ink); color: #fff; }
#visu-tools .vt-seg-item input:focus-visible + span { outline: 2px solid var(--vt-accent-text); outline-offset: 2px; }

/* Buttons */
#visu-tools .vt-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#visu-tools .vt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 12px;
  font: 600 15.5px/1.2 inherit; text-decoration: none !important; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
#visu-tools .vt-btn.v9-btn-primary { background: #19b4ef; color: #03121d; }
#visu-tools .vt-btn-ghost { background: #fff !important; color: var(--vt-ink) !important; border-color: var(--vt-line-2) !important; }
#visu-tools .vt-btn-ghost:hover { border-color: var(--vt-ink) !important; }
#visu-tools .vt-btn:disabled, #visu-tools .vt-off { opacity: .45; cursor: not-allowed; }
#visu-tools .vt-link-btn { background: none !important; border: 0 !important; padding: 4px 0 !important; color: var(--vt-accent-text) !important; font: 600 14.5px/1.4 inherit; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(6, 112, 166, .35); text-underline-offset: 3px; justify-self: start; }
#visu-tools .vt-more { display: inline-flex; gap: 6px; font-weight: 600; font-size: 15px; }
#visu-tools .vt-status { min-height: 1.4em; font-size: 14px; color: var(--vt-ok); }
#visu-tools .vt-status[data-kind="error"] { color: var(--vt-err); }
#visu-tools .vt-status[data-kind="busy"] { color: var(--vt-muted); }
#visu-tools .vt-warn, #visu-tools .vt-error { padding: 10px 14px; border-radius: 12px; font-size: 14px; background: #fff7e8; color: #6b3d04; border: 1px solid #f3d9a8; }
#visu-tools .vt-error { background: #fef1f0; color: var(--vt-err); border-color: #f7cdc8; }
#visu-tools .vt-muted { color: var(--vt-muted); }
#visu-tools .vt-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; }
#visu-tools .vt-badge { display: inline-flex; padding: 2px 9px; border-radius: 999px; background: var(--vt-tint); color: var(--vt-accent-text); font-size: 12px; font-weight: 650; white-space: nowrap; }
#visu-tools .vt-badge-new { background: #e7f7ef; color: var(--vt-ok); }

/* QR generator */
#visu-tools .vt-style { margin-top: 20px; border-top: 1px solid var(--vt-line); padding-top: 14px; }
#visu-tools .vt-style > summary { cursor: pointer; font-weight: 650; color: var(--vt-ink); list-style: none; display: flex; align-items: center; gap: 8px; }
#visu-tools .vt-style > summary::-webkit-details-marker { display: none; }
#visu-tools .vt-style > summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
#visu-tools .vt-style[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
#visu-tools .vt-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
#visu-tools .vt-color-row { display: flex; gap: 8px; }
#visu-tools .vt-color-row input[type=color] { width: 46px; height: 46px; padding: 3px; border-radius: 12px; border: 1px solid var(--vt-line-2); background: #fff; flex: none; cursor: pointer; }
#visu-tools input[type=range] { width: 100%; accent-color: var(--vt-accent-text); min-height: 46px; }
#visu-tools .vt-logo { grid-column: 1 / -1; }
#visu-tools .vt-logo input[type=file] { font-size: 14px; }
#visu-tools .vt-qr-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 360px; width: 100%; margin: 0 auto;
  border-radius: 16px; background: repeating-conic-gradient(#f1f4f8 0 25%, #fff 0 50%) 50% / 20px 20px; border: 1px solid var(--vt-line); padding: 14px; }
#visu-tools .vt-qr { width: 100%; height: 100%; display: grid; place-items: center; }
#visu-tools .vt-qr svg { width: 100%; height: 100%; display: block; border-radius: 6px; }
#visu-tools .vt-qr-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--vt-muted); font-size: 15px; }
#visu-tools .vt-encodes { display: grid; gap: 4px; padding: 12px 14px; background: var(--vt-bg); border-radius: 12px; }
#visu-tools .vt-encodes code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--vt-ink); white-space: pre-wrap; word-break: break-all; background: none; padding: 0; }

/* QR paths */
#visu-tools .vt-paths { padding: 56px 0; background: var(--vt-surface); box-shadow: 0 0 0 100vmax var(--vt-surface); clip-path: inset(0 -100vmax); }
#visu-tools .vt-paths h2 { font-size: clamp(24px, 2.4vw, 32px) !important; font-weight: 720 !important; margin-bottom: 22px !important; }
#visu-tools .vt-path-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#visu-tools .vt-path { display: grid; align-content: start; gap: 12px; padding: 22px; border-radius: var(--vt-radius); border: 1px solid var(--vt-line); background: var(--vt-surface); }
#visu-tools .vt-path-on { background: var(--vt-bg); }
#visu-tools .vt-path-visu { border: 1px solid var(--vt-line-2); border-top: 3px solid var(--vt-accent); box-shadow: var(--vl-shadow-md); }
#visu-tools .vt-path-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
#visu-tools .vt-path h3 { font-size: 19px !important; font-weight: 700 !important; }
#visu-tools .vt-path p { font-size: 15.5px; }
#visu-tools .vt-path .vt-btn { justify-self: start; }

/* Scanner */
#visu-tools .vt-mode-pane { margin-top: 18px; display: grid; gap: 10px; }
#visu-tools .vt-drop { display: grid; justify-items: center; gap: 12px; padding: 36px 20px; border: 2px dashed var(--vt-line-2); border-radius: 16px; background: var(--vt-bg);
  text-align: center; color: var(--vt-muted); cursor: pointer; transition: border-color .15s, background-color .15s; }
#visu-tools .vt-drop:hover, #visu-tools .vt-drop.vt-drag, #visu-tools .vt-drop:focus-within { border-color: var(--vt-accent-text); background: var(--vt-tint); }
#visu-tools .vt-drop-text { font-size: 15.5px; color: var(--vt-ink); max-width: 34ch; }
#visu-tools .vt-cam { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; border-radius: 16px; overflow: hidden; background: #06131f; }
#visu-tools .vt-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
#visu-tools .vt-cam-frame { position: absolute; inset: 18%; border: 3px solid rgba(255, 255, 255, .85); border-radius: 14px; box-shadow: 0 0 0 100vmax rgba(6, 19, 31, .35); opacity: 0; transition: opacity .2s; }
#visu-tools .vt-cam.vt-live .vt-cam-frame { opacity: 1; }
#visu-tools .vt-result-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
#visu-tools .vt-domain { font-size: 15px; color: var(--vt-muted); }
#visu-tools .vt-domain strong { color: var(--vt-ink); font-size: 20px; font-weight: 700; display: block; }
#visu-tools .vt-raw { padding: 12px 14px; border-radius: 12px; background: var(--vt-bg); color: var(--vt-ink); white-space: pre-wrap; word-break: break-all; max-height: 220px; overflow: auto; }
#visu-tools .vt-flags { list-style: none; display: grid; gap: 8px; }
#visu-tools .vt-flags li, #visu-tools .vt-flag-strong { padding: 10px 14px 10px 36px; border-radius: 12px; background: #fff7e8; color: #6b3d04; font-size: 14px; position: relative; }
#visu-tools .vt-flags li::before, #visu-tools .vt-flag-strong::before { content: "!"; position: absolute; left: 12px; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: #d98a1c; color: #fff; font: 700 11px/16px inherit; text-align: center; }
#visu-tools .vt-kvs { display: grid; gap: 8px; }
#visu-tools .vt-kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 15px; }
#visu-tools .vt-kv dt { color: var(--vt-muted); }
#visu-tools .vt-kv dd { color: var(--vt-ink); font-weight: 550; }

/* Results (calculators) */
#visu-tools .vt-big { display: grid; gap: 2px; }
#visu-tools .vt-big-label { font-size: 15px; color: var(--vt-muted); font-weight: 550; }
#visu-tools .vt-big-num { font-size: clamp(40px, 5vw, 58px); line-height: 1.05; font-weight: 760; letter-spacing: -0.035em; color: var(--vt-accent-text); font-variant-numeric: tabular-nums; }
#visu-tools .vt-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#visu-tools .vt-metrics > div { padding: 10px 12px; border-radius: 12px; background: var(--vt-bg); display: grid; gap: 2px; }
#visu-tools .vt-metrics dt { font-size: 13px; color: var(--vt-muted); }
#visu-tools .vt-metrics dd { font-size: 17px; font-weight: 650; color: var(--vt-ink); font-variant-numeric: tabular-nums; }
#visu-tools .vt-ads .vt-seg-item span, #visu-tools .vt-er .vt-seg-item span { min-height: 36px; padding: 6px 12px; font-size: 14px; }
#visu-tools .vt-ad-fields { margin-top: 18px; }

/* UTM */
#visu-tools .vt-utm form > .vt-field { margin-bottom: 16px; }
#visu-tools .vt-url-out { display: block; padding: 14px; border-radius: 12px; background: var(--vt-bg); border: 1px solid var(--vt-line); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px; color: var(--vt-ink); word-break: break-all; min-height: 84px; }
#visu-tools .vt-url-out mark { background: #e3f4fc; color: var(--vt-accent-text); border-radius: 4px; padding: 0 1px; }
#visu-tools .vt-url-out .vt-muted { font-family: inherit; }
#visu-tools .vt-warns { list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: #6b3d04; }
#visu-tools .vt-warns li:not(.vt-warn-fix) { padding-left: 16px; position: relative; }
#visu-tools .vt-warns li:not(.vt-warn-fix)::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #d98a1c; }
#visu-tools .vt-visu-box { padding: 16px 18px; border-radius: 14px; background: var(--vt-tint); display: grid; gap: 8px; font-size: 14.5px; }
#visu-tools .vt-visu-wide { padding: 26px 28px; gap: 10px; border: 1px solid var(--vt-line); }
#visu-tools .vt-visu-wide h2 { font-size: 22px !important; font-weight: 700 !important; }
#visu-tools .vt-visu-wide .vt-btn { justify-self: start; margin-top: 4px; }
#visu-tools .vt-inline-cta { padding-top: 40px; padding-bottom: 8px; }

/* OG checker */
#visu-tools .vt-og-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
#visu-tools .vt-og-row .vt-wide { grid-column: auto; }
#visu-tools .vt-og-results { display: grid; gap: 20px; margin-top: 20px; }
#visu-tools .vt-og-results > .vt-panel { display: grid; gap: 16px; }
#visu-tools .vt-og-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; max-width: 860px; }
#visu-tools .vt-pv { display: grid; gap: 8px; }
#visu-tools .vt-pv-app { font-size: 13px; font-weight: 650; color: var(--vt-muted); }
#visu-tools .vt-pv-card { border: 1px solid #dfe3e8; background: #fff; overflow: hidden; display: grid; }
#visu-tools .vt-pv-img { width: 100%; aspect-ratio: 1.91; object-fit: cover; background: #eef1f4; display: block; }
#visu-tools .vt-pv-img.vt-broken, #visu-tools .vt-pv-thumb.vt-broken, #visu-tools .vt-pv-fav.vt-broken { visibility: hidden; }
#visu-tools .vt-pv-body { display: grid; gap: 3px; padding: 10px 12px; min-width: 0; }
#visu-tools .vt-pv-title { color: #050505; font-size: 15px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#visu-tools .vt-pv-desc { color: #65676b; font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#visu-tools .vt-pv-host { color: #65676b; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
#visu-tools .vt-pv-fav { width: 14px; height: 14px; }
#visu-tools .vt-pv-whatsapp .vt-pv-card { background: #d9fdd3; border: 0; border-radius: 10px; padding: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
#visu-tools .vt-pv-whatsapp .vt-pv-img { border-radius: 7px 7px 0 0; }
#visu-tools .vt-pv-whatsapp .vt-pv-body { background: #cff3c8; border-radius: 0 0 7px 7px; }
#visu-tools .vt-pv-whatsapp .vt-pv-card:has(.vt-pv-thumb) { grid-template-columns: 84px 1fr; }
#visu-tools .vt-pv-thumb { width: 84px; height: 84px; object-fit: cover; display: block; border-radius: 7px; }
#visu-tools .vt-pv-linkedin .vt-pv-card { border-radius: 8px; }
#visu-tools .vt-pv-linkedin .vt-pv-body { background: #eef3f8; }
#visu-tools .vt-pv-facebook .vt-pv-body { background: #f0f2f5; }
#visu-tools .vt-pv-facebook .vt-pv-host { order: -1; text-transform: uppercase; font-size: 12px; }
#visu-tools .vt-pv-x .vt-pv-card { border-radius: 16px; position: relative; }
#visu-tools .vt-pv-x .vt-pv-card:has(.vt-pv-thumb) { grid-template-columns: 110px 1fr; }
#visu-tools .vt-pv-x .vt-pv-thumb { width: 110px; height: 110px; border-radius: 0; }
#visu-tools .vt-checks { list-style: none; display: grid; gap: 8px; }
#visu-tools .vt-checks li { padding: 10px 14px 10px 38px; border-radius: 12px; font-size: 14.5px; position: relative; background: var(--vt-bg); }
#visu-tools .vt-checks li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--vt-muted); }
#visu-tools .vt-check-error { background: #fef1f0 !important; color: #7a1a12; }
#visu-tools .vt-check-error::before { background: var(--vt-err) !important; }
#visu-tools .vt-check-warn { background: #fff7e8 !important; color: #6b3d04; }
#visu-tools .vt-check-warn::before { background: #d98a1c !important; }
#visu-tools .vt-check-ok { background: #e7f7ef !important; color: #064e3b; }
#visu-tools .vt-check-ok::before { background: var(--vt-ok) !important; }
#visu-tools .vt-table-wrap { overflow-x: auto; border: 1px solid var(--vt-line); border-radius: 12px; }
#visu-tools .vt-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
#visu-tools .vt-table :is(th, td) { text-align: left; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--vt-line); vertical-align: top; background: none; }
#visu-tools .vt-table th { width: 32%; color: var(--vt-muted); font-weight: 600; white-space: nowrap; }
#visu-tools .vt-table thead th { color: var(--vt-ink); background: var(--vt-bg); }
#visu-tools .vt-missing { color: var(--vt-err); font-weight: 600; }

/* Content (how-to, examples, FAQ, embed) */
#visu-tools .vt-content { padding: 56px 0 24px; }
#visu-tools .vt-content h2 { font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 720 !important; margin-bottom: 16px !important; }
#visu-tools .vt-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
#visu-tools .vt-how ol { list-style: none; counter-reset: s; display: grid; gap: 12px; }
#visu-tools .vt-how li { counter-increment: s; position: relative; padding-left: 40px !important; font-size: 16px; }
#visu-tools .vt-how li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--vt-ink); color: #fff; font-size: 13.5px; font-weight: 700; display: grid; place-items: center; }
#visu-tools .vt-examples ul { list-style: none; display: grid; gap: 12px; }
#visu-tools .vt-examples li { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--vt-line); background: var(--vt-surface); }
#visu-tools .vt-examples h3 { font-size: 16px !important; font-weight: 680 !important; margin-bottom: 4px !important; }
#visu-tools .vt-examples p { font-size: 15px; }
#visu-tools .vt-faq { margin-top: 48px; max-width: 880px; }
#visu-tools .vt-faq details { border-bottom: 1px solid var(--vt-line); }
#visu-tools .vt-faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 650; color: var(--vt-ink); position: relative; font-size: 16.5px; }
#visu-tools .vt-faq summary::-webkit-details-marker { display: none; }
#visu-tools .vt-faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 22px; font-weight: 400; color: var(--vt-muted); }
#visu-tools .vt-faq details[open] summary::after { content: "–"; }
#visu-tools .vt-faq details p { padding-bottom: 16px; font-size: 15.5px; }
#visu-tools .vt-embed { margin-top: 32px; padding: 18px 20px; border-radius: 14px; background: var(--vt-bg); max-width: 880px; display: grid; gap: 10px; }
#visu-tools .vt-embed summary { cursor: pointer; font-weight: 650; color: var(--vt-ink); }
#visu-tools .vt-embed[open] summary { margin-bottom: 4px; }
#visu-tools .vt-embed-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: 12.5px !important; }
#visu-tools .vt-embed .vt-btn { justify-self: start; }

/* Related + hub cards */
#visu-tools .vt-related { padding: 48px 0 72px; }
#visu-tools .vt-related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 18px; }
#visu-tools .vt-related h2 { font-size: 24px !important; font-weight: 720 !important; }
#visu-tools .vt-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#visu-tools .vt-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; height: 100%; padding: 18px; border-radius: 16px; border: 1px solid var(--vt-line);
  background: var(--vt-surface); color: var(--vt-text) !important; text-decoration: none !important; box-shadow: var(--vl-shadow-sm); transition: border-color .15s, transform .15s; }
#visu-tools .vt-card:hover { border-color: var(--vt-accent-text); transform: translateY(-1px); }
#visu-tools .vt-card-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--vt-tint); color: var(--vt-accent-text); }
#visu-tools .vt-card-body { display: grid; gap: 4px; }
#visu-tools .vt-card-name { font-weight: 700; color: var(--vt-ink); font-size: 16.5px; line-height: 1.3; }
#visu-tools .vt-card-text { font-size: 14.5px; line-height: 1.5; }
#visu-tools .vt-card-badges { grid-column: 2; display: flex; gap: 6px; }
#visu-tools .vt-search { position: relative; max-width: 560px; margin-top: 26px; }
#visu-tools .vt-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--vt-muted); pointer-events: none; }
#visu-tools .vt-search input { padding-left: 46px !important; min-height: 54px; border-radius: 14px !important; box-shadow: var(--vl-shadow-sm) !important; }
#visu-tools .vt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#visu-tools .vt-chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--vt-line-2); background: #fff; color: var(--vt-ink); font: 550 14.5px/1 inherit; cursor: pointer; }
#visu-tools .vt-chip[aria-pressed="true"] { background: var(--vt-ink); color: #fff; border-color: var(--vt-ink); }
#visu-tools .vt-hub-body { padding-top: 36px; padding-bottom: 24px; display: grid; gap: 40px; }
#visu-tools .vt-cat h2 { display: flex; align-items: center; gap: 10px; font-size: 22px !important; font-weight: 720 !important; margin-bottom: 14px !important; }
#visu-tools .vt-cat-icon { color: var(--vt-accent-text); display: inline-flex; }
#visu-tools .vt-cat-note { font-size: 14.5px; color: var(--vt-muted); margin: -6px 0 14px !important; }
#visu-tools .vt-empty { font-size: 16px; color: var(--vt-muted); }
#visu-tools .vt-hub-about { padding-top: 32px; padding-bottom: 80px; }
#visu-tools .vt-about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--vt-line); padding-top: 32px; }
#visu-tools .vt-about-grid h2 { font-size: 18px !important; font-weight: 700 !important; margin-bottom: 6px !important; }
#visu-tools .vt-about-grid p { font-size: 15px; }

/* Responsive */
@media (max-width: 1024px) {
  #visu-tools .vt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #visu-tools .vt-path-list { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  #visu-tools .vt-app { grid-template-columns: minmax(0, 1fr); }
  #visu-tools .vt-out { position: static; }
  #visu-tools .vt-content-grid, #visu-tools .vt-about-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  #visu-tools .vt-wrap { padding: 0 16px; }
  #visu-tools .vt-hero { padding: 24px 0 16px; }
  #visu-tools .vt-hero-hub { padding: 40px 0 24px; }
  #visu-tools .vt-lead { font-size: 16px; }
  #visu-tools .vt-panel { padding: 16px; border-radius: 16px; }
  #visu-tools .vt-cards, #visu-tools .vt-og-previews { grid-template-columns: 1fr; }
  #visu-tools .vt-group, #visu-tools .vt-fields:not([hidden]), #visu-tools .vt-grid-2, #visu-tools .vt-style-grid { grid-template-columns: 1fr; }
  #visu-tools .vt-ad-fields, #visu-tools .vt-er .vt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #visu-tools .vt-og-row { grid-template-columns: 1fr; }
  #visu-tools .vt-actions .vt-btn { flex: 1 1 auto; }
  #visu-tools .vt-seg-items { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
  #visu-tools .vt-seg-items::-webkit-scrollbar { display: none; }
  #visu-tools .vt-kv { grid-template-columns: 90px 1fr; }
}

/* Embed mode: only the tool, no theme chrome (the bare template also omits header/footer; this covers the preview) */
html.vt-embed body { background: #fff !important; }
html.vt-embed :is(header.uicore-header, .elementor-location-header, .elementor-location-footer, footer, #wpadminbar) { display: none !important; }
html.vt-embed #visu-tools :is(.vt-hero, .vt-paths, .vt-content, .vt-related, .vt-inline-cta) { display: none !important; }
html.vt-embed #visu-tools .vt-app-band { padding: 12px 0; background: #fff; box-shadow: none; }
html.vt-embed #visu-tools .vt-wrap { padding: 0 12px; }
html.vt-embed #visu-tools .vt-powered { display: block; margin-top: 10px !important; text-align: right; font-size: 12.5px; }
html.vt-embed #visu-tools .vt-out { position: static; }
@media (prefers-reduced-motion: reduce) { #visu-tools * { transition: none !important; scroll-behavior: auto !important; } }
#visu-tools .vt-compare { margin-top: 22px !important; font-size: 15px; color: var(--vt-muted); }
#visu-tools .vt-compare a { font-weight: 600; }
#visu-tools .vt-compare { margin-top: 22px !important; font-size: 15px; color: var(--vt-muted); }
#visu-tools .vt-compare a { font-weight: 600; }
