/* Shared signed-out entry layout. Authenticated workspaces retain their own styles. */
html body:has(#auth:not(.hidden)) main,html body:has(#staffLoginPanel:not(.hidden)) main{max-width:1040px;padding:32px 20px;box-sizing:border-box}
html body #auth.panel{max-width:none!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #auth .gd-auth-first,html body .gd-staff-first{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto!important;justify-items:stretch;align-items:start;width:100%;max-width:480px;height:auto!important;min-height:0;margin:0 auto!important;gap:20px;padding:0 0 32px;box-sizing:border-box}
html body #auth .gd-auth-first .gd-auth-entry,html body .gd-staff-first #staffLoginPanel{width:100%!important;max-width:100%;margin:0!important;padding:24px!important;box-sizing:border-box;border:1px solid #8495aa26!important;border-radius:20px;background:#1b2230;color:#edf1f7;box-shadow:0 8px 32px #142c4610;zoom:1!important}
html[data-theme=day] body #auth .gd-auth-first .gd-auth-entry,html[data-theme=day] body .gd-staff-first #staffLoginPanel{background:#fff!important;color:#26344a!important}
html body :is(#auth .gd-auth-first .gd-auth-entry,#staffLoginPanel) nav.gd-entry-roles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;width:100%;box-sizing:border-box;padding:5px!important;margin:0 0 20px!important;border:1px solid #8495aa26;border-radius:13px;background:#8095ad0d}
html body :is(#auth .gd-auth-first .gd-auth-entry,#staffLoginPanel) nav.gd-entry-roles>a{display:flex!important;align-items:center;justify-content:center;min-width:0!important;min-height:44px;box-sizing:border-box;padding:11px 8px!important;border:0!important;border-radius:10px;font-size:12px!important;line-height:1.3!important;white-space:nowrap!important;text-align:center;text-decoration:none!important;color:inherit!important;opacity:1!important;box-shadow:none!important;font-weight:500}
html[data-theme] body :is(#auth .gd-auth-first .gd-auth-entry,#staffLoginPanel) nav.gd-entry-roles>a[aria-current=page]{background:#174e48!important;color:#c4ffec!important;font-weight:650}
html[data-theme=day] body :is(#auth .gd-auth-first .gd-auth-entry,#staffLoginPanel) nav.gd-entry-roles>a[aria-current=page]{background:#c3e5df!important;color:#005f55!important}
html body :is(#auth .gd-auth-first .gd-auth-entry,#staffLoginPanel) :is(h1,h2){margin:0 0 12px!important;font-size:26px!important;line-height:1.25!important;letter-spacing:-.4px}
html body :is(#gd-client-entry,#gd-business-entry,#staffLoginPanel)>p:not(.gd-scan-caption):not([role=status]):not(#businessRecoverLink){margin:0 0 18px!important;font-size:14px;line-height:1.5}
html body :is(#auth,#staffLoginPanel) .gd-scan-primary{width:100%;min-height:50px;padding:12px 16px!important;font-size:16px!important;line-height:1.4;border-radius:12px;background:#007f72!important;color:#fff!important;opacity:1!important;box-shadow:none!important}
html body :is(#auth,#staffLoginPanel) .gd-scan-caption{margin:10px 0 16px!important;font-size:13px;line-height:1.5}
html body :is(#auth,#staffLoginPanel) :is(.gd-qr-help,.gd-entry-fallback){margin:16px 0 0!important;padding:12px 0 0!important;min-width:0}
html body :is(#auth,#staffLoginPanel) summary{font-size:14px;line-height:1.5}
html body :is(#auth,#staffLoginPanel) a:not(.gd-entry-roles a){color:#279e90;text-decoration:none}
html[data-theme=day] body :is(#auth,#staffLoginPanel) a:not(.gd-entry-roles a){color:#087d70}
html body #auth #loginForm>.grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin:0!important}
html body #auth #loginForm label{display:block;margin:0 0 5px!important;font-size:13px;line-height:1.3}
html body #auth #loginForm input{height:44px!important;min-height:44px!important;width:100%;margin:0!important;padding:10px 12px;box-sizing:border-box;font-size:16px!important;border-radius:10px}
html body #auth #loginForm .vt-auth-password input{padding-right:90px}
html[data-theme=day] body #auth #loginForm input{background:#f9fafb!important;border:1px solid #dce3e9!important;color:#26344a!important}
html body #auth #loginForm>.actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:16px 0 0!important}
html body #auth #loginForm>.actions>button{width:100%;min-width:0;min-height:44px!important;padding:10px 8px!important;font-size:13px!important;line-height:1.3;border-radius:10px;white-space:nowrap;box-shadow:none}
html body #auth #businessRecoverLink{margin:20px 0 0!important;padding:0!important;line-height:1.5;font-size:13px}
html body #auth #businessRecoverLink>a{display:inline-block;padding:4px 0;min-height:24px}
html body #auth .vt-auth-footer{display:none!important}
html body :is(#auth .gd-auth-first,.gd-staff-first) .gd-entry-secondary-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:0;width:100%}
html body :is(#auth,.gd-staff-first) .gd-entry-secondary-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;box-sizing:border-box;margin:0;padding:8px 12px;border:1px solid #9574c835;border-radius:12px;color:#9574c8;background:#9574c812;font-size:13px;line-height:1.5;white-space:normal;box-shadow:none}
html body :is(#auth,.gd-staff-first) .gd-entry-secondary-actions>button>svg{width:24px;height:24px;flex:0 0 24px}
html body #auth .gd-auth-first:has(#registerForm:not(.hidden)){max-width:720px}
html body #auth #registerForm>h2{display:none}
/* Stable header positions on both pages and for every role. */
html body:has(#auth:not(.hidden)) main>header,html body:has(#staffLoginPanel:not(.hidden)) main>header.gd-staff-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;row-gap:14px;padding:0!important;margin:0 0 20px!important}
html body:has(#auth:not(.hidden)) main>header>.vt-header-brand{display:contents!important}
html body:has(#auth:not(.hidden)) main>header .gd-service-wordmark,html body:has(#staffLoginPanel:not(.hidden)) main>header>.brand{grid-column:1;grid-row:1;width:220px;max-width:100%;margin:0!important}
html body:has(#auth:not(.hidden)) main>header .gd-service-wordmark img,html body:has(#staffLoginPanel:not(.hidden)) main>header>.brand img{width:220px!important;height:auto!important;max-width:100%;object-fit:contain;object-position:left center}
html body:has(#auth:not(.hidden)) main>header .vt-header-brand>p,html body:has(#staffLoginPanel:not(.hidden)) main>header>.gd-staff-login-tagline{grid-column:1/-1;grid-row:2;margin:0!important;min-width:0;font-size:14px;line-height:1.5}
html body:has(#auth:not(.hidden)) main>header>.vt-header-right,html body:has(#staffLoginPanel:not(.hidden)) main>header>.gd-staff-header-actions{grid-column:2;grid-row:1;display:flex!important;align-items:center;justify-content:flex-end;gap:8px}
html body:has(#staffLoginPanel:not(.hidden)) .gd-staff-header-actions>.header-link{display:none}
/* One discovery link, with a quiet animated lavender chevron. */
html body :is(main,#auth,header)>.gd-entry-about{display:flex;align-items:center;gap:12px;box-sizing:border-box;width:min(480px,100%);min-height:52px;margin:0 auto 16px;padding:6px 4px;border:0;background:transparent;color:inherit;text-decoration:none;text-align:left}
html body :is(main,#auth,header)>.gd-entry-about>span{display:grid;gap:3px;flex:1;min-width:0}
html body :is(main,#auth,header)>.gd-entry-about strong{font-size:14px;line-height:1.3;text-transform:uppercase;letter-spacing:.045em;font-weight:700}
html body :is(main,#auth,header)>.gd-entry-about small{font-size:11px;line-height:1.4;color:#159a88}
html body :is(main,#auth,header)>.gd-entry-about .gd-about-spark{width:32px;height:32px;flex:0 0 32px;color:#ad8fd4}
html body :is(main,#auth,header)>.gd-entry-about .gd-about-down{box-sizing:border-box;width:36px;height:36px;flex:0 0 36px;padding:7px;border:0;border-radius:11px;background:#ad8ed526;color:#b99be6;box-shadow:none;animation:gd-discover-nudge 2.8s ease-in-out 4}
html[data-theme=day] body :is(main,#auth,header)>.gd-entry-about .gd-about-down{background:#eee6f8;color:#7952ae}
html body :is(main,#auth,header)>.gd-entry-about:hover strong{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9574c8}
html body :is(main,#auth,header)>.gd-entry-about:focus-visible{outline:2px solid #9574c8;outline-offset:4px}
html body:has(#auth.hidden) #gdEntryTheme,html body:has(#auth.hidden) main>header>.gd-entry-about,html body:has(#staffLoginPanel.hidden) main>.gd-entry-about,html body:has(#staffLoginPanel.hidden) main>header>.gd-entry-about{display:none!important}
.gd-staff-first:has(>#staffLoginPanel.hidden),.gd-staff-first:has(>#staffLoginPanel[hidden]){display:none!important}
@media(min-width:1000px){html body:has(#auth:not(.hidden)) main>header,html body:has(#staffLoginPanel:not(.hidden)) main>header.gd-staff-header{grid-template-columns:minmax(180px,1fr) auto minmax(220px,1fr) auto;gap:20px}html body:has(#auth:not(.hidden)) main>header>.gd-entry-about,html body:has(#staffLoginPanel:not(.hidden)) main>header>.gd-entry-about{grid-column:2;grid-row:1;width:auto;margin:0;padding:0}html body:has(#auth:not(.hidden)) main>header .vt-header-brand>p,html body:has(#staffLoginPanel:not(.hidden)) main>header>.gd-staff-login-tagline{grid-column:3;grid-row:1;justify-self:end;text-align:right}html body:has(#auth:not(.hidden)) main>header>.vt-header-right,html body:has(#staffLoginPanel:not(.hidden)) main>header>.gd-staff-header-actions{grid-column:4;grid-row:1}}
@media(max-width:600px){html body:has(#auth:not(.hidden)) main,html body:has(#staffLoginPanel:not(.hidden)) main{padding:24px 16px}html body #auth .gd-auth-first .gd-auth-entry,html body .gd-staff-first #staffLoginPanel{padding:20px!important}}
@media(max-width:400px){html body #auth #loginForm>.actions{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:360px){html body #auth .gd-auth-first .gd-auth-entry,html body .gd-staff-first #staffLoginPanel{padding:16px!important}html body :is(#auth .gd-auth-first .gd-auth-entry,#staffLoginPanel) nav.gd-entry-roles>a{font-size:11px!important;padding:11px 4px!important}html body :is(main,#auth,header)>.gd-entry-about strong{font-size:12px;letter-spacing:.025em}html body :is(main,#auth,header)>.gd-entry-about small{font-size:10px}}
@keyframes gd-discover-nudge{0%,75%,100%{transform:translateY(0)}85%{transform:translateY(3px)}}
@media(prefers-reduced-motion:reduce){html body :is(main,#auth,header)>.gd-entry-about .gd-about-down{animation:none}}
/* Identical header slots prevent role and registration transitions from shifting the form. */
html body:has(#auth:not(.hidden)) main>header,html body:has(#staffLoginPanel:not(.hidden)) main>header.gd-staff-header{grid-template-rows:56px 21px}
html body:has(#auth:not(.hidden)) main>header .gd-service-wordmark,html body:has(#staffLoginPanel:not(.hidden)) main>header>.brand{line-height:0!important;font-size:0!important}
html body:has(#auth:not(.hidden)) main>header .gd-service-wordmark>a{display:block;line-height:0}
html body :is(main,#auth)>.gd-entry-about{height:64px;min-height:64px;margin-bottom:16px}
@media(min-width:1000px){html body:has(#auth:not(.hidden)) main>header,html body:has(#staffLoginPanel:not(.hidden)) main>header.gd-staff-header{grid-template-rows:56px}html body main>header>.gd-entry-about{height:56px;min-height:56px}}
/* Keep the same column even when the business entry opens registration. */
html body #auth .gd-auth-first:has(#registerForm:not(.hidden)){max-width:480px!important}
html body #auth .gd-auth-entry #registerForm>.grid{grid-template-columns:minmax(0,1fr)!important}
html body #auth,html body .gd-staff-first{overflow-anchor:none}
html body:has(#auth:not(.hidden)) main>header,html body:has(#staffLoginPanel:not(.hidden)) main>header.gd-staff-header{grid-template-rows:56px 21px!important;row-gap:14px!important;column-gap:16px!important}
@media(min-width:1000px){html body:has(#auth:not(.hidden)) main>header,html body:has(#staffLoginPanel:not(.hidden)) main>header.gd-staff-header{grid-template-rows:56px!important;row-gap:20px!important;column-gap:20px!important}}
