/* Shared desktop presentation; phone rules remain in mobile-app.html. */
@media (min-width: 768px) {
  html body.audit-locked .hero.vp-hero {
    position: fixed !important; inset: 73px 0 0 !important;
    height: calc(100dvh - 73px) !important; min-height: 0 !important;
    padding: 24px 0 80px !important; box-sizing: border-box;
    display: flex !important; align-items: center; overflow: hidden !important;
  }
  html body.audit-locked .hero.vp-hero .vh-grid { display: block !important; }
  html body.audit-locked .hero.vp-hero .vh-container { width: 100%; max-width: 620px; }
  html body.audit-locked .hero.vp-hero .vh-h1,
  html body.audit-locked .hero.vp-hero .vh-sub,
  html body.audit-locked .hero.vp-hero .loading-subtitle,
  html body.audit-locked .hero.vp-hero .loading-list,
  html body.audit-locked .hero.vp-hero .vi-wait-time,
  html body.audit-locked .hero.vp-hero .slow-audit-nudge,
  html body.audit-locked .hero.vp-hero .m-wait-extra,
  html body.audit-locked .hero.vp-hero .m-slow-link,
  html body.audit-locked .press-wrap { display: none !important; }
  html body.audit-locked .hero.vp-hero .loading-panel { max-width: none !important; }
  html body.audit-locked .hero.vp-hero .loading-title { margin: 0 0 24px !important; }
  html body.audit-locked .hero.vp-hero .vi-wait { margin: 0 !important; }
  html body.audit-locked .hero.vp-hero .vi-wait-row {
    flex-direction: column; align-items: center; text-align: center; gap: 20px;
    font-family: var(--vh-display); font-size: 22px; line-height: 1.3;
  }
  html body.audit-locked .hero.vp-hero .vi-wait-spin {
    width: 80px; height: 80px; box-sizing: border-box;
    border-color: var(--vh-lavender); border-top-color: var(--vh-purple);
  }
  html body.audit-locked .hero.vp-hero #vi-wait-line { min-height: 29px; }
  html body.audit-locked .hero.vp-hero .vi-wait-bar { max-width: 320px; margin: 20px auto 16px; }
  html body.audit-locked .hero.vp-hero .vi-wait-note { text-align: center; }
  .vi-desktop-confirm { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; padding: 12px; border: 1px solid var(--vh-line); border-radius: 8px; background: var(--vh-paper); color: var(--vh-ink); }
  .vi-desktop-confirm span { font-size: 13px; color: var(--vh-grey); }
  .vi-desktop-confirm[hidden] { display: none; }
}
.vi-desktop-confirm { display: none; }
@media (min-width: 768px) { .vi-desktop-confirm:not([hidden]) { display: flex; } }
@media (min-width: 768px) and (max-height: 760px) {
  html body.audit-locked .hero.vp-hero .loading-title { display: none !important; }
}
.vi-desktop-links { display: none; }
@media (min-width: 1100px) {
  body.audit-complete .vi-desktop-links:not([hidden]) {
    display: flex; flex-direction: column; position: fixed; top: 110px; left: 24px;
    width: 164px; max-height: calc(100dvh - 220px); overflow-y: auto; z-index: 40;
    gap: 4px; font-family: 'General Sans', sans-serif; font-size: 14px;
    line-height: 1.4; letter-spacing: 0;
  }
  .vi-desktop-links a {
    display: block; padding: 8px 4px; color: var(--vh-purple); text-decoration: none;
    border-left: 2px solid transparent; padding-left: 10px; overflow-wrap: anywhere;
  }
  .vi-desktop-links a.on-purple { color: var(--vh-lavender); }
  .vi-desktop-links a[aria-current="location"] { border-left-color: currentColor; font-weight: 600; }
  .vi-desktop-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .vi-desktop-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
  body.audit-complete > section:not(.hero) > .container,
  body.audit-complete > section > .container-narrow {
    width: calc(100% - 256px) !important; max-width: 1080px !important;
    margin-left: max(224px, calc((100% - 1080px + 192px) / 2)) !important;
    margin-right: 32px !important; box-sizing: border-box;
  }
  body.audit-complete [data-vi-jump] { scroll-margin-top: 112px; }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  html body.audit-locked .hero.vp-hero .vi-wait-spin { width: 18px; height: 18px; border: 0; background: var(--vh-purple); }
}