/* ==========================================================================
   METALLIQ™ - Precision Metal & Material Weight Calculator
   Industrial Dark Engineering Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-deep: #070a12;
  --bg-base: #0b1120;
  --bg-surface: #111a2e;
  --bg-surface-elevated: #16223b;
  --bg-card: rgba(17, 26, 46, 0.72);
  --bg-card-hover: rgba(24, 38, 68, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: #0ea5e9;

  /* Accents & Brand Palette */
  --ew-orange: #f26522;
  --ew-orange-hover: #ff7530;
  --ew-orange-glow: rgba(242, 101, 34, 0.4);
  --ew-navy: #043464;
  --ew-navy-light: #0d4680;

  --cyan-500: #0ea5e9;
  --cyan-400: #38bdf8;
  --cyan-glow: rgba(14, 165, 233, 0.35);

  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-glow: rgba(245, 158, 11, 0.3);

  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  --purple-500: #a855f7;
  --purple-400: #c084fc;

  --rose-500: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.3);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
    linear-gradient(to bottom, #070a12, #0b1120);
  background-attachment: fixed;
}

/* Top Navigation Bar */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 4px 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 1px rgba(255, 255, 255, 0.4) inset;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 44px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(242, 101, 34, 0.35), 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ffffff 40%, var(--ew-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-verified-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  background: rgba(242, 101, 34, 0.15);
  color: #fb923c;
  border: 1px solid rgba(242, 101, 34, 0.35);
  border-radius: 4px;
  text-transform: uppercase;
}

.brand-sub-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.brand-divider {
  color: var(--border-medium);
}

.brand-website-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.72rem;
  transition: color var(--transition-fast);
}

.brand-website-link:hover {
  color: var(--ew-orange-hover);
  text-decoration: underline;
}

.nav-website-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  background: rgba(242, 101, 34, 0.12);
  border: 1px solid rgba(242, 101, 34, 0.38);
  color: #fb923c;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-website-btn:hover {
  background: var(--ew-orange);
  color: #ffffff;
  border-color: var(--ew-orange);
  box-shadow: 0 0 16px var(--ew-orange-glow);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Controls Pill */
.controls-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 0.25rem 0.6rem;
}

.unit-segmented-switch {
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  border-radius: 20px;
  padding: 2px;
  border: 1px solid var(--border-subtle);
}

.unit-segmented-switch label {
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 16px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.unit-segmented-switch input[type="radio"] {
  display: none;
}

.unit-segmented-switch input[type="radio"]:checked + label {
  background: var(--cyan-500);
  color: #ffffff;
  box-shadow: 0 0 10px var(--cyan-glow);
}

.currency-select-wrapper select {
  background: transparent;
  color: var(--text-main);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  padding: 0.2rem 0.4rem;
}

.currency-select-wrapper select option {
  background: var(--bg-surface);
  color: var(--text-main);
}

/* Top Action Buttons */
.nav-btn-icon-text {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-btn-icon-text:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--cyan-500);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Quick Material Bar */
.quick-materials-ribbon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 2rem;
  background: rgba(17, 26, 46, 0.4);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  white-space: nowrap;
}

.ribbon-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}

.quick-mat-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-mat-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--cyan-400);
}

/* Main Container */
.main-content-layout {
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.5rem 2rem 4rem 2rem;
}

/* Shape Grid Selector */
.shape-selector-section {
  margin-bottom: 1.75rem;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shape-tabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 0.6rem;
}

.shape-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}

.shape-tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.shape-tab-btn.active {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.15), rgba(17, 26, 46, 0.85));
  border-color: var(--cyan-500);
  color: #ffffff;
  box-shadow: 0 0 16px var(--cyan-glow), inset 0 0 12px rgba(14, 165, 233, 0.15);
}

.shape-tab-btn .shape-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  transition: transform var(--transition-fast);
}

.shape-tab-btn.active .shape-icon {
  transform: scale(1.1);
  color: #38bdf8;
}

