@import url("/static/tokens.css");

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Montserrat, system-ui, sans-serif;
  background: linear-gradient(180deg, var(--vt-canvas-top), var(--vt-canvas-end));
  background-attachment: fixed;
  color: var(--vt-text);
  font-size: var(--vt-body);
}
h1, h2, h3, h4, h5, h6 { font-family: "GT Maru Medium", system-ui, sans-serif; font-weight: 500; }
.vt-font-pair { margin: 8px 0 16px; }
.vt-font-headline { margin: 0 0 12px; font-family: "GT Maru Medium", system-ui, sans-serif; font-size: 22px; }
.vt-font-text { margin: 0; font-family: Montserrat, system-ui, sans-serif; font-size: 16px; }
a { color: var(--vt-primary); text-decoration: none; }
.vt-skip {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 40;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--vt-card);
  color: var(--vt-text);
  transform: translateY(-160%);
}
.vt-skip:focus { transform: none; }

/* Quiet header — C.36. No full-width primary wash. */
header.vt-shell, header {
  position: relative;
  z-index: 35;
  background: var(--vt-rail);
  color: var(--vt-text);
  border-bottom: 1px solid var(--vt-line);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--vt-space-3);
  flex-wrap: wrap;
}
html.theme-dark header.vt-shell, html.theme-dark header {
  background: var(--vt-rail);
  border-bottom-color: var(--vt-edge);
}
html.theme-dark body[data-frame="app"] .site-footer {
  background: var(--vt-rail);
  border-top-color: var(--vt-edge);
}
header a { color: var(--vt-muted); margin-left: 4px; font-size: 13.5px; font-weight: 600; }
header a.is-current, header nav a[aria-current="page"] {
  color: var(--vt-text);
  background: var(--vt-canvas);
  border-radius: 999px;
  padding: 6px 10px;
}
header .mark, header .vt-mark {
  color: var(--vt-text);
  font-weight: 800;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
header .vt-dot {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--vt-primary);
  display: inline-block;
}
header .mark:focus, header .vt-mark:focus { outline: 2px solid var(--vt-primary); }
header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
header .vt-control-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid var(--vt-line); border-radius: 999px;
  padding: 2px 8px; color: var(--vt-muted); margin-left: 8px;
}

main { max-width: 880px; margin: var(--vt-space-4) auto; padding: 0 var(--vt-space-3); }
.card, .view-detail, .view-form, .view-settings, .view-dashboard, .view-site {
  background: var(--vt-card);
  border-radius: var(--vt-radius);
  border: 1px solid var(--vt-edge);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--vt-shade) 8%, transparent), 0 10px 28px color-mix(in srgb, var(--vt-shade) 6%, transparent);
  padding: var(--vt-space-3);
  margin-bottom: var(--vt-space-2);
}
.view-list { margin-bottom: var(--vt-space-2); }

button, .btn, .btn-primary {
  background: var(--vt-brand);
  color: var(--vt-on-brand);
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 650;
}
button:focus { outline: none; }
button:focus-visible, .btn:focus-visible, .btn-outline:focus-visible {
  outline: 2px solid var(--vt-primary);
  outline-offset: 2px;
}
.btn-secondary, .btn-outline {
  background: transparent;
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
}
.live, .status-ok { color: var(--vt-live); }
.status-warn { color: var(--vt-warn); }
.status-danger { color: var(--vt-danger); }
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 650;
  background: var(--vt-canvas);
  color: var(--vt-text);
}
.help, .meta { font-size: var(--vt-meta); color: var(--vt-muted); }
.help-box {
  background: var(--vt-card);
  border-radius: var(--vt-radius);
  border: 1px solid var(--vt-line);
  padding: 12px 16px;
  margin-bottom: var(--vt-space-2);
  font-size: 14px;
}
.help-ask { display: flex; gap: var(--vt-space-1); }
.help-ask input { margin: 0; }
.help-video { margin: 0 0 var(--vt-space-1); }
input, select, textarea {
  padding: 10px 12px;
  margin: 4px 0 12px;
  width: 100%;
  border: 1px solid var(--vt-line);
  border-radius: 10px;
  background: var(--vt-field);
  color: var(--vt-text);
  font-family: inherit;
  font-size: inherit;
}
input::placeholder, textarea::placeholder {
  color: var(--vt-muted);
  opacity: 1;
}
html.theme-dark input, html.theme-dark select, html.theme-dark textarea {
  border-color: var(--vt-edge);
}
.vt-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 18px;
}
.vt-suggest-row { margin: 0 0 16px; }
.vt-suggest-row > button { width: auto; }
.vt-look-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.vt-look-col { min-width: 0; }
.vt-look-col img.vt-look-logo {
  width: 96px;
  height: 96px;
  margin: 0 0 8px;
}
.vt-look-col img.vt-look-full {
  width: auto;
  max-width: 100%;
  height: 64px;
}
.vt-look-modes .vt-colors {
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0 0;
}
@media (max-width: 860px) {
  .vt-look-modes { grid-template-columns: 1fr; }
}
.vt-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vt-logo-row > label { flex: 1; min-width: 0; margin: 0; }
.vt-logo-row input[type="file"],
.vt-logo-row > button {
  height: 44px;
  margin: 0;
  box-sizing: border-box;
}
.vt-logo-row input[type="file"] { display: block; padding: 8px 12px; }
.vt-logo-row > button { flex: none; padding: 0 16px; }
.vt-photo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}
.vt-photo-row img.vt-look-logo { width: 72px; height: 72px; margin: 0; }
label.vt-color {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px 92px;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0;
  font-weight: 650;
  color: var(--vt-text);
}
label.vt-color input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 3px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}
label.vt-color input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
label.vt-color input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 5px;
}
label.vt-color input[type="color"]::-moz-color-swatch { border: 0; border-radius: 5px; }
label.vt-color .vt-hex {
  width: 100%;
  margin: 0;
  padding: 6px 4px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
img.vt-look-logo {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
label { display: block; font-size: 13px; font-weight: 650; color: var(--vt-text); }
label:has(input[required]:not([type="hidden"]), select[required], textarea[required])::before,
label:has(+ input[required]:not([type="hidden"]), + select[required], + textarea[required])::before {
  content: "* ";
}
.field-error { color: var(--vt-danger); font-size: 13px; margin: -8px 0 12px; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: var(--vt-space-1); border-bottom: 1px solid var(--vt-line); }
th { color: var(--vt-muted); font-size: 12px; font-weight: 650; }
.empty, .error {
  padding: var(--vt-space-3);
  color: var(--vt-muted);
}
.error { color: var(--vt-danger); }
.skeleton {
  height: 14px;
  background: var(--vt-line);
  border-radius: 6px;
  margin: 8px 0;
}
.user-menu { position: relative; }
.user-menu summary {
  list-style: none;
  cursor: pointer;
  color: var(--vt-text);
}
.vt-avatar {
  display: inline-flex;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--vt-line);
  background: var(--vt-canvas);
  align-items: center;
  justify-content: center;
}
.vt-face {
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.vt-initials {
  font-size: 13px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  color: var(--vt-text);
}
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu { position: relative; width: 100%; }
.user-menu .menu {
  position: absolute;
  left: 8px;
  bottom: calc(100% + 8px);
  right: auto;
  background: var(--vt-card);
  color: var(--vt-text);
  border-radius: 16px;
  border: 1px solid var(--vt-line);
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
  z-index: 40;
}
.vt-menu-who {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 8px;
}
.vt-menu-who .meta { margin: 0; }
.vt-menu-name { margin: 0 0 2px; font-weight: 650; }
.theme-switch { display: flex; flex-direction: column; gap: 2px; }
details.theme-switch, details.lang-switch { display: inline-block; position: relative; }
.theme-switch button {
  background: transparent;
  color: var(--vt-text);
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.theme-switch button[aria-pressed="true"] {
  background: var(--vt-canvas);
  color: var(--vt-text);
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media (max-width: 640px) {
  header { flex-direction: column; align-items: flex-start; }
  header nav a { margin: 4px 12px 4px 0; }
}
.vt-legal-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 20px;
}
.vt-legal-switch a {
  color: var(--vt-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13.5px;
  font-weight: 600;
}
.vt-legal-switch a.is-current {
  color: var(--vt-text);
  text-decoration: none;
  font-weight: 700;
}
body[data-frame="legal"] main.vt-legal-page {
  max-width: 860px;
  margin: 48px auto 24px;
  padding: 0 20px 80px;
}
body[data-frame="legal"] .vt-legal-doc {
  padding: 28px 32px;
}
.vt-legal-body h2 {
  font-size: 18px;
  margin: 28px 0 10px;
}
.vt-legal-body p,
.vt-legal-body li {
  line-height: 1.55;
  margin: 0 0 10px;
}
.vt-legal-body ul { margin: 0 0 12px; padding-left: 1.2rem; }
.vt-legal-intro { font-weight: 650; }
.vt-legal-meta { color: var(--vt-muted); font-size: 13px; }
.vt-legal-foot { color: var(--vt-muted); font-size: 13px; }
.vt-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 0 0 16px;
}
.vt-legal-table th,
.vt-legal-table td {
  border: 1px solid var(--vt-line);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}
.vt-legal-table th { background: var(--vt-canvas); }
.vt-dock-pane[data-pane="legal"] .vt-legal-doc h1 {
  margin: 0 0 12px;
  font-size: 22px;
}
.vt-dock-pane[data-pane="legal"] .vt-legal-doc p {
  margin: 0;
  white-space: pre-wrap;
}
.site-footer {
  margin: 24px 16px 16px;
  padding: 12px 0 24px;
  color: var(--vt-muted);
  font-size: 13px;
  text-align: center;
}
body[data-frame="app"] .site-footer {
  margin: 0;
  padding: 0 16px;
}
.vt-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  background: var(--vt-canvas);
  color: var(--vt-text);
  font-size: 13.5px;
}
dialog.vt-modal:focus { outline: none; }
.vt-banner-scrim {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(15, 23, 42, 0.55);
}
.vt-banner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  width: min(460px, calc(100% - 32px));
  margin: 0;
  padding: 22px 24px;
  background: var(--vt-card);
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.28);
}
.vt-banner h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
.vt-banner p { margin: 0 0 12px; }
.vt-cookie-list {
  margin: 0 0 12px;
  padding-left: 18px;
}
.vt-cookie-list li { margin: 0 0 6px; }
.vt-cookie-more { font-size: 13px; }
.vt-cookie-more a { color: var(--vt-text); }
.site-footer a, .site-footer .vt-cookie-open {
  color: var(--vt-muted);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer a:hover, .site-footer .vt-cookie-open:hover { color: var(--vt-text); }
body[data-frame="app"] .site-footer a {
  color: var(--vt-muted);
  text-decoration: underline;
}
.vt-banner button { margin-right: 8px; }
.vt-banner button.primary {
  background: var(--vt-brand);
  color: var(--vt-on-brand);
}

.header-tools { display:flex; align-items:center; gap:10px; margin-left:auto; }
.vt-drop { position: relative; }
.vt-drop summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--vt-line);
  border-radius: 999px;
  background: var(--vt-card);
  color: var(--vt-text);
  font-size: 13px;
  font-weight: 650;
}
.vt-drop summary::-webkit-details-marker { display: none; }
.theme-switch summary { width: 36px; padding: 0; justify-content: center; }
.vt-drop .menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--vt-card);
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  min-width: 180px;
  padding: 6px;
  z-index: 6;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
}
.vt-drop .menu a, .vt-drop .menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--vt-text);
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 600;
}
.vt-drop .menu a:hover, .vt-drop .menu button:hover,
.vt-drop .menu button[aria-pressed="true"] { background: var(--vt-canvas); }
.vt-auth-help { width: auto; border: 1px solid var(--vt-line); border-radius: 999px; }
.vt-more { position: relative; display: inline-block; margin-left: 4px; }
.vt-more summary {
  list-style: none;
  cursor: pointer;
  color: var(--vt-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 10px;
}
.vt-more summary::-webkit-details-marker { display: none; }
.vt-more .menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--vt-card);
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  min-width: 180px;
  padding: 8px;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
}
.vt-more .menu a {
  color: var(--vt-text);
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
}
.vt-more .menu a:hover { background: var(--vt-canvas); }
.lang-switch { display:flex; align-items:center; gap:6px; }
.lang-switch a {
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--vt-line);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--vt-card);
  color: var(--vt-text);
  text-decoration: none;
}
.lang-switch a.is-current {
  background: var(--vt-primary);
  border-color: var(--vt-primary);
  color: var(--vt-on-primary);
}
.vw-tools { display:flex; justify-content:flex-end; margin-bottom:8px; }

