/* GOAT ID page specifics on top of /auth/sgg-dna.css (K3). Everything shared lives in sgg-dna.css. */
.sgg-dock{--dock-n:7}
main#content{scroll-margin-top:120px}
.entry-list a[aria-current=page]{border-color:var(--sgg-gold)}
.sgg-header-tools .header-login[aria-current=page]{border-color:var(--sgg-gold);color:var(--sgg-gold)}
/* Keep the application honeypot outside the visible form flow. */
.hp{display:none}
/* «← Tilbage» on every page (Owner 12/11). */
.goat-card .back-link:hover,.goat-card .back-link:focus-visible{color:var(--h-ink)}
/* GOAT ID's own note when Cloudflare's bot check cannot load. */
.captcha-note{margin:8px 0 12px;font-size:14px;color:var(--h-ink)}
/* «Tilpas» sheet: up to 8 functions. */
.goat-dock-choices{list-style:none;margin:6px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:2px 14px}
.goat-dock-choices li>label{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:0;cursor:pointer;line-height:1.2}
.goat-dock-choices small{display:block;font-size:11.5px;opacity:.7}
.sgg-dock-sheet__close{min-width:44px;min-height:44px}
.goat-dock-choices input:disabled+*,.goat-dock-choices label:has(input:disabled){opacity:.5;cursor:not-allowed}
/* GOAT ID's own dock: functions the customer has not chosen stay out of the dock. */
.sgg-dock__item[hidden]{display:none!important}
.sgg-dock a.sgg-dock__item{text-decoration:none}
/* R48 (audit VD-9): the small dock (phones, and phones lying down: the same condition as dock.css) writes its labels in
   ordinary letters and is a little wider than the website's, so the standard set of seven (signed in: with «Log ud»)
   shows every word in both languages from 320 px. With eight or more chosen functions the small dock shows icons only
   (the words stay for screen readers); a long word that still does not fit ends with «…» as before. */
@media (max-width:600px),(max-height:520px) and (orientation:landscape){
 .sgg-dock--goat-id{--dock-w:376px;--dock-label:9px;width:min(var(--dock-w),calc(100vw - 16px));padding-left:6px;padding-right:6px}
 .sgg-dock--goat-id .sgg-dock__label{letter-spacing:0;text-transform:none}
 .sgg-dock--goat-id:has(.sgg-dock__item:nth-child(8 of :not([hidden]))) .sgg-dock__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
}
/* R48 (audit VD-8/N46, stage i3): at 320 px seven items are 44 px wide each (they were 42): no gap and no inner edge (the dock keeps its 1 px border). */
@media (max-width:350px){.sgg-dock--goat-id{--dock-label:8.5px;width:calc(100vw - 10px);padding-left:0;padding-right:0;gap:0}}

/* R48 (audit VD-4): the login shows its first step from the first paint. While «Fortsæt» is there and not put away, the
   password step and «Log ind» are out of sight; without scripts (no .sgg-js on <html>) the whole form is shown and
   «Fortsæt» is not. goat-id-login.js moves between the steps exactly as before. */
html:not(.sgg-js) [data-step-next]{display:none}
.sgg-js form[data-login-steps]:has(>[data-step-next]:not([hidden])) [data-step=password],.sgg-js form[data-login-steps]:has(>[data-step-next]:not([hidden]))>button:not([type=button]){display:none}
/* R48 (audit VD-4): English chosen earlier: the Danish words are not shown for a moment first (goat-id-theme.js sets
   the class before the first paint, goat-id-i18n.js removes it; at most a good second). */
html.sgg-lang-wait body{visibility:hidden}
/* R48 (audit VD-12): on a phone the dock steps aside while a main button of the page lies under it (goat-id-dock.js),
   the same way it does while a field has focus. */
@media (max-width:820px),(pointer:coarse){
 .sgg-dock.sgg-dock--goat-id.is-covering,.sgg-dock.sgg-dock--goat-id.is-typing{opacity:0;pointer-events:none;transform:translate(-50%,140%);transition:opacity 140ms ease,transform 180ms ease}
}
@media (prefers-reduced-motion:reduce){.sgg-dock.sgg-dock--goat-id.is-covering,.sgg-dock.sgg-dock--goat-id.is-typing{transition:none}}
