/* Before the first schedule, the logo belongs to the page, not a sidebar. */
html body.slotic-theme.setup-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100svh;
}
html body.slotic-theme.setup-shell > .site-header {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
html body.slotic-theme.setup-shell .site-header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 104px;
  padding: 20px 26px;
  gap: 0;
}
html body.slotic-theme.setup-shell .site-brand { position: static; flex: 0 0 auto; width: auto; margin: 0; padding: 0; transform: none; }
html body.slotic-theme.setup-shell > .page {
  flex: 1;
  min-width: 0;
  width: min(calc(100% - 64px), 1280px);
  height: auto;
  margin: 0 auto;
}
html body.slotic-theme.setup-shell.auth-page > .page {
  flex: 0 0 auto;
  width: min(calc(100% - 40px), 440px);
  padding: 0;
  margin: clamp(24px, 5svh, 56px) auto 48px;
}
html body.slotic-theme.setup-shell.schedule-page > .page {
  padding: 0 0 32px;
}
html body.slotic-theme.setup-shell.master-center-welcome-page,
html body.slotic-theme.setup-shell.home-page { height: 100svh; }
html body.slotic-theme.setup-shell.master-center-welcome-page > .page,
html body.slotic-theme.setup-shell.home-page > .page { min-height: 0; padding: 0; }
.home-auth-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
html body.slotic-theme .home-auth-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--warm-line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--graphite);
  text-decoration: none;
  transition: background-color 140ms, border-color 140ms;
}
html body.slotic-theme .home-auth-actions__register { background: var(--honey-soft); border-color: color-mix(in srgb, var(--honey) 55%, var(--warm-line)); }
html body.slotic-theme .home-auth-actions__login { background: var(--surface); }
html body.slotic-theme .home-auth-actions a:hover { border-color: var(--honey); background: color-mix(in srgb, var(--honey-soft) 60%, var(--surface)); }
html body.slotic-theme .home-auth-actions a:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }
html.js body[data-sidebar-reveal] > .site-header { opacity: 0; }
html.js body[data-sidebar-reveal].is-sidebar-visible > .site-header { opacity: 1; transition: opacity 360ms ease; }
@media (max-width: 640px) {
  html body.slotic-theme.setup-shell .site-header__inner { min-height: 80px; padding: 8px 20px; }
  html body.slotic-theme.setup-shell .site-brand__logo { width: 160px; height: 48px; }
  html body.slotic-theme.setup-shell .site-brand__logo img { width: 202px; top: -50px; left: -21px; }
  html body.slotic-theme.setup-shell > .page { width: 100%; }
  html body.slotic-theme.setup-shell.schedule-page > .page { padding: 0 16px 24px; }
  html body.slotic-theme.setup-shell.master-center-welcome-page > .page,
  html body.slotic-theme.setup-shell.home-page > .page { padding: 0 clamp(12px, 4vw, 22px); }
  .home-auth-actions { gap: 10px; margin-top: 20px; }
  html body.slotic-theme .home-auth-actions a { min-height: 42px; padding: 10px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js body[data-sidebar-reveal] > .site-header { opacity: 1; }
  html.js body[data-sidebar-reveal].is-sidebar-visible > .site-header,
  html body.slotic-theme .home-auth-actions a { transition: none; }
}
