/* LUNOR WEB phase 2: align the original HTML classes with the existing design. */
.os-simulator-container {
  background: #030712;
  border: 1px solid rgba(158, 201, 255, .25);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .8), 0 0 40px var(--accent-glow);
  overflow: hidden;
  position: relative;
}
.os-window-controls { flex: 0 0 auto; }
.os-window-controls span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.os-window-controls .dot-red { background-color: #ef4444; }
.os-window-controls .dot-yellow { background-color: #f59e0b; }
.os-window-controls .dot-green { background-color: #10b981; }
.term-cyan { color: var(--aurora-cyan); }
.os-tabs-nav { min-width: 0; flex: 1 1 auto; }
.os-window-header > div:last-child { flex: 0 0 auto; }
.apps-grid .app-card[hidden] { display: none; }
.calc-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
}
#calc-result-score { font-size: clamp(21px, 3.5vw, 42px); line-height: 1.3; }
.step-nav-btn:focus-visible,
.faq-question:focus-visible,
.wp-thumb:focus-visible,
.theme-dot:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; }
@media (max-width: 768px) {
  header { gap: 10px; }
  .header-actions { min-width: 0; gap: 7px; }
  #header-download-btn { padding: 9px 12px; font-size: 12px; white-space: nowrap; }
  .os-window-header { flex-wrap: wrap; gap: 12px; padding: 12px; }
  .os-tabs-nav { order: 3; flex-basis: 100%; max-width: 100%; }
  .os-screen-viewport { min-height: 500px; }
  .os-topbar { flex-wrap: wrap; gap: 8px; padding: 8px; }
  .os-topbar-left, .os-topbar-right { flex-wrap: wrap; gap: 8px; }
  .os-content-body { padding: 14px; }
  .flow-window-mock, .customizer-box { padding: 16px; }
  .customizer-row { flex-wrap: wrap; gap: 12px; }
  .section-container { min-width: 0; padding: 65px 14px; }
  .install-wizard { padding: 18px; }
  .wizard-step-content { padding: 18px; overflow-wrap: anywhere; }
  .hardware-calc-wrapper { padding: 20px; }
  .hero-btn-group, .hero-telemetry-ribbon { max-width: 100%; }
  .modal-dialog { max-height: calc(100dvh - 24px); overflow-y: auto; }
  .toast-container { right: 12px; left: 12px; bottom: 12px; }
  .toast { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  .logo-text { font-size: 19px; letter-spacing: 2px; }
  .logo-badge, #cmd-trigger-btn { display: none; }
  .logo-icon-mark { width: 32px; height: 32px; }
  #header-download-btn { padding: 8px 10px; }
  .os-topbar-center { order: 3; width: 100%; text-align: center; }
}
/* Grid items must be allowed to shrink below the width of long select labels. */
.hardware-calc-wrapper, .calc-inputs-col, .calc-field-group, .calc-result-box { min-width: 0; }
.calc-select { width: 100%; min-width: 0; }
.calc-label { gap: 8px; flex-wrap: wrap; }
.calc-label span:last-child { max-width: 100%; overflow-wrap: anywhere; }

@media (max-width: 768px) {
  .testimonials-grid, .community-grid { grid-template-columns: 1fr; }
  .testimonial-card, .community-stat-card { min-width: 0; }
}