.shape-tab-btn .shape-label {
  font-size: 0.73rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

/* Three-Column Workspace Layout */
.calculator-workspace-grid {
  display: grid;
  grid-template-columns: 360px 1fr 340px;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1280px) {
  .calculator-workspace-grid {
    grid-template-columns: 340px 1fr;
  }
  .results-hud-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .calculator-workspace-grid {
    grid-template-columns: 1fr;
  }
  .top-navbar {
    padding: 0.85rem 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .main-content-layout {
    padding: 1rem 1rem 3rem 1rem;
  }
}

/* Glassmorphic Panel Cards */
.workspace-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Material Selector Box */
.material-box-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.material-select-styled {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.material-select-styled:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.material-select-styled optgroup {
  background: #090d16;
  color: var(--cyan-400);
  font-weight: 700;
}

.material-select-styled option {
  background: var(--bg-surface);
  color: var(--text-main);
}

.material-meta-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
}

.density-badge {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--cyan-400);
}

.material-desc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.73rem;
  color: var(--text-dim);
  line-height: 1.35;
}

.spec-tag {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--amber-400);
  font-weight: 500;
  font-size: 0.7rem;
}

/* Custom Density Group */
.custom-density-box {
  background: var(--bg-surface);
  border: 1px solid var(--amber-500);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.custom-density-box input {
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--amber-400);
  padding: 0.4rem 0.6rem;
  font-family: var(--font-mono);
  font-weight: 600;
  outline: none;
}

/* Dimensional Input Fields */
.dimensions-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.input-field-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  transition: all var(--transition-fast);
}

.input-field-card:focus-within {
  border-color: var(--cyan-500);
  box-shadow: 0 0 14px var(--cyan-glow);
}

.input-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-header label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tool-chip-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--amber-400);
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tool-chip-btn:hover {
  background: var(--amber-500);
  color: #000;
}

.input-compound {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.calc-dim-input {
  flex: 1;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-dim-input:focus {
  border-color: var(--cyan-400);
}

.calc-unit-select {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.5rem;
  outline: none;
  cursor: pointer;
}

/* Secondary Inputs: Quantity, Price, Label */
.secondary-params-group {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.stepper-compound {
  display: flex;
  align-items: center;
}

.stepper-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 32px;
  height: 36px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.stepper-btn:hover {
  background: var(--cyan-500);
  color: #fff;
}

.stepper-btn:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.stepper-btn:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.stepper-input {
  width: 60px;
  text-align: center;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-left: none;
  border-right: none;
  height: 36px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-weight: 700;
  outline: none;
}

.text-sub-input {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.45rem 0.65rem;
  font-size: 0.85rem;
  outline: none;
}

.text-sub-input:focus {
  border-color: var(--cyan-500);
}

/* Center Technical Diagram Panel */
.diagram-canvas-panel {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  position: relative;
}

.diagram-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-glow);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--emerald-400); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.diagram-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.3) 0%, rgba(11, 17, 32, 0.7) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.diagram-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.blueprint-svg {
  width: 100%;
  max-height: 380px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.dim-annotation {
  transition: all var(--transition-fast);
}

.dim-annotation.active-field-glow line,
.dim-annotation.active-field-glow circle {
  stroke: #38bdf8 !important;
  stroke-width: 2.5px !important;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

.dim-annotation.active-field-glow rect {
  fill: #0ea5e9 !important;
  stroke: #ffffff !important;
}

.dim-annotation.active-field-glow text {
  fill: #ffffff !important;
  font-weight: 800 !important;
}

.diagram-footer-tips {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

/* Right Column: Results HUD Panel */
.results-hud-panel {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hud-hero-card {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(17, 26, 46, 0.95));
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.12);
  position: relative;
  overflow: hidden;
}

.hud-hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
}

.hud-card-lbl {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hud-value-primary {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 0 16px var(--cyan-glow);
}

.hud-value-secondary {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan-400);
}

.hud-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.4rem;
}

.metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-lbl {
  color: var(--text-muted);
  font-weight: 500;
}

.metric-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

.metric-val.highlight-amber {
  color: var(--amber-400);
}

.metric-val.highlight-emerald {
  color: var(--emerald-400);
}

/* Action Buttons in HUD */
.hud-actions-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-primary-action {
  width: 100%;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 16px var(--cyan-glow);
}

.btn-primary-action:hover {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cyan-glow);
}

