.vault { --measure: 49rem; max-width: 78rem; padding-block: clamp(1.75rem,4vw,4rem) var(--section-space); overflow-wrap: anywhere; }
.vault :is(h1,h2,h3,p,figure,dl,dd,pre) { margin: 0; }
.vault :is(h1,h2,h3) { text-wrap: balance; }
.vault p, .v-prose li { line-height: 1.58; }
.vault [hidden] { display: none !important; }
.v-crumb { display:flex; flex-wrap:wrap; gap:.25rem .6rem; align-items:baseline; margin-bottom:1.5rem; color:var(--text-muted); font-size: var(--t-small); }
.v-crumb a:hover,.v-crumb a:focus-visible { color:var(--orange); text-decoration:underline; }
.v-cover { display:grid; align-items:center; gap:clamp(1.5rem,4vw,4rem); }
.v-cover > div { max-width:52rem; min-width:0; }
.v-cover p { font: var(--font-lede); color:var(--text-muted); max-width:55ch; margin-top:1.1rem; }
.v-cover .v-link { margin-top:1.5rem; padding:.75rem 1.25rem; border-radius:2rem; background:var(--ink); color:var(--paper); }
.v-cover figure,.v-tile figure { overflow:hidden; background:var(--surface-soft); border-radius:var(--radius-media); }
.v-cover figure { aspect-ratio: 1.95; }
.v-cover img,.v-tile img { width:100%;height:100%;object-fit:cover; }
.v-no-image { padding-block:1.3rem .75rem; }
.v-section { margin-top:clamp(2.75rem,6vw,5.5rem); }
.v-section > h2 {margin-bottom:1.5rem;}
.v-tiles { display:grid; gap:1.6rem; }
.v-tile { display:grid; align-content:start; gap:1rem; }
.v-tile figure { aspect-ratio:1.95; }
.v-tile h3 { display:flex;justify-content:space-between;gap:.75rem;align-items:center; margin:.35rem 0 .5rem; }
.v-kicker { font: var(--font-kicker); letter-spacing: .14em; color:var(--orange); }
.v-tile p,.v-entry p { color:var(--text-muted); }
.v-tile .action-arrow,.v-entry .action-arrow {font-size: var(--t-body);color:var(--orange);}
.v-link {display:inline-flex;align-items:center;justify-content:space-between;gap:.65rem;font-weight: 500;}
.v-guides {border-block:1px solid var(--line);padding-block:2rem;display:grid;gap:1.5rem;}
.v-guides p {max-width:36ch;margin-top:.8rem;}
.v-guides nav {display:grid;align-content:start;}
.v-guides .v-link {padding:.8rem .2rem;border-top:1px solid var(--line);}
.v-guides .v-link:first-child {border-top:0;}
.v-browser {scroll-margin-top:5rem;}
.v-filter,.v-fields { display:grid; gap:.9rem; }
.vault label {display:grid;gap:.36rem;font-size: var(--t-small);font-weight: 500;}
.vault :is(input,select,textarea) { background:var(--paper); font: 400 var(--t-body)/1.35 var(--body); border:1px solid var(--line-subtle);border-radius:.65rem;min-height:2.85rem; padding:.65rem .85rem;width:100%;min-width:0; }
.vault textarea {resize:vertical;}
.vault :is(input,select,textarea):focus-visible {outline:2px solid var(--orange);outline-offset:2px;}
.v-text-button {background:none;border:none;font-size: var(--t-small);text-decoration:underline;text-underline-offset:4px;min-height:44px;justify-self:start;}
.v-browser [data-count] {color:var(--text-muted);font-size: var(--t-small);margin:1.25rem 0 .6rem;}
.v-entries {list-style:none;padding:0;margin:0;display:grid;column-gap:1.8rem;}
.v-entries li {display:flex;min-width:0;border-top:1px solid var(--line);}
.v-entry {display:flex;gap:.9rem;align-items:center;width:100%;padding:1.1rem .3rem;transition:background .24s;}
.v-entry > div {min-width:0;flex:1;}
.v-entry h3 { font: var(--font-card); letter-spacing: var(--track-head); text-wrap:initial; }
.v-entry .v-kicker {display:inline-block;margin-bottom:.4rem;}
.v-entry p {font-size: var(--t-small);margin-top:.4rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.v-entry img {width:clamp(3.3rem,8vw,5.5rem);aspect-ratio:1;object-fit:cover;border-radius:.65rem;}
.v-entry > .action-arrow {flex:none;}
.v-pager {display:flex;align-items:center;justify-content:space-between;gap:1rem; border-top:1px solid var(--line);padding-top:1rem;}
.v-pager {margin-top:1rem;font-size: var(--t-small);}
.v-pager .v-link {min-height:44px;}
.v-meta {display:flex;flex-wrap:wrap;gap:1rem 2.4rem; border-block:1px solid var(--line);padding-block:1.15rem;margin-top:2rem!important;}
.v-meta dt {color:var(--text-muted);font-size: var(--t-caption);margin-bottom:.25rem;}
.v-meta dd {font-weight: 500;}
.v-reading {max-width:var(--measure);margin:clamp(2rem,5vw,4.5rem) auto 0;display:grid;gap:2rem;min-width:0;}
.v-facts {display:grid;gap:1.2rem;}
.v-facts h2,.v-sheet h2,.v-prose h2 { font: var(--font-subhead); letter-spacing: var(--track-head); }
.v-facts p,.v-note p {margin-top:.4rem;}
.v-sheet {border:1px solid var(--line-subtle);border-radius:var(--radius-media);overflow:hidden;background:#fafbf6;}
.v-sheet header {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6rem;padding:.85rem clamp(.9rem,3vw,1.6rem);background:var(--surface-soft);border-bottom:1px solid var(--line);}
.v-sheet pre {padding:clamp(1rem,3vw,1.65rem);font: 400 var(--t-body)/1.65 var(--body);white-space:pre-wrap;overflow-wrap:anywhere;}
.v-copy,.v-button {display:inline-flex;gap:.5rem;align-items:center;justify-content:center;background:var(--ink);color:var(--paper);border:0;border-radius:2rem;min-height:44px;padding:.5rem 1rem;}
.v-note {border-left:3px solid var(--orange);padding-left:1rem;}
.v-next {display:grid;grid-template-areas:"prev" "next" "archive";gap:.65rem;margin-top:clamp(2.6rem,6vw,5rem);border-top:1px solid var(--line);padding-top:1.25rem;}
.v-neighbor {display:flex;align-items:center;gap:.85rem;min-width:0;padding:.9rem 1rem;background:var(--surface-soft);border-radius:1rem;}
.v-neighbor--prev {grid-area:prev;}
.v-neighbor--next {grid-area:next;text-align:right;flex-direction:row-reverse;}
.v-neighbor-text {min-width:0;display:grid;gap:.25rem;}
.v-neighbor-label {font-size: var(--t-caption);line-height:1.3;letter-spacing:.07em;text-transform:uppercase;font-weight: 600;color:var(--text-muted);}
.v-neighbor-title { font: var(--font-card); letter-spacing: var(--track-head); text-wrap:balance; }
.v-neighbor-arrow {display:grid;flex:none;place-items:center;width:2.35rem;height:2.35rem;border:1px solid var(--line-subtle);color:var(--ink);border-radius:50%;}
.v-archive-link {grid-area:archive;align-self:center;justify-self:center;display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-align:center;padding:.4rem .75rem;font-size: var(--t-small);font-weight: 500;text-decoration:underline;text-underline-offset:.32em;text-decoration-color:var(--line-subtle);}
.v-neighbor:is(:hover,:focus-visible) .v-neighbor-arrow {color:var(--paper);background:var(--ink);}
.v-archive-link:is(:hover,:focus-visible) {color:var(--orange);text-decoration-color:currentColor;}
@media (min-width:48rem) {.v-next {grid-template-areas:"prev archive next";grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:1.2rem;}.v-neighbor {padding:1.25rem;}}
@media (prefers-reduced-motion:no-preference) {
  .v-neighbor-arrow,.v-neighbor-arrow svg {transition:transform .25s var(--ease-enter),background-color .25s,color .25s;}
  .v-neighbor--prev:is(:hover,:focus-visible) svg {transform:translateX(-2px);}
  .v-neighbor--next:is(:hover,:focus-visible) svg {transform:translateX(2px);}
}
.v-prose {display:block;}
.v-prose :is(h2,h3):not(:first-child),.v-prose section+section {margin-top:2rem;}
.v-prose :is(h2,h3)+*,.v-prose p+p,.v-prose details>p {margin-top:.7rem;}
.v-prose ul,.v-prose ol {padding-left:1.3rem;}
.v-prose li+li {margin-top:.4rem;}
.v-prose a:not(.v-link) {text-decoration:underline;text-underline-offset:3px;}
.v-prose details {border-block-start:1px solid var(--line);padding:.4rem 0;}
.v-prose details summary {display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px;list-style:none;cursor:pointer;font-weight: 500;}
.v-prose summary::-webkit-details-marker {display:none;}
.v-prose details[open]>summary svg {transform:rotate(180deg);}
.v-prose details[open] {padding-bottom:1rem;}
.v-prose .v-link {margin-top:1rem;}
.v-builder {background:var(--surface-soft);border-radius:var(--radius-media);padding:clamp(1rem,3vw,2rem);}
.v-builder .v-fields {margin-block:1.2rem;}
.v-builder .v-text-button {margin-left:.8rem;}
.v-builder+[data-generated]:not([hidden]) {margin-top:1.5rem;}
@media (min-width:42rem) {
  .v-tiles,.v-entries,.v-fields {grid-template-columns:repeat(2,minmax(0,1fr));}
  .v-cover:not(.v-no-image) {grid-template-columns:1.15fr 1fr;}
  .v-cover figure {aspect-ratio:1.35;}
  .v-guides {grid-template-columns:1fr 1fr;gap:3rem;}
  .v-filter {display:flex;align-items:end;flex-wrap:wrap;}
  .v-filter label:first-child {flex:2 1 14rem;}
  .v-filter label:not(:first-child) {flex:1 1 8rem;}
  .v-facts {grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));}
}
@media (min-width:65rem) {
  .v-tiles {grid-template-columns:repeat(4,minmax(0,1fr));}
  .v-tile figure {aspect-ratio:1.45;}
}
@media (hover:hover) {
  .v-entry:hover {background:var(--surface-soft);}
  .v-tile:hover h3,.vault a.v-link:hover {color:var(--orange);}
  .v-cover .v-link:hover {color:var(--paper);background:var(--orange);}
}
@media (prefers-reduced-motion:no-preference) {
  .v-cover {animation:v-in .45s var(--ease-enter) both;}
  .v-tile img {transition:transform .55s var(--ease-enter);}
  .v-tile:is(:hover,:focus-visible) img {transform:scale(1.045);}
  .vault a:is(:hover,:focus-visible) .action-arrow .lucide:first-child {transform:translate(122%,-122%);}
  .vault a:is(:hover,:focus-visible) .action-arrow .lucide+ .lucide {transform:translate(0,0);}
  @keyframes v-in {from {opacity:0;transform:translateY(.45rem);} to {opacity:1;transform:none;}}
}

