/* ==========================================================================
   SCOPED COMPONENT STYLES: #mao-host-resource-library
   Aligned with verified Meet At Ours stylesheets:
   - assets/css/styles.css
   - assets/css/become-a-host.css
   - assets/css/how-it-works.css
   Zero global body, :root, .site-header or footer overrides.
   ========================================================================== */
#mao-host-resource-library {

  /* Scoped editorial aliases from assets/css/become-a-host.css */
  --bah-cream: var(--cream, #fbf6ed);
  --bah-ivory: var(--ivory, #fffaf3);
  --bah-paper: #fffdf9;
  --bah-ink: var(--text-primary, #252b22);
  --bah-copy: var(--text-secondary, #5f625a);
  --bah-muted: var(--text-muted, #77766d);
  --bah-olive: var(--olive, #65735a);
  --bah-olive-dark: var(--olive-dark, #40503a);
  --bah-sage: #e9eee4;
  --bah-sand: #e5d8c7;
  --bah-terracotta: var(--terracotta, #b96f4d);
  --bah-shadow-sm: 0 9px 28px rgba(61, 51, 39, 0.065);
  --bah-shadow-lg: 0 24px 58px rgba(61, 51, 39, 0.11);

  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--text-primary);
  background-color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
  padding-bottom: 5rem;
}

#mao-host-resource-library *,
#mao-host-resource-library *::before,
#mao-host-resource-library *::after {
  box-sizing: border-box;
}

#mao-host-resource-library [hidden] {
  display: none !important;
}

#mao-host-resource-library button:focus-visible,
#mao-host-resource-library a:focus-visible,
#mao-host-resource-library input:focus-visible,
#mao-host-resource-library summary:focus-visible,
#mao-host-resource-library [tabindex]:focus-visible {
  outline: 2px solid var(--bah-terracotta);
  outline-offset: 3px;
}

/* Central 1200px container matching assets/css/styles.css */
#mao-host-resource-library .mao-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px) {
  #mao-host-resource-library .mao-container {
    padding: 0 18px;
  }
}

/* ==========================================================================
   SHARED EDITORIAL TYPOGRAPHY & BUTTONS (become-a-host.css / how-it-works.css)
   ========================================================================== */
#mao-host-resource-library .mao-kicker {
  display: inline-block;
  color: var(--bah-terracotta);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.145em;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

#mao-host-resource-library .mao-section-heading {
  max-width: 780px;
  margin-bottom: 2.25rem;
}

#mao-host-resource-library .mao-section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.15rem, 3.8vw, 3.1rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--bah-ink);
  margin: 9px 0 0;
}

#mao-host-resource-library .mao-section-subtitle {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.67;
  color: var(--bah-copy);
}

#mao-host-resource-library .mao-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#mao-host-resource-library .mao-button-primary {
  background: var(--bah-olive-dark);
  box-shadow: 0 10px 22px rgba(56, 70, 49, 0.16);
  color: #fffdf8;
}

#mao-host-resource-library .mao-button-primary:hover:not(:disabled) {
  background: #35432f;
  transform: translateY(-1px);
}

#mao-host-resource-library .mao-button-secondary {
  border-color: rgba(185, 111, 77, 0.48);
  background: rgba(255, 255, 255, 0.75);
  color: var(--bah-ink);
}

#mao-host-resource-library .mao-button-secondary:hover:not(:disabled) {
  background: var(--white);
  border-color: var(--bah-terracotta);
}

#mao-host-resource-library .mao-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   CLEAN, TASTEFUL PHOTOGRAPHIC SLOTS (Ready for Codex local asset connection)
   ========================================================================== */
#mao-host-resource-library .mao-media-slot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 50%),
    linear-gradient(135deg, #efe7da 0%, #e3d6c3 100%);
  border: 1px solid rgba(104, 85, 61, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

#mao-host-resource-library .mao-media-slot img.mao-slot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  z-index: 2;
  display: block;
}

#mao-host-resource-library .mao-slot-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.05) 0%, rgba(58, 53, 48, 0.08) 100%);
}

#mao-host-resource-library .mao-slot-placeholder-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(217, 206, 188, 0.85);
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