.btn-primary-action.btn-added-glow {
  background: var(--emerald-500) !important;
  box-shadow: 0 0 20px var(--emerald-glow) !important;
}

.btn-secondary-action {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary-action:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.btn-success {
  background: rgba(16, 185, 129, 0.2) !important;
  color: var(--emerald-400) !important;
  border-color: var(--emerald-500) !important;
}

/* ==========================================================================
   Project Bill of Materials (BOM) & Takeoff Section
   ========================================================================== */
.bom-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bom-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.bom-title-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bom-main-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bom-subtitle {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.bom-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Summary Cards Row */
.bom-summary-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bom-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.bom-stat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bom-stat-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.bom-stat-sub {
  font-size: 0.75rem;
  color: var(--cyan-400);
}

/* Material Weight Distribution Bar */
.breakdown-section {
  margin-bottom: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.breakdown-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.breakdown-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breakdown-bar-container {
  height: 12px;
  background: var(--bg-deep);
  border-radius: 6px;
  display: flex;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.breakdown-bar-seg {
  height: 100%;
  transition: width var(--transition-normal);
}

.breakdown-legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-name {
  color: var(--text-muted);
}

.legend-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-main);
}

/* BOM Items List */
.bom-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bom-item-row {
  display: grid;
  grid-template-columns: 1fr 90px 140px 140px 80px;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: all var(--transition-fast);
}

.bom-item-row:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.bom-item-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.bom-item-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border: 1px solid;
  border-radius: 4px;
}

.bom-item-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #ffffff;
}

.bom-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.75rem;
}

.material-name-tag {
  color: var(--amber-400);
  font-weight: 500;
}

