body.vg {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #edf4fa;
  color-scheme: dark;
  --vg-muted: #b6cad9;
  --vg-line: #426077;
  --vg-accent: #9ed5ff;
}
.vg .vg-backdrop { position: fixed; inset: 0; min-height: 0; pointer-events: none; }
.vg .vg-shell { position: relative; z-index: 4 !important; width: min(1192px, calc(100% - clamp(32px, 8vw, 108px))); margin-inline: auto; }
.vg .vg-top, .vg .vg-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-block: 20px;
  font-size: .9rem;
  border-bottom: 1px solid var(--vg-line);
}
.vg .vg-footer { border-top: 1px solid var(--vg-line); border-bottom: 0; color: var(--vg-muted); margin-top: auto; }
.vg main { padding-bottom: clamp(48px, 9vw, 100px); min-height: 62vh; }
.vg a:hover { color: var(--vg-accent); }
.vg :focus-visible { outline: 2px solid var(--vg-accent); outline-offset: 4px; }
.vg ::selection { background: var(--vg-accent); color: #071420; }
.vg [hidden] { display: none !important; }
.vg h1, .vg h2, .vg h3 { overflow-wrap: anywhere; letter-spacing: -.036em !important; }
.vg h1 { margin: 0; font-size: clamp(2.15rem, 6.7vw, 5.2rem); font-weight: 600; line-height: 1.08; }
.vg h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 .65em; }
.vg h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.25; }
.vg .vg-intro { padding-block: clamp(42px, 8vw, 92px) clamp(28px, 5vw, 55px); }
.vg .vg-intro p { max-width: 57ch; color: var(--vg-muted); font-size: clamp(1rem, 1.9vw, 1.2rem); margin-bottom: 0; }
.vg .vg-admin-intro { padding-bottom: 20px; }
.vg .vg-admin-intro h1 { font-size: clamp(2rem, 5vw, 3.9rem); }
.vg .vg-list { margin-top: 30px; }
.vg .vg-panel, .vg .vg-card {
  background: rgba(9, 23, 37, .71);
  border: 1px solid var(--vg-line);
  border-radius: 12px;
  backdrop-filter: blur(9px);
}
.vg .vg-panel { padding: clamp(14px, 3vw, 28px); }
.vg .vg-filters { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.vg .vg-filters details { grid-column: 1 / -2; align-self: center; }
.vg .vg-filters button { justify-self: end; }
.vg .vg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 18px; }
.vg .vg-card { min-width: 0; overflow: hidden; }
.vg .vg-card > a { display: block; height: 100%; color: inherit; }
.vg .vg-card > a:focus-visible { outline-offset: -3px; }
.vg .vg-card:hover { border-color: var(--vg-accent); }
.vg .vg-card img, .vg .vg-no-photo { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; background: #122439; }
.vg .vg-no-photo { display: grid; place-items: center; color: var(--vg-muted); }
.vg .vg-card-content { padding: clamp(15px, 3vw, 25px); display: grid; gap: 9px; align-content: center; }
.vg .vg-feature > a { display: grid; grid-template-columns: 1.25fr 1fr; }
.vg .vg-feature img { aspect-ratio: 16 / 9; }
.vg .vg-feature h3 { font-size: clamp(1.45rem, 3.5vw, 2.85rem); }
.vg .vg-meta { margin: 0; color: var(--vg-muted); font-size: .9rem; }
.vg #result { margin: 12px 0; }
.vg .vg-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.vg .vg-price { font: 600 clamp(1.42rem, 3vw, 2.15rem)/1.2 var(--ff-display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vg .vg-status { font-size: .85rem; border: 1px solid currentColor; border-radius: 999px; padding: 1px 9px; }
.vg .vg-status.available { color: #a9e8c3; }
.vg .vg-status.reserved { color: #f8d19c; }
.vg .vg-status.sold { color: #d3d9e2; }
.vg .vg-spec-summary { color: var(--vg-muted); margin: 0; overflow-wrap: anywhere; }
.vg .vg-link { color: var(--vg-accent); text-decoration: underline; text-underline-offset: 4px; }
.vg .vg-back { margin: 26px 0 16px; }
.vg .vg-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: start; }
.vg .vg-detail-head { grid-column: 1 / -1; }
.vg .vg-detail-head h1 { max-width: none; font-size: clamp(2rem, 5vw, 4.2rem); margin: 3px 0 15px; }
.vg .vg-contact h2 { font-size: 1.35rem; margin-top: 24px; }
.vg .vg-contact h2:first-child { margin-top: 0; }
.vg .vg-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.vg .vg-facts { margin: 0; }
.vg .vg-facts div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; padding-block: 10px; border-top: 1px solid var(--vg-line); overflow-wrap: anywhere; }
.vg .vg-facts dt { color: var(--vg-muted); }
.vg .vg-facts dd { margin: 0; }
.vg .vg-share { margin-top: 10px; }
.vg .vg-photo-open, .vg .vg-thumbs button { display: block; padding: 0; cursor: pointer; border: 1px solid var(--vg-line); background: #0b1724; overflow: hidden; }
.vg .vg-photo-open { width: 100%; border-radius: 12px; }
.vg .vg-photo-open img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.vg .vg-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 4px; }
.vg .vg-thumbs button { flex: 0 0 70px; border-radius: 6px; }
.vg .vg-thumbs button[aria-pressed=true] { border-color: var(--vg-accent); }
.vg .vg-thumbs img { width: 100%; height: 54px; object-fit: cover; display: block; }
.vg dialog { color: inherit; border: 1px solid var(--vg-line); background: #0b1724; padding: 12px; }
.vg dialog::backdrop { background: rgba(0, 6, 14, .9); }
.vg #viewer, .vg #admin-preview { width: min(100vw, 1400px); height: 100dvh; max-width: 100vw; max-height: 100dvh; }
.vg #viewer[open], .vg #admin-preview[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; }
.vg #photo-stage { overflow: auto; }
.vg #photo-stage img { display: block; margin: auto; width: 100%; height: 100%; object-fit: contain; }
.vg #photo-stage.is-zoomed img { width: 185%; height: 185%; margin: 0; }
.vg #admin-preview iframe { width: 100%; height: 100%; border: 1px solid var(--vg-line); }
.vg label { display: grid; gap: 4px; min-width: 0; font-size: .93rem; font-weight: 600; }
.vg input:not([type=checkbox]), .vg select, .vg textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--vg-line);
  border-radius: 7px;
  background: rgba(4, 15, 27, .73);
  font: 400 1rem var(--ff-body);
  color: inherit;
  accent-color: var(--vg-accent);
}
.vg input::placeholder { color: #acbfd0; }
.vg select option { background: #11253a; }
.vg input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--vg-accent); }
.vg summary { cursor: pointer; min-height: 44px; align-content: center; }
.vg .button { min-height: 44px; border: 1px solid var(--vg-line); cursor: pointer; justify-content: center; padding: 8px 12px; }
.vg .button:disabled { opacity: .45; cursor: default; }
.vg .vg-login { max-width: 440px; display: grid; gap: 16px; }
.vg .vg-stack { display: grid; gap: 20px; margin-block: 14px 24px; }
.vg .vg-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vg .vg-spec-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px; margin-bottom: 10px; align-items: end; }
.vg .vg-category-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-bottom: 10px; align-items: end; }
.vg .vg-camera { display: none; margin-top: 8px; }
@media (pointer: coarse) { .vg .vg-camera { display: grid; } }
.vg .vg-check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.vg fieldset { min-width: 0; border: 1px solid var(--vg-line); margin: 0; border-radius: 8px; }
.vg .vg-edit-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 194px), 1fr)); gap: 12px; margin-top: 14px; }
.vg .vg-edit-photo { margin: 0; min-width: 0; }
.vg .vg-edit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.vg .vg-edit-photo figcaption { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.vg .vg-edit-photo strong { flex-basis: 100%; }
.vg .vg-admin-nav { margin-block: 14px 28px; }
.vg .vg-admin-nav [aria-current=page] { outline: 1px solid var(--vg-accent); }
.vg .vg-section-head { justify-content: space-between; margin-bottom: 12px; }
.vg .vg-section-head h2 { margin: 0; }
.vg .vg-admin-item { display: grid; gap: 15px; margin-block: 12px; }
.vg #admin-status:not(:empty) { margin-block: 10px; padding: 10px 14px; background: #18344a; border-radius: 6px; overflow-wrap: anywhere; }
.vg #admin-status.vg-error { background: #49282d; }
@media (max-width: 820px) {
  .vg .vg-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vg .vg-detail { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .vg .vg-feature > a, .vg .vg-form-grid { grid-template-columns: minmax(0, 1fr); }
  .vg .vg-search { grid-column: 1 / -1; }
  .vg .vg-filters details { grid-column: auto; }
  .vg .vg-filters button { justify-self: start; }
  .vg .vg-spec-entry { grid-template-columns: minmax(0, 1fr) auto; }
  .vg .vg-spec-entry label:nth-child(2) { grid-row: 2; }
  .vg .vg-spec-entry button { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .vg .button { transition: none; }
  .vg .button:hover { transform: none; }
}





.vg #configuration { margin-top: 0; }
.vg #configuration fieldset { padding: 10px; }
.vg .vg-choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 400;
  cursor: pointer;
}
.vg .vg-choice:has(input:checked) { border-color: var(--vg-accent); }
.vg input[type=radio] {
  appearance: auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: var(--vg-accent);
}
.vg .vg-choice span { overflow-wrap: anywhere; }
.vg .vg-choice .vg-meta { font-size: .85rem; font-variant-numeric: tabular-nums; }
.vg .vg-config-total { display: grid; gap: 6px; }
.vg .vg-option-group { margin-block: 18px; padding-block: 12px; border-top: 1px solid var(--vg-line); }
.vg .vg-option-entry { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-block: 12px; }
@media (max-width: 600px) {
  .vg .vg-choice { grid-template-columns: 18px minmax(0, 1fr); }
  .vg .vg-choice .vg-meta { grid-column: 2; }
  .vg .vg-option-entry { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vg .vg-option-entry label:first-child { grid-column: 1 / -1; }
}
