/* guide-page.css — Page-type CSS for 12 topical guide pages */
/* Used by: storage, nozzle, ventilation, infill, wall, speed, first-layer, recycling, waste-reduction, seam, troubleshooting, settings-cheat-sheet */

/* ---- PAGE HERO ---- */
/* Topical guides now use .page-hero (shared.css) like brand + material pages */

.nav-link { font-size: 13px; color: var(--muted); text-decoration: none; font-family: var(--font-mono); transition: color 0.15s; }
.nav-link:hover { color: var(--text); }
.nav-guides-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  background: var(--accent); color: #282a36;
  padding: 5px 12px; border-radius: var(--radius); text-decoration: none;
  transition: opacity 0.15s; white-space: nowrap;
}
.nav-guides-btn:hover { opacity: 0.85; text-decoration: none; color: var(--accent-text, #ffffff); }
.nav-guides-btn svg { width: 11px; height: 11px; stroke: var(--accent-text, #ffffff); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.guide-subtitle { font-size: 1rem; color: var(--muted); max-width: 600px; line-height: 1.7; margin-top: 0.5rem; }
.section-block {
  margin-bottom: 3rem; padding: 2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}
.section-block:hover { border-color: var(--accent-border); }
.section-title { font-family: var(--font-sans); letter-spacing: -0.02em; font-size: 1.3rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.section-subtitle { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.section-body { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; }
.section-body p + p { margin-top: 0.75rem; }
.subsection { margin-bottom: 1.5rem; }
.info-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.info-card-value .muted { color: var(--muted); font-weight: 400; }
.data-table th { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); text-align: left; }
.data-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { color: var(--text); font-weight: 500; font-family: var(--font-mono); font-size: 0.8rem; }
.you-need-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.you-need-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.you-need-card {
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color 0.15s;
}
.you-need-card:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.you-need-card-label { font-size: 10px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); }
.you-need-card-title { font-size: 0.95rem; color: var(--text); font-weight: 500; line-height: 1.4; }
.you-need-card-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.5; flex: 1; }
.you-need-card-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--accent); text-decoration: none; margin-top: auto;
  padding: 4px 0; transition: opacity 0.15s;
}
.you-need-card-link:hover { opacity: 0.75; text-decoration: none; }
.cta-block {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #282a36;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  padding: 9px 18px; border-radius: var(--radius); text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; }
.btn-primary svg { width: 14px; height: 14px; stroke: var(--accent-text, #ffffff); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface2); color: var(--muted); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  padding: 9px 18px; border-radius: var(--radius); text-decoration: none;
  transition: all 0.15s;
}
.btn-secondary:hover { border-color: var(--accent-border); color: var(--accent); text-decoration: none; }
.warning-card {
  transition: border-color 0.2s;
  background: rgba(255,85,85,0.08); border: 1px solid rgba(255,85,85,0.3); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; margin-bottom: 0.75rem;
  font-size: 0.875rem; color: var(--muted); line-height: 1.6;
}
.warning-card strong { color: var(--red); }
.checklist { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.checklist-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; color: var(--muted); line-height: 1.6;
  padding: 0.6rem 0.9rem; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius);
}
.checklist-item::before {
  content: '✓'; color: var(--accent); font-family: var(--font-mono); font-size: 0.8rem;
  font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.checklist-item strong { color: var(--text); }
.affiliate-placeholder {
  border: 1px dashed var(--accent-border); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; margin-top: 0.75rem;
  background: var(--accent-dim); font-size: 0.8rem;
  color: var(--muted); font-family: var(--font-mono);
  display: flex; align-items: center; gap: 0.5rem;
}
.affiliate-placeholder::before { content: '🔗'; font-size: 0.9rem; }

/* ---- TABLE OVERFLOW ---- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.5rem; }

@media (max-width: 640px) {
  .section-block { padding: 1.25rem; }
}

/* ---- FOOTER THEME DOTS ---- */
/* ---- NAV GUIDES DROPDOWN ---- */
.chart-container { margin: 1.5rem 0; }
.chart-title { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 0.75rem; }
.chart-svg { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.chart-svg text { font-family: var(--font-mono); }
.chart-caption { font-size: 0.78rem; color: var(--dim); margin-top: 0.5rem; font-style: italic; }

/* ---- PATTERN CARDS (infill guide, speed guide) ---- */
.pattern-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 1.5rem; }
.pattern-card {
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; transition: border-color 0.2s, transform 0.2s;
}
.pattern-card:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.pattern-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pattern-visual {
  width: 100%; height: 80px; margin-bottom: 0.75rem;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
}
.pattern-visual svg { width: 100%; height: 100%; }
.pattern-visual line, .pattern-visual path, .pattern-visual circle, .pattern-visual polygon, .pattern-visual polyline, .pattern-visual rect.stroke-only {
  stroke: var(--accent); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7;
}
.pattern-name { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 0.3rem; }
.pattern-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0.5rem; }
.pattern-tag {
  font-size: 10px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 2px 7px; border-radius: var(--radius); white-space: nowrap;
}
.tag-fast { background: var(--green-dim); color: var(--green); border: 1px solid rgba(80,250,123,0.25); }
.tag-medium { background: var(--accent-dim); color: var(--yellow); border: 1px solid var(--yellow-border, rgba(161,98,7,0.25)); }
.tag-slow { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255,85,85,0.25); }
.tag-strength { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent-border); }
.tag-flexible { background: var(--accent-dim); color: var(--accent2); border: 1px solid rgba(189,147,249,0.25); }
.tag-visual { background: var(--blue-dim); color: var(--cyan); border: 1px solid var(--blue-border, rgba(37,99,235,0.20)); }
.tag-quality { background: var(--blue-dim); color: var(--cyan); border: 1px solid var(--blue-border, rgba(37,99,235,0.20)); }
.tag-time { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent-border); }
.pattern-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 560px) { .pattern-grid { grid-template-columns: 1fr; } }