#mao-host-resource-library .mao-slot-placeholder-caption {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-top: 0.45rem;
  line-height: 1.3;
  opacity: 0.85;
}

/* ==========================================================================
   PERSISTENT PATHWAY SWITCHER BAR (Shown inside Guest & Host views)
   ========================================================================== */
#mao-host-resource-library .mao-context-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--bah-sand);
}

#mao-host-resource-library .mao-back-resources-btn {
  appearance: none;
  background: var(--bah-paper);
  border: 1px solid rgba(185, 111, 77, 0.42);
  color: var(--bah-ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#mao-host-resource-library .mao-back-resources-btn:hover {
  background-color: var(--white);
  border-color: var(--bah-terracotta);
}

#mao-host-resource-library .mao-mode-pills {
  display: inline-flex;
  background-color: var(--warm-beige);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--sand);
}

#mao-host-resource-library .mao-mode-pill {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#mao-host-resource-library .mao-mode-pill.is-active {
  background-color: var(--bah-olive-dark);
  color: #fffdf8;
  box-shadow: 0 4px 12px rgba(56, 70, 49, 0.16);
}

/* ==========================================================================
   EDITORIAL HERO SECTIONS (Aligned with .bah-hero and .mao-how-hero)
   ========================================================================== */
#mao-host-resource-library .mao-editorial-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 68px) 0;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.84), transparent 36%),
    linear-gradient(90deg, #fbf7ef 0%, #f4eadf 100%);
  border-bottom: 1px solid rgba(229, 216, 199, 0.85);
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

#mao-host-resource-library .mao-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  #mao-host-resource-library .mao-hero-grid {
    grid-template-columns: 48% 52%;
    gap: 3rem;
  }
}

#mao-host-resource-library .mao-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#mao-host-resource-library .mao-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.65rem, 5vw, 4.25rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--bah-ink);
  margin: 12px 0 0;
}

#mao-host-resource-library .mao-lead {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--bah-copy);
}

#mao-host-resource-library .mao-hero-cta {
  margin-top: 26px;
}

#mao-host-resource-library .mao-hero-photo {
  width: 100%;
  min-height: 260px;
  border-radius: var(--radius-xl);
  box-shadow: var(--bah-shadow-lg);
}

@media (min-width: 768px) {
  #mao-host-resource-library .mao-hero-photo {
    min-height: 360px;
  }
}

/* ==========================================================================
   AUDIENCE CHOICE CARDS ("I'm a guest" / "I'm a host")
   ========================================================================== */
#mao-host-resource-library .mao-audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  #mao-host-resource-library .mao-audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

#mao-host-resource-library .mao-audience-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  background-color: var(--bah-paper);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--bah-shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

@media (min-width: 768px) {
  #mao-host-resource-library .mao-audience-card {
    padding: 1.75rem;
  }
}

#mao-host-resource-library .mao-audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bah-shadow-lg);
  border-color: var(--bah-terracotta);
}

#mao-host-resource-library .mao-audience-photo {
  width: 100%;
  min-height: 220px;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  #mao-host-resource-library .mao-audience-photo {
    min-height: 250px;
  }
}

#mao-host-resource-library .mao-audience-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

#mao-host-resource-library .mao-audience-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--bah-ink);
  margin: 0 0 0.65rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

#mao-host-resource-library .mao-audience-desc {
  font-size: 16.5px;
  color: var(--bah-copy);
  margin: 0 0 1.5rem;
  line-height: 1.65;
}

#mao-host-resource-library .mao-audience-cta {
  display: inline-flex;
  min-height: 48px;
  align-self: flex-start;
  align-items: center;
  gap: 0.55rem;
  padding: 11px 22px;
  border-radius: 999px;
  background-color: var(--bah-olive-dark);
  color: #fffdf8;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(56, 70, 49, 0.14);
  transition: background-color 0.2s ease;
}

#mao-host-resource-library .mao-audience-card:hover .mao-audience-cta {
  background-color: #35432f;
}

/* ==========================================================================
   THREE VISITOR JOURNEY CARDS (Clean, Uncluttered Editorial Cards)
   ========================================================================== */
