/* Site tokens — responsive UX in assets/fgas-ui.css */
.container-wide { max-width: 72rem; }
.fgas-hero { background: var(--rfb-surface); border: 1px solid var(--rfb-border); border-left: 4px solid var(--rfb-accent); padding: 28px; margin-bottom: 28px; box-shadow: var(--rfb-shadow); border-radius: var(--rfb-radius); }
.fgas-hero h1 { font-size: 1.75rem; margin-bottom: 8px; color: var(--rn-white); }
.fgas-hero p { color: var(--rfb-muted); max-width: 720px; }
.fgas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 24px 0; }
.fgas-card { background: var(--rfb-surface); border: 1px solid var(--rfb-border); padding: 18px; border-radius: var(--rfb-radius); text-decoration: none; color: var(--rfb-text); display: block; transition: border-color .15s, background .15s; }
.fgas-card:hover { color: var(--rn-white); }
.fgas-card:not(.fgas-hub-card):hover { border-color: var(--rfb-accent); }
.fgas-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.fgas-card:not(.fgas-hub-card) h3 { color: var(--rfb-accent); }
.fgas-card p { color: var(--rfb-muted); font-size: 0.92rem; }
.fgas-section { margin: 36px 0; }
.fgas-section h2 { color: var(--rfb-accent); font-size: 1.35rem; margin-bottom: 12px; border-bottom: 1px solid var(--rfb-border); padding-bottom: 8px; }
.fgas-section h3 { color: var(--rfb-text); font-size: 1.1rem; margin: 20px 0 10px; }
.fgas-section h4 { color: var(--rfb-muted); font-size: 1rem; margin: 16px 0 8px; }
.fgas-section ol { margin-left: 1.25rem; color: var(--rfb-muted); }
.fgas-section ol li { margin-bottom: 8px; }
.fgas-section p, .fgas-section li { color: var(--rfb-muted); margin-bottom: 10px; }
.fgas-section ul { margin-left: 1.25rem; }
.fgas-slide { max-width: 100%; border: 1px solid var(--rfb-border); border-radius: var(--rfb-radius); margin: 16px 0; background: #fff; }
.fgas-figure { margin: 1.25rem 0; max-width: 100%; }
.fgas-figure figcaption { margin-top: 0.5rem; font-size: 0.88rem; color: var(--rfb-muted); line-height: 1.45; }
.fgas-diagram { background: #f4f4f4; border-radius: 10px; padding: 0.75rem; }
.fgas-figure img,
.fgas-figure svg,
.fgas-diagram-img {
  max-width: 100%;
  min-height: 200px;
  height: auto;
  display: block;
  background: #f8f9fa;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
}
.fgas-figure-stack { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .fgas-figure-stack--2 { grid-template-columns: 1fr 1fr; }
}
.fgas-callout { background: var(--rfb-surface-2); border-left: 4px solid var(--rfb-primary); padding: 14px 18px; margin: 16px 0; border-radius: 0 var(--rfb-radius) var(--rfb-radius) 0; }
.fgas-footer { text-align: center; padding: 32px 24px 40px; color: var(--rfb-muted); font-size: 0.9rem; border-top: 1px solid var(--rfb-border); margin-top: 40px; background: var(--rfb-surface); }
.fgas-footer-inner { max-width: 40rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fgas-footer-leyo { display: inline-flex; align-items: center; gap: 8px; color: var(--rfb-accent); font-weight: 600; text-decoration: none; }
.fgas-footer-leyo:hover { color: var(--rn-white); text-decoration: underline; }
.fgas-footer-logo { height: 28px; width: auto; max-width: 96px; opacity: 0.92; flex-shrink: 0; }
.fgas-footer-credit { color: var(--rfb-text); margin: 0; }
.fgas-footer-legal { margin: 0; font-size: 0.84rem; }
.fgas-footer-legal a { color: var(--rfb-accent); text-decoration: none; }
.fgas-footer-legal a:hover { text-decoration: underline; }
.fgas-footer-copy { margin: 0; font-size: 0.82rem; color: var(--rfb-muted); }
.fgas-footer-review { margin: 0; font-size: 0.88rem; }
.fgas-footer-review-link { color: var(--rfb-accent); font-weight: 600; text-decoration: none; }
.fgas-footer-review-link:hover { text-decoration: underline; color: var(--rn-white); }
.fgas-hub-card-review { border-color: var(--rfb-accent); }
.fgas-review-cta { margin: 12px 0; }
.fgas-online-dot, .fgas-offline-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; }
.fgas-online-dot { background: #3dd68c; box-shadow: 0 0 0 2px rgba(61, 214, 140, 0.35); }
.fgas-offline-dot { background: var(--rfb-muted); opacity: 0.5; }
.fgas-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.85em; }
.fgas-practice-notice { margin: 12px 0 0; padding: 10px 14px; background: var(--rfb-surface-2); border-radius: var(--rfb-radius); font-size: 0.9rem; color: var(--rfb-muted); }
.fgas-inline-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: -12px 0 24px; font-size: 0.92rem; }
.fgas-inline-nav a { color: var(--rfb-accent); text-decoration: none; }
.fgas-inline-nav a:hover { text-decoration: underline; color: var(--rn-white); }
.fgas-cert-wrap h3 { color: var(--rfb-accent); font-size: 1.1rem; margin: 24px 0 10px; }
.fgas-cert-field { display: inline-block; min-width: 8rem; min-height: 1.4em; border-bottom: 1px dashed var(--rfb-border); vertical-align: bottom; }
.fgas-cert-field-wide { min-width: 100%; }
.fgas-cert-tick { text-align: center; width: 4rem; font-size: 1.1rem; }
.fgas-cert-checklist td:first-child { max-width: 28rem; }
.fgas-cert-example td:last-child { color: var(--rfb-text); }
.fgas-cert-done-list { margin-left: 1.25rem; color: var(--rfb-muted); }
.fgas-cert-done-list li { margin-bottom: 6px; }
.fgas-print-hint { margin: 0 0 16px; }
@media print {
  .fgas-topbar, .fgas-breadcrumbs, .fgas-footer, .fgas-print-hint, .fgas-btn { display: none !important; }
  .fgas-cert-field { border-bottom-color: #333; min-width: 10rem; }
  .fgas-hero { border-left-color: #333; }
}
.fgas-disclaimer-banner { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.55); }
.fgas-disclaimer-banner[hidden] { display: none !important; }
.fgas-disclaimer-banner-inner { max-width: 32rem; width: 100%; background: var(--rfb-surface); border: 1px solid var(--rfb-border); border-radius: var(--rfb-radius); padding: 20px 22px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35); }
.fgas-disclaimer-banner-inner h2 { margin: 0 0 8px; font-size: 1.1rem; }
.fgas-disclaimer-banner-inner p { margin: 0 0 14px; font-size: 0.92rem; }
.fgas-disclaimer-check { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 0.9rem; color: var(--rfb-muted); }
.fgas-disclaimer-check input { margin-top: 3px; }
.fgas-legal h1 { margin-top: 0; }
.fgas-legal h2 { margin-top: 1.5rem; font-size: 1.05rem; }
.fgas-brand-logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.fgas-topbar .fgas-brand-logo { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)); }
.fgas-brand-link { gap: 14px; }
.fgas-brand-display { font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.fgas-brand-q { color: var(--rfb-accent); font-weight: 800; margin-left: 0.02em; }
.fgas-brand-tagline { margin: -4px 0 10px; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--rfb-muted); font-style: italic; }
.fgas-brand-tagline--header { display: block; margin: 2px 0 0; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: none; font-weight: 400; }
.fgas-hero h1 .fgas-brand-display { color: var(--rn-white); }
.fgas-hero-logo { max-height: 80px; height: auto; width: auto; max-width: 200px; display: block; margin-bottom: 8px; background: transparent; }
.fgas-hero-subhead { font-size: 1.35rem; margin: 0 0 8px; color: var(--rn-white); font-weight: 600; }
.fgas-muted { color: var(--rfb-muted); font-size: 0.88rem; }
.fgas-form input, .fgas-form select { background: var(--rn-n800); border: 1px solid var(--rfb-border); color: var(--rfb-text); border-radius: 6px; }
.fgas-btn { display: inline-flex; margin-top: 12px; background: var(--rfb-primary); color: #fff; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; }
.fgas-btn:hover { background: var(--rfb-primary-hover); color: #fff; }
.fgas-btn-secondary { background: transparent; border: 1px solid var(--rfb-border); color: var(--rfb-text); }
.fgas-alert { padding: 12px 16px; margin: 12px 0; border-radius: 6px; }
.fgas-alert-error { background: rgba(236,65,56,.15); border: 1px solid var(--rfb-danger); color: #fca5a5; }
.fgas-alert-ok { background: rgba(96,178,85,.15); border: 1px solid var(--rfb-success); color: #86efac; }

/* Privilege Member — IF GAZ gold */
.fgas-privilege-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1408;
  background: linear-gradient(135deg, #e8c242 0%, #d4af37 45%, #b8962e 100%);
  border: 1px solid rgba(212, 175, 55, 0.85);
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(212, 175, 55, 0.35);
}
.fgas-privilege-banner {
  margin: 0 0 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(26, 20, 8, 0.92) 0%, rgba(40, 32, 12, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-left: 4px solid #d4af37;
  border-radius: var(--rfb-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.fgas-privilege-banner .fgas-privilege-badge { margin-bottom: 10px; }
.fgas-privilege-banner p { margin: 0; color: var(--rfb-text); font-size: 0.95rem; max-width: 52rem; }
.fgas-privilege-panel {
  margin: 0 0 24px;
  padding: 20px 22px;
  background: linear-gradient(160deg, rgba(30, 24, 10, 0.55) 0%, var(--rfb-surface) 55%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-left: 4px solid #d4af37;
  border-radius: var(--rfb-radius);
}
.fgas-privilege-panel--owner {
  border-left-color: var(--rfb-primary);
  background: var(--rfb-surface);
  border-color: var(--rfb-border);
}
.fgas-privilege-heading { margin: 0 0 12px; font-size: 1.15rem; color: var(--rn-white); }
.fgas-privilege-panel p { margin: 0 0 10px; color: var(--rfb-muted); max-width: 40rem; }
.fgas-privilege-opt-in { margin-top: 14px; color: var(--rfb-text); }
.fgas-ok-text { color: var(--rfb-success); }
.fgas-fieldset { border: 1px solid var(--rfb-border); border-radius: 6px; padding: 12px 16px; margin: 12px 0; }
.fgas-fieldset legend { color: var(--rfb-accent); padding: 0 6px; }
.fgas-copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 12px 0; }
.fgas-copy-input { flex: 1 1 280px; min-width: 0; font-family: ui-monospace, monospace; font-size: 0.88rem; padding: 10px 12px; background: var(--rn-n800); border: 1px solid var(--rfb-border); color: var(--rfb-text); border-radius: 6px; }
.fgas-setup-steps { margin: 12px 0 0 1.2rem; padding: 0; }
.fgas-setup-steps li { margin: 8px 0; }

/* Stripe admin (UX10) */
.fgas-stripe-hero .fgas-stripe-lead { max-width: 52rem; color: var(--rfb-text); }
.fgas-stripe-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 12px; }
.fgas-stripe-status-row h2 { margin: 0; border: none; padding: 0; }
.fgas-stripe-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--rfb-border);
}
.fgas-stripe-badge--not_configured { color: var(--rfb-muted); background: var(--rfb-surface-2); }
.fgas-stripe-badge--test_ready { color: #1a3d28; background: rgba(96, 178, 85, 0.35); border-color: var(--rfb-success); }
.fgas-stripe-badge--live_active { color: #1a1408; background: linear-gradient(135deg, #e8c242 0%, #d4af37 55%, #b8962e 100%); border-color: rgba(212, 175, 55, 0.85); }
.fgas-stripe-money-note {
  padding: 14px 16px;
  margin: 12px 0;
  background: var(--rfb-surface-2);
  border-left: 4px solid var(--rfb-accent);
  border-radius: 0 var(--rfb-radius) var(--rfb-radius) 0;
  color: var(--rfb-text);
  font-size: 0.92rem;
  max-width: 52rem;
}
.fgas-stripe-status-list { list-style: none; margin: 0; padding: 0; }
.fgas-stripe-status-list li { margin: 6px 0; }
.fgas-stripe-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.fgas-stripe-touch {
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}
.fgas-stripe-test-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
}
.fgas-stripe-test-result--pending { background: var(--rfb-surface-2); color: var(--rfb-muted); border: 1px solid var(--rfb-border); }
.fgas-stripe-test-result--ok { background: rgba(96, 178, 85, 0.15); border: 1px solid var(--rfb-success); color: #86efac; }
.fgas-stripe-test-result--err { background: rgba(236, 65, 56, 0.15); border: 1px solid var(--rfb-danger); color: #fca5a5; }
.fgas-stripe-stepper { margin: 28px 0 32px; }
.fgas-stripe-stepper.fgas-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.fgas-stripe-stepper-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: min(100%, 720px);
}
.fgas-stripe-step {
  flex: 1 1 0;
  min-width: 4.5rem;
  text-align: center;
  position: relative;
  padding: 0 4px 8px;
  color: var(--rfb-muted);
}
.fgas-stripe-step::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--rfb-border);
  z-index: 0;
}
.fgas-stripe-step:last-child::after { display: none; }
.fgas-stripe-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--rfb-border);
  background: var(--rfb-surface);
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}
.fgas-stripe-step-label {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.fgas-stripe-step--done .fgas-stripe-step-num { border-color: var(--rfb-success); background: rgba(96, 178, 85, 0.2); color: var(--rfb-success); }
.fgas-stripe-step--done::after { background: var(--rfb-success); }
.fgas-stripe-step--current .fgas-stripe-step-num { border-color: var(--rfb-accent); background: rgba(212, 175, 55, 0.25); color: var(--rn-white); }
.fgas-stripe-step--current .fgas-stripe-step-label { color: var(--rfb-accent); font-weight: 600; }
.fgas-stripe-step-card {
  margin: 24px 0;
  padding: 20px 22px;
  background: var(--rfb-surface);
  border: 1px solid var(--rfb-border);
  border-left: 4px solid var(--rfb-primary);
  border-radius: var(--rfb-radius);
}
.fgas-stripe-step-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--rn-white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fgas-stripe-step-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rfb-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.fgas-stripe-step-card p,
.fgas-stripe-step-card li { color: var(--rfb-muted); }
.fgas-stripe-secret-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}
.fgas-stripe-secret-wrap .fgas-stripe-secret-input { flex: 1 1 240px; min-width: 0; margin-bottom: 0; }
.fgas-stripe-secret-wrap .fgas-stripe-reveal { flex: 0 0 auto; margin-top: 0; }
.fgas-stripe-form label { display: block; margin-top: 14px; color: var(--rfb-text); }
.fgas-stripe-checklist { margin: 0; padding-left: 1.25rem; }
.fgas-stripe-checklist li { margin: 8px 0; color: var(--rfb-muted); }
.fgas-stripe-keys-help { margin-top: 0; margin-bottom: 24px; border: 1px solid var(--rfb-border); border-radius: var(--rfb-radius); background: var(--rfb-surface); }
.fgas-stripe-keys-help-summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--rfb-accent);
  padding: 14px 18px;
  list-style: none;
}
.fgas-stripe-keys-help-summary::-webkit-details-marker { display: none; }
.fgas-stripe-keys-help[open] .fgas-stripe-keys-help-summary { border-bottom: 1px solid var(--rfb-border); }
.fgas-stripe-keys-help-body { padding: 12px 18px 18px; }
.fgas-stripe-keys-help-body h3 { margin: 18px 0 8px; font-size: 1.05rem; color: var(--rfb-text); }
.fgas-stripe-keys-help-body h3:first-of-type { margin-top: 8px; }
.fgas-stripe-keys-steps li { margin: 8px 0; }
.fgas-stripe-keys-url { word-break: break-all; }
.fgas-stripe-keys-copy-url { margin-top: 8px; vertical-align: middle; }
@media (max-width: 768px) {
  .fgas-stripe-actions .fgas-btn { flex: 1 1 100%; }
  .fgas-copy-row .fgas-btn { width: 100%; }
}
.fgas-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.95rem; }
.fgas-table th, .fgas-table td { border: 1px solid var(--rfb-border); padding: 10px 12px; text-align: left; }
.fgas-table th { background: var(--rfb-surface-2); color: var(--rfb-accent); }
.fgas-quiz-q { background: var(--rfb-surface); border: 1px solid var(--rfb-border); padding: 20px; margin-bottom: 16px; border-radius: var(--rfb-radius); }
.fgas-quiz-diagram { margin: 12px 0 16px; text-align: center; }
.fgas-quiz-diagram img { max-width: 100%; height: auto; max-height: 280px; border: 1px solid var(--rfb-border); border-radius: var(--rfb-radius); background: #fff; }
.fgas-progress-bars { list-style: none; padding: 0; margin: 0; }
.fgas-progress-bars > li { margin-bottom: 16px; }
.fgas-progress-bar-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; margin-bottom: 6px; }
.fgas-progress-bar-label { flex: 1; min-width: 0; }
.fgas-progress-bar--pass { background: var(--rfb-success, #2d6a4f); }
.fgas-badge--ok { background: rgba(45, 106, 79, 0.2); color: var(--rfb-success, #2d6a4f); }
.fgas-badge--warn { background: rgba(200, 120, 40, 0.2); color: #c87828; }
.fgas-table--compact th, .fgas-table--compact td { padding: 8px 10px; font-size: 0.88rem; }
.fgas-score { font-weight: 700; color: var(--rfb-accent); }
.fgas-toc { list-style: none; margin: 0; padding: 0; }
.fgas-toc li { margin: 2px 0; }
.fgas-breadcrumbs { margin-bottom: 18px; font-size: 0.88rem; }
.fgas-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 4px; list-style: none; padding: 0; margin: 0; color: var(--rfb-muted); }
.fgas-breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--rfb-border); }
.fgas-breadcrumbs a { color: var(--rn-a400); text-decoration: none; }
.fgas-breadcrumbs span { color: var(--rfb-text); }

.fgas-topbar .rfb-app-title { font-size: 0.95rem; }

.fgas-toc-numbered { counter-reset: ch; list-style: none; padding: 0; }
.fgas-toc-numbered > li { margin: 14px 0; padding-left: 0; border-bottom: 1px solid var(--rfb-border); padding-bottom: 12px; }
.fgas-toc-numbered a { font-weight: 600; color: var(--rn-a400); }
.fgas-ch-num { color: var(--rfb-accent); margin-right: 8px; }
.fgas-toc-grid { background: var(--rfb-surface); border: 1px solid var(--rfb-border); padding: 20px 24px; border-radius: var(--rfb-radius); }

.fgas-tip-exam { border-left-color: var(--rfb-accent); }
.fgas-tip-memory { border-left-color: var(--rfb-success); }

.fgas-chapter-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rfb-border); }
.fgas-chapter h3 { color: var(--rfb-text); font-size: 1.1rem; margin: 20px 0 10px; }