.v-cover:has(.v-hub-search) figure {background:var(--ink);aspect-ratio:1.55;}
.v-cover:has(.v-hub-search) figure img {object-fit:cover;object-position:50% 48%;}
.v-hub-search {margin-top:1.6rem;max-width:31rem;}
.v-hub-search > div {display:flex;align-items:center;gap:.35rem;background:var(--paper);border:1px solid var(--line-subtle);border-radius:2rem;padding:.25rem .3rem .25rem .55rem;margin-top:.45rem;}
.v-hub-search input {border:0;background:transparent;border-radius:2rem;}
.v-hub-search button {flex:none;width:44px;padding:0;background:var(--orange);}
.v-hub-search+.v-link {background:transparent;color:var(--ink);margin-top:.4rem;padding:.5rem 0;border-radius:0;text-decoration:underline;text-underline-offset:.25em;}
.v-hub-search+.v-link:hover {background:transparent;color:var(--orange);}
#vault-results {scroll-margin-top:5rem;}
#vault-results [data-hub-status] {margin-bottom:1rem;}
.v-diagnostic {padding:clamp(1.4rem,4vw,3rem);background:var(--ink);color:var(--paper);border-radius:var(--radius-media);display:grid;gap:1.5rem;}
.v-diagnostic h2,.v-diagnostic p {margin:.5rem 0 1rem;}
.v-kicker { text-transform:uppercase; }
.v-diagnostic .v-kicker {color:var(--paper);}
.v-diagnostic .v-button,.v-diagnostic .v-secondary {min-width:5rem;}
.v-diagnostic .v-button {background:var(--paper);color:var(--ink);}
.v-diagnostic .v-secondary {min-height:44px;margin-left:.6rem;border-radius:2rem;color:var(--paper);border:1px solid currentColor;background:transparent;padding:.5rem 1rem;}
.v-diagnostic .v-link {margin:0 1rem .5rem 0;text-decoration:underline;text-underline-offset:4px;}
.v-diagnostic .v-text-button {display:block;color:var(--paper);}
@media (min-width:42rem) {.v-diagnostic {grid-template-columns:1fr 1fr;align-items:center;}}