#mao-host-resource-library .mao-journeys-section {
  margin-bottom: 2.75rem;
}

#mao-host-resource-library .mao-journeys-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 860px) {
  #mao-host-resource-library .mao-journeys-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

#mao-host-resource-library .mao-journey-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  background-color: var(--bah-paper);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  box-shadow: var(--bah-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#mao-host-resource-library .mao-journey-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bah-terracotta);
}

#mao-host-resource-library .mao-journey-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bah-ink);
  margin: 6px 0 0.4rem;
  line-height: 1.2;
  display: block;
}

#mao-host-resource-library .mao-journey-desc {
  font-size: 15.5px;
  color: var(--bah-copy);
  margin: 0;
  line-height: 1.58;
  display: block;
}

#mao-host-resource-library .mao-journey-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--bah-olive-dark);
}

/* ==========================================================================
   QUESTION-AND-ANSWER AREA + FOLLOW-UP PLANNING TOOLS
   ========================================================================== */
#mao-host-resource-library .mao-answer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
  align-items: start;
}

@media (min-width: 980px) {
  #mao-host-resource-library .mao-answer-layout:has(.mao-answer-panel:not([hidden])) {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 2rem;
  }
}

#mao-host-resource-library .mao-tools-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

@media (min-width: 980px) {
  #mao-host-resource-library .mao-tools-hub {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 2rem;
  }
}

#mao-host-resource-library .mao-tools-hub.mao-follow-up-tool {
  display: block;
}

#mao-host-resource-library .mao-finder-card,
#mao-host-resource-library .mao-stepper-card,
#mao-host-resource-library .mao-checklist-card {
  min-width: 0;
  background-color: var(--bah-paper);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.35rem;
  box-shadow: var(--bah-shadow-sm);
}

@media (min-width: 768px) {
  #mao-host-resource-library .mao-finder-card,
  #mao-host-resource-library .mao-stepper-card,
  #mao-host-resource-library .mao-checklist-card {
    padding: 2.1rem 2.25rem;
  }
}

#mao-host-resource-library .mao-finder-label {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  color: var(--bah-ink);
  line-height: 1.15;
  margin: 6px 0 0.5rem;
}

#mao-host-resource-library .mao-finder-helper {
  font-size: 16px;
  color: var(--bah-copy);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

#mao-host-resource-library .mao-search-pill {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 5px 6px 5px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#mao-host-resource-library .mao-search-pill:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(92, 107, 79, 0.14);
}

#mao-host-resource-library .mao-search-icon-left {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 0.65rem;
}

#mao-host-resource-library .mao-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  padding: 0.6rem 0.5rem 0.6rem 0;
  outline: none;
}

#mao-host-resource-library .mao-search-input::placeholder {
  color: var(--text-muted);
}

#mao-host-resource-library .mao-search-clear {
  background: var(--ivory);
  border: 1px solid var(--sand);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0.45rem;
  display: none;
  white-space: nowrap;
}

#mao-host-resource-library .mao-search-clear.is-visible {
  display: inline-flex;
  align-items: center;
}

#mao-host-resource-library .mao-search-submit-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background-color: var(--bah-olive-dark);
  color: #fffdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#mao-host-resource-library .mao-search-submit-btn:hover {
  background-color: #35432f;
}

/* Natural Question Buttons */
#mao-host-resource-library .mao-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

#mao-host-resource-library .mao-chips-title {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

#mao-host-resource-library .mao-chip {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--bah-ink);
  background-color: var(--cream);
  border: 1px solid var(--bah-sand);
  border-radius: 999px;
  padding: 0.52rem 1rem;
  min-height: 40px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}

#mao-host-resource-library .mao-chip:hover,
#mao-host-resource-library .mao-chip.is-active {
  background-color: var(--bah-olive-dark);
  color: #fffdf8;
  border-color: var(--bah-olive-dark);
}

/* Clean, Readable Question-and-Answer Results */
#mao-host-resource-library .mao-qa-results-wrap {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bah-sand);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

#mao-host-resource-library .mao-qa-results-wrap[hidden] {
  display: none;
}