.dim-summary-tag {
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.qty-badge {
  background: rgba(14, 165, 233, 0.1);
  color: var(--cyan-400);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  text-align: center;
  display: inline-block;
}

.bom-item-col-wt .wt-primary,
.bom-item-col-cost .cost-primary {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.bom-item-col-wt .wt-secondary,
.bom-item-col-cost .cost-secondary {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.bom-item-col-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: flex-end;
}

.btn-icon-action {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon-action:hover {
  background: var(--bg-deep);
  color: #fff;
  border-color: var(--border-medium);
}

.delete-bom-btn:hover {
  color: var(--rose-500);
  border-color: var(--rose-500);
  box-shadow: 0 0 10px var(--rose-glow);
}

.bom-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-dim);
}

.empty-icon {
  width: 48px;
  height: 48px;
  stroke: var(--text-dim);
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

/* ==========================================================================
   Modals & Overlays
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.modal-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Data Tables */
.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}

.data-table th {
  background: var(--bg-deep);
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.table-apply-btn {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid var(--cyan-500);
  color: var(--cyan-400);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.table-apply-btn:hover {
  background: var(--cyan-500);
  color: #fff;
}

.button-group-sm {
  display: flex;
  gap: 0.35rem;
}

/* Material Comparison Modal Styles */
.comp-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comp-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color var(--transition-fast);
}

.comp-card.comp-current {
  border-color: var(--cyan-500);
  background: rgba(14, 165, 233, 0.06);
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comp-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin-right: 0.5rem;
}

.current-badge {
  font-size: 0.65rem;
  background: var(--cyan-500);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
  font-weight: 600;
}

.comp-cat {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.comp-weights {
  text-align: right;
}

.comp-kg {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.comp-lb {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.comp-bar-wrapper {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.comp-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width var(--transition-normal);
}

.comp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-sm-switch {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-sm-switch:hover {
  background: var(--cyan-500);
  color: #fff;
  border-color: var(--cyan-500);
}

/* ==========================================================================
   Industrial Engineering & Company Footer
   ========================================================================== */
.app-footer {
  margin-top: 4rem;
  background: rgba(11, 17, 32, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2rem 1.5rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-section {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-logo-badge {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 101, 34, 0.35);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-company-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-company-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 600px;
}

.footer-location-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.footer-bullet {
  color: var(--border-medium);
}

.footer-link-highlight {
  color: #f97316;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-link-highlight:hover {
  color: #fed7aa;
  text-decoration: underline;
}

.footer-links-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-list li a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-list li a:hover {
  color: var(--ew-orange);
}

.footer-bottom-bar {
  max-width: 1400px;
  margin: 1.5rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-bottom-links a {
  color: #f97316;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-brand-section {
    flex-direction: column;
  }
}

/* Printable Takeoff Modal Styles */
.printable-takeoff-container {
  background: #ffffff;
  color: #0f172a;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  font-family: var(--font-main);
}

.takeoff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.takeoff-brand-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.takeoff-logo-badge {
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.takeoff-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.takeoff-company {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
}

.takeoff-sub {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.takeoff-meta {
  text-align: right;
  font-size: 0.8rem;
  color: #334155;
}

.takeoff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
}

.takeoff-table th {
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.6rem 0.75rem;
  border: 1px solid #cbd5e1;
  font-weight: 700;
}

.takeoff-table td {
  padding: 0.6rem 0.75rem;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.takeoff-total-row td {
  background: #f8fafc;
  font-weight: 800;
  font-size: 0.9rem;
  border-top: 2px solid #0f172a;
}

.takeoff-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.takeoff-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
}

.takeoff-summary-box .box-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.takeoff-summary-box .box-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.takeoff-signatures {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.8rem;
  color: #475569;
}

.modal-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-primary {
  background: #0ea5e9;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

/* Print Specific Rules */
@media print {
  body * {
    visibility: hidden;
  }
  #printableTakeoffArea, #printableTakeoffArea * {
    visibility: visible;
  }
  #printableTakeoffArea {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
    padding: 0;
  }
}

/* Input warnings & accuracy notes */
.calc-warnings {
  margin: 0.75rem 0;
  display: grid;
  gap: 0.4rem;
}
.calc-msg {
  font-size: 0.78rem;
  line-height: 1.4;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  border: 1px solid;
}
.calc-msg-warn {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.45);
}
.calc-msg-note {
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
}

/* ---------- SEO hero & content ---------- */
.seo-hero { padding: 1.25rem 0 0.25rem; }
.seo-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--text-main);
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}
.seo-hero-sub { color: var(--text-muted); max-width: 820px; margin: 0; line-height: 1.55; font-size: 0.98rem; }
.seo-content { display: grid; gap: 1.25rem; margin: 2rem 0 1rem; }
.seo-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  color: var(--text-main);
  line-height: 1.65;
}
.seo-block h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.75rem; color: var(--text-main); }
.seo-block h3 { font-size: 1.05rem; margin: 1.25rem 0 0.35rem; color: var(--cyan-400); }
.seo-block p { margin: 0 0 0.6rem; color: #cbd5e1; max-width: 880px; }
.seo-block strong { color: var(--text-main); }
.seo-table-wrap { overflow-x: auto; margin-top: 0.75rem; }
.seo-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.seo-table th, .seo-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border-subtle); text-align: left; white-space: nowrap; }
.seo-table th { color: var(--text-muted); font-weight: 600; background: var(--bg-surface); }
.seo-table td:not(:first-child), .seo-table th:not(:first-child) { text-align: right; font-family: var(--font-mono); }
.seo-table tbody tr:hover { background: var(--bg-card-hover); }
.seo-faq-item { border-bottom: 1px solid var(--border-subtle); padding: 0.75rem 0; }
.seo-faq-item summary { cursor: pointer; font-weight: 600; color: var(--text-main); }
.seo-faq-item p { margin: 0.5rem 0 0; }
.seo-cta { border-color: var(--ew-orange-glow); }
.seo-cta-btn {
  display: inline-block; margin-top: 0.5rem; padding: 0.65rem 1.1rem;
  background: var(--ew-orange); color: #fff; border-radius: var(--radius-md);
  font-weight: 600; text-decoration: none;
}
.seo-cta-btn:hover { background: var(--ew-orange-hover); }
@media (max-width: 640px) { .seo-block { padding: 1.1rem 1rem; } }

.btn-quote-link { display:block; text-align:center; margin-top:0.25rem; font-size:0.85rem; font-weight:600; color: var(--ew-orange); text-decoration:none; }
.btn-quote-link:hover { color: var(--ew-orange-hover); text-decoration: underline; }
.seo-block p a { color: var(--cyan-400); }
