/* Custom Styling for MCP Engineering */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

input[type="range"] {
  height: 8px;
  border-radius: 9999px;
}

@keyframes pulse-flow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.flow-node {
  animation: pulse-flow 3s infinite ease-in-out;
}

/* The supplied company artwork is displayed in full, without cropping. */
.company-logo { display: block; object-fit: contain; flex-shrink: 0; background: #fff; border-radius: 8px; }
.company-logo-header { width: 68px; height: 68px; }
.company-logo-footer { width: 112px; height: 112px; }
.company-logo-login { width: 88px; height: 88px; }
.company-logo-admin { width: 48px; height: 48px; }
.company-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.company-brand-copy { display: grid; gap: 3px; }
.company-brand-copy strong { font-family: Inter, sans-serif; color: #07184f; font-size: 14px; white-space: nowrap; }
.company-brand-copy > span { font-size: 10px; color: #64748b; line-height: 1.4; }
.company-brand-footer { align-items: center; }
@media (min-width: 1280px) {
  .header-calculator { display: none; }
  .desktop-navigation { font-size: 12px; gap: 0; }
  .desktop-navigation > a { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 420px) {
  .company-logo-header { width: 60px; height: 60px; }
  .company-brand-copy strong { font-size: 12px; }
  .company-brand { gap: 6px; }
  .admin-header > div { height: auto; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-node { animation: none; }
  html { scroll-behavior: auto; }
}

.login-brand { flex-direction: column; text-align: center; }

/* Light neutral surfaces, brand-blue actions, and readable supporting text. */
:root { color-scheme: light; }
body { background: #f5f6f8; color: #1f2937; }
#home, #engineering, #calculator, footer { background-color: #f1f2f4; color: #1f2937; }
#home { border-bottom: 1px solid #d1d5db; }
#engineering, #calculator { border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
#admin-login-screen { background: #eef0f3; }
.admin-header { background: #f3f4f6; color: #1f2937; }
.company-brand-copy strong { color: #1648a0; }
.company-brand-copy > span { color: #4b5563; }
p { line-height: 1.75; }
input, select, textarea { color: #1f2937; }
input::placeholder, textarea::placeholder { color: #6b7280; opacity: 1; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
#hero-rec-card { background: #fff; border-color: #bfdbfe; }
.flow-node { animation: none; }

.text-xs { font-size: 0.8125rem; line-height: 1.6; }

.company-brand-copy { min-width: 0; max-width: 170px; }
.company-brand-copy strong { white-space: normal; overflow-wrap: anywhere; }
#public-data-status:empty { display: none; }
#save-conflict pre { overflow-wrap: anywhere; }
#editor-modal input, #editor-modal select { max-width: 100%; }
#catalog-grid h3, #catalog-grid p, #catalog-grid li, #packages-grid h3, #packages-grid p, #packages-grid li, #portfolio-grid h3, #portfolio-grid p, #promotions-grid h3, #promotions-grid p, #quote-items-list span, #product-modal-body h3, #product-modal-body p, #product-modal-body li, #admin-products-list h3, #admin-products-list p, #admin-packages-list h3, #admin-packages-list p, #admin-portfolio-list h3, #admin-portfolio-list p, #admin-promotions-list h3, #admin-promotions-list p, #admin-quotes-list h3, #admin-quotes-list p, #admin-quotes-list li { overflow-wrap: anywhere; word-break: break-word; }
footer { padding-bottom: 8.5rem !important; }
@media (max-width:420px) { .company-brand-copy { max-width: 125px; } }

/* Reserve the same icon geometry before Lucide replaces placeholders with SVG. */
i[data-lucide] { display: inline-block; flex-shrink: 0; vertical-align: middle; }
#hero-rec-save { min-height: 3rem; }
#hero-rec-equip { min-height: 2.5rem; }