#mao-host-resource-library .mao-answer-panel:not([hidden]) {
  min-width: 0;
  margin-top: 0;
  padding: 1.6rem 1.35rem;
  background-color: var(--bah-paper);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-xl);
  box-shadow: var(--bah-shadow-sm);
}

@media (min-width: 768px) {
  #mao-host-resource-library .mao-answer-panel:not([hidden]) {
    padding: 2.1rem 2.25rem;
  }
}

#mao-host-resource-library .mao-qa-result-card {
  background-color: var(--cream);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
}

#mao-host-resource-library .mao-qa-question {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--bah-ink);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

#mao-host-resource-library .mao-qa-short-answer {
  font-size: 16.5px;
  color: var(--text-primary);
  margin: 0 0 0.85rem;
  line-height: 1.65;
}

#mao-host-resource-library .mao-qa-steps {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

#mao-host-resource-library .mao-qa-steps li {
  margin-bottom: 0.4rem;
}

#mao-host-resource-library .mao-qa-next {
  font-size: 15.5px;
  color: var(--bah-ink);
  margin: 0 0 1rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--bah-terracotta);
  line-height: 1.55;
}

#mao-host-resource-library .mao-qa-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bah-sand);
}

#mao-host-resource-library .mao-qa-open-guide-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bah-olive-dark);
  cursor: pointer;
  text-decoration: underline;
}

#mao-host-resource-library .mao-qa-source-note {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   GUEST INTERACTIVE STEP-BY-STEP GUIDE ("Your First Table")
   ========================================================================== */
#mao-host-resource-library .mao-stepper-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

#mao-host-resource-library .mao-stepper-dots {
  display: flex;
  gap: 0.4rem;
}

#mao-host-resource-library .mao-stepper-dot {
  width: 22px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--sand);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, width 0.2s ease;
}

#mao-host-resource-library .mao-stepper-dot.is-active {
  background-color: var(--bah-olive-dark);
  width: 34px;
}

#mao-host-resource-library .mao-stepper-body {
  padding: 1.25rem 0;
  margin: 1rem 0;
  border-top: 1px solid var(--bah-sand);
  border-bottom: 1px solid var(--bah-sand);
}

#mao-host-resource-library .mao-stepper-step-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--bah-ink);
  margin: 0 0 0.55rem;
  line-height: 1.22;
}

#mao-host-resource-library .mao-stepper-step-text {
  font-size: 16.5px;
  color: var(--text-primary);
  margin: 0 0 0.9rem;
  line-height: 1.65;
}

#mao-host-resource-library .mao-stepper-reassurance {
  font-size: 15.5px;
  color: var(--text-secondary);
  border-left: 3px solid var(--olive);
  padding-left: 0.9rem;
  margin: 0;
  line-height: 1.58;
}

#mao-host-resource-library .mao-stepper-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ==========================================================================
   HOST INTERACTIVE 18-ITEM FIRST DINNER CHECKLIST CARD
   ========================================================================== */
#mao-host-resource-library .mao-checklist-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

#mao-host-resource-library .mao-checklist-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 400;
  color: var(--bah-ink);
  margin: 6px 0 0.35rem;
  line-height: 1.15;
}

#mao-host-resource-library .mao-checklist-subtitle {
  font-size: 16px;
  color: var(--bah-copy);
  margin: 0;
  line-height: 1.55;
}

#mao-host-resource-library .mao-checklist-expand-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--bah-sand);
  background-color: var(--cream);
  color: var(--bah-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#mao-host-resource-library .mao-checklist-expand-circle:hover {
  background-color: var(--ivory);
  border-color: var(--bah-terracotta);
}

#mao-host-resource-library .mao-progress-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

#mao-host-resource-library .mao-progress-bar-track {
  flex: 1;
  height: 10px;
  background-color: var(--warm-beige);
  border-radius: 999px;
  overflow: hidden;
}

#mao-host-resource-library .mao-progress-bar-fill {
  height: 100%;
  background-color: var(--olive);
  width: 0%;
  border-radius: 999px;
  transition: width 0.25s ease;
}

#mao-host-resource-library .mao-progress-count {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

