/* Homepage v2: parts added around the v2 design (demo, Inspector, template directory, commitments, FAQ, footer). */
:root{ --gut:var(--pad); --btn-glyph:16px; --btn-h-sm:36px; --display-tracking:-.02em; --display-weight:500; --r-btn:999px; --s-1:4px; }
[data-hv2] [data-demo],[data-hv2] [data-inspector],[data-hv2] .dir{ text-align:left; font-family:var(--f-text); color:var(--ink); }
.try{ padding-block:clamp(40px,8vh,90px) clamp(50px,9vh,110px); }
.try .show__head{ margin-bottom:clamp(24px,4vh,44px); }
.try .show__head h2{ font-size:clamp(34px,4.6vw,64px); }
.try__sub{ max-width:34em; color:var(--ink-soft); text-align:center; }
.try__sub--light{ color:rgba(255,255,255,.85); margin:0 auto; }
.show .lab{ max-width:1180px; margin:0 auto; }
/* Desktop: the demo window is drawn at full size (no zoom) and its type follows the real workspace
   (app.validextract.com): Inter for labels and prose, the mono face (JetBrains Mono on Windows) in semibold for
   extracted values. Sizes are the workspace's own, a step up so they read comfortably at 100% browser zoom.
   The window is allowed to run wider than the page column so the larger type has room. */
