.vvb-sim {
    --vvb-accent: #d1e2c4;
    --vvb-ink: #f5f7f8;
    --vvb-muted: #b2c2c9;
    --vvb-line: #344b58;
    --vvb-line-strong: #6a818b;
    --vvb-paper: #0c1921;
    --vvb-surface: #13232e;
    --vvb-soft: #10202b;
    color-scheme: dark;
    box-sizing: border-box;
    width: 100%; max-width: 1040px; min-width: 0;
    margin: 0 auto; padding: clamp(18px, 3vw, 40px);
    color: var(--vvb-ink); background: var(--vvb-paper);
    font-family: inherit; font-size: 16px; line-height: 1.55; text-align: left;
    container-type: inline-size;
}
.vvb-sim *, .vvb-sim *::before, .vvb-sim *::after { box-sizing: border-box; }
/* The square silhouette is part of the brand, including theme-styled form controls. */
.vvb-sim, .vvb-sim *, .vvb-sim *::before, .vvb-sim *::after { border-radius: 0 !important; }
.vvb-sim [hidden] { display: none !important; }
.vvb-sim h2, .vvb-sim h3, .vvb-sim p { font-family: inherit; color: inherit; padding: 0; }
.vvb-sim .vvb-top { margin: 0 0 25px; }
.vvb-sim .vvb-top > p { color: #ffffff; max-width: 70ch; margin: 0; font-size: 16px; }
.vvb-sim .vvb-console { background: var(--vvb-surface); border: 1px solid var(--vvb-line); padding: clamp(14px, 2.5vw, 26px); box-shadow: none; }
.vvb-sim .vvb-controls { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 18px 20px; }
.vvb-sim .vvb-field { min-width: 0; }
.vvb-sim .vvb-field > label { display: block; margin: 0 0 7px; font-size: 12px; font-weight: 700; color: var(--vvb-muted); letter-spacing: .04em; text-transform: uppercase; }
.vvb-sim input, .vvb-sim select, .vvb-sim button { font: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; margin: 0; }
.vvb-sim input, .vvb-sim select { width: 100%; max-width: 100%; min-height: 46px; padding: 10px 12px; color: var(--vvb-ink); background: var(--vvb-soft); border: 1px solid var(--vvb-line-strong); font-size: 16px; line-height: 1.4; }
.vvb-sim input::placeholder { color: var(--vvb-muted); opacity: 1; }
.vvb-sim input { caret-color: var(--vvb-accent); }
.vvb-sim select {
    padding-right: 38px; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23d1e2c4' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.vvb-sim option { color: var(--vvb-ink); background: var(--vvb-surface); }
.vvb-sim ::selection { color: var(--vvb-paper); background: #d1e2c4; }
.vvb-sim :is(input, select, button, summary, a):focus-visible { outline: 2px solid var(--vvb-accent); outline-offset: 3px; }
.vvb-sim input[aria-invalid="true"] { outline: 2px solid #f2b69d; outline-offset: -2px; }
.vvb-sim .vvb-hint { min-height: 18px; margin: 6px 0 0; color: var(--vvb-muted); font-size: 11px; line-height: 1.4; }
.vvb-sim .vvb-combo { position: relative; }
.vvb-sim .vvb-list { position: absolute; inset: calc(100% + 5px) 0 auto; z-index: 30; max-height: 275px; overflow: auto; color: var(--vvb-ink); background: var(--vvb-surface); border: 1px solid var(--vvb-line-strong); box-shadow: 0 8px 24px #0005; scrollbar-color: #6a818b #13232e; }
.vvb-sim .vvb-option { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--vvb-line); cursor: pointer; font-size: 15px; }
.vvb-sim .vvb-option:last-child { border: 0; }
.vvb-sim .vvb-option:hover, .vvb-sim .vvb-option.vvb-active { background: #263d35; color: var(--vvb-accent); }
.vvb-sim .vvb-province { color: var(--vvb-muted); font-size: 12px; }
.vvb-sim .vvb-stepper { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--vvb-line-strong); background: var(--vvb-soft); }
.vvb-sim .vvb-stepper input { min-width: 0; min-height: 44px; padding: 8px 0; text-align: center; border: 0; background: transparent; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
.vvb-sim .vvb-stepper input::-webkit-inner-spin-button, .vvb-sim .vvb-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.vvb-sim .vvb-stepper button { flex: 0 0 44px; min-height: 44px; padding: 0; background: transparent; border: 0; color: var(--vvb-ink); font-size: 20px; cursor: pointer; }
.vvb-sim .vvb-stepper button:hover { color: var(--vvb-accent); background: #263d35; }
.vvb-sim .vvb-stepper button:disabled { opacity: .4; cursor: default; }
.vvb-sim .vvb-result { border-top: 1px solid var(--vvb-line); margin-top: 24px; padding-top: 24px; }
.vvb-sim .vvb-result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.vvb-sim .vvb-result-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vvb-sim .vvb-result-title h3 { font-size: 25px; font-weight: 800; line-height: 1.2; margin: 0; text-transform: none; }
.vvb-sim .vvb-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; line-height: 1.5; padding: 5px 10px; border: 1px solid; }
.vvb-sim .vvb-badge::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; background: currentColor; }
.vvb-sim .vvb-good { color: #d1e2c4; background: #23392d; border-color: #63846c; }
.vvb-sim .vvb-fiscal { color: #efcf93; background: #342f22; border-color: #85734e; }
.vvb-sim .vvb-permit { color: #f2b69d; background: #362b2a; border-color: #946c5d; }
.vvb-sim .vvb-critical { color: #ffc0b9; background: #3b282e; border-color: #9a666b; }
.vvb-sim .vvb-unknown { color: #c9d3d8; background: #27353e; border-color: #6a818b; }
.vvb-sim .vvb-zone { color: #c6dfdf; background: #20353f; border-color: #63818c; }
.vvb-sim .vvb-callout { border: 1px solid; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.vvb-sim .vvb-callout strong { display: block; margin: 0 0 3px; }
.vvb-sim .vvb-callout p { margin: 0; }
.vvb-sim .vvb-breakdown { border: 1px solid var(--vvb-line); overflow: hidden; margin: 0 0 15px; }
.vvb-sim .vvb-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px; background: var(--vvb-soft); border-bottom: 1px solid var(--vvb-line); }
.vvb-sim .vvb-row:last-child { border: 0; }
.vvb-sim .vvb-label { min-width: 0; font-size: 15px; }
.vvb-sim .vvb-sub { display: block; font-size: 12px; color: var(--vvb-muted); font-weight: 400; margin-top: 3px; }
.vvb-sim .vvb-value { white-space: nowrap; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vvb-sim .vvb-total { background: #22382f; border-top: 2px solid var(--vvb-accent); }
.vvb-sim .vvb-total .vvb-label { font-weight: 700; }
.vvb-sim .vvb-total .vvb-value { font-size: 21px; color: var(--vvb-accent); font-weight: 800; }
.vvb-sim .vvb-note, .vvb-sim .vvb-basis { color: var(--vvb-muted); font-size: 12px; line-height: 1.6; margin: 0 0 16px; }
.vvb-sim .vvb-details { padding-top: 16px; border-top: 1px solid var(--vvb-line); font-size: 14px; }
.vvb-sim summary { cursor: pointer; color: var(--vvb-accent); font-weight: 700; font-size: 14px; }
.vvb-sim .vvb-details p, .vvb-sim .vvb-method p { margin: 12px 0 0; overflow-wrap: anywhere; }
.vvb-sim .vvb-source { font-size: 12px; color: var(--vvb-muted); }
.vvb-sim .vvb-method { margin: 22px 0 14px; font-size: 13px; color: var(--vvb-muted); }
.vvb-sim .vvb-basis { margin-bottom: 0; }
.vvb-sim .vvb-empty { color: var(--vvb-muted); margin: 0; font-size: 15px; }
.vvb-sim .vvb-contact { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--vvb-line); display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
.vvb-sim .vvb-contact-copy { max-width: 74ch; }
.vvb-sim .vvb-contact h3 { margin: 0 0 8px; color: var(--vvb-ink); font-size: 20px; font-weight: 700; line-height: 1.3; text-transform: none; }
.vvb-sim .vvb-contact p { margin: 0; color: var(--vvb-muted); font-size: 14px; line-height: 1.6; }
.vvb-sim .vvb-contact-copy a { color: var(--vvb-accent); text-decoration: underline; text-underline-offset: 3px; }
.vvb-sim .vvb-contact-copy a:hover { color: var(--vvb-ink); }
.vvb-sim a.vvb-contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; max-width: 100%; min-height: 48px; padding: 12px 20px; color: #0d1b24; background: #d1e2c4; border: 1px solid #d1e2c4; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; text-transform: none; text-align: center; box-shadow: none; }
.vvb-sim a.vvb-contact-button:hover, .vvb-sim a.vvb-contact-button:focus { color: #0d1b24; background: #e5efde; border-color: #e5efde; }
.vvb-sim .vvb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); margin: -1px; padding: 0; border: 0; }
@container (max-width: 570px) {
    .vvb-sim .vvb-controls { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .vvb-sim .vvb-row { flex-wrap: wrap; gap: 8px; }
    .vvb-sim .vvb-value { margin-left: auto; }
    .vvb-sim .vvb-option { flex-wrap: wrap; gap: 2px 8px; }
}
@media (max-width: 600px) {
    .vvb-sim .vvb-controls { grid-template-columns: minmax(0, 1fr); }
    .vvb-sim .vvb-row { flex-wrap: wrap; gap: 8px; }
    .vvb-sim .vvb-value { margin-left: auto; }
}
