/* AUTH layout only. Brand tokens come from the live MiloslavHub stylesheet.
   Fallback values keep navigation readable when the central stylesheet fails. */
body.mh-auth { margin: 0; color: var(--mh-ink, #08233e); background: var(--mh-white, #fff); font-family: var(--mh-sans, "Segoe UI", Arial, sans-serif); font-size: 16px; line-height: 1.6; }
.mh-auth *, .mh-auth *::before, .mh-auth *::after { box-sizing: border-box; letter-spacing: 0; }
.mh-auth a { color: var(--mh-blue, #076a9f); text-underline-offset: 4px; }
.mh-auth a:hover { color: var(--mh-blue-dark, #04527d); }
.mh-auth a:focus-visible { outline: 3px solid var(--mh-blue, #076a9f); outline-offset: 5px; }
.mh-auth .skip { position: absolute; left: 16px; top: -100px; background: var(--mh-white, #fff); padding: 10px 16px; z-index: 5; }
.mh-auth .skip:focus { top: 12px; }
.mh-auth .topbar, .mh-auth main, .mh-auth footer { width: min(100% - 64px, var(--mh-shell, 1160px)); margin-inline: auto; }
.mh-auth .topbar { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--mh-border, #d9e1e7); }
.mh-auth .brand { display: inline-flex; align-items: center; gap: 12px; color: var(--mh-ink, #08233e); text-decoration: none; font-size: 18px; white-space: nowrap; }
.mh-auth .brand img { flex: 0 0 36px; width: 36px; height: 36px; object-fit: contain; }
.mh-auth .brand strong { font-weight: 600; color: var(--mh-blue, #076a9f); margin-left: 4px; }
.mh-auth nav { display: flex; gap: 24px; flex-wrap: wrap; }
.mh-auth nav a { text-decoration: none; font-size: 14px; }
.mh-auth .intro { padding: 56px 0 36px; }
.mh-auth .eyebrow { font-size: 12px; font-weight: 700; color: var(--mh-blue, #076a9f); margin: 0 0 14px; }
.mh-auth h1 { font-family: var(--mh-serif, Georgia, serif); font-size: 44px; line-height: 1.15; font-weight: 600; margin: 0 0 18px; overflow-wrap: anywhere; }
.mh-auth .lead { font-size: 21px; color: var(--mh-text, #3d5d75); line-height: 1.5; margin: 0 0 28px; }
.mh-auth .primary { display: inline-flex; gap: 20px; align-items: center; padding: 12px 20px; border-radius: 5px; background: var(--mh-blue, #076a9f); color: var(--mh-white, #fff); text-decoration: none; font-weight: 600; min-height: 48px; }
.mh-auth .primary:hover { background: var(--mh-blue-dark, #04527d); color: var(--mh-white, #fff); }
.mh-auth .intro-note, .mh-auth .section-note { color: var(--mh-muted, #52697d); font-size: 13px; }
.mh-auth .intro-note { margin-top: 18px; }
.mh-auth .section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--mh-border-strong, #c5d2dd); }
.mh-auth h2 { font-family: var(--mh-sans, "Segoe UI", Arial, sans-serif); font-size: 20px; line-height: 1.4; margin: 0; font-weight: 650; }
.mh-auth .section-heading > span { color: var(--mh-muted, #52697d); font-size: 13px; }
.mh-auth .app-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.mh-auth .app { display: flex; align-items: center; gap: 16px; min-height: 108px; border-bottom: 1px solid var(--mh-border, #d9e1e7); text-decoration: none; color: var(--mh-ink, #08233e); padding: 20px 4px; }
.mh-auth .app:hover { background: var(--mh-surface, #f7fbfd); color: var(--mh-blue, #076a9f); }
.mh-auth .app-mark { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; font-weight: 700; font-size: 17px; border-radius: 6px; }
.mh-auth .green { background: #e2f0e9; color: #175a40; }
.mh-auth .blue { background: #e6eff8; color: #235d8a; }
.mh-auth .violet { background: #eee9f5; color: #65478d; }
.mh-auth .rose { background: #f9e7ec; color: #963b57; }
.mh-auth .amber { background: #fbefcf; color: #775c14; }
.mh-auth .neutral { background: #edf0ed; color: #4b5a50; }
.mh-auth .app-label { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mh-auth .app-label strong { font-size: 17px; font-weight: 600; }
.mh-auth .app-label > span { font-size: 13px; color: var(--mh-muted, #52697d); overflow-wrap: anywhere; }
.mh-auth .arrow { font-size: 22px; color: var(--mh-muted, #52697d); flex: 0 0 24px; text-align: center; }
.mh-auth .section-note { max-width: 780px; margin: 18px 0 0; }
.mh-auth .support { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0; margin-top: 36px; border-top: 1px solid var(--mh-border-strong, #c5d2dd); }
.mh-auth .support p { color: var(--mh-muted, #52697d); font-size: 14px; margin: 6px 0 0; }
.mh-auth .text-link { font-size: 14px; font-weight: 600; }
.mh-auth footer { border-top: 1px solid var(--mh-border, #d9e1e7); display: flex; flex-wrap: wrap; gap: 16px 28px; padding-block: 24px; font-size: 12px; color: var(--mh-muted, #52697d); }
.mh-auth footer > span { margin-right: auto; }
.mh-auth .manual { max-width: var(--mh-reading-width, 780px); padding-block: 56px; }
.mh-auth .manual h1 { font-size: 36px; }
.mh-auth .manual section { padding-block: 28px; border-top: 1px solid var(--mh-border, #d9e1e7); }
.mh-auth .manual section p { margin: 12px 0 0; }
.mh-auth .manual strong, .mh-auth .manual a { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .mh-auth .topbar, .mh-auth main, .mh-auth footer { width: calc(100% - 32px); }
  .mh-auth .topbar { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 20px; }
  .mh-auth .brand { font-size: 17px; }
  .mh-auth .intro { padding: 36px 0 28px; }
  .mh-auth h1 { font-size: 34px; }
  .mh-auth .lead { font-size: 18px; }
  .mh-auth .app-list { grid-template-columns: minmax(0, 1fr); }
  .mh-auth .app { min-height: 92px; padding-block: 16px; }
  .mh-auth .support { align-items: flex-start; flex-direction: column; margin-top: 28px; }
  .mh-auth footer > span { width: 100%; }
  .mh-auth .manual { padding-block: 36px; }
  .mh-auth .manual h1 { font-size: 30px; }
}