/* ---- PAGE-SPECIFIC VISUAL ELEMENTS (extracted from guide pages) ---- */
/* Tags, compatibility badges, volume indicators, enclosure badges, resource links */
.tag-bad   { background: var(--red-dim);   color: var(--red);    border: 1px solid rgba(255,85,85,0.25); }
.tag-cause { background: var(--accent-dim); color: var(--yellow); border: 1px solid var(--yellow-border, rgba(161,98,7,0.25)); }
.tag-good  { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(80,250,123,0.25); }
.tag-info  { background: var(--blue-dim); color: var(--cyan);   border: 1px solid var(--blue-border, rgba(37,99,235,0.20)); }
.resource-link {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.1rem; text-decoration: none; color: var(--muted);
  transition: border-color 0.2s, transform 0.2s;
}
.resource-link:hover { border-color: var(--accent-border); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.resource-link-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.resource-link-body { flex: 1; min-width: 0; }
.resource-link-title { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.resource-link-source { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.resource-link-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-top: 0.3rem; }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-top: 1rem; }
.compat-bad  { color: var(--red); font-weight: 700; font-family: var(--font-mono); font-size: 0.8rem; }
.compat-ok   { color: var(--green); font-weight: 700; font-family: var(--font-mono); font-size: 0.8rem; }
.compat-warn { color: var(--yellow); font-weight: 700; font-family: var(--font-mono); font-size: 0.8rem; }
.tag-abrasive { background: var(--red-dim);   color: var(--red);     border: 1px solid var(--red-dim); }
.tag-brass    { background: var(--accent-dim); color: var(--accent);  border: 1px solid var(--accent-border); }
.tag-budget   { background: var(--accent-dim); color: var(--accent);  border: 1px solid var(--accent-border); }
.tag-copper   { background: var(--green-dim);  color: var(--green);   border: 1px solid var(--green-border); }
.tag-large    { background: rgba(139,233,253,0.10); color: var(--cyan);    border: 1px solid var(--blue-border, rgba(37,99,235,0.20)); }
.tag-premium  { background: var(--accent-dim); color: var(--accent2); border: 1px solid var(--accent-border); }
.tag-ruby     { background: var(--red-dim);   color: var(--red);     border: 1px solid var(--red-dim); }
.tag-safe     { background: var(--green-dim);  color: var(--green);   border: 1px solid var(--green-border); }
.tag-small    { background: var(--accent-dim);      color: var(--accent);  border: 1px solid var(--accent-border); }
.tag-stainless{ background: var(--accent-dim); color: var(--accent2); border: 1px solid var(--accent-border); }
.tag-standard { background: rgba(80,250,123,0.10);  color: var(--green);   border: 1px solid var(--green-border); }
.tag-steel    { background: var(--blue-dim); color: var(--blue);    border: 1px solid var(--blue-border, rgba(37,99,235,0.20)); }
.enc-no { color: var(--green); }
.enc-rec { color: var(--yellow); font-weight: 500; }
.enc-req { color: var(--red); font-weight: 700; }
.enc-yes { color: var(--red); font-weight: 700; }
.tag-hw     { background: var(--accent-dim);       color: var(--accent); border: 1px solid var(--accent-border); }
.tag-limit  { background: var(--red-dim);   color: var(--red);    border: 1px solid rgba(255,85,85,0.25); }
.tag-speed  { background: var(--accent-dim); color: var(--yellow); border: 1px solid var(--yellow-border, rgba(161,98,7,0.25)); }
.vol { display: inline-block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; white-space: nowrap; }
.vol-low    { background: var(--green-dim); color: var(--green); border: 1px solid var(--green-border); }
.vol-medium { background: rgba(241,250,140,0.12); color: var(--yellow); border: 1px solid var(--yellow-border, rgba(161,98,7,0.25)); }
.vol-high   { background: rgba(255,184,108,0.12); color: var(--accent); border: 1px solid rgba(255,184,108,0.3); }
.vol-severe { background: rgba(255,85,85,0.12); color: var(--red); border: 1px solid rgba(255,85,85,0.3); }
