/* ==========================================
   DESIGN SYSTEM & GLOBAL VARIABLES (DARK THEME)
   ========================================== */

:root {
  /* Colors */
  --bg-primary: #060913;      /* Deep obsidian space */
  --bg-secondary: #0f172a;    /* Dark slate blue */
  --bg-tertiary: #1e293b;     /* Muted charcoal */
  --bg-card: rgba(15, 23, 42, 0.65);
  
  --accent-gold: #f59e0b;     /* Warm Amber (Armenian apricot/cognac) */
  --accent-gold-hover: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.15);
  
  --accent-green: #10b981;    /* Vibrant Emerald (Amazon ROI/Profit) */
  --accent-green-hover: #059669;
  --accent-green-glow: rgba(16, 185, 129, 0.15);
  
  --accent-teal: #06b6d4;     /* Tech Teal (Logistics & Connection) */
  --accent-teal-hover: #0891b2;
  --accent-teal-glow: rgba(6, 182, 212, 0.15);

  --accent-red: #ef4444;      /* Amazon FBA Fees / Danger */
  --accent-red-glow: rgba(239, 68, 68, 0.15);

  --text-primary: #f8fafc;    /* Near white */
  --text-secondary: #cbd5e1;  /* Cool grey */
  --text-muted: #64748b;      /* Slate grey */

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(6, 182, 212, 0.4);
  
  /* Layout Metrics */
  --max-width: 1280px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-teal: 0 0 20px rgba(6, 182, 212, 0.15);
  --shadow-gold: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* ==========================================
   RESET & SYSTEM BASICS
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Abstract ambient background glows */
body::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
body::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================
   LAYOUT STRUCTURE
   ========================================== */
header {
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-logo-img {
  height: 84px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.brand-accent {
  color: #ff9900;
}

.brand-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ff9900;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  box-shadow: inset 0 -2px 0 var(--accent-teal);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.header-sub-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.35rem 2rem;
  background: rgba(6, 9, 19, 0.4);
}

.header-sub-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.role-toggle-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.25rem;
  border-radius: 100px;
}

.role-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.role-btn.active {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-green) 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 160px);
}

footer {
  border-top: 1px solid var(--border-glass);
  padding: 2rem;
  background: rgba(6, 9, 19, 0.95);
  margin-top: 4rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-brand {
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================
   UI COMPONENTS & CONTAINERS
   ========================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-green) 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f97316 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-info {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ==========================================
   VIEWS & SECTIONS
   ========================================== */

/* Fade-in Animation */
.view-container {
  display: none;
  animation: viewFadeIn 0.5s ease forwards;
}

.view-container.active {
  display: block;
}

@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- VIEW: HOME --- */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff 30%, var(--accent-teal) 70%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--border-glass);
  aspect-ratio: 16/9;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 19, 0.9) 0%, transparent 60%);
}

.hero-stats {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-around;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-teal);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Feature Grid */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  text-align: left;
}

.feature-icon {
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-teal);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.15);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-gold);
  border-color: rgba(245, 158, 11, 0.15);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Category Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 5rem;
}

.category-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  border-radius: var(--border-radius-lg);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  text-align: center;
}

.category-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.category-card:hover {
  background: var(--bg-card);
  border-color: var(--accent-teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-teal);
}

.category-card:hover i {
  color: var(--accent-teal);
  transform: scale(1.1);
}

/* Call to Action */
.cta-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: var(--text-secondary);
}

/* --- VIEW: DIRECTORY --- */
.directory-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
}

.filter-sidebar {
  height: fit-content;
  position: sticky;
  top: 90px;
}

.sidebar-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 0.75rem 0.6rem 2.2rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--accent-teal);
  outline: none;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  accent-color: var(--accent-teal);
}

/* Products/Distributors grid tabs */
.directory-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.directory-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 0.25rem;
  border-radius: var(--border-radius-md);
}

.dir-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dir-tab-btn.active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

/* Distributor Card */
.distributor-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dist-logo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--accent-gold);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.distributor-card:nth-child(even) .dist-logo {
  color: var(--accent-teal);
}

.dist-title h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.rating-container {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--accent-gold);
}

.reviews-count {
  color: var(--text-muted);
}

