:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: #f6f7fb;
  color: #1d2433;
}

.app-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px;
}

.manual-auth {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(29, 36, 51, 0.08);
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input,
button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #d8deea;
  padding: 0 12px;
  font: inherit;
}

button {
  border: 0;
  background: #3657ff;
  color: #fff;
  font-weight: 700;
}

.scorm-frame {
  width: 100%;
  min-height: 72vh;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

.success-state,
.resource-empty {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0f1420;
    color: #edf2ff;
  }

  .manual-auth,
  .success-state,
  .resource-empty,
  .scorm-frame {
    background: #1a2133;
  }
}