.vt-profile h1 { margin: 0; font-size: 22px; }
.vt-profile h2 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--vt-muted); }
.vt-section {
  margin: 0 0 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--vt-line);
}
.vt-section:last-child { border-bottom: 0; padding-bottom: 0; }
.vt-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 96px;
  margin: 0;
}
.vt-area-actions .vt-save { margin: 0; }
.vt-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.vt-hero-text { flex: 1; min-width: 0; }
.vt-hero-text .meta { margin: 2px 0 0; }
.vt-ava-form {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0;
  flex: 0 0 72px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}
.vt-ava-form label {
  position: absolute;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.vt-ava-form input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.vt-face-lg, .vt-initials-lg {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
  background: var(--vt-canvas);
  border: 1px solid var(--vt-line);
}
.vt-ava-form .vt-face-lg {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 0;
}
.vt-ava-form .vt-initials-lg {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 0;
}
.vt-profile-main {
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  padding: 16px;
}
.vt-profile-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.vt-profile-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.vt-profile-col h2 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--vt-text);
}
.vt-profile-col label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.vt-profile-col input,
.vt-profile-col select { width: 100%; margin: 0; }
.vt-fold {
  border: 0;
  padding: 0;
  margin: 0 0 0 auto;
}
.vt-fold-link summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--vt-primary);
  list-style: none;
  border: 0;
}
.vt-fold-link[open] {
  position: absolute;
  right: 24px;
  top: 72px;
  z-index: 3;
  background: var(--vt-card);
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  padding: 12px;
  min-width: 280px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.vt-fold summary::-webkit-details-marker { display: none; }
.vt-profile { position: relative; }
.vt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.vt-grid .span-2 { grid-column: 1 / -1; }
.vt-half > * { grid-column: 1; }
.vt-password-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  align-items: start;
}
.vt-password-split .vt-stack { min-width: 0; }
.vt-password-split .vt-pw { width: 100%; }
.vt-password-split .vt-pw input { width: auto; min-width: 0; }
.vt-password-rules {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
}
.vt-password-rules .is-met { color: var(--vt-ok); }
.vt-password-rules .is-open { color: var(--vt-danger); }
.vt-money-read { margin: 4px 0 0; font-size: 14px; line-height: 1.4; }
.vt-money-read.is-met { color: var(--vt-ok); }
.vt-money-read.is-open { color: var(--vt-danger); }
.vt-area-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin: 8px 0 0;
}
.vt-profile .vt-grid label { margin: 0; }
.vt-profile .vt-grid input,
.vt-profile .vt-grid select {
  margin: 4px 0 0;
  width: 100%;
}
.vt-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: end;
  margin: 4px 0 16px;
}
.vt-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0;
}
.vt-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.vt-checks:has(input[type="checkbox"]) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  align-items: center;
}
.vt-tick {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  box-sizing: border-box;
  min-height: 40px;
  margin: 0;
  font-weight: 500;
}
.vt-tick input { width: auto; margin: 0; }
.vt-keys-head .vt-tick {
  width: auto;
  min-height: 0;
  justify-content: flex-start;
  gap: 6px;
}
.vt-reach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 0 0 12px;
}
.vt-reach label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  min-height: 40px;
  font-weight: 500;
}
.vt-reach input { width: auto; margin: 0; }
fieldset.vt-reach { border: 0; margin: 12px 0; padding: 0; }
fieldset.vt-reach legend { grid-column: 1 / -1; padding: 0; }
.vt-mini { margin: 0; font-size: 13px; }
.vt-mini select { margin: 4px 0 0; min-width: 120px; }
.vt-pay { margin-top: 4px; }
.vt-pay-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.vt-pay-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.muted { color: var(--vt-muted); }
button.linkish {
  background: none;
  border: 0;
  color: var(--vt-primary);
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.vt-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.vt-inline input { width: auto; flex: 1; min-width: 100px; margin: 0; }
.vt-inline button { margin: 0; }
@media (max-width: 640px) {
  .vt-grid { grid-template-columns: 1fr; }
  .vt-reach { grid-template-columns: 1fr; }
  .vt-checks:has(input[type="checkbox"]) { grid-template-columns: 1fr; }
  .vt-password-split { grid-template-columns: 1fr; }
  .vt-totp-setup { grid-template-columns: 1fr; }
  .vt-profile-split { grid-template-columns: 1fr; }
  .vt-hero { flex-wrap: wrap; }
}

main.vt-auth {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  margin: 0;
  padding: 24px 16px 72px;
}
main.vt-auth .vt-auth-card {
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding: 28px 24px;
}
main.vt-auth h1 {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--vt-line);
  font-size: 26px;
  font-weight: 700;
}
.vt-lede {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--vt-muted);
  font-weight: 400;
}
main.vt-main > .vt-lede { max-width: 640px; }
.vt-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.vt-label-row label { margin: 0; }
.vt-label-row a { font-size: 13px; font-weight: 600; }
.vt-auth-card .vt-save { width: 100%; margin: 8px 0 0; }
.vt-auth-terms { display: block; margin: 4px 0 0; font-size: 13px; font-weight: 650; }
.vt-demo { margin-top: 16px; color: var(--vt-muted); font-size: 13px; }
.vt-demo summary { cursor: pointer; }
.vt-help {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 8;
  margin: 0;
}
.vt-help-fab {
  list-style: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--vt-line);
  background: var(--vt-card);
  color: var(--vt-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.vt-help-fab::-webkit-details-marker { display: none; }
.vt-help-panel {
  position: absolute;
  right: 0;
  bottom: 52px;
  width: min(360px, calc(100vw - 32px));
  background: var(--vt-card);
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}
.vt-help:not([open]) .vt-help-panel { display: none; }
.help-article { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.help-answer {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--vt-canvas);
}
.vt-help-close {
  float: right;
  margin: -4px -4px 8px 8px;
  background: transparent;
  border: 1px solid var(--vt-line);
  color: var(--vt-text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}
.theme-switch button[aria-pressed="true"] {
  background: var(--vt-canvas);
  color: var(--vt-text);
}

main.vt-main, main.vt-auth { position: relative; }
main.vt-main { padding-bottom: 24px; }
.card { position: relative; }
.vt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.vt-chips a,
.vt-chips button {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--vt-line);
  border-radius: 999px;
  background: transparent;
  color: var(--vt-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.vt-chips a.is-on,
.vt-chips button.is-on {
  border-color: var(--vt-text);
  color: var(--vt-text);
  background: var(--vt-canvas);
}
.vt-feedback select[name="kind"] {
  width: 100%;
  margin: 0 0 10px;
}
.vt-kind {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  text-align: left;
  background: var(--vt-card);
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
}
.vt-kind.is-on {
  border-color: var(--vt-primary);
  background: color-mix(in srgb, var(--vt-primary) 12%, var(--vt-card));
}
.vt-kind-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 650;
}
.vt-kind-chip [data-kind-chip-label] {
  border: 1px solid var(--vt-line);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--vt-canvas);
}
.vt-text-btn {
  background: transparent;
  color: var(--vt-muted);
  border: 0;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.vt-priority-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 4px;
  font-size: 13px;
  font-weight: 650;
}
.vt-priority-wrap[hidden] { display: none; }
.vt-pri {
  background: transparent;
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 999px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
}
.vt-pri.is-on {
  border-color: var(--vt-text);
  background: var(--vt-canvas);
}
.vt-feedback-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.vt-feedback-mail {
  margin: 14px 0 2px;
  color: var(--vt-text);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.4;
}
.vt-feedback-mail a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vt-feedback-fields label { display: block; margin: 10px 0 4px; }
.vt-feedback-fields input,
.vt-feedback-fields textarea,
.vt-feedback-fields select { width: 100%; }
.vt-attach-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vt-file-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}
.vt-file-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.vt-shot-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
}
.vt-shot-box[hidden] { display: none; }
.vt-shot-preview {
  display: block;
  width: 96px;
  height: 64px;
  object-fit: cover;
  margin: 0;
  border: 1px solid var(--vt-line);
  border-radius: 8px;
  background: var(--vt-canvas);
  flex: 0 0 96px;
  cursor: zoom-in;
}
.vt-shot-preview[hidden] { display: none; }
.vt-shot-box .help { margin: 0; }
.vt-feedback-ask { font-weight: 650; }
.vt-help {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 8;
}
.vt-help-fab {
  background: var(--vt-card);
  color: var(--vt-text);
  border: 1px solid var(--vt-text);
}
.vt-stack label { display: block; margin: 0 0 12px; }
.vt-stack input { margin: 4px 0 0; }
.vt-pw {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vt-pw input { flex: 1; margin: 4px 0 0; }
.vt-eye {
  margin: 4px 0 0;
  background: transparent;
  color: var(--vt-muted);
  border: 1px solid var(--vt-line);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 40px;
}
.vt-checks { margin: 0 0 12px; }

body[data-frame="auth"] .vt-mark { display: none; }

/* §59 application shell */
body[data-frame="app"] { height: 100vh; overflow: hidden; }
html:has(body[data-frame="app"]) { height: 100%; overflow: hidden; }
div.vt-app {
  min-height: 100vh;
  display: flex;
}
body[data-frame="app"] .vt-app {
  height: 100vh;
  max-height: 100vh;
  min-height: 0;
  overflow: hidden;
}
body[data-frame="app"] .vt-col {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}
body[data-frame="app"] .vt-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
body[data-frame="app"] main.vt-main {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#vt-app .card > h1:first-child,
#vt-app .vt-dash > h1:first-child,
#vt-app h1.vt-dash-title {
  display: block;
  width: fit-content;
  margin: 0 0 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--vt-brand);
}
.vt-keys { position: relative; }
.vt-assistant-pick { margin: 0 0 12px; }
.vt-ai-setup form { display: flex; flex-direction: column; gap: 16px; max-width: 40rem; }
.vt-ai-setup fieldset { border: 1px solid var(--vt-line); border-radius: 8px; padding: 12px; margin: 0; }
.vt-ai-setup legend { font-weight: 600; padding: 0 6px; }
.vt-ai-setup .vt-ai-check { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
.vt-ai-setup .vt-ai-check input { width: auto; margin: 0; }
.vt-ai-setup fieldset input[name="rule"] { width: 100%; margin: 8px 0 0; }
.vt-brief { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--vt-line); border-radius: 8px; }
.vt-packages form { display: flex; flex-direction: column; gap: 16px; }
.vt-packages-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vt-packages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vt-packages fieldset { border: 1px solid var(--vt-line); border-radius: 8px; padding: 12px; margin: 0; }
.vt-packages legend { font-weight: 600; padding: 0 6px; text-transform: capitalize; }
.vt-packages .vt-ai-check { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
.vt-packages .vt-ai-check input { width: auto; margin: 0; }
.vt-packages .vt-key-row { justify-content: flex-end; }
@media (max-width: 900px) {
  .vt-packages-grid, .vt-packages-caps { grid-template-columns: 1fr; }
}
.vt-keys-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  position: relative;
}
.vt-pulse { margin: 0 0 12px; font-weight: 700; }
.vt-pulse.is-live { color: var(--vt-ok); }
.vt-pulse.is-quiet { color: var(--vt-warn); }
.vt-pulse.is-never { color: var(--vt-muted); }
.vt-seen { display: flex; flex-direction: column; gap: 4px; }
.vt-key-search {
  flex: 1 1 220px;
  max-width: 420px;
  margin: 0;
}
.vt-list-filter {
  flex: 0 0 160px;
  margin: 0;
  height: 36px;
}
.vt-tpl { display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
.vt-tpl-frame { flex: 1 1 auto; width: 100%; min-height: 280px; border: 1px solid var(--vt-line); background: #fff; }
.vt-quote-frame { width: 100%; height: 80vh; min-height: 640px; border: 1px solid var(--vt-line); background: #fff; }
.vt-tpl-edit { display: flex; flex-direction: column; gap: 8px; }
.vt-tpl-edit textarea { min-height: 160px; font-family: ui-monospace, monospace; }
.vt-tpl-edit .vt-pop-actions { display: flex; justify-content: flex-end; }
.vt-key-add-wrap { position: relative; margin-left: auto; }
.vt-key-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 400px;
  z-index: 20;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  background: var(--vt-card);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vt-key-panel[hidden] { display: none !important; }
.vt-key-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--vt-muted);
}
.vt-key-panel input {
  width: 100%;
  margin: 0;
}
.vt-key-panel .vt-pw {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.vt-key-panel .vt-pw input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
}
.vt-key-panel .vt-eye {
  margin: 0;
  flex: 0 0 auto;
}
.vt-key-panel .vt-key-row {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.vt-key-panel .vt-key-copy { margin-right: auto; }
.vt-keys-table { overflow-x: auto; }
.vt-inv-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
button.vt-kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  color: inherit;
  font: inherit;
  width: 100%;
  cursor: pointer;
}
.vt-keys-table tr.is-on td {
  background: color-mix(in srgb, var(--vt-primary) 12%, transparent);
}
.vt-user-grant { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0; }
.vt-user-grant form { margin: 0; }
.vt-keys-table tbody tr:hover td {
  background: color-mix(in srgb, var(--vt-primary) 8%, transparent);
}
.vt-key-log { margin-top: 8px; }
.vt-key-log .vt-field-label { margin: 0 0 6px; }
.vt-keys-table table { width: max-content; min-width: 100%; }
.vt-keys-table td { vertical-align: middle; }
.vt-keys-table td:last-child { white-space: nowrap; }
.vt-key-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}
.vt-key-row input.vt-key-secret,
.vt-key-add input.vt-key-secret {
  width: 180px;
  min-width: 160px;
  flex: 0 0 180px;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.vt-key-note {
  width: 180px;
  min-width: 140px;
  margin: 0;
}
.vt-key-row input[type="password"] {
  width: 180px;
  margin: 0;
}
.vt-probe-pop {
  width: min(720px, 92vw);
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  background: var(--vt-card);
  color: var(--vt-text);
  padding: 20px;
}
dialog.vt-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  max-height: min(86vh, 720px);
  overflow: auto;
  color: var(--vt-text);
  background: var(--vt-card);
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
  z-index: 40;
}
dialog.vt-modal:not([open]) { display: none; }
dialog.vt-modal[open] {
  display: flex;
  flex-direction: column;
}
body[data-frame="app"] dialog.vt-modal {
  top: 72px;
  bottom: 56px;
  left: 220px;
  right: 16px;
  width: min(440px, calc(100vw - 220px - 48px));
  max-width: calc(100vw - 220px - 48px);
  max-height: calc(100vh - 140px);
}
body[data-frame="app"].rail-collapsed dialog.vt-modal {
  left: 64px;
  width: min(440px, calc(100vw - 64px - 48px));
  max-width: calc(100vw - 64px - 48px);
}
body[data-frame="app"]:not([data-dock="closed"]) dialog.vt-modal {
  right: calc(var(--vt-dock-w, 360px) + 16px);
  width: min(440px, calc(100vw - 220px - var(--vt-dock-w, 360px) - 48px));
  max-width: calc(100vw - 220px - var(--vt-dock-w, 360px) - 48px);
}
body[data-frame="app"].rail-collapsed:not([data-dock="closed"]) dialog.vt-modal {
  left: 64px;
  width: min(440px, calc(100vw - 64px - var(--vt-dock-w, 360px) - 48px));
  max-width: calc(100vw - 64px - var(--vt-dock-w, 360px) - 48px);
}
dialog.vt-modal::backdrop { background: rgba(0,0,0,.45); }
dialog#vt-login-code {
  inset: auto;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: min(340px, calc(100vw - 32px));
  height: auto;
  max-height: none;
  margin: 0;
}
dialog#vt-login-code form { flex: 0 0 auto; }
dialog#vt-login-code h1 { font-size: 22px; margin-bottom: 12px; }
dialog.vt-key-panel form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.vt-probe-log {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.45;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--vt-line);
  background: var(--vt-card);
  color: var(--vt-text);
  overflow: auto;
  max-height: 280px;
}
.vt-probe-ok { border-color: var(--vt-ok); }
.vt-probe-fail { border-color: var(--vt-warn); }
tr.is-probed td { background: color-mix(in srgb, var(--vt-primary) 10%, transparent); }
.vt-rail {
  width: 220px;
  flex: 0 0 220px;
  background: var(--vt-rail);
  border-right: 1px solid var(--vt-line);
  display: flex;
  flex-direction: column;
  padding: 14px 10px;
}
body[data-frame="auth"] .vt-rail { display: none; }
body.rail-collapsed .vt-rail { width: 64px; flex-basis: 64px; align-items: center; padding: 14px 8px; }
body.rail-collapsed .vt-rail-nav { width: 100%; align-items: center; }
body.rail-collapsed .vt-rail-nav a { width: 40px; margin: 0 auto; padding: 8px 0; justify-content: center; }
body.rail-collapsed .vt-mark { font-size: 0; gap: 0; }
body.rail-collapsed .vt-rail-head { justify-content: center; margin-bottom: 8px; }
body.rail-collapsed .vt-control-badge,
body.rail-collapsed .vt-rail-label,
body.rail-collapsed .vt-account-name,
body.rail-collapsed .vt-mark,
body.rail-collapsed .vt-ico-in { display: none; }
body.rail-collapsed .vt-ico-out { display: block; }
body[data-frame="app"] .vt-rail {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: visible;
  position: relative;
  z-index: 30;
}
body[data-frame="app"] .vt-col { position: relative; z-index: 1; }
.vt-rail-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; min-height: 0; overflow: auto; }
.vt-rail-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vt-muted);
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.vt-rail-nav .is-disabled {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vt-muted);
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0.4;
  pointer-events: none;
}
.vt-nav-ico { flex: 0 0 18px; display: block; }
.vt-rail-nav a.is-current, .vt-rail-nav a[aria-current="page"] {
  background: var(--vt-canvas);
  color: var(--vt-text);
}
html.theme-dark .vt-rail-nav a.is-current,
html.theme-dark .vt-rail-nav a[aria-current="page"],
html.theme-dark .vt-plugins.is-current {
  background: var(--vt-rail-on);
  color: var(--vt-text);
}
.vt-rail-fold { display: flex; flex-direction: column; gap: 2px; }
.vt-rail-fold-head { display: flex; align-items: center; gap: 0; }
.vt-rail-fold-head > a,
.vt-rail-fold-head > .is-disabled,
.vt-rail-fold-title {
  flex: 1;
  min-width: 0;
}
.vt-rail-fold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 28px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--vt-muted);
  border-radius: 8px;
}
.vt-fold-chevron { display: block; transition: transform .15s ease; }
.vt-rail-fold.is-shut .vt-fold-chevron { transform: rotate(-90deg); }
.vt-rail-fold.is-shut .vt-rail-fold-items { display: none; }
.vt-rail-fold-items { display: flex; flex-direction: column; gap: 2px; }
.vt-rail-fold-items a,
.vt-rail-fold-items .is-disabled { padding-left: 32px; }
body.rail-collapsed .vt-rail-fold-btn { display: none; }
body.rail-collapsed .vt-rail-fold.is-shut .vt-rail-fold-items { display: flex; }
body.rail-collapsed .vt-rail-fold-items a,
body.rail-collapsed .vt-rail-fold-items .is-disabled { padding-left: 0; }
.vt-rail-foot { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; width: 100%; }
.vt-rail-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 2px 10px;
  margin: 0 0 4px;
  border-bottom: 1px solid var(--vt-line);
}
.vt-plugins,
.vt-rail-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--vt-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  opacity: 1;
  cursor: pointer;
  text-decoration: none;
}
.vt-plugins.is-current { color: var(--vt-text); background: var(--vt-canvas); }
.vt-pop { position: relative; width: 100%; }
.vt-pop-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--vt-line);
  border-radius: 999px;
  background: var(--vt-card);
  color: var(--vt-text);
  font-size: 13px;
  font-weight: 650;
  font-family: inherit;
  list-style: none;
  cursor: pointer;
}
.vt-pop-btn::-webkit-details-marker { display: none; }
.vt-theme-pop .vt-pop-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  margin-left: 0;
  margin-right: auto;
}
.vt-pop > .menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: min(240px, 70vw);
  background: var(--vt-card);
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
  z-index: 12;
}
.vt-theme-pop > .menu { width: 168px; }
.vt-lang-pop > .menu { width: 220px; }
.vt-lang-pop .lang-switch {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.vt-lang-pop .lang-switch a {
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 8px 10px;
}
.vt-lang-pop .lang-switch a.is-current {
  background: var(--vt-canvas);
  border: 0;
  color: var(--vt-text);
}
.vt-lang-search {
  width: 100%;
  margin: 0 0 6px;
  padding: 8px 10px;
  border: 1px solid var(--vt-primary);
  border-radius: 10px;
  background: var(--vt-card);
  color: var(--vt-text);
  font-family: inherit;
  font-size: 13.5px;
}
.vt-lang-search::placeholder {
  font-family: inherit;
  color: var(--vt-muted);
}
.vt-pop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--vt-text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
}
.vt-pop-row:hover { background: var(--vt-canvas); }
.vt-pop-row.is-on { font-weight: 750; }
.vt-pop-check { margin-left: auto; color: var(--vt-primary); }
.theme-switch { display: flex; flex-direction: column; gap: 2px; }
body.rail-collapsed .vt-plugins,
body.rail-collapsed .vt-rail-feedback {
  width: 40px;
  margin: 0 auto;
  padding: 8px 0;
  justify-content: center;
}
body.rail-collapsed .vt-lang-pop .vt-pop-btn { justify-content: center; padding: 8px 0; font-size: 0; }
body.rail-collapsed .vt-lang-pop .vt-pop-btn span { font-size: 16px; }
body.rail-collapsed .vt-theme-pop .vt-pop-btn { margin: 0 auto; }
body.rail-collapsed .vt-rail-tools { padding: 0; border: 0; }
.vt-rail-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.vt-rail-ver { font-size: 12px; }
body.rail-collapsed .vt-rail-ver { display: none; }
.vt-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  width: 100%;
}
.vt-rail .vt-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  min-height: 36px;
}
.vt-rail-head .vt-rail-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  flex: 0 0 44px;
}
.vt-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 0;
  display: block;
}
.vt-logo-lg { width: 72px; height: 72px; border-radius: 0; }
.vt-logo-dark { display: none; }
html.theme-dark .vt-logo-light { display: none; }
html.theme-dark .vt-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  html.theme-system .vt-logo-light { display: none; }
  html.theme-system .vt-logo-dark { display: block; }
}
.vt-control-badge { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--vt-muted); }
.vt-account-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 8px;
  border-radius: 12px;
  cursor: pointer;
}
.vt-account-chip:hover { background: var(--vt-canvas); }
.vt-account-name {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--vt-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vt-account-menu form { margin: 0; }
.vt-account-menu a,
.vt-account-menu button,
.vt-account-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  color: var(--vt-text);
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.vt-account-menu a:hover,
.vt-account-menu button:hover,
.vt-account-menu summary:hover { background: var(--vt-canvas); }
.vt-fly { position: relative; }
.vt-fly > .menu {
  position: absolute;
  left: calc(100% + 8px);
  bottom: 0;
  min-width: 180px;
  background: var(--vt-card);
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
  z-index: 9;
}
.vt-fly > .menu button {
  width: 100%;
  height: auto;
  white-space: nowrap;
  border: 0;
  justify-content: flex-start;
  padding: 8px 10px;
}
body.rail-collapsed .vt-rail-toggle {
  width: 44px; height: 44px; padding: 0; justify-content: center;
  border: 1px solid var(--vt-line);
}
.vt-account-menu .lang-switch {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
}
.vt-account-menu .lang-switch a {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--vt-text);
  padding: 8px 10px;
}
.vt-account-menu .lang-switch a.is-current {
  background: var(--vt-canvas);
  color: var(--vt-text);
}
.vt-chev { color: var(--vt-muted); font-weight: 500; }
.vt-rail-toggle, .vt-help-fab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  color: var(--vt-text);
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 600;
  text-align: left;
}
.vt-rail-toggle:hover, .vt-help-fab:hover { background: var(--vt-canvas); }
.vt-help-fab .vt-ico {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex: 0 0 22px;
}
.vt-ico-out { display: none; }
.vt-col { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
body[data-frame="app"] .vt-col { min-height: 0; overflow: hidden; }
body[data-frame="app"] .vt-body { overflow: hidden; min-height: 0; }
body[data-frame="app"] header.vt-shell {
  position: relative;
  flex: 0 0 auto;
  display: block;
  padding: 8px 56px 8px 16px;
}
body[data-frame="app"] .vt-ai {
  display: flex;
  gap: 8px;
  align-items: center;
  width: min(560px, 100%);
  margin: 0 auto;
}
body[data-frame="app"] .header-tools {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
}
.vt-ai input { margin: 0; flex: 1 1 auto; width: auto; min-width: calc(12ch + 28px); border-radius: 999px; }
.vt-ai button { padding: 8px 16px; border-radius: 999px; }
.vt-dock-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--vt-line);
  background: var(--vt-card);
  color: var(--vt-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vt-dock-toggle.is-on,
.vt-dock-toggle[aria-pressed="true"] {
  border-color: var(--vt-text);
}
.vt-body {
  flex: 1;
  display: flex;
  min-height: 0;
}
body[data-frame="app"] main.vt-main {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  max-width: none;
  margin: 0;
  padding: 20px 24px 24px;
  overflow-y: auto;
}
.vt-dock {
  --vt-dock-w: 360px;
  width: var(--vt-dock-w);
  max-width: var(--vt-dock-w);
  flex: 0 0 var(--vt-dock-w);
  border-left: 1px solid var(--vt-line);
  background: var(--vt-rail);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 35;
}
.vt-dock-resize {
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 8px;
  cursor: col-resize;
  z-index: 5;
}
.vt-dock-resize:hover,
body.vt-dock-dragging .vt-dock-resize {
  background: color-mix(in srgb, var(--vt-primary) 45%, transparent);
}
html.theme-dark .vt-dock {
  background: var(--vt-card);
}
.vt-dock[hidden] { display: none; }
.vt-dock-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--vt-line);
  align-items: center;
  min-width: 0;
  overflow: hidden;
}
.vt-dock-scroll {
  display: flex;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
}
.vt-dock-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex: 0 0 auto;
}
.vt-dock-full,
.vt-dock-x,
.vt-help-edit {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--vt-line);
  background: var(--vt-card);
  color: var(--vt-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.vt-help-edit { display: none; }
body[data-dock="help"] .vt-help-edit { display: inline-flex; }
.vt-help-edit-form textarea {
  width: 100%;
  min-height: 160px;
  margin: 0 0 12px;
}
.vt-dock-full[aria-pressed="true"] { border-color: var(--vt-text); }
.vt-dock-ico-side { display: none; }
body.dock-full .vt-dock-ico-full { display: none; }
body.dock-full .vt-dock-ico-side { display: block; }
body.dock-full main { display: none; }
body.dock-full .vt-dock {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
}
.vt-dock-tabs button {
  background: transparent;
  color: var(--vt-muted);
  border: 0;
  padding: 6px 10px;
}
.vt-dock-tabs button.is-on { color: var(--vt-text); font-weight: 700; }
.vt-dock-pane { padding: 12px 14px; overflow: auto; flex: 1; }
.vt-dock-pane[hidden] { display: none !important; }
.vt-dock-pane[data-pane="ask"]:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vt-ask-log {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.vt-ask-prep {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--vt-text);
}
.vt-ask-q {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 650;
  color: var(--vt-text);
}
.vt-ask-a {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--vt-muted);
}
.vt-ask-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: -6px 0 14px;
}
.vt-ask-offer p {
  margin: 0 auto 0 0;
  font-size: 13px;
  color: var(--vt-text);
}
.vt-dock-foot {
  flex: 0 0 auto;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--vt-line);
}
.vt-dock-foot .vt-help-close {
  float: none;
  width: 100%;
  margin: 0;
  background: transparent;
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 650;
  font-size: 14px;
}
.vt-widget-preview {
  width: 100%;
  height: 520px;
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  background: var(--vt-canvas);
}
.vt-brand-stage { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.vt-brand-modes { display: flex; gap: 8px; }
.vt-brand-modes button {
  border: 1px solid var(--vt-line);
  background: var(--vt-card);
  color: var(--vt-text);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 650;
}
.vt-brand-modes button.is-on { background: var(--vt-primary); color: var(--vt-on-primary); border-color: var(--vt-primary); }
.vt-brand-mock {
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand-bg, #F6F3EE);
  color: var(--brand-text, #10232D);
  border: 1px solid var(--brand-line, #E4DDD4);
}
.vt-brand-mock header { height: 72px; background: var(--brand-primary, #10232D); }
.vt-brand-mock article { margin: 16px; padding: 16px; border-radius: 12px; background: var(--brand-panel, #fff); }
.vt-brand-mock button {
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  background: var(--brand-ok, var(--brand-accent, #6D9FAD));
  color: var(--brand-on-brand, #10232D);
}
.vt-dock-pane[data-pane="site"]:not([hidden]) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.vt-site { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.vt-site-frame {
  width: 100%;
  flex: 1 1 auto;
  min-height: 480px;
  height: 68vh;
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  background: #fff;
}
.vt-site-note {
  margin: 8px 0 0;
  color: var(--vt-muted);
  font-size: 13px;
  font-weight: 500;
}
.vt-site.is-miss {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 8px 4px 16px;
}
.vt-site-url {
  margin: 0;
  font-weight: 650;
  word-break: break-all;
}
.vt-kpi.is-done .vt-kpi-n { color: var(--vt-ok); }
.vt-kpi.is-todo .vt-kpi-n { color: var(--vt-danger); }
.vt-kpi.is-static:hover { border-color: var(--vt-line); }
body[data-frame="app"] .site-footer {
  position: relative;
  z-index: 36;
  flex: 0 0 auto;
  margin-top: auto;
  margin-bottom: 0;
  text-align: left;
  padding: 0 16px;
  border-top: 1px solid var(--vt-line);
  background: var(--vt-canvas);
  pointer-events: auto;
}
body[data-frame="app"] .site-footer.vt-app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body[data-frame="app"] .vt-foot-legal {
  min-width: 0;
  flex: 1;
}
body[data-frame="app"] .vt-app-foot .vt-ver {
  font-size: 13px;
  line-height: inherit;
  padding: 0;
}
body[data-frame="app"] .vt-foot-chrome {
  position: static;
  right: auto;
  bottom: auto;
  align-self: center;
}
.vt-foot-chrome {
  position: fixed;
  right: 16px;
  bottom: 8px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.vt-foot-chrome .vt-pop { width: auto; }
.vt-ver {
  font-size: 12px;
  line-height: 1;
  color: var(--vt-muted);
  white-space: nowrap;
}
.vt-foot-chrome .vt-theme-pop .vt-pop-btn,
.vt-foot-chrome .vt-lang-pop .vt-pop-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  margin: 0;
  border-radius: 999px;
}
.vt-foot-chrome .vt-pop > .menu {
  left: auto;
  right: 0;
}
body[data-frame="app"] .site-footer a,
body[data-frame="app"] .site-footer .vt-cookie-open {
  display: inline-block;
  padding: 6px 4px;
  position: relative;
  z-index: 7;
}
.vt-action-bar {
  position: static;
  background: transparent;
  padding: 0;
  z-index: 2;
}
body[data-frame="auth"] .vt-ai { display: none; }
body[data-frame="auth"] .vt-col { min-height: 100vh; }
body[data-frame="auth"] .vt-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}
body[data-frame="auth"] main.vt-main {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}
body[data-frame="auth"] .vt-dock,
body[data-frame="auth"] [data-dock-panel] { display: none !important; }
body[data-frame="auth"] .vt-help-fab { position: static; }
body[data-frame="auth"] .vt-rail-foot .vt-rail-toggle { display: none; }
/* auth still needs a help opener — reuse fab from a floating copy via header */
body[data-frame="auth"] header.vt-shell { display: none; }

.vt-auth-wrap {
  width: min(400px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vt-auth-wrap:has(.vt-password-split) { width: min(760px, 100%); }
.vt-auth-wrap #vt-app,
.vt-auth-wrap .vt-auth-card { width: 100%; }
.vt-auth-window { position: relative; width: 100%; }
body[data-frame="auth"] .vt-auth-card { padding-bottom: 40px; }
body[data-frame="auth"] .vt-auth-card h1 { padding-right: 112px; padding-bottom: 28px; }
body[data-frame="auth"] .vt-auth-window .card {
  padding-bottom: 44px;
}
body[data-frame="auth"] .vt-auth-window .card p {
  padding-right: 112px;
  white-space: normal;
  overflow-wrap: break-word;
}
body[data-frame="auth"] .vt-foot-chrome {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
body[data-frame="auth"] .vt-foot-chrome .vt-pop,
body[data-frame="auth"] .vt-foot-chrome .vt-ver { pointer-events: auto; }
body[data-frame="auth"] .vt-foot-chrome .vt-theme-pop {
  position: absolute;
  top: 16px;
  right: 64px;
}
body[data-frame="auth"] .vt-foot-chrome .vt-lang-pop {
  position: absolute;
  top: 16px;
  right: 16px;
}
body[data-frame="auth"] .vt-foot-chrome .vt-ver {
  position: absolute;
  top: auto;
  right: 18px;
  bottom: 14px;
}
body[data-frame="auth"] .vt-foot-chrome .vt-pop > .menu {
  bottom: auto;
  top: calc(100% + 8px);
}
.vt-brand-lg {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--vt-text);
}
.vt-brand-lg .vt-dot { width: 14px; height: 14px; }
.vt-auth-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--vt-muted);
}
.vt-auth-foot a { color: var(--vt-muted); }
.vt-who-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
}
.vt-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
.vt-who .vt-face,
.vt-who .vt-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 44px;
  background: color-mix(in srgb, var(--vt-muted) 22%, var(--vt-card));
  line-height: 44px;
}
.vt-who strong { display: block; font-size: 15px; }
.vt-who .meta { margin: 2px 0 0; }
.vt-switch { font-size: 13px; font-weight: 650; }
.vt-seed {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--vt-line);
}
.vt-seed .help { margin: 0 0 8px; }
.vt-seed-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vt-seed-row form { margin: 0; }
.vt-seed-row button {
  background: transparent;
  color: var(--vt-text);
  border: 1px solid var(--vt-line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 650;
}

.vt-qr {
  width: 180px;
  height: 180px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
}
.vt-totp-setup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  align-items: start;
}
.vt-totp-side { min-width: 0; }
.vt-totp-side input { width: 100%; }
.vt-area {
  --vt-area-pad: 16px;
  --vt-area-mark: 14px;
  --vt-area-gap: 12px;
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  background: var(--vt-card);
  margin: 8px 0 0;
}
.vt-area-sum {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--vt-area-gap);
  list-style: none;
  cursor: pointer;
  padding: 12px var(--vt-area-pad);
  font-weight: 650;
}
.vt-area-sum::-webkit-details-marker { display: none; }
.vt-area-chevron {
  display: block;
  flex: 0 0 auto;
  width: var(--vt-area-mark);
  height: var(--vt-area-mark);
  color: var(--vt-muted);
  transition: transform .15s ease;
  transform: rotate(-90deg);
}
.vt-area[open] > .vt-area-sum .vt-area-chevron { transform: none; }
.vt-area-body {
  padding: 0 var(--vt-area-pad) 8px calc(var(--vt-area-pad) + var(--vt-area-mark) + var(--vt-area-gap));
}
.vt-area-body > form > .vt-grid { margin-bottom: 0; }
.vt-area-actions .vt-save,
.vt-area-actions .btn-ghost {
  width: auto;
  flex: 0 0 auto;
  min-height: 40px;
  margin: 0;
}
.vt-area-actions .vt-spot > summary {
  width: 40px;
  height: 40px;
}
.vt-spot { position: relative; display: inline-block; }
.vt-spot > summary {
  list-style: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--vt-line);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--vt-muted);
  background: transparent;
}
.vt-spot > summary::-webkit-details-marker { display: none; }
.vt-spot > p {
  position: absolute;
  right: 0;
  left: auto;
  bottom: 48px;
  z-index: 4;
  width: min(280px, 70vw);
  padding: 10px 12px;
  border: 1px solid var(--vt-line);
  border-radius: 10px;
  background: var(--vt-card);
  font-weight: 400;
  font-size: 13px;
  color: var(--vt-text);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--vt-text) 12%, transparent);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--vt-line);
  color: var(--vt-text);
  background: transparent;
}
.vt-dash .vt-crumb {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--vt-muted);
}
.vt-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--vt-space-2);
  margin: 0 0 var(--vt-space-3);
}
.vt-kpi {
  position: relative;
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  background: var(--vt-card);
  color: var(--vt-text);
}
.vt-kpi:hover { border-color: var(--vt-primary); }
.vt-kpi.is-done:hover,
.vt-kpi.is-done:focus-within,
.vt-kpi.is-static.is-done:hover,
.vt-kpi.is-static.is-done:focus-within {
  border-color: var(--vt-ok);
  outline: 2px solid var(--vt-ok);
  outline-offset: 1px;
}
.vt-kpi.is-todo:hover,
.vt-kpi.is-todo:focus-within,
.vt-kpi.is-static.is-todo:hover,
.vt-kpi.is-static.is-todo:focus-within {
  border-color: var(--vt-danger);
  outline: 2px solid var(--vt-danger);
  outline-offset: 1px;
}
.vt-kpi.is-done > a,
.vt-kpi.is-done .vt-kpi-kicker { color: var(--vt-ok); }
.vt-kpi.is-todo > a,
.vt-kpi.is-todo .vt-kpi-kicker { color: var(--vt-danger); }
.vt-kpi.is-done > a:focus,
.vt-kpi.is-todo > a:focus { outline: none; }
.vt-kpi:not(.is-static) { cursor: pointer; }
.vt-kpi > a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.vt-kpi-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--vt-muted);
}
.vt-kpi-n {
  margin: 8px 0 4px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  white-space: pre-line;
}
.vt-kpi-label {
  margin: 0;
  font-size: 13px;
  color: var(--vt-text);
}
.vt-att-list { list-style: none; margin: 0; padding: 0; }
.vt-att-list li {
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--vt-line);
}
.vt-att {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}
.vt-att:hover { color: var(--vt-primary); }
.vt-attention h2 { margin-top: 0; font-size: 16px; }
@media (max-width: 800px) {
  .vt-kpis { grid-template-columns: 1fr 1fr; }
}