@media (min-width:1024px){
  .show .lab{ max-width:none; margin-inline:calc((100% - min(1480px, 100vw - 2 * var(--pad) - 20px)) / 2); }
  .show .lab .lab__bar{ font-size:13px; }
  .show .lab .lab__tabs span, .show .lab .lab__tabs button{ font-size:15px; }
  .show .lab .demo__label, .show .lab .insx__label{ font-size:11px; font-weight:600; letter-spacing:.2em; }
  .show .lab .demo-chip{ font-size:15.5px; }
  .show .lab .demo__src{ font-size:15.5px; line-height:1.6; }
  .show .lab .abstract.xr .abstract__bar{ font-size:12px; }
  .show .lab .xr__cited{ font-size:11.5px; }
  .show .lab .xr__head, .show .lab .abstract.xr .ab-row{ grid-template-columns:minmax(150px,.7fr) minmax(0,1.9fr) 200px; gap:18px; }
  .show .lab .xr__head{ font-family:var(--f-text); font-size:11px; font-weight:600; letter-spacing:.14em; }
  .show .lab .abstract.xr .ab-row > b{ font-size:12.5px; letter-spacing:.05em; line-height:1.5; color:#64748b; }
  .show .lab .abstract.xr .ab-row > span{ font-family:var(--f-mono); font-size:15.5px; font-weight:600; letter-spacing:-.02em; font-variant-numeric:tabular-nums; line-height:1.5; }
  .show .lab .abstract.xr .ab-src{ font-size:13px; }
  .show .lab .abstract.xr .ab-quote{ font-size:15.5px; }
  .show .lab .abstract.xr .ab-quote small, .show .lab .abstract.xr .ab-quote .see-doc{ font-size:12px; }
  .show .lab .xr__note{ font-size:13.5px; }
  .show .lab .flags h3{ font-size:11px; }
  .show .lab .flags li{ font-size:15px; line-height:1.5; }
  .show .lab .srcx__file, .show .lab .srcx__pg{ font-size:12px; }
  .show .lab .srcx__page .srcx__pg, .show .lab .srcx__ref{ font-size:11px; }
  .show .lab .srcx__q, .show .lab .srcx__p{ font-size:15px; }
  .show .lab .srcx__note{ font-size:13px; }
  .show .lab .srcx__hint{ font-size:13.5px; }
  .show .lab .insx__live, .show .lab .insx__doc{ font-size:12px; }
  .show .lab .insx__log .ins-msg, .show .lab .ins-msg{ font-size:15.5px; line-height:1.625; }
  .show .lab .insx__in{ font-size:16px; }
  .show .lab .lab__side .insx__qs button{ font-size:15px; }
  .show .lab .lab__side .insx__note{ font-size:13.5px; }
  .show .lab .d-cite{ font-size:13px; }
  .show .lab .ins-tag{ font-size:12px; }
}
/* one workspace window: the demo on the left (2/3), the Inspector on the right (1/3) */
.lab{ background:#fff; border-radius:18px; box-shadow:0 0 0 1px var(--rule), 0 30px 70px -40px rgba(8,20,60,.5); overflow:hidden; }
.lab__bar{ display:flex; align-items:center; gap:14px; padding:10px 16px; border-bottom:1px solid var(--rule); background:#f6f8fb; font-family:var(--f-mono); font-size:12px; color:#8a93a2; }
.lab__dots{ display:flex; gap:5px; } .lab__dots i{ width:9px; height:9px; border-radius:50%; background:#d9dee6; }
.lab__url{ flex:1; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lab__tabs{ display:flex; gap:6px; } .lab__tabs span, .lab__tabs button{ padding:7px 14px; border-radius:8px; border:0; background:none; font-family:var(--f-text); font-size:14.5px; font-weight:600; letter-spacing:.005em; color:var(--ink-soft); cursor:pointer; }
.lab__tabs .on{ background:var(--navy); color:#fff; }
.lab__pane[hidden]{ display:none; }
.lab__side [data-pane="source"]{ padding:16px; }
.lab__body{ display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); align-items:start; }
.lab__main{ padding:8px 22px 22px; min-width:0; }
.lab__main .demo__label{ margin-top:14px; }
.lab__side{ min-width:0; border-left:1px solid var(--rule); background:#f6f8fb; align-self:stretch; display:flex; flex-direction:column; }
.lab__pane[data-pane="inspector"]{ order:-1; }
.lab--both .lab__pane[data-pane="source"]{ border-top:1px solid var(--rule); padding-bottom:12px; }
.lab__side .insx{ display:flex; flex-direction:column; gap:0; padding:0; border-radius:0; background:transparent; box-shadow:none; }
.lab__side .insx__vis{ order:-1; min-height:0; padding:16px; border-radius:0; background:#f1f5f9; }
.lab__side .insx__vis::before{ display:none; }
.lab__side .insx__win{ width:100%; height:360px; }
.lab__side .insx__side{ padding:16px 16px 20px; gap:10px; }
.lab__side .insx__qs button{ font-size:14px; padding:10px 12px; }
.lab__side .insx__note{ margin-top:4px; font-size:12.5px; }
.lab__side .insx__side .btn{ align-self:stretch; }
@media (max-width:1023px){ .lab__body{ grid-template-columns:1fr; } .lab__side{ border-left:0; border-top:1px solid var(--rule); } }
@media (max-width:639px){ .lab__main{ padding:4px 14px 16px; } }
.dirx{ padding-block:clamp(40px,8vh,90px) clamp(30px,6vh,70px); }
.dirx .show__head h2{ font-size:clamp(30px,5vw,64px); }
.commit-wrap{ margin-top:clamp(56px,10vh,110px); text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; }
.commit-h{ font-family:var(--f-display); font-weight:400; text-transform:uppercase; font-size:clamp(28px,4.4vw,56px); line-height:1.02; max-width:16em; }
.commit{ margin-top:22px; width:100%; display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); border-top:1px solid var(--rule); text-align:left; }
.commit li{ display:flex; gap:14px; align-items:flex-start; padding:18px 14px 18px 0; border-bottom:1px solid var(--rule); }
.commit svg{ flex:none; width:18px; height:18px; margin-top:3px; color:var(--acc); }
.commit b{ display:block; font-weight:600; }
.commit span{ color:var(--ink-soft); font-size:15.5px; }
.bcards-wrap{ margin-top:clamp(28px,5vh,56px); }
.bcards{ display:flex; flex-wrap:wrap; gap:10px; }
.bcards .bcard{ flex:1 1 220px; }
.bcard{ display:flex; align-items:center; gap:12px; padding:10px 16px 10px 10px; border:1px solid var(--rule); border-radius:12px; background:#fff; }
.bcard i{ font-style:normal; font-family:var(--f-label); font-size:8.5px; font-weight:700; letter-spacing:.08em; line-height:1.3; text-align:center; width:48px; height:48px; display:grid; place-items:center; border:1.5px solid var(--ink); border-radius:50%; color:var(--ink); }
.bcard b{ display:block; font-size:15px; }
.bcard span{ font-size:13px; color:var(--ink-soft); }
.faq summary{ font-family:var(--f-text); font-size:16px; letter-spacing:0; text-transform:none; font-weight:500; }
.foot__strip{ padding:34px 0 28px; }
.foot__grid{ display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:28px 36px; }
.foot__brand p{ margin-top:14px; max-width:20em; opacity:.85; font-size:14.5px; }
.foot__col h4{ margin-bottom:10px; opacity:.8; }
.foot__col ul{ display:flex; flex-direction:column; gap:2px; }
.foot__col a{ padding:4px 0; font-size:14.5px; display:inline-block; }
.foot__legal{ margin-top:26px; padding-top:18px; border-top:1px solid rgba(255,255,255,.35); display:block !important; }
@media (max-width:900px){ .foot__grid{ grid-template-columns:1fr 1fr; } .foot__brand{ grid-column:1/-1; } }

/* ---- legacy components: the demo, Inspector, abstract tables, directory and chat bubble, as they ship on the site ---- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  height: var(--btn-h); padding: 0 var(--s-5); border-radius: var(--r-btn); border: 1px solid transparent;
  font: 500 var(--t-body)/1 var(--font-text); letter-spacing: 0; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}.btn--primary{ background: var(--action); color: var(--action-ink); }.btn--primary:hover{ background: color-mix(in oklab, var(--action) 86%, var(--ink)); }.btn--secondary{ background: var(--bg); color: var(--ink); border-color: var(--line-strong); }.btn--secondary:hover{ background: color-mix(in oklab, var(--bg) 94%, var(--ink)); border-color: color-mix(in oklab, var(--ink) 35%, transparent); }.btn--sm{ height: var(--btn-h-sm); padding: 0 var(--s-4); font-size: var(--t-small); }.btn--secondary)::after{
  content: ""; flex: none; width: 12px; height: 12px; margin-right: -2px; background: currentColor;
  -webkit-mask: var(--btn-glyph) center / contain no-repeat; mask: var(--btn-glyph) center / contain no-repeat;
  transition: transform var(--dur) var(--ease);
}.btn:active{ transform: translateY(1px) scale(.985); }.btn--arrow::after{ content: "\2192"; transition: transform var(--dur) var(--ease); }.btn--arrow:hover::after{ transform: translateX(3px); }.btn--xl .m-arrow{ width: 0.62em; height: 0.62em; stroke-width: 1.4; }.btn-row{ display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }@media (max-width: 639px){.btn-row{ flex-direction: column; align-items: stretch; width: 100%; justify-self: stretch; }.btn-row > .btn--secondary{ background: none; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }}.btn--xl{ width: min(100%, 640px); height: clamp(64px, 1.4vw + 48px, 72px); font: var(--display-weight) clamp(20px, 0.6vw + 16px, 26px)/1 var(--font-display); letter-spacing: var(--display-tracking); }.btn--xl.btn--wide{ width: 100%; height: clamp(64px, 3vw + 40px, 88px); font-size: clamp(22px, 0.95vw + 18px, 32px); justify-content: space-between; padding-inline: var(--s-7); }@media (max-width: 639px){.btn--xl,.btn--xl.btn--wide{ width: 100%; height: 48px; font: 500 18px/1 var(--font-text); letter-spacing: 0; }}.btn-row{ grid-column: 1 / -1; }@keyframes fade{ from { opacity: 0; } }
.d-cite{ display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 12px/1 var(--font-mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #2563eb; background: #eff6ff; justify-self: start; }.field .d-cite{ grid-column: 2; grid-row: 1 / span 2; }@keyframes vx-in{ from { opacity: 0; } to { opacity: 1; } }@media (max-width: 639px){.field .d-cite{ grid-column: 1; grid-row: auto; }}.doc-row .d-cite{ margin-top: var(--s-2); }@media (max-width: 639px){.doc-row .d-cite{ display: none; }}.checks-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }.checks-list li{ display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }.checks-list li:first-child{ padding-top: 0; }.checks-list svg{ width: 18px; height: 18px; margin-top: 3px; color: var(--action); }.checks-list b{ font-weight: 500; display: block; }.checks-list span{ color: var(--muted); }.ind-card .d-cite{ margin-top: var(--s-2); }@media (max-width: 639px){.ind-card .d-cite{ margin-top: 0; }}@keyframes ha-blink{ 50% { opacity: .25; } }@keyframes ha-click{ 50% { scale: .82; } }.mailpick{ position: relative; display: inline-block; }.mailpick > .btn svg.chev2{ width: 12px; height: 12px; margin-left: 8px; transition: transform var(--dur) var(--ease); }.mailpick.is-open > .btn svg.chev2{ transform: rotate(180deg); }.mailpick__menu{ position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 30; width: 330px; padding: 10px; border-radius: 14px; background: var(--bg);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgb(20 30 50 / .4); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }.mailpick.is-down .mailpick__menu{ bottom: auto; top: calc(100% + 10px); transform: translateY(-6px); }.mailpick.is-open .mailpick__menu{ opacity: 1; transform: none; pointer-events: auto; }.mailpick__menu p{ margin: 4px 10px 8px; font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }.mailpick__menu a,.mailpick__menu button{ display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 11px 10px; border: 0; border-radius: 10px; background: none;
  color: var(--ink); font: 400 16px/1.2 var(--font-text); text-align: left; text-decoration: none; cursor: pointer; }.mailpick__menu a:hover,.mailpick__menu button:hover{ background: var(--surface); }.mailpick__menu svg{ width: 20px; height: 20px; }.mailpick__menu small{ font: 400 12px/1 var(--font-mono); color: var(--muted); white-space: nowrap; }@media (max-width: 639px){.mailpick{ display: block; }.mailpick__menu{ left: 0; right: 0; width: auto; max-width: 330px; }}.abstract{ margin-top: var(--s-6); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }.abstract__bar{ display: flex; justify-content: space-between; gap: var(--s-4); padding: 14px var(--s-5); background: var(--surface); font: 500 12px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }.ab-row{ display: grid; grid-template-columns: 180px minmax(0, 1fr) 240px; gap: var(--s-4); align-items: start; padding: 14px var(--s-5); border-top: 1px solid var(--line); cursor: pointer; transition: background-color var(--dur) var(--ease); }.ab-row:hover{ background: color-mix(in oklab, #1866fc 4%, transparent); }.ab-row.is-on{ background: color-mix(in oklab, #1866fc 6%, transparent); }.ab-quote .see-doc{ border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: #1453cc; text-decoration: underline; text-underline-offset: 2px; }.srcx{ display: flex; flex-direction: column; gap: 10px; padding: 2px 0; }.srcx__bar{ display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }.srcx__file{ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 11px/1.3 var(--font-mono); color: var(--ink); }.srcx__pg{ flex: none; font: 500 11px/1.3 var(--font-mono); color: #1453cc; }.srcx__page{ display: flex; flex-direction: column; gap: 9px; padding: 18px 16px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 30px -24px rgb(20 30 50 / .55); }.srcx__page .srcx__pg{ margin-bottom: 2px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 10px; }.srcx__ln{ display: block; height: 6px; border-radius: 3px; background: #e7ebf1; }.srcx__q{ border: 2px solid #1866fc; background: rgb(24 102 252 / .07); border-radius: 6px; padding: 9px 11px; font: 400 13.5px/1.6 Georgia, serif; color: #1b273d; }.srcx__note{ font: 500 12px/1.35 var(--font-mono); color: var(--ink); }.srcx__hint{ font-size: 12.5px; line-height: 1.5; color: var(--muted); }.srcx__p{ margin: 0; font: 400 13.5px/1.6 Georgia, serif; color: #475569; }.srcx__ref{ display: block; margin-top: 6px; font: 500 10px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }.srcx__q .srcx__ref{ color: #1453cc; }.ab-row > b{ font-weight: 500; }.ab-row > span{ color: var(--ink); }.ab-src{ justify-self: start; text-align: left; border: 0; cursor: pointer; font: 500 12px/1.35 var(--font-mono); color: #1453cc; background: #e6efff; padding: 6px 8px; border-radius: 6px; transition: background-color var(--dur) var(--ease); }.ab-src:hover,.ab-src[aria-expanded="true"]{ background: #d3e3ff; }.ab-quote{ grid-column: 2 / -1; margin: 4px 0 2px; padding: 12px 14px; border-left: 3px solid #f2d33a; background: #fffbe8; border-radius: 0 8px 8px 0; font: 400 15px/1.6 Georgia, serif; color: #2b333f; }.ab-quote small{ display: block; margin-top: 6px; font: 400 12px/1.3 var(--font-mono); color: var(--muted); }.ab-quote[hidden]{ display: none; }.flags{ margin-top: var(--s-5); padding: var(--s-5); border-radius: var(--r-lg); background: #fff8e6; }.flags h3{ font-size: var(--t-card); margin-bottom: var(--s-3); }.flags ul{ margin: 0; padding-left: 20px; display: grid; gap: 6px; }.dir{ display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6); margin-top: var(--s-6); }.dir__groups{ display: grid; gap: var(--s-2); align-content: start; }.dir__groups button{ display: flex; justify-content: space-between; gap: var(--s-3); text-align: left; padding: 12px var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 15px/1.3 var(--font-text); cursor: pointer; }.dir__groups button[aria-pressed="true"]{ border-color: var(--action); background: color-mix(in oklab, var(--action) 5%, var(--bg)); }.dir__groups button span{ color: var(--muted); font: 500 13px/1.3 var(--font-mono); }.dir__list{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-5); align-content: start; max-height: 420px; overflow: auto; }.dir__list a{ padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; transition: color var(--dur) var(--ease); }.dir__list a:hover{ color: var(--action); }@media (max-width: 1023px){.ab-row{ grid-template-columns: 140px minmax(0, 1fr); }.ab-row > .ab-src{ grid-column: 2; }.dir{ grid-template-columns: 1fr; }}@media (max-width: 639px){.ab-row{ grid-template-columns: 1fr; gap: 6px; }.ab-row > .ab-src{ grid-column: 1; }.ab-quote{ grid-column: 1; }.dir__list{ grid-template-columns: 1fr; max-height: 320px; }}.test-box .mailpick__menu{ left: auto; right: 0; }@media (max-width: 639px){.test-box .mailpick__menu{ left: 0; right: 0; }}.ins-dots{ display: inline-flex; gap: 4px; }.ins-dots i{ width: 6px; height: 6px; border-radius: 50%; background: #b7c0cc; animation: ha-dot 1s infinite; }.ins-dots i:nth-child(2){ animation-delay: .15s; }.ins-dots i:nth-child(3){ animation-delay: .3s; }@keyframes ha-dot{ 50% { opacity: .3; transform: translateY(-2px); } }.demo__label{ margin-top: var(--s-6); font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }.demo__chips{ display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }.demo-chip{ display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: 400 15px/1 var(--font-text); cursor: pointer; text-decoration: none; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }.demo-chip svg{ width: 17px; height: 17px; color: var(--muted); }.demo-chip:hover{ border-color: var(--line-strong); transform: translateY(-1px); }.demo-chip[aria-pressed="true"]{ background: var(--ink); color: var(--bg); border-color: var(--ink); }.demo-chip[aria-pressed="true"] svg{ color: var(--bg); }.demo-chip--up{ border-style: dashed; color: var(--action); }.demo-chip--up svg{ color: var(--action); }.demo__chips--sm{ margin-bottom: var(--s-5); }.demo__chips--sm .demo-chip{ height: 36px; font-size: 14px; padding: 0 12px; }.demo__src{ margin: 0; color: var(--muted); font-size: var(--t-small); }.demo__src--in{ padding: 12px var(--s-5); border-top: 1px solid var(--line); }.demo__foot{ padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); }.demo__foot .btn{ width: 100%; }.demo__card .abstract{ margin-top: var(--s-5); }@media (max-width: 639px){.demo__chips{ flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }.demo-chip{ flex: none; }}.ins-chat{ background: var(--bg); border-radius: var(--r-md); box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 14px 32px -18px rgb(0 0 0 / .35); padding: var(--s-4); display: flex; flex-direction: column; gap: 10px; min-height: 200px; }.ins-head{ display: flex; justify-content: space-between; align-items: center; }.ins-head b{ font-weight: 500; }.ins-msg{ max-width: 90%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; animation: ins-in .3s var(--ease) both; }.ins-msg p{ margin: 0; }.ins-msg ul{ margin: 0; padding-left: 18px; display: grid; gap: 6px; }.ins-msg--me{ align-self: flex-end; background: var(--action); color: var(--action-ink); border-bottom-right-radius: 4px; }.ins-msg--bot{ align-self: flex-start; background: var(--surface); border-bottom-left-radius: 4px; display: grid; gap: 8px; }.ins-msg--bot .d-cite,.ins-tag{ justify-self: start; }.ins-tag{ font: 500 11px/1 var(--font-mono); color: #8a5300; background: #fdf0dc; padding: 5px 7px; border-radius: 6px; }@keyframes ins-in{ from { opacity: 0; transform: translateY(6px); } }@media (prefers-reduced-motion: reduce){.ins-msg{ animation: none; }}.vx-chat{ position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }.vx-chat__btn{ width: 56px; height: 56px; border-radius: 50%; border: 0; background: #334155; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px -10px rgb(20 30 50 / .6); transition: transform var(--dur) var(--ease); }.vx-chat__btn:hover{ transform: translateY(-2px); }.vx-chat__btn svg{ width: 24px; height: 24px; }.vx-chat__panel{ width: min(370px, calc(100vw - 32px)); height: min(520px, calc(100vh - 120px)); display: flex; flex-direction: column; border-radius: 18px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgb(20 30 50 / .5); overflow: hidden; }.vx-chat__panel[hidden]{ display: none; }.vx-chat__head{ display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }.vx-chat__head img{ width: 30px; }.vx-chat__head b{ display: block; font-weight: 500; }.vx-chat__head small{ color: var(--muted); font-size: 13px; }.vx-chat__x{ margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }.vx-chat__log{ flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }.vx-chat__log .ins-msg{ font-size: 14px; }.vx-chat__log .link{ font-size: 14px; }.vx-chat__sug{ display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }.vx-chat__sug button{ padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 13px/1 var(--font-text); cursor: pointer; }.vx-chat__sug button:hover{ border-color: var(--line-strong); }.vx-chat__in{ display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }.vx-chat__in input{ flex: 1; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); font: 400 16px/1 var(--font-text); color: var(--ink); background: var(--bg); }.vx-chat__in button{ width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--action); color: #fff; display: grid; place-items: center; cursor: pointer; }.vx-chat__in svg{ width: 20px; height: 20px; }@keyframes sx-scan{ 0% { opacity: 1; top: 0; } 90% { opacity: 1; } 100% { opacity: 0; top: 100%; } }@keyframes ha-tap{ 0% { box-shadow: 0 0 0 0 rgb(24 102 252 / .45); } 60% { box-shadow: 0 0 0 7px rgb(24 102 252 / .12); } 100% { box-shadow: 0 0 0 0 rgb(24 102 252 / 0); } }.src-link{ color: #1866fc; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; white-space: nowrap; }.src-link::after{ content: "↗"; display: inline-block; margin-left: 3px; font-weight: 500; transition: transform var(--dur) var(--ease); }.src-link:hover{ color: #1453cc; }.src-link:hover::after{ transform: translate(2px, -2px); }.flags{ margin-top: var(--s-5); padding: 20px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; }.flags h3{ margin: 0; font: 600 14px/20px var(--font-display); letter-spacing: 0; color: #78350f; }.flags ul{ list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; line-height: 20px; color: rgb(120 53 15 / .9); }.flags li::before{ content: "• "; }@keyframes wx-draw{ to { stroke-dashoffset: 0; } }@keyframes wx-bar{ from { width: 0; } to { width: 100%; } }@keyframes wx-gone-file{ from { opacity: 1; transform: none; filter: none; } to { opacity: .25; transform: scale(.94); filter: blur(1.5px); } }@keyframes wx-in{ from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }@keyframes wx-mark{ from { background: transparent; box-shadow: none; } to { background: #fff2a8; box-shadow: 0 0 0 2px #fff2a8; } }.insx{ display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: stretch; padding: var(--s-3); border-radius: 24px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 20px 50px -40px rgb(20 30 50 / .5); }.insx__side{ display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5) var(--s-2) var(--s-5) var(--s-4); }.insx__label{ margin: 0; font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }.insx__qs{ display: grid; gap: var(--s-2); }.insx__qs button{ display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 15px/1.35 var(--font-text); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease); }.insx__qs button svg{ width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform .2s var(--ease), color .2s; }.insx__qs button:hover{ border-color: var(--line-strong); transform: translateX(3px); }.insx__qs button:hover svg{ transform: translateX(2px); color: var(--action); }.insx__qs button[aria-pressed="true"]{ border-color: var(--action); background: color-mix(in oklab, var(--action) 6%, var(--bg)); }.insx__qs button[aria-pressed="true"] svg{ color: var(--action); }.insx__note{ margin: auto 0 0; padding-top: var(--s-3); color: var(--muted); font-size: 13px; }.insx__side .btn{ align-self: flex-start; }.insx__vis{ position: relative; min-height: 380px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; padding: var(--s-6);
  background: radial-gradient(70% 70% at 30% 20%, color-mix(in oklab, var(--ground-surface) 70%, white), transparent 70%), radial-gradient(60% 60% at 80% 100%, color-mix(in oklab, var(--ground-bg) 70%, var(--ground-accent)), transparent 70%), var(--ground-bg); }.insx__vis::before{ content: ""; position: absolute; inset: 18px; border: 1px solid rgb(255 255 255 / .45); border-radius: 4px; pointer-events: none; }.insx__win{ position: relative; z-index: 1; width: min(520px, 100%); height: 330px; display: flex; flex-direction: column; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 30px 50px -26px rgb(10 20 40 / .55); }.insx__bar{ display: flex; justify-content: space-between; gap: var(--s-3); padding: 11px 14px; border-bottom: 1px solid #edf0f4; font: 500 11px/1 var(--font-mono); color: #8a93a2; }.insx__doc{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.insx__live{ display: inline-flex; align-items: center; gap: 6px; color: #1453cc; }.insx__live b{ width: 6px; height: 6px; border-radius: 50%; background: #16a35f; }.insx__log{ flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }.insx__log .ins-msg{ font-size: 14px; }.insx__in{ display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 0 6px 0 12px; height: 42px; border-radius: 10px; box-shadow: 0 0 0 1px #dfe3e9; font-size: 14px; color: #1b273d; }.insx__typed{ flex: 1; white-space: nowrap; overflow: hidden; }.insx__typed:empty::before{ content: "Ask about this document"; color: #9aa3b0; }.insx__send{ width: 30px; height: 30px; border-radius: 8px; background: #1866fc; color: #fff; display: grid; place-items: center; }.insx__send svg{ width: 16px; height: 16px; }@media (max-width: 1023px){.insx{ grid-template-columns: 1fr; }.insx__side{ padding: var(--s-4) var(--s-3) 0; }.insx__note{ margin-top: 0; }}@media (max-width: 639px){.insx__vis{ padding: var(--s-3); min-height: 0; }.insx__win{ height: 320px; }}.vx-chat__lead{ display: flex; gap: 6px; margin-top: 8px; }.vx-chat__lead input{ flex: 1; min-width: 0; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); font: inherit; font-size: 14px; }.vx-chat__lead .btn{ height: 34px; padding: 0 12px; }.vx-chat__more{ margin-top: 8px; font-size: 13px; }.vx-chat__more summary{ cursor: pointer; color: var(--action); }.vx-chat__ok{ color: #16794a; margin-top: 8px; }@media (max-width: 1023px){.insx__vis{ order: -1; }.insx__side{ padding-top: var(--s-2); }}
.lab__main .ab-row{ grid-template-columns:140px minmax(0,1fr) 170px; }
@media (max-width:1023px){ .lab__main .ab-row{ grid-template-columns:140px minmax(0,1fr); } }
@media (max-width:639px){ .lab__main .ab-row{ grid-template-columns:1fr; } }

/* "See source" on a stacked window scrolls the Source panel to just under the fixed nav */
.lab__side{scroll-margin-top:72px}

/* The Inspector tab wears a small red dot until the Inspector has been opened: the window starts
   on Source, and the dot is the invitation to go and ask the Inspector something. */
.lab__tabs button{ position:relative; }
.lab__tab.is-peep{ padding-right:23px; }
.lab__peep{ display:none; position:absolute; top:5px; right:6px; width:6px; height:6px; border-radius:50%; background:#e11d48; }
.lab__tab.is-peep .lab__peep{ display:block; }
.lab__tab.is-peep .lab__peep::after{ content:""; position:absolute; inset:-3px; border-radius:50%; border:1px solid #e11d48; opacity:0; animation:lab-peep 2.2s ease-out infinite; }
@keyframes lab-peep{ 0%{ transform:scale(.55); opacity:.85; } 70%,100%{ transform:scale(1.9); opacity:0; } }

/* the Inspector's own input: the visitor types a question to it, as in the workspace */
.insx__in .insx__type{ flex:1; min-width:0; border:0; background:none; padding:0; font:inherit; color:inherit; }
.insx__in .insx__type:focus{ outline:none; }
.insx__in .insx__type::placeholder{ color:#9aa3b0; }
.insx__in button.insx__send{ border:0; padding:0; cursor:pointer; flex:none; }

/* directory as industry cards (homepage): the pages live on each industry page's Templates section */
.dir--hubs{ display: block; }
.dir__hubs{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.dir__hub{ display: flex; flex-direction: column; gap: 6px; padding: 18px var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.dir__hub:hover{ border-color: var(--action); transform: translateY(-2px); box-shadow: 0 14px 30px -24px rgb(20 30 50 / .5); }
.dir__hub-name{ font: 600 17px/1.25 var(--font-text); }
.dir__hub-short{ font-size: 14px; line-height: 1.45; color: var(--muted); }
.dir__hub-n{ margin-top: auto; padding-top: 8px; color: var(--action); font: 500 13px/1.3 var(--font-mono); }
.dir__hub-n i{ font-style: normal; }
@media (max-width: 1023px){ .dir__hubs{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px){ .dir__hubs{ grid-template-columns: 1fr; } }
#templates{ scroll-margin-top: 96px; }
