/* ==========================================================================
   TICKER BY DNSE - GUIDE PAGE STYLESHEET
   Pure CSS3 - Built on DNSE / SACO Design Tokens
   ========================================================================== */

/* --- TOP HEADER & TAB SWITCHER (Replaces .site-header on guide.html) --- */
.guide-tab-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

main {
  padding-top: 0;
}

body.guide-page {
  padding-top: 72px;
}

.guide-tab-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.guide-tab-inner .logo-link {
  justify-self: start;
}

.guide-tab-inner .guide-tab-group {
  justify-self: center;
}

.guide-header-spacer {
  justify-self: end;
  width: 100%;
}

.guide-tab-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-full);
}

.guide-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  background: transparent;
  white-space: nowrap;
}

.guide-tab-btn:hover {
  color: var(--text-primary);
  background-color: rgba(17, 17, 17, 0.04);
}

.guide-tab-btn.active {
  background-color: var(--primary-main);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(145, 18, 28, 0.35);
}

.guide-tab-btn .material-symbols-outlined {
  font-size: 18px;
}

/* --- QUICK JUMP NAVIGATION BAR --- */
.quick-jump-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem 0 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.08);
  margin-bottom: 2rem;
}

.quick-jump-nav::-webkit-scrollbar {
  display: none;
}

.jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--bg-paper);
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.15s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.jump-pill:hover {
  background-color: var(--bg-tertiary);
  color: var(--primary-main);
  border-color: rgba(145, 18, 28, 0.25);
  transform: translateY(-1px);
}

.jump-pill .pill-num {
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(145, 18, 28, 0.08);
  color: var(--primary-main);
  border-radius: 50%;
}

/* --- GUIDE HERO / HEADER SECTION --- */
.guide-hero {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.guide-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(145, 18, 28, 0.06);
  border: 1px solid rgba(145, 18, 28, 0.14);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-main);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.guide-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.guide-title .accent-brand {
  color: var(--primary-main);
  position: relative;
}

.guide-lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 2rem;
}

.guide-hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.spec-chip .chip-label {
  font-weight: 600;
  color: var(--text-primary);
}

.spec-chip .material-symbols-outlined {
  font-size: 17px;
  color: var(--primary-main);
}

/* --- SECTION STYLING --- */
.guide-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  scroll-margin-top: 86px;
}

.section-head {
  margin-bottom: 2rem;
}

.section-number-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-main);
  background-color: rgba(145, 18, 28, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.6;
}

/* --- CARDS & GRIDS --- */
.guide-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-card:hover {
  border-color: rgba(145, 18, 28, 0.2);
  box-shadow: 0 8px 24px rgba(145, 18, 28, 0.06);
  transform: translateY(-2px);
}

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