.vt-shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: color-mix(in srgb, #000 62%, transparent);
}
.vt-shot-lightbox img {
  max-width: min(960px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  background: var(--vt-card);
  box-shadow: 0 16px 48px color-mix(in srgb, #000 40%, transparent);
}
.vt-shot-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--vt-line);
  background: var(--vt-card);
  color: var(--vt-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.vt-toast-host {
  position: fixed;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(440px, calc(100vw - 32px));
  pointer-events: none;
}
body[data-frame="app"] .vt-toast-host {
  left: calc(220px + (100vw - 220px) / 2);
  width: min(440px, calc(100vw - 220px - 32px));
}
body[data-frame="app"].rail-collapsed .vt-toast-host {
  left: calc(64px + (100vw - 64px) / 2);
  width: min(440px, calc(100vw - 64px - 32px));
}
body[data-frame="app"]:not([data-dock="closed"]) .vt-toast-host {
  left: calc(220px + (100vw - 220px - var(--vt-dock-w, 360px)) / 2);
  width: min(440px, calc(100vw - 220px - var(--vt-dock-w, 360px) - 32px));
}
body[data-frame="app"].rail-collapsed:not([data-dock="closed"]) .vt-toast-host {
  left: calc(64px + (100vw - 64px - var(--vt-dock-w, 360px)) / 2);
  width: min(440px, calc(100vw - 64px - var(--vt-dock-w, 360px) - 32px));
}
.vt-snack {
  pointer-events: auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--vt-line);
  background: var(--vt-card);
  color: var(--vt-text);
  box-shadow: 0 10px 28px color-mix(in srgb, #0f172a 16%, transparent);
  cursor: pointer;
}
.vt-snack.is-held .vt-snack-msg {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.vt-snack-mark {
  flex: none;
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--vt-warn);
}
.vt-snack.is-ok .vt-snack-mark { background: var(--vt-ok); }
.vt-snack.is-err .vt-snack-mark { background: var(--vt-danger); }
.vt-snack.is-info .vt-snack-mark { background: var(--vt-warn); }
.vt-snack.is-ok { border-color: color-mix(in srgb, var(--vt-ok) 55%, var(--vt-line)); }
.vt-snack.is-err { border-color: color-mix(in srgb, var(--vt-danger) 50%, var(--vt-line)); }
.vt-snack.is-info { border-color: color-mix(in srgb, var(--vt-warn) 55%, var(--vt-line)); }
.vt-snack-msg {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vt-snack-x {
  flex: none;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--vt-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.vt-snack-x:hover { color: var(--vt-text); background: var(--vt-canvas); }

.vt-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 12px 0 4px; }
.vt-step {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--vt-muted);
  font-size: 13px;
  font-weight: 550;
}
.vt-step + .vt-step::before {
  content: "·";
  color: var(--vt-muted);
  padding: 0 8px;
  font-weight: 400;
}
.vt-step.is-on {
  background: none;
  border: 0;
  color: var(--vt-text);
  font-weight: 750;
}
.vt-step.is-done {
  background: none;
  border: 0;
  color: var(--vt-muted);
}
.vt-text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--vt-muted);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.vt-text-link:hover { color: var(--vt-text); }
a.vt-doc-link {
  color: var(--vt-text);
  font-weight: 650;
  text-decoration: underline;
}
.vt-wizard { max-width: 440px; }
.vt-wizard .vt-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 6px;
}
.vt-wizard .vt-label-row + label { margin-top: 0; }
.vt-field-label { font-size: 13px; font-weight: 650; color: var(--vt-text); }
.vt-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}
dialog.vt-modal form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin: 0;
}
dialog.vt-modal form > p:has(> button),
dialog.vt-modal > p:has(> button),
dialog.vt-modal .vt-key-row,
dialog.vt-modal .vt-wizard-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}
dialog.vt-modal form > button {
  align-self: flex-end;
  margin-top: auto;
  margin-left: auto;
}
.vt-actions-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.vt-actions-end .btn { margin-left: 0; }
dialog.vt-wizard-pop[open] { display: flex; flex-direction: column; gap: 8px; }
dialog.vt-wizard-pop label:first-of-type { margin-top: 0; }
.vt-user-head { display: flex; align-items: flex-start; gap: 10px; }
.vt-user-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vt-user-name { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.vt-user-name h2,
.vt-user-head h2 { margin: 0; }
.vt-user-role { margin: 0; color: var(--vt-text); font-weight: 650; }
select.vt-user-role {
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0 16px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--vt-text);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.vt-user-state { margin: 0; color: var(--vt-text); font-weight: 650; white-space: nowrap; }
.vt-user-save { margin: 0; padding: 0; height: 0; overflow: hidden; }
.vt-user-who { display: grid; grid-template-columns: max-content 1fr; column-gap: 16px; row-gap: 6px; align-items: baseline; }
.vt-user-who p { display: contents; margin: 0; }
.vt-user-who p > span:first-child { color: var(--vt-muted); font-weight: 600; }
.vt-user-who p > span:last-child { color: var(--vt-text); font-weight: 650; min-width: 0; }
.vt-user-lines { display: flex; flex-direction: column; gap: 2px; }
.vt-user-link { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vt-user-link > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-user-link form { margin: 0; }
.vt-user-link .btn-outline { white-space: nowrap; }
.vt-user-link a.btn-outline { display: inline-flex; align-items: center; text-decoration: none; }
.vt-user-who + form { border-top: 1px solid var(--vt-line); padding-top: 12px; }
.vt-user-who input[type="email"] {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--vt-text);
  font: inherit;
  font-weight: 650;
}
.vt-user-who .vt-user-link-url { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-user-link-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
select.vt-user-role { align-self: flex-start; }
.vt-user-link-actions form { margin: 0; }
.vt-user-link-actions a.btn-outline {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.vt-keys-head .btn { margin-left: auto; }
.vt-svc-row { display: block; color: var(--vt-text); font-weight: 650; text-decoration: none; }
.card:has(table.vt-req) { overflow-x: auto; }
.vt-req { width: max-content; min-width: 100%; table-layout: auto; }
.vt-req th, .vt-req td, .vt-req a { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
#vt-screen tbody tr:has(a.vt-svc-row) { cursor: pointer; }
.vt-cov { overflow-x: auto; }
.vt-cov table { width: max-content; border-collapse: collapse; }
.vt-cov td, .vt-cov th { text-align: center; }
.vt-cov td:nth-child(n+2), .vt-cov th:nth-child(n+2) { padding-left: 4px; padding-right: 4px; }
.vt-cov td:first-child, .vt-cov th:first-child { text-align: left; position: sticky; left: 0; background: var(--vt-card); padding-right: 16px; }
.vt-cov thead th { vertical-align: bottom; }
.vt-cov thead th:nth-child(n+2) {
  writing-mode: horizontal-tb;
  transform: none;
  white-space: nowrap;
  font-weight: 650;
  font-size: 12px;
  height: 132px;
  width: 28px;
  padding: 0 4px 8px;
  overflow: visible;
}
.vt-cov thead th:nth-child(n+2) span {
  display: inline-block;
  transform: rotate(-45deg);
  transform-origin: left bottom;
  white-space: nowrap;
  text-align: left;
}
.vt-cov-dot { color: var(--vt-muted); }
.vt-cov-n {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--vt-accent, #e0a03c) 28%, var(--vt-card));
  color: var(--vt-text);
  text-decoration: none;
  font-weight: 650;
}
.vt-cov-n.is-on { box-shadow: 0 0 0 2px var(--vt-primary, #c2571c); }
.vt-cov-detail { margin-top: 18px; }
.vt-cov-co { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.vt-list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px;
}
.vt-list-tools .vt-chips { margin: 0; }
.vt-list-tools [data-list-search] { flex: 1 1 220px; max-width: 280px; margin: 0; }
.vt-svc-filters { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 12px; }
.vt-svc-filters .vw-chip,
.vt-svc-filters .vw-chip.is-on {
  background: none;
  border: 0;
  padding: 0;
  color: var(--vt-muted);
  border-radius: 0;
}
.vt-svc-filters .vw-chip.is-on { color: var(--vt-text); font-weight: 750; }
.vt-key-ok { color: var(--vt-ok); font-weight: 650; }
.vt-key-missing { color: var(--vt-warn); font-weight: 650; }
.vt-key-local { color: var(--vt-muted); font-weight: 650; }
.vt-wizard p { margin: 14px 0 6px; }
.vt-wizard .vt-checks { margin: 0; }
.vt-wizard .vt-checks + label { margin-top: 24px; }
.vt-wizard .vt-checks label {
  margin-top: 0;
  align-items: center;
}
.vt-wizard .vt-checks input {
  margin: 0;
  width: auto;
}
.vt-wizard label { margin-top: 12px; }
.vt-wizard input,
.vt-wizard select,
.vt-wizard textarea { margin: 4px 0 0; }
.vt-wizard-actions { margin-top: 16px; }
.vt-partner-fields[data-target="embed"] .js-need-url,
.vt-partner-fields[data-target="funnel"] .js-need-embed,
.vt-partner-fields[data-target="link"] .js-need-embed { display: none; }

@media (prefers-color-scheme: dark) {
  html.theme-system header.vt-shell, html.theme-system header {
    background: var(--vt-rail);
    border-bottom-color: var(--vt-edge);
  }
  html.theme-system body[data-frame="app"] .site-footer {
    background: var(--vt-rail);
    border-top-color: var(--vt-edge);
  }
  html.theme-system .vt-dock {
    background: var(--vt-card);
  }
  html.theme-system input, html.theme-system select, html.theme-system textarea {
    border-color: var(--vt-edge);
  }
  html.theme-system .vt-rail-nav a.is-current,
  html.theme-system .vt-rail-nav a[aria-current="page"],
  html.theme-system .vt-plugins.is-current {
    background: var(--vt-rail-on);
    color: var(--vt-text);
  }
}

.vt-mail-guide h2 { margin: 0 0 8px; font-size: 16px; }
.vt-mail-guide ul { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vt-mail-preview { white-space: pre-wrap; margin-top: 16px; }
.vt-mail-form textarea { min-height: 220px; width: 100%; }

.vt-rail-open,
.vt-rail-scrim { display: none; }
.vt-foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
@media (max-width: 720px) {
  body[data-frame="app"] .vt-rail {
    position: fixed;
    z-index: 45;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    max-height: none;
    transform: translateX(-110%);
  }
  body[data-frame="app"].rail-open .vt-rail {
    transform: none;
    width: min(280px, 86vw);
    flex-basis: auto;
    align-items: stretch;
    padding: 14px 10px;
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.28);
  }
  body[data-frame="app"].rail-open.rail-collapsed .vt-rail-label,
  body[data-frame="app"].rail-open.rail-collapsed .vt-account-name,
  body[data-frame="app"].rail-open.rail-collapsed .vt-control-badge,
  body[data-frame="app"].rail-open.rail-collapsed .vt-rail-ver,
  body[data-frame="app"].rail-open.rail-collapsed .vt-ico-in {
    display: revert;
  }
  body[data-frame="app"].rail-open.rail-collapsed .vt-mark {
    display: flex;
    font-size: inherit;
    gap: 8px;
  }
  body[data-frame="app"].rail-open.rail-collapsed .vt-ico-out { display: none; }
  body[data-frame="app"].rail-open.rail-collapsed .vt-rail-nav,
  body[data-frame="app"].rail-open.rail-collapsed .vt-rail-head { align-items: stretch; }
  body[data-frame="app"].rail-open.rail-collapsed .vt-rail-head { justify-content: space-between; }
  body[data-frame="app"].rail-open.rail-collapsed .vt-rail-nav a,
  body[data-frame="app"].rail-open.rail-collapsed .vt-rail-fold-items a,
  body[data-frame="app"].rail-open.rail-collapsed .vt-rail-fold-items .is-disabled {
    width: auto;
    margin: 0;
    padding: 8px 10px;
    justify-content: flex-start;
  }
  body[data-frame="app"] .vt-rail-scrim {
    position: fixed;
    inset: 0;
    z-index: 44;
    background: rgba(15, 23, 42, 0.45);
  }
  body[data-frame="app"].rail-open .vt-rail-scrim { display: block; }
  body[data-frame="app"] .vt-rail-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--vt-line);
    background: var(--vt-card);
    color: var(--vt-text);
    font-size: 0;
  }
  body[data-frame="app"] .vt-rail-open::before {
    content: "";
    width: 14px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  }
  body[data-frame="app"] header.vt-shell { padding-left: 54px; }
  body[data-frame="app"] .vt-ai { width: 100%; }
  #vt-app h1,
  #vt-app h1.vt-dash-title {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }
  body[data-frame="app"] .site-footer.vt-app-foot {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .vt-kpis { grid-template-columns: 1fr; }
  .vt-password-split { grid-template-columns: 1fr; }
  .vt-password-rules { margin-top: 8px; }
}
@media (max-width: 900px) {
  body[data-frame="app"] .vt-body { position: relative; }
  body[data-frame="app"] .vt-dock:not([hidden]) {
    position: absolute;
    inset: 0;
    width: auto;
    max-width: none;
    flex: none;
    z-index: 6;
  }
  body[data-frame="app"] .vt-dock-resize { display: none; }
  body[data-frame="app"]:not([data-dock="closed"]) .vt-toast-host {
    left: calc(220px + (100vw - 220px) / 2);
    width: min(440px, calc(100vw - 220px - 32px));
  }
  body[data-frame="app"].rail-collapsed:not([data-dock="closed"]) .vt-toast-host {
    left: calc(64px + (100vw - 64px) / 2);
    width: min(440px, calc(100vw - 64px - 32px));
  }
}
@media (max-width: 720px) {
  body[data-frame="app"] .vt-toast-host,
  body[data-frame="app"].rail-collapsed .vt-toast-host,
  body[data-frame="app"]:not([data-dock="closed"]) .vt-toast-host,
  body[data-frame="app"].rail-collapsed:not([data-dock="closed"]) .vt-toast-host {
    left: 50%;
    bottom: 80px;
    width: min(440px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }
}
.vt-mail-form label { display: block; margin: 0 0 12px; }
.vt-mail-form input, .vt-mail-form select, .vt-mail-form textarea { width: 100%; }
.vt-public-mark { height: 96px; }
.vt-public-mark.vt-logo-dark { display: none; }
html.theme-dark .vt-public-mark.vt-logo-light { display: none; }
html.theme-dark .vt-public-mark.vt-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  html.theme-system .vt-public-mark.vt-logo-light { display: none; }
  html.theme-system .vt-public-mark.vt-logo-dark { display: block; }
}
.vt-partner { max-width: 720px; margin: 24px auto; }
.vt-partner-frame { width: 100%; min-height: 70vh; border: 0; }
.vt-cal-form .vt-cal-private { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.vt-cal-form .vt-cal-private input { width: auto; margin: 0; }
.vt-cal-form > .btn { display: block; margin-top: 4px; }
@media (max-width: 720px) {
  .vt-label-row,
  .vt-keys-head,
  .vt-dock-tabs,
  .vt-dock-scroll { flex-wrap: wrap; }
  .vt-dock-tabs,
  .vt-dock-scroll { overflow: visible; height: auto; }
  #vt-crm table { width: 100%; table-layout: fixed; }
  #vt-crm td, #vt-crm th, #vt-crm a { overflow-wrap: anywhere; }
  .vt-rail-label { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  body[data-frame="app"].rail-open .vt-rail-nav { overflow-y: auto; padding-bottom: 24px; }
  body[data-frame="app"] dialog.vt-modal,
  body[data-frame="app"].rail-collapsed dialog.vt-modal,
  body[data-frame="app"]:not([data-dock="closed"]) dialog.vt-modal,
  body[data-frame="app"].rail-collapsed:not([data-dock="closed"]) dialog.vt-modal {
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
}
#vt-company .vt-keys-table { overflow-x: auto; }
#vt-company .vt-keys-table table { width: max-content; min-width: 100%; }
#vt-company .vt-keys-table th,
#vt-company .vt-keys-table td { white-space: nowrap; }