#mao-host-resource-library .mao-stage-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.55rem;
  margin-bottom: 0.9rem;
  scrollbar-width: thin;
}

#mao-host-resource-library .mao-stage-tab {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--bah-sand);
  background-color: var(--cream);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

#mao-host-resource-library .mao-stage-tab.is-active {
  background-color: var(--bah-olive-dark);
  color: #fffdf8;
  border-color: var(--bah-olive-dark);
}

#mao-host-resource-library .mao-checklist-groups-wrap {
  max-height: 290px;
  overflow-y: auto;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#mao-host-resource-library .mao-checklist-groups-wrap.is-expanded {
  max-height: none;
}

#mao-host-resource-library .mao-checklist-group {
  background-color: var(--cream);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

#mao-host-resource-library .mao-group-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

#mao-host-resource-library .mao-group-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--bah-olive-dark);
  margin: 0;
}

#mao-host-resource-library .mao-group-ref {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

#mao-host-resource-library .mao-task-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

#mao-host-resource-library .mao-task-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.3rem 0.2rem;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
}

#mao-host-resource-library .mao-task-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.75px solid var(--text-muted);
  border-radius: 5px;
  background-color: var(--white);
  margin-top: 0.2rem;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#mao-host-resource-library .mao-task-checkbox::before {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s ease-in-out;
  margin-top: -1px;
}

#mao-host-resource-library .mao-task-checkbox:checked {
  background-color: var(--olive);
  border-color: var(--olive);
}

#mao-host-resource-library .mao-task-checkbox:checked::before {
  transform: rotate(-45deg) scale(1);
}

#mao-host-resource-library .mao-task-text {
  font-size: 15.5px;
  color: var(--text-primary);
  line-height: 1.52;
}

#mao-host-resource-library .mao-task-checkbox:checked + .mao-task-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

#mao-host-resource-library .mao-checklist-footer {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--bah-sand);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
}

#mao-host-resource-library .mao-checklist-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--bah-olive-dark);
  cursor: pointer;
  text-decoration: underline;
}

#mao-host-resource-library .mao-reset-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--bah-terracotta);
  text-decoration: underline;
  cursor: pointer;
}

#mao-host-resource-library .mao-checklist-disclaimer {
  margin-top: 0.75rem;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   GUIDE & TOPIC LIBRARIES (Clean Editorial Cards, Generous Spacing)
   ========================================================================== */
#mao-host-resource-library .mao-categories-stack {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
}

#mao-host-resource-library .mao-category-block {
  scroll-margin-top: 1.5rem;
}

#mao-host-resource-library .mao-cat-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--bah-sand);
}

#mao-host-resource-library .mao-cat-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  font-weight: 400;
  margin: 4px 0 0.25rem;
  color: var(--bah-ink);
  line-height: 1.15;
}

#mao-host-resource-library .mao-cat-desc {
  font-size: 16px;
  color: var(--bah-copy);
  margin: 0;
  line-height: 1.55;
}

#mao-host-resource-library .mao-cat-viewall {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--bah-olive-dark);
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}

/* Responsive Editorial Card Grids */
#mao-host-resource-library .mao-cat-cards-grid,
#mao-host-resource-library .mao-guest-topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  #mao-host-resource-library .mao-cat-cards-grid,
  #mao-host-resource-library .mao-guest-topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  #mao-host-resource-library .mao-cat-cards-grid,
  #mao-host-resource-library .mao-guest-topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual Guide Card */
#mao-host-resource-library .mao-guide-card {
  background-color: var(--bah-paper);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--bah-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#mao-host-resource-library .mao-guide-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--sand);
}

#mao-host-resource-library .mao-guide-card.is-expanded {
  grid-column: 1 / -1;
  background-color: var(--white);
  border-color: var(--bah-terracotta);
  padding: 1.65rem;
}

#mao-host-resource-library .mao-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 165px;
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
}

#mao-host-resource-library .mao-guide-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bah-ink);
  margin: 6px 0 0.5rem;
  line-height: 1.22;
}

#mao-host-resource-library .mao-guide-desc {
  font-size: 16px;
  color: var(--bah-copy);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

