:root { --vm-header-height: 118px; }
html { scroll-padding-top: calc(var(--vm-header-height) + 20px); }
.vm-jussa { padding-top: var(--vm-header-height); }
.vm-jussa [hidden] { display: none !important; }
.vm-jussa .vm-site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: #080808f5; border-bottom: 1px solid #303030; backdrop-filter: blur(16px); }
.vm-header-inner { max-width: 1240px; padding: 0 24px; margin: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; }
.vm-header-brand { display: flex; align-items: center; min-height: 66px; gap: 10px; color: #fff; text-decoration: none; }
.vm-header-brand .logo { font-size: 27px; color: #ffd400; font-weight: 900; letter-spacing: -2px; }
.vm-header-brand strong { font-size: 14px; font-family: VMMontserrat, sans-serif; }
.vm-header-brand em { font-style: normal; color: #aaa; }
.vm-header-actions { display: flex; margin-left: auto; align-items: center; gap: 8px; }
.vm-header-actions a { min-height: 44px; padding: 9px 12px; display: inline-flex; align-items: center; justify-content: center; color: #eee; border: 1px solid #333; border-radius: 8px; text-decoration: none; font-size: 12px; font-weight: 700; }
.vm-header-actions .vm-jussa-link { color: #ffd400; }
.vm-header-nav { display: flex; flex: 1 0 100%; gap: 6px; border-top: 1px solid #222; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.vm-header-nav a { display: inline-flex; flex: 1; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px; white-space: nowrap; color: #bbb; text-decoration: none; font-size: 12px; font-weight: 700; border-bottom: 3px solid transparent; }
.vm-header-nav a:hover, .vm-header-nav a:focus-visible, .vm-header-nav a[aria-current=page], .vm-account-link[aria-current=page] { color: #ffd400; border-color: #ffd400; }
.vm-page { min-height: min(56vh, 550px); }
.vm-page-heading { padding: 30px 0 4px; }
.vm-page-heading h1 { font: 900 clamp(28px, 4.4vw, 43px)/1.15 VMMontserrat, sans-serif; letter-spacing: -.04em; margin: 0 0 12px; }
.vm-page-heading p { max-width: 720px; color: #aaa; line-height: 1.65; font-size: 14px; }
.vm-subnav { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.vm-subnav a { min-height: 44px; padding: 12px 16px; border: 1px solid #444; border-radius: 9px; color: #ccc; text-decoration: none; font-size: 12px; }
.vm-subnav a[aria-current=page] { color: #ffd400; border-color: #8c7614; background: #26220e; }
.vm-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.vm-home-grid a { display: block; min-height: 150px; background: #111; border: 1px solid #333; border-radius: 14px; padding: 24px; color: #fff; text-decoration: none; }
.vm-home-grid a:hover { border-color: #ffd400; }
.vm-home-grid span { font-size: 10px; color: #ffd400; letter-spacing: .06em; }
.vm-home-grid h2 { font: 800 21px/1.3 VMMontserrat, sans-serif; margin: 16px 0 10px; }
.vm-home-grid p { color: #aaa; font-size: 13px; line-height: 1.7; margin: 0; }
.vm-footer-partner { display: inline-flex; align-items: center; min-height: 44px; color: #ffd400; }
.vm-capture-status { color: #ff6262 !important; }
@media (max-width: 600px) {
 .vm-header-inner { padding: 0 12px; gap: 0 8px; }
 .vm-header-brand { min-height: 58px; gap: 6px; }
 .vm-header-brand strong { font-size: 11px; }
 .vm-header-brand em { display: none; }
 .vm-header-brand .logo { font-size: 24px; }
 .vm-header-actions { gap: 4px; }
 .vm-header-actions a { font-size: 10px; padding: 8px; }
 .vm-header-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow-x: visible; }
 .vm-header-nav a { padding: 8px 4px; min-width: 0; min-height: 42px; font-size: 11px; }
 .vm-home-grid { gap: 10px; }
 .vm-home-grid a { padding: 18px 14px; }
 .vm-home-grid h2 { font-size: 16px; }
 .vm-page-heading { padding-top: 24px; }
 .vm-capture-status { position: fixed; right: 12px; bottom: 16px; background: #260a0a; box-shadow: 0 5px 20px #000; }
}
@media (max-width: 359px) { .vm-home-grid { grid-template-columns: 1fr; } }
.vm-jussa footer { margin-top: 32px; padding: 28px 0; gap: 12px; }
.vm-admin-tabs { position: sticky; top: var(--vm-header-height); z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px 0; margin: 20px 0; background: #080808f5; }
.vm-admin-tabs a { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid #333; border-radius: 8px; font-size: 12px; text-align: center; text-decoration: none; color: #bbb; }
.vm-admin-tabs a[aria-current=page] { color: #ffd400; border-color: #887321; background: #211e0b; }

#customerVoice { width: 100%; min-width: 0; }
#customerVoice label:not(.checkbox-line) { display: grid; gap: 9px; margin: 20px 0; }
#customerVoice select, #customerVoice input:not([type=checkbox]) { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #444; border-radius: 10px; color: #eee; background: #181818; font: inherit; font-size: 16px; }
#customerVoice .btn { margin: 5px 6px 5px 0; }
#customerVoice audio { max-width: 100%; }

.vm-home-link { min-width: 44px; }
.vm-header-brand:focus-visible, .vm-footer-jussa:focus-visible, .vm-jussa-identity:focus-visible { outline: 2px solid #ffd400; outline-offset: 4px; }
.vm-footer-jussa { display: block; color: inherit; text-decoration: none; min-height: 44px; }
.vm-footer-jussa:hover .vm-footer-brand { color: #ffd400; }
.vm-jussa-identity { color: inherit; text-decoration: none; }
@media (max-width: 359px) {
 .vm-header-inner { column-gap: 4px; }
 .vm-header-actions a { padding-inline: 6px; }
}

@media (max-width: 600px) {
 .vm-header-brand strong { display: none; }
 .vm-header-actions .vm-elixir-link { padding-inline: 5px; }
}
