html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: #f6f5f2;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ---- AeroStation shell ------------------------------------------------ */
/* Heritage nod: the legacy dBase screens ran bright-white-on-blue in
   Consolas under vDosPlus. The top bar and letter keys carry that voice. */

.aero-topbar {
  background: #10265f;
  border-bottom: 3px solid #b96a1f;
}

.aero-topbar .navbar-brand {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.aero-brand-accent {
  color: #e9b678;
  font-weight: 400;
}

.aero-brand-sub {
  font-size: 0.72rem;
  color: #8fa0d9;
  margin-left: 0.75rem;
  font-family: Consolas, ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aero-shell {
  display: flex;
  gap: 0;
  align-items: stretch;
  min-height: calc(100vh - 120px);
}

.aero-sidebar {
  flex: 0 0 240px;
  background: #ffffff;
  border-right: 1px solid #e2ded4;
  padding: 1rem 0.75rem 2rem;
}

.aero-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1.5rem 1.75rem 3rem;
}

.aero-nav-group {
  margin-bottom: 1.1rem;
}

.aero-nav-group-title {
  font-family: Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8578;
  padding: 0 0.5rem 0.3rem;
}

.aero-nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.34rem 0.5rem;
  border-radius: 0.3rem;
  color: #212529;
  text-decoration: none;
  font-size: 0.92rem;
}

.aero-nav-item:hover {
  background: #f0ede5;
  color: #212529;
}

.aero-nav-item.aero-nav-stub {
  color: #6c757d;
}

.aero-key {
  font-family: Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background: #10265f;
  border-radius: 0.25rem;
  min-width: 1.35rem;
  text-align: center;
  padding: 0.05rem 0.25rem;
}

.aero-nav-stub .aero-key {
  background: #9aa2ad;
}

/* Quick links on identifiers (part/WO/PO/claim numbers) — quiet until hover. */
.aero-id {
  text-decoration: none;
}

.aero-id:hover {
  text-decoration: underline;
}

.aero-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  border-top: 1px solid #e2ded4;
  font-size: 0.85rem;
}

@media (max-width: 767.98px) {
  .aero-shell {
    flex-direction: column;
  }
  .aero-sidebar {
    flex-basis: auto;
    border-right: none;
    border-bottom: 1px solid #e2ded4;
  }
}