#mao-host-resource-library .mao-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--bah-sand);
  margin-top: auto;
}

#mao-host-resource-library .mao-open-overview-link {
  background: none;
  border: none;
  padding: 4px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--bah-olive-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-align: left;
}

#mao-host-resource-library .mao-open-overview-link:hover {
  color: var(--bah-terracotta);
  text-decoration: underline;
}

#mao-host-resource-library .mao-pdf-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--bah-terracotta);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Progressive Disclosure Overview Drawer (Uncluttered, High Readability) */
#mao-host-resource-library .mao-overview-panel {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--bah-sand);
  max-width: 78ch;
  animation: maoFadeIn 0.2s ease-out;
}

@keyframes maoFadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

#mao-host-resource-library .mao-friendly-intro {
  font-size: 17px;
  color: var(--bah-ink);
  margin: 0 0 1.15rem;
  line-height: 1.68;
}

#mao-host-resource-library .mao-friendly-steps-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bah-terracotta);
  margin: 0 0 0.6rem;
}

#mao-host-resource-library .mao-friendly-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  font-size: 16.5px;
  color: var(--text-primary);
  line-height: 1.68;
}

#mao-host-resource-library .mao-friendly-steps li {
  margin-bottom: 0.55rem;
}

#mao-host-resource-library .mao-next-action-box {
  padding: 0.9rem 1.15rem;
  background-color: var(--bah-sage);
  border-left: 3px solid var(--bah-olive-dark);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--bah-ink);
  margin-bottom: 1.15rem;
  line-height: 1.6;
}

#mao-host-resource-library .mao-read-more-details {
  border-top: 1px solid var(--bah-sand);
  padding-top: 0.9rem;
}

#mao-host-resource-library .mao-read-more-summary {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bah-olive-dark);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

#mao-host-resource-library .mao-read-more-summary::-webkit-details-marker {
  display: none;
}

#mao-host-resource-library .mao-read-more-summary:hover {
  text-decoration: underline;
}

#mao-host-resource-library .mao-read-more-body {
  margin-top: 0.85rem;
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

#mao-host-resource-library .mao-read-more-list {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

#mao-host-resource-library .mao-read-more-list li {
  margin-bottom: 0.45rem;
}

#mao-host-resource-library .mao-discreet-source {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* Empty Search State */
#mao-host-resource-library .mao-empty-state {
  background-color: var(--bah-paper);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  margin-top: 1.25rem;
}

/* Download callouts use the existing editorial palette and button system. */
#mao-host-resource-library .mao-pack-download {
  margin-top: 3.5rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-xl);
  background: var(--bah-sage);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

#mao-host-resource-library .mao-pack-download h3 {
  margin: 0.45rem 0 0.4rem;
  color: var(--bah-ink);
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.1;
}

#mao-host-resource-library .mao-pack-download p {
  margin: 0;
  color: var(--bah-copy);
}

#mao-host-resource-library .mao-pack-download .mao-pack-meta {
  margin-top: 0.65rem;
  color: var(--bah-olive-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#mao-host-resource-library .mao-pack-download-action {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  #mao-host-resource-library .mao-pack-download {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 480px) {
  #mao-host-resource-library .mao-pack-download {
    padding: 1.5rem;
  }

  #mao-host-resource-library .mao-pack-download-action,
  #mao-host-resource-library .mao-pack-download-action .mao-button {
    width: 100%;
  }
}

/* Calm Editorial Support Strip */
#mao-host-resource-library .mao-support-strip {
  margin-top: 3.5rem;
  background-color: var(--ivory);
  border: 1px solid var(--bah-sand);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: flex-start;
}

@media (min-width: 768px) {
  #mao-host-resource-library .mao-support-strip {
    flex-direction: row;
    align-items: center;
  }
}

#mao-host-resource-library .mao-support-strip h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  color: var(--bah-ink);
}

#mao-host-resource-library .mao-support-strip p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--bah-copy);
  max-width: 68ch;
}

#mao-host-resource-library .mao-support-strip a {
  color: var(--bah-olive-dark);
  font-weight: 700;
}
