:root {
  --color-bg-splash: #232a34;
  --color-logo-splash: #ffffff;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']):not(.dark) {
    --color-bg-splash: #f0f5f7;
    --color-logo-splash: #0061aa;
  }
}

:root.light {
  --color-bg-splash: #f0f5f7;
  --color-logo-splash: #0061aa;
  color-scheme: light;
}

:root.dark {
  --color-bg-splash: #232a34;
  --color-logo-splash: #ffffff;
  color-scheme: dark;
}

body.shell-document-body {
  margin: 0;
  background-color: var(--color-bg-splash, #232a34);
}

.shell-splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-splash, #232a34);
  margin: 0;
  z-index: 9999;
}

.shell-splash__logo {
  width: 120px;
  height: 120px;
}

.dev-bar-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dev-bar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d47a1;
  background-color: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 4px;
  padding: 2px 8px;
  line-height: 1.4;
}

.dev-bar-select {
  font-size: 12px;
  font-family: system-ui, sans-serif;
  max-width: 280px;
}

.dev-bar-build-hint {
  font-size: 11px;
  opacity: 0.75;
}

.dev-bar-fixed-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #ccc;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.shell-column {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.shell-banner {
  flex-shrink: 0;
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.shell-banner-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shell-muted {
  opacity: 0.85;
}

.shell-notice {
  color: #8a5a00;
  font-size: 12px;
  max-width: 280px;
}

.shell-details {
  margin-left: auto;
  max-width: 50%;
}

.shell-pre {
  margin: 8px;
  max-height: 160px;
  overflow: auto;
  font-size: 11px;
}

.shell-iframe {
  border: none;
  flex: 1;
  width: 100%;
}

.shell-iframe-full {
  border: none;
  display: block;
  width: 100%;
  height: 100vh;
}

.shell-unified-pad {
  padding: 16px;
  font-family: system-ui, sans-serif;
}

.shell-unified-pad p {
  margin-bottom: 8px;
}

.shell-unified-error {
  padding: 16px;
  font-family: system-ui, sans-serif;
  color: #b00020;
}

.shell-unified-notice {
  color: #8a5a00;
  font-size: 13px;
  margin-bottom: 8px;
}