@media (min-width: 768px) {
  .guide-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-grid-2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .guide-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-grid-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .guide-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .guide-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- BUTTON & ACTION CARDS (Section 1) --- */
.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.timing-badge {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.timing-badge.highlight {
  background-color: rgba(145, 18, 28, 0.08);
  color: var(--primary-main);
  border-color: rgba(145, 18, 28, 0.2);
}

.action-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(145, 18, 28, 0.06);
  color: var(--primary-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.action-icon-wrap .material-symbols-outlined {
  font-size: 24px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-footer-tip {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 12.5px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-footer-tip .material-symbols-outlined {
  font-size: 16px;
  color: var(--primary-main);
  flex-shrink: 0;
}

/* --- TOUCH CONTROLS (Section 2) --- */
.touch-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.touch-icon-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.touch-icon-box .material-symbols-outlined {
  font-size: 32px;
  color: var(--primary-main);
  background: rgba(145, 18, 28, 0.06);
  padding: 8px;
  border-radius: 12px;
}

.touch-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.touch-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 14px;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-main);
}

.touch-step-item .step-badge {
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

/* --- DISPLAY MODES (Section 3) --- */
.mode-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.mode-card:hover {
  border-color: rgba(145, 18, 28, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(145, 18, 28, 0.06);
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11.5px;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  width: fit-content;
}

.mode-badge.green {
  background-color: var(--green-quaternary);
  color: var(--green-main);
}

.mode-badge.blue {
  background-color: var(--blue-container);
  color: var(--blue-main);
}

.mode-badge.orange {
  background-color: var(--orange-container);
  color: var(--orange-main);
}

.mode-badge.purple {
  background-color: var(--purple-quaternary);
  color: var(--purple-main);
}

.mode-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.mode-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.mode-spec-box {
  margin-top: auto;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.alert-callout {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background-color: #FFF9F8;
  border: 1px solid rgba(145, 18, 28, 0.15);
  border-left: 4px solid var(--primary-main);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.alert-callout .material-symbols-outlined {
  color: var(--primary-main);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-callout-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.alert-callout-content strong {
  color: var(--text-primary);
}

/* --- WI-FI SETUP (Section 4) --- */
.wifi-setup-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.wifi-setup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.method-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background-color: rgba(145, 18, 28, 0.08);
  color: var(--primary-main);
}

.setup-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.setup-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.setup-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-main);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.setup-step-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.code-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-sm);
  font-family: 'Be Vietnam Pro', monospace;
  font-size: 13px;
  color: var(--primary-main);
  font-weight: 600;
}

/* --- ENTRADEX PORTAL CONTROLS (Section 5) --- */
.portal-feature-tile {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.portal-feature-tile:hover {
  border-color: rgba(145, 18, 28, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(145, 18, 28, 0.06);
  color: var(--primary-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.tile-icon .material-symbols-outlined {
  font-size: 22px;
}

.tile-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tile-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- PORTAL CTA IN SECTION 5 --- */
.portal-cta-card {
  margin-top: 1.75rem;
  background: linear-gradient(135deg, #FFF9F8 0%, #FFFFFF 100%);
  border: 1px solid rgba(145, 18, 28, 0.18);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(145, 18, 28, 0.05);
}

@media (min-width: 768px) {
  .portal-cta-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.portal-cta-content {
  max-width: 700px;
}

.portal-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-main);
  background-color: rgba(145, 18, 28, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.portal-cta-badge .material-symbols-outlined {
  font-size: 15px;
}

.portal-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.portal-cta-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.btn-portal-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background-color: var(--primary-main);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(145, 18, 28, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-portal-open:hover {
  background-color: var(--primary-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(145, 18, 28, 0.35);
  color: #FFFFFF;
}

.btn-portal-open:active {
  transform: translateY(0);
}

.btn-portal-open .material-symbols-outlined {
  font-size: 18px;
}

/* --- PHOTO FRAME UPLOAD (Section 6) --- */
.photo-frame-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

@media (min-width: 992px) {
  .photo-frame-card {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}

.photo-specs-box {
  background: var(--bg-secondary);
  border: 1px dashed rgba(17, 17, 17, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.spec-line:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.spec-line .label {
  color: var(--text-secondary);
}

.spec-line .value {
  font-weight: 600;
  color: var(--text-primary);
}

/* --- BATTERY & CHARGING (Section 7 & FAQ Tab) --- */
.battery-rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.battery-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.battery-rule-item .rule-bullet {
  color: var(--primary-main);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.power-supply-callout {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.power-supply-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-main);
  flex-shrink: 0;
}

.power-supply-icon .material-symbols-outlined {
  font-size: 28px;
}

/* --- SAFETY PRINCIPLES GRID (Section 8 & 14) --- */
.safety-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.2s ease;
}

.safety-card:hover {
  border-color: rgba(253, 20, 20, 0.3);
  box-shadow: 0 4px 16px rgba(253, 20, 20, 0.05);
}

.safety-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(253, 20, 20, 0.08);
  color: var(--red-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.safety-icon-wrap .material-symbols-outlined {
  font-size: 20px;
}

.safety-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.safety-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* --- FACTORY RESET BANNER (Section 9) --- */
.factory-reset-card {
  background: linear-gradient(135deg, #FFF9F8 0%, #FFFFFF 100%);
  border: 1px solid rgba(145, 18, 28, 0.2);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(145, 18, 28, 0.05);
}

.reset-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .reset-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.reset-column {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
}

.reset-col-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reset-col-title.deleted {
  color: var(--red-main);
}

.reset-col-title.kept {
  color: var(--green-main);
}

.reset-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--text-secondary);
}

.reset-item-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- TROUBLESHOOTING TABLE (Section 10) --- */
.troubleshoot-container {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
}

.troubleshoot-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

.troubleshoot-table th {
  background-color: var(--bg-secondary);
  padding: 1.15rem 1.75rem;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.troubleshoot-table th:first-child {
  width: 38%;
}

.troubleshoot-table th:last-child {
  width: 62%;
}

.troubleshoot-table td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  vertical-align: middle;
  font-size: 14.5px;
  background-color: #FFFFFF;
  transition: background-color 0.15s ease;
}

.troubleshoot-table tr:last-child td {
  border-bottom: none;
}

.troubleshoot-table tr:hover td {
  background-color: #FAF7F6;
}

.issue-cell {
  width: 38%;
  font-weight: 600;
  color: var(--text-primary);
}

.issue-cell-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  line-height: 1.5;
}

.issue-cell-inner .material-symbols-outlined {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.issue-cell-inner .icon-amber {
  color: #D97706;
}

.issue-cell-inner .icon-red {
  color: #DC2626;
}

.issue-cell-inner .icon-blue {
  color: #2563EB;
}

.issue-cell-inner .icon-muted {
  color: var(--text-tertiary);
}

.issue-cell-inner .icon-primary {
  color: var(--primary-main);
}

.solution-cell {
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 767px) {

  .troubleshoot-table,
  .troubleshoot-table thead,
  .troubleshoot-table tbody,
  .troubleshoot-table th,
  .troubleshoot-table td,
  .troubleshoot-table tr {
    display: block;
  }

  .troubleshoot-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .troubleshoot-table tr {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    padding: 1.25rem;
  }

  .troubleshoot-table td {
    border: none;
    padding: 0.35rem 0;
    width: 100% !important;
  }

  .issue-cell {
    width: 100% !important;
    font-size: 15px;
    margin-bottom: 0.5rem;
  }
}

/* --- FAQ VIEW (Tab 2) --- */
.faq-intro-card {
  background: linear-gradient(135deg, #FFF8F7 0%, #FFFFFF 100%);
  border: 1px solid rgba(145, 18, 28, 0.15);
  border-radius: 16px;
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.faq-intro-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--primary-main);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(145, 18, 28, 0.3);
}

.faq-intro-icon .material-symbols-outlined {
  font-size: 34px;
}

.faq-qa-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.faq-qa-card:hover {
  border-color: rgba(145, 18, 28, 0.25);
  box-shadow: 0 6px 20px rgba(145, 18, 28, 0.05);
}

.faq-question-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-status-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.faq-status-tag.safe {
  background-color: var(--green-quaternary);
  color: var(--green-main);
}

.faq-status-tag.warn {
  background-color: var(--orange-container);
  color: var(--orange-main);
}

.faq-status-tag.info {
  background-color: var(--blue-container);
  color: var(--blue-main);
}

.faq-answer {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.tech-highlight-pill {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  background-color: var(--bg-tertiary);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 13px;
}

/* --- TAB VISIBILITY TOGGLE --- */
.tab-view {
  display: block;
}

.tab-view.hidden {
  display: none !important;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) {
  .guide-tab-bar {
    height: auto;
    padding: 0.65rem 0;
  }

  body.guide-page {
    padding-top: 80px;
  }

  .guide-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.45rem;
  }
}

@media (max-width: 640px) {
  .guide-tab-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .guide-header-spacer {
    display: none;
  }

  .guide-tab-group {
    width: 100%;
    justify-content: center;
  }

  .guide-tab-btn {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding: 0.45rem 0.5rem;
  }

  body.guide-page {
    padding-top: 120px;
  }

  .guide-hero {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .guide-title {
    font-size: 1.7rem;
  }

  .guide-lead {
    font-size: 14px;
  }

  .faq-intro-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
}