:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14222c;
  background: #f2f5f5;
}

* { box-sizing: border-box; }

body { margin: 0; min-height: 100vh; }

.bootstrap-shell {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

header { margin-bottom: 1.5rem; }
h1 { margin: .35rem 0 .65rem; font-size: clamp(1.7rem, 6vw, 2.35rem); line-height: 1.15; }
h2 { margin-top: 0; }
p { line-height: 1.5; }
.eyebrow { color: #346052; font-size: .8rem; font-weight: 750; letter-spacing: .06em; }

.panel {
  margin-top: 1rem;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid #d5dfdc;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(20 34 44 / 6%);
}

form { display: grid; gap: .75rem; }
label { font-weight: 650; }
input, textarea, button {
  width: 100%;
  min-height: 46px;
  border: 1px solid #9aaca7;
  border-radius: 8px;
  padding: .65rem .75rem;
  font: inherit;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, textarea:focus, button:focus-visible { outline: 3px solid #78b7a4; outline-offset: 2px; }
button { border: 0; background: #14533f; color: #fff; font-weight: 700; cursor: pointer; }
button.secondary { margin-top: .75rem; border: 1px solid #56756a; background: #fff; color: #174a3b; }
button:disabled { opacity: .6; cursor: wait; }
.check-row { display: flex; align-items: flex-start; gap: .7rem; margin: .4rem 0; }
.check-row input { width: 1.25rem; min-width: 1.25rem; min-height: 1.25rem; margin-top: .12rem; }
.hint { margin: -.4rem 0 .3rem; color: #53645f; font-size: .9rem; }
#bootstrap-status.error { color: #a32d24; }
#mfa-qr { display: block; width: min(100%, 240px); height: auto; margin: 1rem auto; }
#mfa-secret { display: block; overflow-wrap: anywhere; padding: .75rem; background: #f2f5f5; }

@media (max-width: 520px) {
  .bootstrap-shell { width: min(100% - 1rem, 760px); padding-top: 1rem; }
  .panel { border-radius: 10px; }
}