/* The companion guides share a cover, a working reference, questions and a handoff. */
.vault-guide { --guide-space: clamp(2.75rem, 6.3vw, 5.3rem); }
.vault-guide .v-cover {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  background: var(--surface-soft);
}
.vault-guide .v-cover > div { padding: clamp(1.45rem, 4.3vw, 4.25rem); }
.vault-guide .v-cover h1 {
  max-width: 14ch;

  text-wrap: balance;
}
.vault-guide .v-cover p { max-width: 39ch; }
.vault-guide .v-cover figure { aspect-ratio: 2.15; border-radius: 0; }
.vault-guide .v-cover img { display: block; }
.vault-guide .v-no-image { padding: 0; }
.vault-guide .vg-jump { margin-top: 1.35rem; }
.vg-jump:hover svg { transform: translateY(2px); }
.vault-guide :is(.vg-builder, .vg-faq, .vg-full, #guide-content) { margin-top: var(--guide-space); }
.vg-section-head { display: grid; gap: .7rem; margin-bottom: clamp(1.3rem, 3vw, 2.2rem); }
.vault-guide :is(.vg-section-head, .vg-faq, .vg-full) h2 {
  max-width: 22ch;
}
.vg-section-head p { color: var(--text-muted); max-width: 48ch; }
.vg-table { width: 100%; border-spacing: 0; text-align: left; line-height: 1.55; }
.vg-table th, .vg-table td { vertical-align: top; }
.vg-table thead th, .vg-table td b {
  font: 600 var(--t-caption)/1.35 var(--body);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.vg-table tbody th span, .vg-steps dt {
  font: var(--font-card); letter-spacing: var(--track-head);

}
.vg-table th small { display: block; margin-top: .4rem; color: var(--text-muted); font: 500 var(--t-small)/1.4 var(--body); }
.vg-table td { color: var(--text-muted); }
.vg-table td b { display: none; }
.vg-table tbody tr > * { border-bottom: 1px solid var(--line); padding: clamp(.95rem, 2.2vw, 1.75rem); }
.vg-table thead th { color: var(--paper); background: var(--ink); padding: .9rem clamp(.95rem, 2.2vw, 1.75rem); }
.vg-table thead th:first-child { border-top-left-radius: .8rem; }
.vg-table thead th:last-child { border-top-right-radius: .8rem; }
.vg-table tbody th { width: 24%; background: var(--surface-soft); }
.vg-table tbody td { width: 38%; }
.vg-faq { display: grid; align-items: start; gap: 1.2rem; }
.vg-faq .accordion, .vg-steps { min-width: 0; }
.vault-guide .accordion__body { color: var(--text-muted); }
.vg-full {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3.6vw, 3rem);
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: var(--radius-media);
}
.vg-full .action-link { margin-top: 1.2rem; }
.vg-full ul { margin: 0; padding: 0; list-style: none; align-self: center; }
.vg-full li { display: flex; align-items: baseline; gap: .7rem; padding: .6rem 0; line-height: 1.4; }
.vg-full li + li { border-top: 1px solid var(--line); }
.vg-full li svg { flex: none; align-self: start; margin-top: .18em; width: 1em; height: 1em; color: var(--orange); }
.vg-steps > div { display: grid; gap: .55rem; border-top: 1px solid var(--line); padding: 1.25rem 0; }
.vg-steps dd { max-width: 62ch; line-height: 1.55; color: var(--text-muted); }
@media (min-width: 42rem) {
  .vault-guide .v-cover:not(.v-no-image) { grid-template-columns: 1fr .85fr; }
  .vault-guide .v-cover figure { align-self: stretch; position: relative; min-height: 17rem; aspect-ratio: auto; }
  .vault-guide .v-cover img { position: absolute; inset: 0; }
  .vg-section-head { grid-template-columns: 1.5fr 1fr; align-items: end; column-gap: 2rem; }
  .vg-section-head p { justify-self: end; }
  .vg-faq { grid-template-columns: .62fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
  .vg-full { grid-template-columns: .9fr 1fr; align-items: center; }
  .vg-steps > div { grid-template-columns: 1fr 2fr; gap: 1.5rem; }
}
@media (max-width: 41.99rem) {
  .vg-table { display: block; }
  .vg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vg-table tbody { display: grid; gap: 1.15rem; }
  .vg-table tbody tr { display: grid; gap: .8rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
  .vg-table tbody tr > * { width: auto; padding: 0; border: 0; }
  .vg-table tbody th {
    display: flex; align-items: baseline; gap: .8rem; justify-content: space-between;
    background: var(--surface-soft); border-radius: .55rem; padding: .75rem .85rem;
  }
  .vg-table tbody td { display: grid; grid-template-columns: 5.45rem 1fr; gap: .55rem; padding-inline: .3rem; }
  .vg-table td b { display: block; color: var(--ink); padding-top: .38em; }
  .vg-table th small { margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .vg-jump svg { transition: transform var(--duration-interaction) var(--ease-enter); }
}
