.vlg-wrap, .vlg-result {
  --vlg-accent: var(--rl-style-accent, #cd9a99);
  --vlg-line: var(--rl-style-line, #e8dfd8);
  --vlg-surface: var(--rl-style-surface, #f8f5f4);
  --vlg-ink: var(--rl-style-ink, #272326);
  color: var(--vlg-ink); font-family: var(--rl-style-font-body, inherit); line-height: 1.65;
  width: 100%; max-width: 860px; margin: 0 auto; overflow-wrap: anywhere;
}
.vlg-wrap *, .vlg-wrap *::before, .vlg-wrap *::after { box-sizing: border-box; }
.vlg-wrap [hidden] { display: none !important; }
.vlg-person-form { background: var(--vlg-surface); padding: clamp(18px, 4vw, 32px); border: 1px solid var(--vlg-line); border-radius: var(--rl-style-radius, 4px); }
.vlg-wrap h2, .vlg-wrap h3 { font-family: var(--rl-style-font-heading, inherit); line-height: 1.3; color: inherit; }
.vlg-wrap h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.vlg-wrap h3 { font-size: 1.2rem; }
.vlg-wrap label { display: block; margin: 10px 0 6px; font-weight: 600; }
.vlg-wrap input[type=text], .vlg-wrap select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--vlg-line); border-radius: var(--rl-style-radius, 4px); background: #fff; color: var(--vlg-ink); font: inherit; padding: 10px; }
.vlg-wrap fieldset { min-width: 0; border: 0; padding: 0; margin: 24px 0; }
.vlg-wrap legend { font-weight: 700; padding: 0; }
.vlg-row { display: flex; gap: 12px; }
.vlg-row > div { flex: 1; min-width: 0; }
.vlg-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; }
.vlg-check input { flex: 0 0 auto; margin-top: .45em; width: 18px; height: 18px; accent-color: var(--vlg-accent); }
.vlg-help, .vlg-meta { font-size: .9rem; color: #61535a; }
.vlg-actions { margin: 22px 0 10px; }
.vlg-submit { min-height: 48px; background: var(--vlg-accent); color: var(--rl-style-button-text, #35202c); border: 1px solid var(--vlg-accent); border-radius: var(--rl-style-radius, 4px); padding: 13px 22px; font: inherit; font-weight: 600; cursor: pointer; }
.vlg-submit:hover { filter: brightness(.94); }
.vlg-submit:disabled { opacity: .6; cursor: wait; }
.vlg-wrap :focus-visible { outline: 3px solid #72505d; outline-offset: 3px; }
.vlg-wrap .vlg-error { color: #a32036; }
.vlg-error:empty, #vlg-status:empty { display: none; }
.vlg-place-wrap { position: relative; }
.vlg-suggest { position: absolute; z-index: 20; left: 0; right: 0; max-height: 320px; overflow: auto; list-style: none; padding: 0; margin: 2px 0 0; border: 1px solid var(--vlg-line); background: #fff; box-shadow: 0 6px 18px #00000012; }
.vlg-suggest li { padding: 10px 14px; min-height: 44px; cursor: pointer; }
.vlg-suggest li:hover, .vlg-suggest li[aria-selected=true] { background: #f5e8e9; }
.vlg-result { scroll-margin-top: 30px; }
.vlg-note { background: var(--vlg-surface); border-left: 3px solid var(--vlg-accent); padding: 16px 20px; }
.vlg-toc { padding: 20px 24px; border: 1px solid var(--vlg-line); margin: 28px 0; }
.vlg-toc ol { padding-left: 1.3em; margin: 8px 0 0; }
.vlg-toc a, .vlg-wrap a { color: #814c5a; text-underline-offset: 3px; }
.vlg-section { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--vlg-line); scroll-margin-top: 30px; }
.vlg-interpretation { margin: 26px 0 32px; }
.vlg-interpretation h3 { margin-bottom: 10px; }
.vlg-interpretation p { margin: 0 0 1em; }
.vlg-house { margin: 30px 0; }
.vlg-house > h3 { color: #814c5a; }
.vlg-elements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.vlg-elements > div { padding: 14px; border: 1px solid var(--vlg-line); background: var(--vlg-surface); }
.vlg-elements dt { font-weight: 700; }.vlg-elements dd { margin: 4px 0 0; }
.vlg-wrap summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-weight: 600; }
.vlg-more, .vlg-method { border-top: 1px solid var(--vlg-line); margin-top: 24px; }
.vlg-method { font-size: .9rem; }
@media (max-width: 480px) { .vlg-row { gap: 8px; }.vlg-elements { grid-template-columns: repeat(2, 1fr); }.vlg-submit { width: 100%; }.vlg-wrap select { padding: 8px 4px; } }
@media print { .vlg-form, .vlg-toc, .vlg-wrap .bcs-report-tools { display: none !important; }.vlg-section { margin-top: 20px; }.vlg-wrap h2, .vlg-wrap h3 { break-after: avoid; }.vlg-note { background: none; }.vlg-wrap { max-width: none; }.vlg-elements { grid-template-columns: repeat(4, 1fr); } }

.vlg-wrap .bcs-consent { display: flex; align-items: flex-start; gap: 10px; }
.vlg-wrap .bcs-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 6px; }
.vlg-wrap .bcs-consent label { margin: 0; font-weight: 400; }
