:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  color: #1f2937;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body,
.app-shell {
  width: 100%;
  min-width: 320px;
  height: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
}

.app-shell {
  position: relative;
  background: #ffffff;
}

#gasApp {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

#gasApp[hidden] {
  display: none;
}

.status-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  background: #ffffff;
}

.status-panel[hidden] {
  display: none;
}

.status-panel h1,
.status-panel p {
  max-width: 560px;
  margin: 0;
  letter-spacing: 0;
}

.status-panel h1 {
  font-size: 22px;
  line-height: 1.45;
}

.status-panel p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.8;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #d1d5db;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