.fgas-card-thumb { width: 100%; height: 120px; object-fit: contain; border-radius: 6px; margin-bottom: 10px; background: #f8f9fa; border: 1px solid rgba(212, 175, 55, 0.25); padding: 4px; box-sizing: border-box; }
.fgas-topic-card { min-height: 200px; }

.fgas-alpha-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fgas-alpha-nav a { padding: 4px 10px; border: 1px solid var(--rfb-border); border-radius: 4px; color: var(--rn-a400); text-decoration: none; font-size: 0.85rem; }
.fgas-glossary dt { color: var(--rfb-accent); font-weight: 600; margin-top: 14px; }
.fgas-glossary dd { margin: 4px 0 0 1rem; color: var(--rfb-muted); }
.fgas-glossary-letter h2 { font-size: 1.5rem; color: var(--rfb-primary); margin: 28px 0 8px; border-bottom: 1px solid var(--rfb-border); }

.fgas-checklist { list-style: none; padding: 0; }
.fgas-checklist li { margin: 10px 0; }
.fgas-checklist label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--rfb-muted); }
.fgas-checklist input { margin-top: 4px; }
.fgas-checklist a { color: var(--rn-a400); }

.fgas-search-form input[type=search] { max-width: min(480px, 100%); }
.fgas-search-group { margin: 24px 0 8px; }
.fgas-search-group-title { font-size: 1.05rem; margin: 0 0 10px; color: var(--rfb-text); }
.fgas-search-hits { list-style: none; padding: 0; margin: 0; }
.fgas-search-hits li { margin: 14px 0; padding-bottom: 12px; border-bottom: 1px solid var(--rfb-border); }
.fgas-search-hits a { color: var(--rn-a400); }
.fgas-search-type { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rfb-muted); margin-left: 8px; }
.fgas-search-hit--glossary strong { color: var(--rfb-accent); }
.fgas-search-hit--guide strong, .fgas-search-hit--chapter strong { color: var(--rn-a400); }
.fgas-search-mark { background: rgba(255, 200, 80, 0.35); color: inherit; padding: 0 2px; border-radius: 2px; }

.fgas-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.fgas-badge-free { background: rgba(72, 187, 120, 0.2); color: #9ae6b4; border: 1px solid rgba(72, 187, 120, 0.45); }
.fgas-hub-card--free { border-color: rgba(72, 187, 120, 0.35); }
.fgas-pdf-viewer { margin: 16px 0; border: 1px solid var(--rfb-border); border-radius: var(--rfb-radius); overflow: hidden; background: #1a1a1a; }

@media print {
  .fgas-topbar, .fgas-nav-drawer, .fgas-breadcrumbs, .fgas-footer, .fgas-chapter-nav, .fgas-btn { display: none !important; }
  .fgas-main { max-width: 100%; padding: 0; }
  .fgas-hero, .fgas-section, .fgas-callout { break-inside: avoid; }
  .fgas-slide { max-width: 90%; page-break-inside: avoid; }
  body { color: #000; background: #fff; }
}