.dist-info {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.info-row i {
  color: var(--text-muted);
  width: 16px;
}

.dist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.dist-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.card-actions {
  display: flex;
  gap: 0.75rem;
}

.card-actions button {
  flex: 1;
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.product-fav-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.product-fav-btn:hover {
  color: #ef4444;
  transform: scale(1.1);
}

.product-fav-btn.active {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.prod-distributor {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.prod-title {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.prod-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 0.75rem;
}

.prod-spec-item strong {
  color: var(--text-secondary);
}

.prod-pricing {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-val.green {
  color: var(--accent-green);
}

.prod-moq {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- VIEW: CALCULATOR --- */
.calculator-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

.calc-inputs-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-header {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}

.calc-header p {
  color: var(--text-secondary);
}

.calc-presets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-preset-select {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  padding: 0.6rem;
  outline: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-with-symbol {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-symbol .symbol {
  position: absolute;
  left: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.input-with-symbol .symbol-right {
  position: absolute;
  right: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.input-with-symbol input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 0.75rem 0.6rem 1.75rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.input-with-symbol input.padding-right {
  padding-right: 2.2rem;
}

.input-with-symbol input:focus {
  border-color: var(--accent-teal);
  outline: none;
}

/* Sliders */
.slider-group {
  margin-top: 0.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.slider-val {
  font-weight: 700;
  color: var(--accent-teal);
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  outline: none;
  accent-color: var(--accent-teal);
  cursor: pointer;
}

.radio-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.radio-tile-label {
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-md);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.radio-tile-label i {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.radio-tile-label input {
  display: none;
}

.radio-tile-label:hover {
  background: rgba(255, 255, 255, 0.05);
}

.radio-tile-label.active {
  border-color: var(--accent-teal);
  background: rgba(6, 182, 212, 0.05);
}

.radio-tile-label.active i {
  color: var(--accent-teal);
}

.radio-tile-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.radio-tile-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
}

.toggle-label {
  display: flex;
  flex-direction: column;
}

.toggle-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.toggle-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-switch {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  transition: .4s;
  border-radius: 34px;
}

.slider-switch:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-secondary);
  transition: .4s;
  border-radius: 50%;
}

.switch input:checked + .slider-switch {
  background-color: var(--accent-teal);
}

.switch input:checked + .slider-switch:before {
  transform: translateX(20px);
  background-color: var(--bg-primary);
}

/* Calculator Results Panel */
.calc-results-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-gauge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.calc-gauge-box.unprofitable {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.roi-badge {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  margin-bottom: 0.5rem;
}

.calc-gauge-box.unprofitable .roi-badge {
  color: var(--accent-red);
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
}

.profit-figure {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--accent-green);
  line-height: 1.1;
}

.calc-gauge-box.unprofitable .profit-figure {
  color: var(--accent-red);
}

.profit-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Margin Stack Bar */
.margin-bar-wrapper {
  margin: 1rem 0;
  width: 100%;
}

.margin-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.margin-stack-bar {
  display: flex;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
}

.stack-segment {
  height: 100%;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
}

.stack-cost {
  background-color: var(--accent-gold); /* wholesale cost */
}

.stack-shipping {
  background-color: var(--accent-teal); /* shipping */
}

.stack-fees {
  background-color: #f43f5e; /* FBA fees */
}

.stack-profit {
  background-color: var(--accent-green); /* Profit */
  color: #000;
}

.stack-profit.negative {
  background-color: #475569;
  color: var(--text-primary);
}

/* Calculation Detail List */
.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.breakdown-row.total {
  font-weight: 700;
  border-top: 1px solid var(--border-glass);
  border-bottom: none;
  padding-top: 0.75rem;
  font-size: 1.05rem;
}

.breakdown-val {
  font-family: monospace;
  font-weight: 600;
}

.breakdown-row.total .breakdown-val {
  color: var(--accent-teal);
}

/* --- VIEW: RFQS --- */
.rfqs-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.rfq-search-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rfq-search-bar input {
  flex-grow: 1;
}

.rfq-card {
  margin-bottom: 1.5rem;
}

.rfq-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rfq-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.rfq-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.rfq-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rfq-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.rfq-target-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
}

.metric-box {
  text-align: left;
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-val.green {
  color: var(--accent-green);
}

.rfq-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* --- VIEW: PORTALS / DASHBOARD --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.dashboard-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.summary-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.summary-icon.teal { background: rgba(6, 182, 212, 0.1); color: var(--accent-teal); }
.summary-icon.gold { background: rgba(245, 158, 11, 0.1); color: var(--accent-gold); }
.summary-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.summary-icon.red { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }

.summary-info {
  display: flex;
  flex-direction: column;
}

.summary-num {
  font-size: 1.3rem;
  font-weight: 800;
}

.summary-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.dashboard-details-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.inbox-item {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.inbox-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.inbox-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.inbox-sender {
  font-weight: 700;
  color: var(--accent-teal);
}

.inbox-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dashboard-actions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================
   MODALS & OVERLAYS
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 19, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.modal-content {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.5rem;
}

/* Auth Modal & Tabs */
.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.auth-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.role-choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.role-choice.active {
  border-color: var(--accent-teal);
  background: rgba(20, 184, 166, 0.1);
}

.role-choice i {
  font-size: 1.25rem;
  color: var(--accent-teal);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-glass);
}

.auth-divider span {
  padding: 0 0.75rem;
}

.auth-alert {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.auth-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.user-badge-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.82rem;
}

/* Forms general */
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 0.75rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.form-input:focus {
  border-color: var(--accent-teal);
  outline: none;
}

.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 0.75rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  resize: vertical;
  min-height: 120px;
}

.form-textarea:focus {
  border-color: var(--accent-teal);
  outline: none;
}

/* ==========================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .directory-layout {
    grid-template-columns: 1fr;
  }
  
  .filter-sidebar {
    position: relative;
    top: 0;
  }
  
  .calculator-container {
    grid-template-columns: 1fr;
  }
  
  .dashboard-details-row {
    grid-template-columns: 1fr;
  }
  
  .dashboard-summary-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Hamburger Button (Default hidden on desktop) */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-teal);
}

/* ==========================================
   MOBILE & TABLET HEADER RESPONSIVENESS
   ========================================== */
@media (max-width: 768px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header nav {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-glass);
  }

  header nav.mobile-nav-active {
    display: block;
    animation: fadeIn 0.25s ease-out;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    width: 100%;
    padding: 0;
    overflow: visible;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    width: 100%;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.02);
  }

  .nav-link.active {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent-teal);
    box-shadow: none;
    border-radius: var(--border-radius-sm);
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .brand-tagline {
    font-size: 0.75rem;
  }

  .header-sub-bar {
    padding: 0.4rem 1rem;
  }

  .header-sub-container {
    justify-content: center;
  }

  .role-toggle-container {
    width: 100%;
    max-width: 420px;
  }

  .role-btn {
    flex: 1;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .dashboard-summary-cards {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.6rem 0.75rem;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  .role-btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* Publisher pages and monetization surfaces */
[hidden] { display: none !important; }
.notice { margin: 1rem 0; padding: 1rem 1.2rem; border-left: 3px solid var(--accent-teal); background: rgba(14,165,165,.07); color: var(--text-secondary); font-size: .9rem; line-height: 1.6; }
.login-gate { padding: 3rem; display: grid; gap: 1.4rem; justify-items: start; }
.workspace-row { padding: 1rem 0; border-bottom: 1px solid var(--border-glass); }
.publisher-home { max-width: 1280px; margin: 3rem auto; padding: 1.5rem; }
.publisher-home h2 { font-size: clamp(1.5rem,3vw,2.3rem); margin: .5rem 0; }
.publisher-home p { color: var(--text-secondary); line-height: 1.65; }
.eyebrow, .ad-label { display: block; font-size: .7rem; letter-spacing: .14em; color: var(--accent-teal); font-weight: 700; }
.guide-teasers { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin:1.6rem 0; }
.guide-teasers a { border:1px solid var(--border-glass); border-radius:14px; padding:1.5rem; color:var(--text-primary); background:var(--bg-card); font-weight:600; }
.guide-teasers span { display:block; margin-top:1rem; color:var(--accent-teal); font-size:.85rem; }
.sponsor-invitation { padding:2rem; background:linear-gradient(110deg,rgba(20,184,166,.1),rgba(255,153,0,.05)); border:1px solid var(--border-glass); border-radius:16px; }
.sponsor-invitation > span { display:block; font-size:.7rem; letter-spacing:.15em; color:var(--accent-gold); margin-bottom:.7rem; }
.sponsor-invitation h3 { margin-bottom:.5rem; }
.sponsor-invitation .btn { margin-top:1rem; }
.publisher-footer-links { display:flex; gap:1rem; flex-wrap:wrap; width:100%; font-size:.85rem; }
.publisher-footer-links a, .text-link { color:var(--text-secondary); }
.text-link { background:transparent; border:0; padding:0; cursor:pointer; font:inherit; text-decoration:underline; }
.privacy-panel { position:fixed; bottom:1rem; left:1rem; max-width:460px; width:calc(100vw - 2rem); z-index:1500; background:#141b2d; padding:1.4rem; border:1px solid #344257; border-radius:14px; box-shadow:0 10px 40px #0006; font-size:.9rem; }
.privacy-panel p { margin:.7rem 0; line-height:1.6; color:#c5cfdd; }
.privacy-panel a { color:#33d6cc; text-decoration:underline; }
.privacy-actions { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1rem; }
.privacy-actions .btn { font-size:.8rem; padding:.65rem .8rem; }
.site-reading { min-height:100vh; background:#080c17; }
.reading-header { max-width:1180px; margin:auto; padding:1.5rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; border-bottom:1px solid #253045; }
.reading-brand { color:#fff; font-weight:800; font-size:1.2rem; }
.reading-brand span { color:#ffad31; }
.reading-nav { display:flex; flex-wrap:wrap; gap:1.2rem; font-size:.9rem; }
.reading-nav a { color:#c5cfdd; }
.reading-nav a:hover { color:#30d6cd; }
.reading-main { max-width:1100px; margin:auto; padding:3rem 1.5rem; }
.reading-main h1 { font-size:clamp(2rem,5vw,3.6rem); max-width:900px; line-height:1.12; margin:1rem 0; letter-spacing:-.025em; }
.reading-main .lead { font-size:1.15rem; color:#bcc9db; line-height:1.8; max-width:780px; }
.reading-layout { display:grid; grid-template-columns:minmax(0,760px) minmax(200px,280px); gap:3rem; margin-top:2.5rem; }
.reading-body { font-size:1.05rem; line-height:1.85; color:#c8d3e1; }
.reading-body h2 { color:#fff; font-size:1.5rem; line-height:1.3; margin:2rem 0 .8rem; }
.reading-body h3 { color:#fff; margin:1.4rem 0 .5rem; }
.reading-body p { margin:.8rem 0 1.2rem; }
.reading-body ul, .reading-body ol { padding-left:1.5rem; margin:1rem 0; }
.reading-body li { margin:.5rem 0; }
.reading-body a { color:#35dbd1; text-decoration:underline; text-underline-offset:3px; }
.reading-body table { width:100%; border-collapse:collapse; font-size:.9rem; margin:1.4rem 0; }
.reading-body th, .reading-body td { padding:.75rem; border:1px solid #33405a; text-align:left; }
.reading-body th { color:#fff; background:#151e2f; }
.reading-body .worked-example { padding:1.3rem; background:#111d2b; border-radius:12px; border-left:3px solid #34cbc0; }
.reading-meta { color:#93a5be; font-size:.85rem; margin-top:1rem; }
.reading-sidebar { align-self:start; position:sticky; top:1.5rem; }
.reading-sidebar .sponsor-invitation { padding:1.4rem; }
.reading-sidebar p { font-size:.9rem; color:#c1cddd; line-height:1.7; margin:.7rem 0; }
.reading-sidebar h3 { font-size:1.05rem; }
.reading-footer { max-width:1180px; margin:auto; padding:2rem 1.5rem; border-top:1px solid #253045; color:#93a5be; line-height:1.7; font-size:.85rem; }
.reading-footer nav { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:1rem; }
.reading-footer a { color:#c4cedd; }
.guide-grid, .advertising-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.2rem; margin:2rem 0; }
.guide-card { padding:1.6rem; border:1px solid #263550; border-radius:16px; background:#101827; }
.guide-card h2 { font-size:1.3rem; margin:.8rem 0; color:#fff; }
.guide-card p { color:#aebed2; line-height:1.7; margin-bottom:1rem; }
.guide-card a { color:#36d9ce; }
.article-actions { display:flex; flex-wrap:wrap; gap:1rem; margin:2rem 0; }
.article-actions .btn { color:#fff; text-decoration:none; }
.ad-slot { padding:1rem 0; min-height:120px; overflow:hidden; }
@media(max-width:800px) { .reading-layout { grid-template-columns:1fr; gap:2rem; } .reading-sidebar { position:static; } .guide-teasers,.guide-grid,.advertising-options { grid-template-columns:1fr; } .reading-header { flex-wrap:wrap; } .reading-main { padding-top:2rem; } .reading-body table { font-size:.8rem; } .reading-body th,.reading-body td { padding:.5rem; } header .header-container { flex-wrap:wrap; } .nav-links { gap:.7rem; } }
@media(max-width:540px) { .reading-nav { gap:.8rem; } .privacy-panel { bottom:.5rem; left:.5rem; width:calc(100vw - 1rem); } .login-gate { padding:1.5rem; } }
.skip-link { position:absolute; left:1rem; top:-5rem; background:#141b2d; padding:.8rem; color:white; z-index:2000; }
.skip-link:focus { top:.5rem; }
.reading-body .advertising-options { margin:1.5rem 0; }
.reading-body .btn { text-decoration:none; }
.reading-body .btn-primary { color:#080c17; }

/* Refined community interface — original brand palette and artwork. */
:root { --text-muted: #91a0b6; }
body { background-image: radial-gradient(ellipse at 85% 5%,rgba(6,182,212,.055),transparent 35%); }
body::before, body::after { display:none; }
button, a, input, select, textarea { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:2px solid var(--accent-teal); outline-offset:5px; }
header { background:rgba(6,9,19,.94); backdrop-filter:blur(20px); }
.header-container { max-width:1440px; padding:1rem 2rem; gap:1.2rem; }
.logo { flex-shrink:0; gap:.6rem; }
.header-brand-image { width:52px; height:52px; object-fit:contain; border-radius:12px; border:1px solid var(--border-glass); }
.brand-title { white-space:nowrap; font-size:1.05rem; letter-spacing:.025em; }
.brand-tagline { font-size:.58rem; letter-spacing:.17em; margin-top:.4rem; color:var(--text-muted); }
.nav-links { gap:.15rem; align-items:center; }
.nav-link { background:transparent; border:0; font:inherit; font-size:.8rem; line-height:1.45; padding:.65rem .7rem; color:var(--text-secondary); white-space:nowrap; min-height:42px; }
.nav-link > i { display:none; }
.nav-link.active { color:var(--accent-teal); background:rgba(6,182,212,.09); border-radius:9px; box-shadow:none; }
.header-sub-bar { padding:.45rem 2rem; background:rgba(15,23,42,.32); }
.header-sub-container { max-width:1376px; }
.role-toggle-container { gap:.25rem; background:#0c1220; border-radius:10px; padding:.2rem; }
.role-btn { border-radius:7px; font-size:.75rem; }
.role-btn.active { box-shadow:none; }
#app-root { padding:2.5rem 2rem 0; }
.hero-section { gap:3.5rem; margin:1.5rem 0 6rem; grid-template-columns:1.06fr 1fr; }
.hero-kicker { display:flex; align-items:center; gap:.65rem; color:var(--accent-gold); letter-spacing:.13em; font-size:.65rem; font-weight:700; margin-bottom:1.5rem; }
.hero-kicker > span { width:20px; height:2px; background:var(--accent-gold); }
.hero-content h1 { font-size:clamp(2.4rem,4vw,3.65rem); line-height:1.14; letter-spacing:-.045em; margin-bottom:1.4rem; }
html[lang="hy"] .hero-content h1 { font-size:clamp(2.1rem,3.4vw,3.1rem); line-height:1.22; letter-spacing:-.025em; }
.hero-content p { font-size:1rem; line-height:1.85; max-width:540px; color:#aebed2; }
.hero-actions { flex-wrap:wrap; gap:.75rem; }
.btn { min-height:46px; border-radius:10px; font-size:.88rem; padding:.8rem 1.2rem; transition:background .2s,border-color .2s,transform .2s; }
.btn-primary { box-shadow:0 6px 24px rgba(6,182,212,.12); }
.btn-secondary { background:rgba(255,255,255,.025); border-color:rgba(255,255,255,.14); }
.btn:hover { transform:translateY(-2px); }
.hero-image-container { aspect-ratio:1.14; border-radius:24px; border-color:rgba(6,182,212,.2); box-shadow:0 25px 80px rgba(0,0,0,.35),0 0 80px rgba(6,182,212,.05); }
.hero-image { object-fit:cover; }
.hero-image-overlay { background:linear-gradient(0deg,rgba(6,9,19,.95),transparent 50%); }
.hero-image-caption { position:absolute; inset:auto 1.5rem 1.5rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; font-size:.9rem; line-height:1.5; color:#cedae7; padding-top:1rem; border-top:1px solid rgba(255,255,255,.12); }
.hero-image-caption > span:last-child { color:var(--accent-gold); font-size:1.5rem; }
.section-header { max-width:720px; text-align:left; margin:0 0 2rem; }
.section-header h2 { font-size:clamp(1.65rem,2.7vw,2.3rem); line-height:1.3; letter-spacing:-.03em; }
.section-header p { font-size:.95rem; line-height:1.8; color:var(--text-muted); }
.features-grid { gap:1rem; margin-bottom:5rem; }
.glass-card { background:linear-gradient(150deg,rgba(20,30,49,.75),rgba(12,18,31,.9)); border-radius:16px; box-shadow:none; }
.feature-card { padding:1.8rem; }
.feature-card h3 { font-size:1.15rem; line-height:1.4; }
.feature-card p { color:#aebed2; line-height:1.8; font-size:.9rem; }
.feature-icon { width:44px; height:44px; font-size:1.15rem; margin-bottom:1.4rem; }
.categories-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:.8rem; }
.category-card { align-items:flex-start; padding:1.4rem; border-radius:14px; min-height:155px; text-align:left; position:relative; background:#0c1321; }
.category-card::after { content:'↗'; position:absolute; right:1.2rem; top:1.1rem; color:var(--text-muted); font-size:1.15rem; }
.category-card i { font-size:1.5rem; margin-bottom:1rem; }
.category-card h3 { font-size:.92rem; line-height:1.5; }
.category-card p { font-size:.78rem; }
.category-card:hover { border-color:rgba(6,182,212,.45); transform:translateY(-3px); background:#101c2b; }
.cta-banner { border-radius:20px; padding:3rem 2rem; background:linear-gradient(115deg,rgba(6,182,212,.09),rgba(16,185,129,.04),rgba(245,158,11,.055)); box-shadow:none; }
.cta-banner h2 { font-size:2rem; }
.cta-banner p { color:#b2c0d2; font-size:1rem; }
.publisher-home { margin:5rem auto 0; padding:0 2rem; }
.publisher-home > div:first-child { max-width:700px; }
.publisher-home h2 { line-height:1.3; }
.guide-teasers a { padding:1.8rem; background:linear-gradient(140deg,#121e30,#0c1321); transition:border-color .2s,transform .2s; }
.guide-teasers strong { display:block; font-size:1.05rem; line-height:1.55; }
.guide-teasers a:hover { transform:translateY(-3px); border-color:rgba(6,182,212,.5); }
.sponsor-invitation { border-radius:18px; padding:2rem; border-color:rgba(245,158,11,.18); }
.publisher-home > .sponsor-invitation { margin-top:2rem; }
.sponsor-invitation h3 { font-size:1.4rem; line-height:1.4; max-width:700px; }
.sponsor-invitation p { max-width:760px; }
footer { margin-top:5rem; padding:2.5rem 2rem; }
.footer-container { gap:2rem; align-items:flex-start; }
.footer-brand img { height:80px !important; border:1px solid var(--border-glass); border-radius:12px !important; }
.publisher-footer-links { padding-top:1.5rem; border-top:1px solid var(--border-glass); gap:1.2rem; }
.publisher-footer-links a:hover { color:var(--accent-teal); }
.notice { border-radius:0 10px 10px 0; line-height:1.8; }
.filter-sidebar { border-radius:16px; padding:1.5rem; background:#0c1321; }
.directory-tabs { gap:.3rem; padding:.3rem; border-radius:12px; background:#0c1321; }
.dir-tab-btn { border-radius:9px; }
.product-card { overflow:hidden; }
.product-img { transition:transform .3s; }
.product-card:hover .product-img { transform:scale(1.035); }
.product-card-body { padding:1.3rem; }
.prod-title { line-height:1.4; }
.form-input, .calc-preset-select, .search-input { border-radius:10px; min-height:44px; background:#090f1c; border-color:rgba(255,255,255,.12); }
.form-input:focus, .calc-preset-select:focus { border-color:var(--accent-teal); box-shadow:0 0 0 3px rgba(6,182,212,.08); }
.calc-header h3 { font-size:1.35rem; }
.calc-header p { margin-top:.6rem; line-height:1.7; font-size:.9rem; }
.calc-inputs-panel .notice { margin:0; font-size:.82rem; }
.rfq-card { padding:1.7rem; }
.rfq-title { line-height:1.5; }
.modal-content { border-radius:20px; box-shadow:0 24px 90px rgba(0,0,0,.6); }
/* Shared reading pages */
.site-reading { background:#080c17; }
.site-reading .reading-header { position:relative; top:auto; background:transparent; backdrop-filter:none; max-width:1240px; padding:1rem 2rem; }
.reading-brand { display:flex; align-items:center; gap:.7rem; flex-shrink:0; }
.reading-brand img { width:52px; height:52px; border:1px solid var(--border-glass); border-radius:12px; }
.reading-brand .reading-brand-text { color:#fff; font-size:1rem; letter-spacing:.03em; }
.reading-brand-text small { display:block; font-size:.53rem; color:var(--text-muted); letter-spacing:.17em; margin-top:.25rem; }
.reading-nav { gap:.3rem; }
.reading-nav a { padding:.65rem .85rem; border-radius:8px; transition:background .2s; }
.reading-nav a:hover { background:rgba(6,182,212,.08); }
.reading-main { padding:4rem 2rem; max-width:1160px; }
.reading-main > h1 { max-width:950px; font-size:clamp(2rem,4.3vw,3.6rem); letter-spacing:-.045em; margin:1rem 0 1.3rem; }
.reading-main > .lead { color:#aebed2; max-width:780px; }
.reading-meta { border-top:1px solid var(--border-glass); padding-top:1rem; margin-top:1.5rem; line-height:1.8; }
.reading-layout { margin-top:3rem; gap:3.5rem; grid-template-columns:minmax(0,1fr) 260px; }
.reading-body { font-size:1.02rem; color:#b7c5d6; line-height:1.9; }
.reading-body > p:first-child { margin-top:0; }
.guide-grid { gap:1.2rem; margin:3rem 0; }
.guide-card { position:relative; background:linear-gradient(135deg,#142033,#0d1423); border-color:rgba(255,255,255,.1); padding:2rem; transition:transform .2s,border-color .2s; }
.guide-grid .guide-card:hover { border-color:rgba(6,182,212,.45); transform:translateY(-3px); }
.guide-card h2 { font-size:1.45rem; line-height:1.35; margin:1rem 0; }
.guide-card h2 a { color:#f8fafc; }
.guide-card p { font-size:.95rem; color:#adbed2; }
.guide-card > a:last-child { display:inline-flex; margin-top:.5rem; font-size:.85rem; font-weight:600; }
.reading-footer { padding:2.5rem 2rem; max-width:1240px; background:transparent; }
.reading-footer nav { gap:.6rem 1.4rem; }
.privacy-panel { border-radius:18px; box-shadow:0 15px 60px rgba(0,0,0,.5); border-color:#31405a; }
@media(max-width:1200px) {
  .header-container { flex-wrap:wrap; gap:.8rem; }
  .header-container > nav { display:none; order:3; width:100%; margin-top:.2rem; padding-top:.75rem; border-top:1px solid var(--border-glass); }
  .header-container > nav.mobile-nav-active { display:block; }
  .mobile-menu-btn { display:flex; align-items:center; justify-content:center; min-height:40px; }
  .nav-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.4rem; }
  .nav-link { width:100%; white-space:normal; font-size:.85rem; }
  .nav-link > i { display:inline-block; }
  .hero-section { gap:2rem; }
  .hero-content h1 { font-size:2.8rem; }
  html[lang="hy"] .hero-content h1 { font-size:2.45rem; }
}
@media(max-width:900px) {
  .hero-section { grid-template-columns:1fr; text-align:left; gap:2.5rem; }
  .hero-content { max-width:720px; }
  .hero-actions { justify-content:flex-start; }
  .hero-image-container { aspect-ratio:1.65; }
  .features-grid { grid-template-columns:1fr; }
  .categories-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .calculator-container { grid-template-columns:1fr; }
  .reading-layout { grid-template-columns:1fr; }
  .reading-sidebar { position:static; }
}
@media(max-width:600px) {
  .header-container { padding:.7rem 1rem; gap:.65rem; }
  .header-brand-image { width:40px; height:40px; }
  .brand-title { font-size:.85rem; }
  .brand-tagline { font-size:.47rem; }
  .logo { gap:.4rem; }
  .header-container > div:last-child { gap:.4rem !important; }
  #auth-header-container .btn { font-size:.7rem !important; min-height:36px; }
  .header-container > div:last-child > div:first-child > i { display:none; }
  #lang-selector { font-size:.7rem !important; padding:.35rem !important; }
  .header-sub-bar { padding:.4rem 1rem; }
  #app-root { padding:1.4rem 1rem 0; }
  .hero-section { margin:1.2rem 0 3.5rem; gap:2rem; }
  .hero-kicker { font-size:.54rem; letter-spacing:.09em; margin-bottom:1rem; }
  .hero-content h1, html[lang="hy"] .hero-content h1 { font-size:clamp(1.8rem,7.4vw,2.6rem); line-height:1.25; }
  .hero-content p { font-size:.9rem; line-height:1.85; margin-bottom:1.5rem; }
  .hero-actions .btn { flex:1; padding:.8rem .65rem; font-size:.78rem; }
  .hero-image-container { border-radius:18px; aspect-ratio:1.35; }
  .hero-image-caption { inset:auto 1rem 1rem; font-size:.75rem; }
  .section-header { margin-bottom:1.5rem; }
  .section-header h2 { font-size:1.6rem; }
  .section-header p { font-size:.88rem; }
  .feature-card { padding:1.5rem; }
  .features-grid, .categories-grid { margin-bottom:3.5rem; }
  .categories-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
  .category-card { padding:1.15rem; min-height:150px; }
  .category-card h3 { font-size:.8rem; }
  .category-card::after { right:.8rem; top:.8rem; }
  .cta-banner { padding:2rem 1.2rem; }
  .cta-banner h2 { font-size:1.6rem; }
  .publisher-home { margin:3.5rem auto 0; padding:0 1rem; }
  .guide-teasers { grid-template-columns:1fr; gap:.8rem; }
  .guide-teasers a { padding:1.4rem; }
  .sponsor-invitation { padding:1.5rem; }
  .sponsor-invitation h3 { font-size:1.2rem; }
  footer { padding:2rem 1rem; margin-top:3.5rem; }
  .nav-links { grid-template-columns:1fr 1fr; }
  .glass-card.calc-inputs-panel { padding:1.4rem; }
  .site-reading .reading-header { padding:.85rem 1rem; gap:.65rem; }
  .reading-brand img { width:42px; height:42px; }
  .reading-nav { width:100%; justify-content:space-between; gap:0; border-top:1px solid var(--border-glass); padding-top:.5rem; }
  .reading-nav a { font-size:.76rem; padding:.6rem .4rem; }
  .reading-main { padding:2.5rem 1rem; }
  .reading-main > h1 { font-size:2.1rem; line-height:1.16; }
  .reading-main .lead { font-size:1rem; }
  .reading-body { font-size:.95rem; }
  .guide-grid, .advertising-options { grid-template-columns:1fr; }
  .guide-card { padding:1.5rem; }
  .guide-card h2 { font-size:1.3rem; }
  .reading-footer { padding:2rem 1rem; }
  .privacy-actions .btn { min-height:42px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
}
.guide-language { display:flex; align-items:center; gap:.5rem; color:var(--text-muted); font-size:.75rem; }
.guide-language select { background:#0c1321; border:1px solid var(--border-glass); border-radius:8px; color:var(--text-primary); padding:.6rem .7rem; min-height:40px; cursor:pointer; }
.site-reading[lang="hy"] .reading-main h1 { line-height:1.25; }
html[lang="hy"] .reading-main h1 { letter-spacing:-.025em; }
@media(max-width:800px) { .guide-language { margin-left:auto; } .site-reading .reading-header { flex-wrap:wrap; } }
@media(max-width:600px) {
  .reading-header .reading-brand { order:1; }
  .reading-header .guide-language { order:2; }
  .reading-header .guide-language > span { display:none; }
  .reading-header .reading-nav { order:3; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .reading-header .reading-nav a { text-align:center; }
}
/* Planning kit offer */
.kit-home{margin:48px auto;padding:32px;border:1px solid rgba(0,188,212,.3);border-radius:24px;background:linear-gradient(120deg,#101d2b,#0a101c);display:flex;align-items:center;gap:32px;justify-content:space-between}.kit-home h2{margin:12px 0}.kit-home p{max-width:720px;color:#bbc6d6}.kit-home .btn{flex-shrink:0}.kit-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:36px;margin-top:32px}.kit-order{align-self:start;position:sticky;top:24px}.kit-order .btn{display:flex;justify-content:center}.kit-price{font-size:44px!important;color:var(--accent)}.kit-preview{width:100%;height:auto;border-radius:12px;border:1px solid #283344}.kit-order a{overflow-wrap:anywhere}.kit-order ol{padding-left:22px}.kit-order li{margin:14px 0}@media(max-width:800px){.kit-layout{grid-template-columns:1fr}.kit-order{position:static;grid-row:1}.kit-home{display:block}.kit-home .btn{margin-top:18px}}
.kit-order .btn-primary,.kit-home .btn-primary{color:#06101b!important;font-weight:750}
/* Illustrated beginner course */
.beginner-intro{max-width:920px;padding:8px 0 28px}.beginner-intro h1{font-size:clamp(2rem,4vw,3.7rem);line-height:1.2;max-width:850px}.beginner-meta{display:flex;gap:18px;flex-wrap:wrap;align-items:center;color:#9bafc3;font-size:.8rem}.beginner-meta>span{padding-right:18px;border-right:1px solid #304253}.beginner-course{display:grid;grid-template-columns:240px minmax(0,1fr);border:1px solid #263649;border-radius:24px;overflow:hidden;background:#0c1421}.beginner-step-nav{padding:20px 12px;background:#0a101b;border-right:1px solid #263649;display:flex;flex-direction:column;gap:5px}.beginner-step-nav button{display:flex;gap:12px;align-items:center;text-align:left;padding:11px 10px;min-height:48px;background:transparent;border:1px solid transparent;border-radius:10px;color:#aebed1;font:inherit;font-size:.79rem;line-height:1.6;cursor:pointer}.beginner-step-nav button>span{color:#617b93;font-size:.74rem;font-weight:700}.beginner-step-nav button[aria-current]{background:#122f3b;border-color:#235264;color:#e9fcff}.beginner-step-nav button[aria-current]>span{color:#12c9df}.beginner-stage{padding:26px 30px;min-width:0}.beginner-progress{display:flex;align-items:center;gap:24px;font-size:.75rem;color:#adbdcf;margin-bottom:22px}.beginner-progress-track{flex:1;background:#1d2b3c;height:4px;border-radius:4px;overflow:hidden}.beginner-progress-track>span{display:block;width:10%;height:100%;background:#13bed0;transition:width .2s}.beginner-slide{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:30px;align-items:start}.beginner-slide[hidden]{display:none}.beginner-visual{padding-top:8px}.beginner-visual img{width:100%;height:auto;display:block;border:1px solid #203348;border-radius:20px}.beginner-visual>span{display:block;font-size:.63rem;line-height:1.8;color:#7e92a8;margin:12px 5px}.beginner-slide-copy h2{font-size:clamp(1.4rem,2vw,1.85rem);line-height:1.4;margin:10px 0 16px}.beginner-slide-copy>p{color:#bfccdb;font-size:.91rem;line-height:1.85}.beginner-slide-copy ul{padding-left:19px;margin:18px 0;font-size:.84rem;color:#9fb2c8;line-height:1.85}.beginner-slide-copy li{margin:12px 0}.beginner-slide-copy li::marker{color:#13bed0}.beginner-task{background:#152333;border-left:3px solid #ffb454;padding:14px 16px;border-radius:0 10px 10px 0;margin-top:22px}.beginner-task strong{font-size:.72rem;color:#ffb454}.beginner-task p{font-size:.82rem;line-height:1.8;margin:6px 0 0;color:#d1dce7}.beginner-source{display:inline-block;font-size:.75rem;color:#13c6dc;margin-top:18px;line-height:1.8}.beginner-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:28px;padding-top:22px;border-top:1px solid #213347}.beginner-controls .btn{font:inherit;font-size:.75rem;cursor:pointer}.beginner-controls .btn-primary,.beginner-bottom .btn-primary{color:#06101b!important;font-weight:700}.beginner-controls button:disabled{opacity:.35;cursor:default}.beginner-dots{display:flex;gap:7px}.beginner-dots button{width:12px;height:12px;padding:0;border:0;border-radius:50%;background:#354a61;cursor:pointer}.beginner-dots button[aria-current]{background:#13bed0;box-shadow:0 0 0 4px #13bed019}.beginner-course:not([data-ready]) .beginner-step-nav,.beginner-course:not([data-ready]) .beginner-controls,.beginner-course:not([data-ready]) .beginner-progress{display:none}.beginner-course:not([data-ready]){display:block}.beginner-course:not([data-ready]) .beginner-slide{margin-bottom:45px}.beginner-scope{font-size:.78rem;line-height:1.9;color:#8197ae;max-width:1060px;margin:22px 0 45px}.beginner-scope span{display:block;margin-top:8px}.beginner-resources{display:grid;grid-template-columns:1fr 1fr;gap:28px}.beginner-checklist,.beginner-glossary{background:#0c1421;border:1px solid #263649;padding:28px;border-radius:20px}.beginner-resources h2,.beginner-faq h2{font-size:1.45rem;line-height:1.5;margin:10px 0 20px}.beginner-checklist>p{font-size:.8rem;color:#13bed0}.beginner-checklist label{display:flex;align-items:start;gap:12px;padding:14px 0;border-bottom:1px solid #1c2c3e;font-size:.85rem;line-height:1.8;color:#b8c9da;cursor:pointer}.beginner-checklist label:last-child{border:0}.beginner-checklist input{margin-top:5px;accent-color:#13bed0;width:18px;height:18px;flex-shrink:0}.beginner-glossary dl>div{display:grid;grid-template-columns:125px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #1c2c3e;font-size:.82rem;line-height:1.7}.beginner-glossary dt{color:#ffb454;font-weight:600}.beginner-glossary dd{margin:0;color:#aebfd2}.beginner-faq{margin-top:42px;max-width:900px}.beginner-faq details{border-bottom:1px solid #263649;padding:17px 0}.beginner-faq summary{cursor:pointer;font-size:.92rem;color:#d4deea;line-height:1.8}.beginner-faq details p{color:#9fb2c8;line-height:1.9;font-size:.85rem;margin:12px 0}.beginner-bottom{display:flex;flex-wrap:wrap;gap:12px;margin:35px 0 10px}.beginner-course button:focus-visible,.beginner-checklist input:focus-visible{outline:2px solid #ffb454;outline-offset:3px}@media(max-width:1150px){.beginner-course{grid-template-columns:210px 1fr}.beginner-slide{grid-template-columns:1fr}.beginner-visual{max-width:400px}.beginner-stage{padding:22px}.beginner-slide-copy h2{font-size:1.65rem}.beginner-visual>span{margin:5px}.beginner-dots{gap:5px}}@media(max-width:700px){.beginner-course{display:block;border-radius:18px}.beginner-step-nav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #263649;padding:10px}.beginner-step-nav button{flex-shrink:0;max-width:205px;font-size:.7rem;padding:8px}.beginner-stage{padding:18px}.beginner-slide{gap:15px}.beginner-visual{max-width:none}.beginner-visual img{max-height:215px;object-fit:contain;background:#0b1422}.beginner-controls{flex-wrap:wrap}.beginner-dots{order:3;width:100%;justify-content:center;gap:12px;padding:8px}.beginner-resources{grid-template-columns:1fr}.beginner-checklist,.beginner-glossary{padding:22px}.beginner-glossary dl>div{grid-template-columns:105px 1fr}.beginner-meta{gap:10px}.beginner-intro{padding-bottom:20px}.beginner-slide-copy ul{font-size:.82rem}.beginner-slide-copy>p{font-size:.85rem}}@media print{.reading-header,.reading-footer,.beginner-step-nav,.beginner-controls,.beginner-progress,.beginner-bottom,.beginner-meta button{display:none!important}.beginner-course,.beginner-stage{display:block;border:0;padding:0}.beginner-slide[hidden],.beginner-slide{display:grid!important;break-inside:avoid;grid-template-columns:200px 1fr;margin:20px 0 35px}.beginner-slide-copy,.beginner-slide-copy p,.beginner-slide-copy li,.beginner-scope,.beginner-checklist label,.beginner-glossary dd{color:#172536!important}.beginner-task{background:#f1f3f5}.beginner-task p{color:#172536}.site-reading{background:white!important;color:#172536!important}.beginner-resources{display:block}.beginner-checklist,.beginner-glossary{background:white;border-color:#ccc;break-inside:avoid;margin-bottom:20px}.beginner-faq details>p{display:block;color:#172536}}
/* One stable navigation shell for the app and every reading page. */
.site-header{position:sticky!important;top:0!important;z-index:100;background:rgba(6,9,19,.97)!important;backdrop-filter:blur(16px)!important;max-width:none!important;width:100%;padding:0!important}.site-header .header-container{display:grid;grid-template-columns:auto 1fr auto;max-width:1440px;margin:auto;padding:.8rem 2rem .5rem;gap:.65rem 1rem;align-items:center}.site-header .header-container>.logo{grid-column:1;grid-row:1}.site-header .header-container>div:last-child{grid-column:3;grid-row:1;justify-self:end}.site-header #primary-navigation{grid-row:2;grid-column:1/-1;display:block!important;width:100%;margin:0;padding:.45rem 0 0;border-top:1px solid #1d2b3e}.site-header .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.15rem;margin:0;padding:0;list-style:none}.site-header .nav-link{font-size:.78rem;padding:.55rem .7rem;min-height:38px;display:inline-flex;align-items:center}.site-header .nav-link[aria-current]{color:#13bed0;background:#0e2933;border-radius:9px}.site-header .header-sub-bar{padding:.3rem 2rem}.site-header #lang-selector{min-height:40px!important;background:#0c1421!important;min-width:66px;font-size:.85rem!important}.site-header #lang-selector:focus-visible{outline:2px solid #ffb454!important;outline-offset:2px}.site-header .mobile-menu-btn{color:#dce7f3;font-size:22px}.site-header .brand-title{font-size:1.05rem!important}.site-header .header-brand-image{width:48px;height:48px}.site-header .header-container>.logo .brand-text{display:flex;flex-direction:column}.site-header .header-container>div:last-child>div:first-child>i{display:none}.site-header #btn-mobile-menu{display:none}.site-reading .reading-main{padding-top:2.5rem}@media(max-width:1100px){.site-header .header-container{display:flex;flex-wrap:wrap;justify-content:space-between;padding:.7rem 1rem;gap:.7rem}.site-header .header-container>div:last-child{margin-left:auto}.site-header #primary-navigation{display:none!important;order:3;width:100%}.site-header #primary-navigation.mobile-nav-active{display:block!important}.site-header .nav-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem}.site-header .nav-link{white-space:normal;justify-content:center;text-align:center;width:100%;min-height:44px}.site-header #btn-mobile-menu{display:block}.site-header .header-sub-bar{padding:.3rem 1rem}.site-header .header-brand-image{width:40px;height:40px}.site-header .brand-title{font-size:.9rem!important}.site-header .brand-tagline{font-size:.5rem}}@media(max-width:600px){.site-header .header-container{padding:.6rem .75rem;gap:.4rem}.site-header .header-container>.logo{gap:.5rem}.site-header .brand-title{font-size:.72rem!important}.site-header .brand-tagline{font-size:.43rem!important}.site-header .header-brand-image{width:34px;height:34px}.site-header #auth-header-container{display:none}.site-header .header-container>div:last-child{gap:.5rem!important}.site-header #lang-selector{min-width:60px;padding:.35rem .45rem!important}.site-header .nav-links{grid-template-columns:1fr 1fr}.site-header .role-btn{min-height:28px;font-size:.66rem}.site-header .header-sub-bar{padding:.2rem .75rem}}@media print{.site-header{display:none!important}}

/* Compact burger header at every screen size. */
.site-header .header-container{display:flex;flex-wrap:wrap;justify-content:space-between;padding:.8rem 2rem;gap:.65rem;position:relative}
.site-header .header-container>div:last-child{margin-left:auto}
.site-header #btn-mobile-menu{display:flex;align-items:center;justify-content:center;width:42px;min-height:42px;border:1px solid #263649;border-radius:10px;background:#0c1421;cursor:pointer}
.site-header #btn-mobile-menu:hover{border-color:#13bed0;color:#13bed0}
.site-header #btn-mobile-menu:focus-visible{outline:2px solid #ffb454;outline-offset:3px}
.site-header #primary-navigation{display:none!important;position:absolute;right:2rem;top:calc(100% + 8px);width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 110px);overflow-y:auto;background:#0c1421;border:1px solid #263649;border-radius:16px;padding:12px;box-shadow:0 20px 60px #0008;z-index:101}
.site-header #primary-navigation.mobile-nav-active{display:block!important}
.site-header .nav-links{display:grid;grid-template-columns:1fr;gap:3px}
.site-header .nav-link{width:100%;min-height:44px;text-align:left;justify-content:flex-start;padding:.7rem 1rem;border-radius:9px;font-size:.87rem;white-space:normal}
.site-header .nav-link:hover{background:#142738}
.site-header #auth-header-container{display:block}
.auth-role-radio{appearance:auto;accent-color:#13bed0;width:17px;height:17px;flex-shrink:0}
.auth-role-selector .role-choice:focus-within{outline:2px solid #ffb454;outline-offset:3px}
@media(max-width:600px){
 .site-header .header-container{padding:.6rem .75rem;gap:.4rem}
 .site-header #primary-navigation{right:.75rem}
 .site-header #auth-header-container .btn{font-size:.64rem!important;padding:.3rem .4rem!important;max-width:90px;min-height:40px;white-space:normal;line-height:1.4}
 .site-header #auth-header-container .btn>i{display:none}
 .site-header #btn-mobile-menu{width:36px;min-height:40px;flex-shrink:0}
 .site-header .header-container>div:last-child{gap:.35rem!important}
 .site-header .brand-title{font-size:.62rem!important}
 .site-header .brand-tagline{font-size:.39rem!important}
 .site-header .user-badge-container strong{max-width:65px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .site-header .user-badge-container span{display:none}
 .auth-role-selector{gap:.5rem}
 .auth-role-selector .role-choice{padding:.7rem;gap:.45rem}
}
@media(max-width:380px){.site-header .header-container>.logo .brand-text{display:none}}

/* Community platform: discovery, business roles and clear next steps. */
[hidden]{display:none!important}
.platform-home{--platform-surface:#0c1523}
.platform-home .platform-section{margin:5rem 0}
.platform-home .platform-hero{grid-template-columns:1.05fr 1fr;margin:1.4rem 0 2rem;gap:3rem;min-height:490px}
.platform-hero .hero-kicker{font-size:.69rem;letter-spacing:.13em;color:var(--accent-gold);margin-bottom:1.3rem}
.platform-hero .hero-content h1{font-size:clamp(2.7rem,4.2vw,4.1rem);font-weight:800;letter-spacing:-.04em;line-height:1.12;max-width:650px;background:linear-gradient(115deg,#f7fbff 45%,#4dcbd3);-webkit-background-clip:text;background-clip:text}
html[lang=hy] .platform-hero .hero-content h1{font-size:clamp(2.3rem,3.6vw,3.5rem);line-height:1.2;letter-spacing:-.025em}
.platform-hero .hero-content>p{max-width:610px;font-size:1rem;line-height:1.85;margin-bottom:1.6rem}
.platform-hero .hero-actions{flex-wrap:wrap;gap:.75rem}
.platform-hero .hero-actions .btn{min-height:48px;padding:.8rem 1.05rem;font-size:.86rem;justify-content:center}
.platform-search{margin-top:1.8rem;max-width:590px}
.platform-search label{display:block;color:#c3cfdf;font-size:.8rem;margin-bottom:.65rem;font-weight:600}
.platform-search>div{display:flex;align-items:center;border:1px solid #2a3c52;background:#0b1524;padding:.4rem .4rem .4rem 1rem;border-radius:12px;gap:.65rem;transition:border-color .2s}
.platform-search>div:focus-within{border-color:var(--accent-teal)}
.platform-search i{color:#90a3b8;font-size:.9rem}
.platform-search input{width:100%;min-width:0;min-height:38px;background:transparent;border:0;color:#f0f5fb;outline:none;font:inherit;font-size:.82rem}
.platform-search input::placeholder{color:#94a5ba}
.platform-search button{background:#183341;border:1px solid #2c515e;color:#81e1e6;border-radius:8px;min-height:40px;padding:.55rem 1rem;font:inherit;font-size:.83rem;font-weight:700;cursor:pointer;flex-shrink:0}
.platform-hero-visual{position:relative;min-width:0;aspect-ratio:1.13;isolation:isolate;border-radius:28px;border:1px solid #1d3a4b;background:#071323;overflow:hidden;box-shadow:0 30px 90px #0006}
.platform-hero-visual>img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block;opacity:.86}
.platform-hero-visual:after{content:"";position:absolute;inset:0;z-index:-1;background:#092133}
.platform-orbit-label{position:absolute;left:1.5rem;top:1.6rem;color:#79d2dc;font-size:.65rem;font-weight:700;letter-spacing:.22em}
.platform-network-node{position:absolute;display:flex;align-items:center;gap:.6rem;background:#0c1a2bea;border:1px solid #2a4b60;border-radius:12px;padding:.8rem 1rem;max-width:85%;font-size:.8rem;font-weight:600;box-shadow:0 12px 28px #0005;backdrop-filter:blur(10px)}
.platform-network-node i{color:#ffb454;font-size:1.1rem}
.node-seller{left:1.5rem;top:24%}.node-wholesale{right:1.5rem;top:48%}.node-maker{left:2rem;bottom:18%}
.platform-network-caption{position:absolute;bottom:1.4rem;left:1.5rem;right:1.5rem;display:flex;align-items:center;justify-content:center;gap:.6rem;color:#b4c5d7;font-size:.7rem;letter-spacing:.06em}
.platform-network-caption>span{color:var(--accent-gold)}
.platform-stage{display:flex;align-items:center;gap:.8rem;border-top:1px solid #1d2b3c;border-bottom:1px solid #1d2b3c;padding:1rem 0;color:#a1b2c7}
.platform-stage>p{margin:0;font-size:.8rem;line-height:1.7}
.platform-stage-dot{width:8px;height:8px;border-radius:50%;background:var(--accent-gold);box-shadow:0 0 0 5px #ffb45412;flex-shrink:0}
.platform-section-heading{max-width:780px;margin-bottom:1.9rem}
.platform-section-heading h2,.platform-tools>h2,.platform-faq>h2,.platform-contact h2{font-size:clamp(1.7rem,2.8vw,2.6rem);line-height:1.3;letter-spacing:-.025em;margin:.65rem 0 1rem;color:#f4f8fc}
.platform-section-heading>p{font-size:.95rem;line-height:1.8;color:#a9bad0;margin:0}
.platform-role-grid,.platform-tools-grid,.platform-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
.platform-role-card,.platform-tools-grid>article{padding:1.8rem;border:1px solid #213247;border-radius:20px;background:linear-gradient(135deg,#102031,#0b1523);display:flex;flex-direction:column;min-width:0;transition:transform .2s,border-color .2s}
.platform-role-card:hover{border-color:#2e6578;transform:translateY(-3px)}
.platform-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.4rem}
.platform-icon{width:48px;height:48px;border-radius:14px;background:#12323e;color:#61d4df;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}
.platform-role-card:nth-child(2) .platform-icon{background:#362a1c;color:#ffbc68}.platform-role-card:nth-child(3) .platform-icon{background:#19302a;color:#87d8b2}
.platform-card-number{font-size:.85rem;font-weight:700;color:#6c829a}
.platform-role-card h3,.platform-tools-grid h3{font-size:1.18rem;line-height:1.5;letter-spacing:-.01em;margin:0 0 .8rem}
.platform-role-card p,.platform-tools-grid p{font-size:.89rem;line-height:1.85;color:#a8bad0;margin:0 0 1.7rem}
.platform-card-link{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;margin-top:auto;font:inherit;font-size:.85rem;font-weight:700;color:#69d2de;background:none;border:0;border-top:1px solid #26374b;padding:1.1rem 0 0;cursor:pointer;text-align:left;text-decoration:none}
.platform-card-link:hover{color:#b4f2f5}
.platform-card-link>span:last-child{font-size:1.1rem}
.platform-home .categories-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.9rem}
.platform-home .category-card{padding:1.2rem .75rem;min-height:125px;border-radius:14px;background:#0b1523;border:1px solid #203147;display:flex;flex-direction:column;justify-content:center;gap:.6rem}
.platform-home .category-icon{font-size:1.5rem;margin-bottom:.4rem}
.platform-home .category-card h3{font-size:.8rem;line-height:1.55;margin:0}
.platform-work{padding:2.3rem;border:1px solid #24354a;border-radius:24px;background:linear-gradient(125deg,#112032,#0b1422)}
.platform-work .platform-section-heading{margin-bottom:2.2rem}
.platform-work-grid{gap:2rem}
.platform-step-number{display:block;color:var(--accent-gold);font-size:.78rem;font-weight:700;letter-spacing:.15em;border-top:1px solid #344353;padding-top:1rem;margin-bottom:1rem}
.platform-work-grid h3{font-size:1.03rem;line-height:1.6;margin:0 0 .75rem}
.platform-work-grid p{color:#a8bbd1;font-size:.88rem;line-height:1.85;margin:0}
.platform-tools-grid>article{background:#0b1523}
.platform-tools-grid .platform-icon{margin-bottom:1.4rem;background:#18283c;color:#9ac1ef}
.platform-faq{display:grid;grid-template-columns:.65fr 1fr;gap:4rem}
.platform-faq details{border-bottom:1px solid #25374b;padding:1.1rem 0}
.platform-faq summary{font-size:1rem;line-height:1.6;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.platform-faq summary:after{content:"+";color:#60cdd8;font-size:1.25rem;font-weight:400}.platform-faq details[open] summary:after{content:"−"}
.platform-faq summary::-webkit-details-marker{display:none}
.platform-faq details p{color:#a9bad0;font-size:.89rem;line-height:1.9;margin:1rem 0 .5rem}
.platform-contact{display:grid;grid-template-columns:1fr .6fr;align-items:center;gap:3rem;background:radial-gradient(ellipse at right top,#184251,#102132 60%);border:1px solid #275368;border-radius:24px;padding:2.5rem}
.platform-contact h2{font-size:clamp(1.5rem,2.4vw,2.1rem);margin-top:0}
.platform-contact p{font-size:.92rem;color:#acc0d5;line-height:1.85;margin:0;max-width:600px}
.platform-contact>div:last-child{text-align:right}
.platform-contact .platform-contact-note{font-size:.73rem;margin-top:.85rem}
.auth-role-selector{grid-template-columns:repeat(3,minmax(0,1fr))}
.auth-role-selector .role-choice{flex-direction:column;align-items:flex-start;gap:.7rem}
.auth-role-selector .role-choice strong{font-size:.85rem;line-height:1.5}
.auth-role-selector .role-choice span{display:block;font-size:.7rem;color:#a8bbd1;line-height:1.6;margin-top:.25rem}
.platform-home~section[hidden]{display:none}
@media(max-width:1100px){.platform-home .platform-hero{gap:1.8rem;min-height:0}.platform-hero .hero-actions .btn{font-size:.78rem;padding:.7rem .8rem}.platform-role-card,.platform-tools-grid>article{padding:1.3rem}.platform-home .categories-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.platform-network-node{font-size:.72rem;padding:.65rem}.platform-contact{gap:1.5rem}}
@media(max-width:800px){.platform-home .platform-hero{grid-template-columns:1fr;gap:2rem;margin-top:.6rem}.platform-hero .hero-content h1,html[lang=hy] .platform-hero .hero-content h1{font-size:clamp(2rem,6.4vw,3.2rem);max-width:630px}.platform-hero-visual{aspect-ratio:1.8;max-height:370px}.node-seller{top:26%}.node-maker{left:42%;bottom:20%}.node-wholesale{top:44%;right:1rem}.platform-role-grid{grid-template-columns:1fr}.platform-card-top{margin-bottom:.9rem}.platform-role-card{padding:1.5rem}.platform-home .categories-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.platform-tools-grid{grid-template-columns:1fr}.platform-work{padding:1.5rem}.platform-work-grid{gap:1.4rem;grid-template-columns:1fr}.platform-faq{grid-template-columns:1fr;gap:.5rem}.platform-contact{grid-template-columns:1fr;padding:1.6rem}.platform-contact>div:last-child{text-align:left}.platform-home .platform-section{margin:3.5rem 0}}
@media(max-width:480px){.platform-home .platform-hero{margin-bottom:1.5rem}.platform-hero .hero-kicker{font-size:.57rem}.platform-hero .hero-content>p{font-size:.91rem}.platform-hero .hero-actions{display:grid;grid-template-columns:1fr}.platform-hero .hero-actions .btn{font-size:.85rem}.platform-search{margin-top:1.4rem}.platform-search>div{gap:.4rem;padding-left:.65rem}.platform-search input{font-size:.75rem}.platform-search button{font-size:.75rem;padding:.5rem .75rem}.platform-hero-visual{aspect-ratio:1.3}.platform-network-node{font-size:.68rem;gap:.4rem;padding:.6rem .7rem}.node-seller{left:.85rem;top:28%}.node-wholesale{right:.85rem;top:50%}.node-maker{left:1rem;bottom:19%}.platform-orbit-label{left:1rem;top:1rem;font-size:.58rem}.platform-network-caption{font-size:.55rem;bottom:1rem;left:1rem;right:1rem}.platform-stage>p{font-size:.72rem}.platform-home .categories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-home .category-card{min-height:120px}.platform-section-heading h2,.platform-tools>h2,.platform-faq>h2{font-size:1.65rem}.platform-role-card p{font-size:.87rem}.auth-role-selector{grid-template-columns:1fr}.auth-role-selector .role-choice{flex-direction:row;align-items:center}.auth-role-selector .role-choice span{margin-top:0}.platform-contact .btn{width:100%;justify-content:center}.platform-faq summary{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){.platform-role-card{transition:none}.platform-role-card:hover{transform:none}}

.platform-home .category-card{font:inherit;color:inherit;text-align:center;cursor:pointer}.platform-home .category-card strong{display:block;font-size:.95rem}.platform-home .category-card:focus-visible{outline:3px solid var(--accent-primary);outline-offset:4px}

.modal-overlay:not(.active){visibility:hidden}.modal-overlay.active{visibility:visible}

.account-profile-panel{padding:1.6rem;margin-bottom:1.5rem}.account-panel-heading{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.account-help{font-size:.9rem;line-height:1.7;color:var(--text-secondary);margin:1rem 0}.account-verification,.workspace-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center;margin:1rem 0}.workspace-offer{border-bottom:1px solid var(--border-glass);padding:1.2rem 0}.workspace-offer h4{margin-bottom:.7rem;overflow-wrap:anywhere}.inbox-item p{white-space:pre-wrap;overflow-wrap:anywhere}.inbox-item small{display:block;color:var(--text-muted);margin:.5rem 0}.btn:disabled{opacity:.6;cursor:wait}#profile-saved{margin-left:1rem;color:var(--accent-teal)}@media(max-width:600px){.account-profile-panel{padding:1rem}.account-panel-heading .badge{white-space:normal;line-height:1.5}.workspace-actions .btn{flex:1 1 auto}}

.publication-confirm{max-width:540px}.publication-confirm p{margin:1rem 0 1.5rem;line-height:1.7;color:var(--text-muted)}

/* Flexible content widths prevent long translated labels from widening a grid. */
.directory-layout > *, .listings-grid > *, .calculator-container > *, .form-grid > *,
.rfq-target-metrics > *, .radio-tiles > *, .dashboard-details-row > *,
.product-detail-layout > *, .business-detail-layout > *, .product-detail-prices > * {
  min-width: 0;
}
.directory-content, .filter-sidebar, .form-input, .form-textarea, .calc-preset-select,
.search-input, .input-with-symbol { min-width: 0; max-width: 100%; }
.checkbox-label { align-items: flex-start; line-height: 1.6; }
.checkbox-label input { flex: 0 0 auto; margin-top: .3rem; }
.checkbox-label span, .dist-title, .info-row span, .price-box, .rfq-card-header > *,
.business-product-row > *, .business-product-metrics { min-width: 0; overflow-wrap: anywhere; }
.product-badge { max-width: calc(100% - 4.25rem); white-space: normal; line-height: 1.5; }
.product-card-body, .distributor-card, .rfq-card, .reading-body, .guide-card,
.account-profile-panel, .modal-content { overflow-wrap: anywhere; }
.prod-pricing { gap: 1rem; }
.price-box { flex: 1 1 0; }
.card-actions .btn { min-width: 0; white-space: normal; line-height: 1.5; }
.btn > i { flex-shrink: 0; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 2rem; margin-top: 1rem; }
.product-detail-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; background: rgba(255,255,255,.02); border: 1px solid var(--border-glass); padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem; }
.detail-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.business-detail-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 2rem; }
.business-product-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; background: rgba(255,255,255,.01); border: 1px solid var(--border-glass); padding: .6rem; border-radius: 8px; }
.business-product-metrics { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.modal-content :is(h2,h3,h4,p,label,.badge) { white-space: normal; }
.modal-close { z-index: 2; }
@media (max-width: 768px) {
  .directory-controls { flex-direction: column; align-items: stretch; gap: .8rem; }
  .directory-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dir-tab-btn { min-width: 0; min-height: 48px; padding: .65rem .5rem; line-height: 1.5; overflow-wrap: anywhere; }
  .rfqs-header-row { flex-direction: column; align-items: stretch; gap: 1rem; }
  .rfqs-header-row .btn { align-self: flex-start; }
  .rfq-search-bar { flex-direction: column; }
  .rfq-search-bar .calc-preset-select { width: 100% !important; }
  .rfq-target-metrics { grid-template-columns: 1fr; gap: 1rem; }
  .metric-box { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
  .metric-box .metric-lbl { flex: 1; }
  .metric-box .metric-val { flex: 0 1 45%; text-align: right; overflow-wrap: anywhere; }
  .product-detail-layout, .business-detail-layout { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .business-product-row { flex-direction: column; align-items: stretch; }
  .business-product-metrics { justify-content: space-between; }
  .modal-overlay { padding: .75rem; }
  .modal-content { max-height: calc(100dvh - 1.5rem); padding: 1.25rem; }
  .modal-header { padding-right: 2rem; }
  .modal-header h3 { font-size: 1.3rem; line-height: 1.5; }
  #modal-detail h2 { font-size: 1.5rem !important; line-height: 1.45 !important; }
  .detail-actions .btn { flex: 1 1 100% !important; min-width: 0; white-space: normal; line-height: 1.6; }
  .breakdown-row, .slider-header, .margin-bar-labels { gap: .75rem; }
  .breakdown-row > :first-child, .slider-header > :first-child { min-width: 0; overflow-wrap: anywhere; }
  .breakdown-val, .slider-val { flex-shrink: 0; }
  .radio-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reading-body table { table-layout: fixed; }
  .reading-body :is(th,td) { overflow-wrap: anywhere; }
  .account-verification .btn, .workspace-actions .btn { min-width: 0; white-space: normal; line-height: 1.6; }
}
@media (max-width: 380px) {
  .prod-specs { grid-template-columns: minmax(0,1fr); }
  .card-actions { flex-wrap: wrap; }
  .card-actions .btn { flex-basis: 100%; }
  .radio-tiles { grid-template-columns: minmax(0,1fr); }
}

.footer-container > * { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.footer-main-links { display:flex; flex-wrap:wrap; gap:.5rem 1rem; }
.footer-main-links .nav-link { min-width:0; white-space:normal; }
@media(max-width:768px) {
  input.form-input, textarea.form-textarea, select.form-input, .search-input, .calc-preset-select { font-size:16px; }
}

.account-signout { margin-top:1rem; min-height:44px; }
@media(max-width:480px) {
  .card-actions { flex-wrap:wrap; }
  .card-actions .btn { flex:1 1 100%; padding:.7rem 1rem; min-height:44px; }
}
.card-actions { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); }
@media(max-width:480px) { .card-actions { grid-template-columns:1fr; } }

/* Member trading workflow: resilient columns and readable text at 320px. */
.workspace-notification {display:inline-flex;align-items:center;justify-content:center;gap:.25rem;min-width:44px;min-height:44px;color:var(--accent-teal);font-size:.85rem;text-decoration:none;flex-shrink:0}
.workspace-notification[hidden] {display:none}
.supplier-terms {border:1px solid var(--border-glass);border-radius:12px;padding:1rem;min-width:0;margin:1rem 0}
.supplier-terms legend {padding:0 .4rem;font-weight:600;color:var(--accent-teal);max-width:100%;white-space:normal}
.terms-checkbox {display:flex;align-items:center;gap:.65rem;min-height:44px;grid-column:1/-1}
.terms-checkbox input {width:20px;height:20px;flex-shrink:0;accent-color:var(--accent-teal)}
.supplier-conditions {margin:1.25rem 0;padding:1.1rem;border:1px solid var(--border-glass);border-radius:12px;background:rgba(0,188,212,.035)}
.supplier-conditions dl,.message-details {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:.85rem 0}
.supplier-conditions dt,.message-details dt {font-size:.82rem;color:var(--text-muted)}
.supplier-conditions dd,.message-details dd {margin:0;overflow-wrap:anywhere;color:var(--text-primary)}
.inbox-item.is-unread {border-left:3px solid var(--accent-teal);background:rgba(0,188,212,.04)}
.inbox-item p,.review-description {white-space:pre-wrap;overflow-wrap:anywhere}
.inbox-item>.btn {margin:.35rem .35rem .25rem 0}
.product-media-editor {margin-bottom:1.25rem;border-bottom:1px solid var(--border-glass);padding-bottom:1.25rem;min-width:0}
.product-media-editor input[type=file] {width:100%;max-width:100%;min-height:44px;font-size:16px;margin:.75rem 0;color:var(--text-secondary)}
.product-media-editor input::file-selector-button {background:var(--bg-card);color:var(--text-primary);border:1px solid var(--border-glass);border-radius:8px;min-height:44px;padding:.5rem .7rem;margin-right:.5rem}
.media-upload-list,.media-gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:.75rem;margin:.8rem 0}
.media-upload-item {display:flex;flex-direction:column;gap:.5rem;min-width:0;border:1px solid var(--border-glass);border-radius:10px;padding:.6rem}
.media-upload-item span {font-size:.8rem;overflow-wrap:anywhere}
.media-upload-item img,.media-gallery img {width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}
.product-media-detail {grid-column:1/-1;min-width:0}
.product-media-detail>.btn,.review-media>.btn {max-width:100%;white-space:normal;overflow-wrap:anywhere;margin:.35rem 0}
.listing-report {margin:1.25rem 0;padding-top:.75rem;border-top:1px solid var(--border-glass);color:var(--text-muted)}
.listing-report summary {cursor:pointer;min-height:44px;padding:.5rem 0;overflow-wrap:anywhere}
.listing-report textarea {margin:.5rem 0}
.review-section {margin:2rem 0}.review-section h2 {font-size:1.2rem;margin-bottom:1rem}
.review-card {padding:1.5rem;margin-bottom:1rem;min-width:0;overflow-wrap:anywhere}
.review-card h3 {font-size:1.1rem}.review-card form {margin-top:1rem}.review-card form>label {display:block;margin-bottom:.5rem}.review-card .workspace-actions {margin-top:.8rem}
.review-media .media-gallery {grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),180px))}
@media(max-width:480px){.supplier-conditions dl,.message-details {grid-template-columns:minmax(0,1fr)}.review-card,.supplier-terms,.supplier-conditions {padding:.85rem}.media-upload-list,.media-gallery {grid-template-columns:repeat(2,minmax(0,1fr))}.header-container>div:last-child {gap:.35rem!important}.workspace-notification {font-size:.75rem;min-width:40px}}
.profile-readiness {margin:1rem 0;border-top:1px solid var(--border-glass);padding-top:.65rem}.profile-readiness summary {min-height:44px;padding:.5rem 0;cursor:pointer;color:var(--accent-teal)}.profile-readiness ul {padding-left:1.2rem;color:var(--text-secondary);font-size:.85rem}.profile-readiness li {margin:.4rem 0;overflow-wrap:anywhere}
.user-profile-link {display:flex;align-items:center;gap:.6rem;color:inherit;text-decoration:none;min-width:0;min-height:40px}.user-profile-link:focus-visible {outline:2px solid var(--accent-teal);outline-offset:3px;border-radius:6px}
@media(max-width:480px){.site-header #btn-header-signout {display:none}}

/* Consistent market discovery and decision tools. */
.nav-group-label{color:var(--text-muted);font-size:.7rem;font-weight:600;letter-spacing:.08em;padding:1rem 1rem .3rem;border-top:1px solid var(--border-glass);margin-top:.5rem;list-style:none}
.platform-home .categories-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:0}
.platform-home .category-card{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:1rem;padding:1.25rem 1.6rem;min-height:125px;text-align:left;border-radius:16px}
.platform-home .category-card>i{grid-row:1/3;margin:0;font-size:1.5rem;text-align:center}
.platform-home .category-card strong{font-size:.88rem;line-height:1.6;padding-right:.6rem}
.platform-home .category-card>span{grid-column:2;line-height:1.6}
.platform-home .category-card::after{display:none}
.platform-home .platform-role-grid,.platform-home .platform-tools-grid{align-items:stretch}
.platform-role-card .platform-card-link,.platform-tools-grid .platform-card-link{margin-top:auto;min-height:44px}
.platform-home .platform-section{margin:4rem 0}
.home-tools-entry{display:flex;gap:2rem;justify-content:space-between;align-items:center;padding:2rem;border:1px solid #245063;background:linear-gradient(120deg,#102031,#0b1523);border-radius:20px}
.home-tools-entry h2{font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.4;margin:.5rem 0 .7rem;max-width:760px}
.home-tools-entry p,.muted-copy{color:var(--text-secondary);font-size:.9rem;line-height:1.8}
.home-tools-entry>.btn{flex-shrink:0;white-space:normal;text-align:center}
#view-directory>.platform-section-heading,#market-tools>.platform-section-heading{padding-top:.75rem}
.platform-section-heading h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.25;margin:.6rem 0 1rem;overflow-wrap:anywhere}
.catalogue-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1rem 0 1.5rem}
.catalogue-toolbar>label:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;min-width:0;font-size:.85rem}
.catalogue-toolbar select{width:auto;max-width:100%;min-height:44px}
.catalogue-toolbar .checkbox-label{font-size:.85rem;min-height:44px}
.comparison-toggle{width:100%;margin-top:.8rem;white-space:normal;min-height:44px;font-size:.8rem}
.comparison-toggle[aria-pressed=true]{border-color:var(--accent-teal);color:var(--accent-teal);background:var(--accent-teal-glow)}
.comparison-toggle:disabled{opacity:.45;cursor:default}
.catalogue-comparison{margin:1.5rem 0 2rem;padding:1.5rem;border:1px solid #245063;border-radius:20px;background:#0b1523}
.section-action-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:.75rem}
.section-action-heading h2{font-size:1.3rem;line-height:1.5}.section-action-heading h2>span{font-size:.9rem;color:var(--accent-teal);white-space:nowrap}
.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.2rem}
.comparison-card{background:#102031;padding:1.2rem;border:1px solid var(--border-glass);border-radius:12px;min-width:0;display:flex;flex-direction:column}
.comparison-card h3{font-size:1.05rem;line-height:1.5;margin:.6rem 0 1rem;overflow-wrap:anywhere}
.comparison-card dl{margin-bottom:1rem}.comparison-card dl>div{padding:.6rem 0;border-top:1px solid var(--border-glass)}
.comparison-card dt{font-size:.78rem;line-height:1.6;color:var(--text-secondary)}.comparison-card dd{margin:.2rem 0 0;overflow-wrap:anywhere;font-size:.9rem}
.comparison-card .card-actions{margin-top:auto;flex-wrap:wrap}.comparison-card .btn{font-size:.75rem;white-space:normal;min-height:44px}
.tool-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}
.tool-link-card{padding:1.6rem;background:var(--bg-card);border:1px solid var(--border-glass);border-radius:16px;min-width:0}
.tool-link-card:hover{border-color:var(--accent-teal)}.tool-link-card h2{font-size:1.12rem;line-height:1.5;display:flex;justify-content:space-between;gap:.6rem;margin-bottom:.8rem}.tool-link-card h2>span{color:var(--accent-teal)}
.tool-link-card p{color:var(--text-secondary);font-size:.9rem;line-height:1.8}
.brief-panel{padding:2rem;margin-top:2rem}.brief-panel h2{font-size:1.5rem;line-height:1.5;margin-bottom:.7rem}.brief-panel form{margin-top:1.5rem}.brief-panel .workspace-actions{flex-wrap:wrap;gap:.75rem}.brief-panel .btn{min-height:44px;white-space:normal}.brief-status{margin-top:.75rem}
[hidden]{display:none!important}
@media(max-width:1000px){.platform-home .categories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-link-grid{grid-template-columns:1fr}.comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-tools-entry{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.platform-home .categories-grid{grid-template-columns:1fr;gap:.65rem}.platform-home .category-card{min-height:95px;padding:1rem;column-gap:.8rem}.platform-home .platform-section{margin:2.75rem 0}.comparison-grid{grid-template-columns:1fr}.catalogue-comparison,.brief-panel,.home-tools-entry{padding:1rem}.section-action-heading{flex-direction:column;align-items:flex-start}.catalogue-toolbar{align-items:flex-start;flex-direction:column}.catalogue-toolbar>label:first-child{width:100%;display:block}.catalogue-toolbar select{width:100%;margin-top:.35rem}.tool-link-card{padding:1.2rem}.brief-panel .form-grid{grid-template-columns:1fr}.brief-panel .workspace-actions>.btn{width:100%;justify-content:center}.home-tools-entry>.btn{width:100%;justify-content:center}.platform-search input{font-size:16px!important}.platform-role-card,.platform-tools-grid>article{padding:1.25rem}.directory-controls{align-items:flex-start;gap:.7rem}}
.comparison-jump{position:sticky;top:85px;z-index:5;margin-bottom:1rem;min-height:44px;white-space:normal;max-width:100%;box-shadow:0 6px 22px #0005}
.catalogue-comparison{scroll-margin-top:110px}
.platform-home .category-card:focus-visible{outline:2px solid var(--accent-teal);outline-offset:3px}
.catalogue-filter-toggle{display:none}
.category-request{border-color:#245063!important}.category-request>span{font-size:.8rem;color:var(--accent-teal)}
@media(max-width:800px){.catalogue-filter-toggle{display:flex;justify-content:space-between;width:100%;min-height:44px}.directory-layout .filter-sidebar:not(.filters-expanded){display:none}.directory-layout .filter-sidebar.filters-expanded{display:block}.directory-layout{gap:1rem}}
.market-empty{grid-column:1/-1;text-align:center;padding:clamp(1.2rem,4vw,3rem);border:1px dashed #30475e;border-radius:16px;min-width:0}.market-empty h3{font-size:1.1rem;line-height:1.6}.market-empty p{font-size:.9rem;line-height:1.8;color:var(--text-secondary);margin:.75rem 0 1.25rem}.market-empty .workspace-actions{justify-content:center;flex-wrap:wrap}.market-empty .btn{white-space:normal;min-height:44px}
/* Route changes reveal their content immediately, including when scrolled far down. */
.view-container{animation:none}

/* Shared language and account controls: native select, crisp SVG, 44px targets. */
.site-header .header-actions{display:flex;align-items:center;gap:.65rem}
.header-control-icon{width:21px;height:21px;flex:0 0 21px;display:block}
.site-header .header-language-control{position:relative;display:flex;align-items:center;width:108px;height:44px;flex-shrink:0;border:1px solid #2c4356;border-radius:13px;background:linear-gradient(135deg,#132638,#0c1727);color:var(--text-primary);transition:border-color .18s,box-shadow .18s}
.site-header .language-globe{position:absolute;left:11px;pointer-events:none;color:var(--accent-teal)}
.site-header .language-chevron{position:absolute;right:10px;width:12px;height:12px;pointer-events:none;color:var(--text-secondary)}
.site-header #lang-selector{position:absolute;inset:0;width:100%;height:100%;min-width:0!important;min-height:44px!important;margin:0;appearance:none;-webkit-appearance:none;background:transparent!important;border:0!important;border-radius:13px;padding:0 25px 0 40px!important;color:var(--text-primary);font-size:.82rem!important;line-height:normal;font-weight:650;cursor:pointer;outline:none}
.site-header #lang-selector option{background:#0f172a;color:#f8fafc}
.site-header .header-language-control:hover{border-color:var(--accent-teal)}
.site-header .header-language-control:focus-within{border-color:var(--accent-teal);box-shadow:0 0 0 3px var(--accent-teal-glow)}
.site-header #lang-selector:focus-visible{outline:2px solid var(--accent-teal)!important;outline-offset:3px}
.site-header .header-account-button{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-height:44px;padding:0 16px;max-width:none;border:1px solid #594326;border-radius:13px;background:linear-gradient(135deg,#30251b,#1b1d26);color:#ffe4b4;font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:border-color .18s,background .18s,box-shadow .18s}
.site-header .header-account-button>.header-control-icon{color:var(--accent-gold)}
.site-header .header-account-button:hover{border-color:var(--accent-gold);background:#352a1b;box-shadow:0 0 18px var(--accent-gold-glow)}
.site-header .header-account-button:focus-visible,.site-header .header-signout-button:focus-visible,.site-header .user-profile-link:focus-visible{outline:2px solid var(--accent-gold);outline-offset:3px}
.site-header .user-badge-container{padding:0;border:0;background:transparent;gap:.45rem;border-radius:13px}
.site-header .user-profile-link{height:44px;min-height:44px;padding:4px 12px;gap:.7rem;border:1px solid #2c4356;border-radius:13px;background:linear-gradient(135deg,#132638,#0c1727);max-width:260px}
.site-header .user-profile-link:hover{border-color:var(--accent-teal)}
.site-header .user-profile-link>.header-control-icon{color:var(--accent-teal)}
.site-header .header-account-copy{min-width:0}
.site-header .header-account-name{display:block;font-size:.8rem;line-height:1.4;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-header .header-account-company{display:block;font-size:.66rem;line-height:1.4;color:var(--text-secondary);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-header .header-signout-button{display:flex;justify-content:center;align-items:center;width:40px;min-height:44px;border:1px solid #2c4356;border-radius:13px;background:#0c1727;color:var(--text-secondary);cursor:pointer}
.site-header .header-signout-button:hover{border-color:var(--accent-gold);color:var(--accent-gold)}
.site-header #btn-mobile-menu{min-height:44px;border-radius:13px}
@media(max-width:600px){.site-header .header-actions{gap:.45rem!important}.site-header .header-language-control{width:96px}.site-header .language-globe{left:10px;width:19px;height:19px}.site-header #lang-selector{padding-left:35px!important;font-size:.78rem!important}.site-header .header-account-button{width:44px;height:44px;padding:0}.site-header .header-account-label,.site-header .header-account-copy{display:none}.site-header .user-profile-link{width:44px;height:44px;padding:0;justify-content:center}.site-header #btn-header-signout{display:none}.site-header #btn-mobile-menu{width:40px;min-height:44px}.site-header .header-brand-image{width:36px;height:36px}.site-header .header-container{flex-wrap:nowrap;gap:.5rem}.site-header .header-actions{flex-shrink:0}.site-header .header-container>.logo{min-width:0}.site-header .brand-text{min-width:0}}
@media(prefers-reduced-motion:reduce){.site-header .header-account-button,.site-header .header-language-control{transition:none}}

/* One footer for the platform and its reading pages. */
footer.site-footer{max-width:none;margin:4rem 0 0;padding:0;border-top:1px solid #203447;background:linear-gradient(180deg,#0b1523 0%,#060913 100%);color:var(--text-secondary)}
.site-footer-inner{max-width:1280px;margin:0 auto;padding:3rem 2rem 1.5rem}
.site-footer-grid{display:grid;grid-template-columns:minmax(0,1.45fr) repeat(3,minmax(0,1fr));gap:2.5rem;padding-bottom:2.25rem}
.site-footer-grid>*{min-width:0}
.site-footer-logo{display:inline-flex;gap:.85rem;align-items:center;color:var(--text-primary);font-weight:750;font-size:1rem;letter-spacing:.015em}
.site-footer-logo img{width:52px;height:52px;flex-shrink:0;border-radius:12px;border:1px solid var(--border-glass)}
.site-footer-brand>p{max-width:310px;font-size:.88rem;line-height:1.85;margin:1rem 0 1.25rem;color:#a9bad0}
.site-footer-cta{display:inline-flex;align-items:center;gap:.85rem;border:1px solid #285263;border-radius:11px;background:#112b36;color:#b4eef3;padding:.7rem 1rem;font-size:.83rem;line-height:1.6;min-height:44px;max-width:100%}
.site-footer-cta>span:first-child{overflow-wrap:anywhere}.site-footer-cta>span:last-child{color:var(--accent-teal);font-size:1rem}
.site-footer-cta:hover{border-color:var(--accent-teal);background:#173743}
.site-footer-group{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem}
.site-footer-group h2{font-family:inherit;font-size:.82rem;line-height:1.5;letter-spacing:.03em;color:var(--text-primary);font-weight:650;margin:.3rem 0 .8rem}
.site-footer-group>a{display:flex;align-items:center;min-height:44px;width:fit-content;max-width:100%;padding:.4rem 0;color:#a9bad0;font-size:.87rem;line-height:1.65;overflow-wrap:anywhere}
.site-footer-group>a:hover,.site-footer-legal>a:hover,.site-footer-legal>button:hover{color:var(--accent-teal)}
.site-footer-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;padding-top:1.5rem;border-top:1px solid #203447}
.site-footer-identity{font-size:.73rem;line-height:1.8;max-width:350px;color:#8fa5ba;min-width:0}.site-footer-identity>span{color:#b6c5d5}.site-footer-identity p{margin:.3rem 0 0;overflow-wrap:anywhere}
.site-footer-legal{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:.2rem 1.2rem;max-width:700px;min-width:0}
.site-footer-legal>a,.site-footer-legal>button{font:inherit;font-size:.72rem;line-height:1.7;min-height:44px;display:flex;align-items:center;padding:.35rem 0;color:#8fa5ba;background:transparent;border:0;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.site-footer a:focus-visible,.site-footer button:focus-visible{outline:2px solid var(--accent-teal);outline-offset:4px;border-radius:4px}
@media(max-width:900px){.site-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem 2rem}.site-footer-brand{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem 2rem}.site-footer-brand>p{grid-column:1;max-width:500px;margin:0}.site-footer-brand>.site-footer-cta{grid-column:2;grid-row:1/3}.site-footer-bottom{flex-direction:column;gap:1rem}.site-footer-identity{max-width:none}.site-footer-legal{justify-content:flex-start}}
@media(max-width:600px){footer.site-footer{margin-top:2.75rem}.site-footer-inner{padding:2rem 1rem 1rem}.site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 1rem;padding-bottom:1.5rem}.site-footer-brand{display:block}.site-footer-brand>p{margin:1rem 0;max-width:360px}.site-footer-group h2{font-size:.82rem;margin-bottom:.55rem}.site-footer-group>a{font-size:.83rem}.site-footer-logo{font-size:.9rem}.site-footer-logo img{width:44px;height:44px}.site-footer-legal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem 1rem;max-width:none;width:100%}.site-footer-legal>a,.site-footer-legal>button{font-size:.72rem}.site-footer-bottom{padding-top:1.25rem}}
@media print{footer.site-footer{display:none}}
@media(max-width:600px){.site-footer-group:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.1rem 1rem}.site-footer-group:last-child h2{grid-column:1/-1}.site-footer-group:last-child>a{width:100%;min-width:0}}
.site-footer a,.site-footer button{min-width:44px}
