/* Measures and tones of the react-lib shell. */
#boot-shell { position: fixed; inset: 0; z-index: 1021; pointer-events: none; background: #eef2f6; }
#boot-shell, #boot-shell * { box-sizing: border-box; }
html.dark #boot-shell { background: #111827; }
#root:not(:empty) ~ #boot-shell { background: transparent; }

.boot-header { position: absolute; top: 0; left: 0; right: 0; height: 3.5rem; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; background: #eef2f6; }
.boot-sidebar { display: none; position: absolute; top: 3.5rem; bottom: 0; left: 0; width: calc(4rem + 1px); padding: .5rem; border-right: 1px solid #e3e8ef; background: #eef2f6; }
.boot-content { position: absolute; top: 3.5rem; right: 0; bottom: 0; left: 0; padding: 1.5rem 1rem; }
html.dark .boot-header, html.dark .boot-sidebar { background: #111827; }
html.dark .boot-sidebar { border-right-color: #3a4760; }
@media (min-width: 768px) {
  .boot-sidebar { display: flex; flex-direction: column; gap: .5rem; }
  .boot-content { left: calc(4rem + 1px); padding: 1.5rem; }
}
@media (min-width: 1024px) {
  .boot-sidebar { width: calc(17rem + 1px); }
  .boot-content { left: calc(17rem + 1px); }
}
#boot-shell[data-sidebar="none"] .boot-sidebar { display: none; }
#boot-shell[data-sidebar="none"] .boot-content { left: 0; }

.boot-bar { display: block; flex: none; border-radius: .5rem; background: #dfe5ec; }
html.dark .boot-bar { background: #3d4b5e; }
.boot-menu { width: 2.5rem; height: 2.5rem; }
.boot-brand { display: none; width: 7rem; height: 1.75rem; }
.boot-avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.boot-nav { width: 100%; height: 2.5rem; }
.boot-title { width: min(16rem, 60%); height: 2rem; margin-bottom: 1rem; }
.boot-card { width: 100%; height: 7rem; margin-bottom: 1rem; border-radius: .75rem; }
@media (min-width: 768px) {
  .boot-menu { display: none; }
  .boot-brand { display: block; }
}
@media (prefers-reduced-motion: no-preference) {
  .boot-bar { --boot-floor: .7; animation: boot-pulse 1.5s ease-in-out infinite; }
  html.dark .boot-bar { --boot-floor: .5; }
}
@keyframes boot-pulse { 50% { opacity: var(--boot-floor); } }

#root:not(:empty) ~ #boot-shell .boot-content { display: none; }

/* Text for screen readers only; the frame itself is decorative. */
.boot-status { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:lang(en) .boot-status [lang="de"], html:not(:lang(en)) .boot-status [lang="en"] { display: none; }
#root:not(:empty) ~ #boot-shell .boot-status { display: none; }
