.guide-topbar { position: sticky; top: 0; z-index: 10; }
.guide-workspace-link { display: inline-flex; align-items: center; text-decoration: none; }
.guide-mobile-home { display: none; color: var(--green-dark); text-decoration: none; font-weight: 750; }
.guide-main { max-width: 1240px; }
.guide-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 24px; padding: 42px; border-radius: 14px; color: #effaf6; background: linear-gradient(135deg, #102923 0%, #174c3e 100%); box-shadow: var(--shadow); }
.guide-hero .eyebrow { color: #79d0b2; }
.guide-hero h1 { max-width: 760px; color: #fff; }
.guide-hero .lede { max-width: 800px; color: #c9ddd6; }
.guide-hero .button { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; white-space: nowrap; }
.guide-quick-path { margin-bottom: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guide-section-heading { margin-bottom: 20px; }
.guide-section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 500; }
.guide-quick-path ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; }
.guide-quick-path li { min-width: 0; display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 9px; background: #f4f8f6; }
.guide-quick-path li > span { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 11px; font-weight: 780; }
.guide-quick-path strong { display: block; font-size: 12px; }
.guide-quick-path p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.guide-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; }
.guide-toc { position: sticky; top: 92px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.guide-toc strong { margin-bottom: 10px; color: #30443e; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.guide-toc a { padding: 7px 8px; border-left: 2px solid transparent; color: #64746f; text-decoration: none; font-size: 11px; line-height: 1.3; }
.guide-toc a:hover, .guide-toc a:focus-visible { color: var(--green-dark); border-left-color: #72b69f; background: #f1f7f4; }
.guide-content { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guide-content section { scroll-margin-top: 92px; padding: 34px 38px; border-bottom: 1px solid var(--line-soft); }
.guide-content section:last-child { border-bottom: 0; }
.guide-content h2 { margin: 0 0 15px; font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 500; letter-spacing: -.02em; }
.guide-content h3 { margin: 24px 0 8px; color: #29463d; font-size: 14px; }
.guide-content p, .guide-content li, .guide-content dd { color: #53635f; line-height: 1.68; }
.guide-content p { margin: 0 0 14px; }
.guide-content ul, .guide-content ol { margin: 10px 0 17px; padding-left: 23px; }
.guide-content li + li { margin-top: 7px; }
.guide-content a { color: var(--green-dark); font-weight: 680; text-underline-offset: 2px; }
.guide-content code { padding: 2px 5px; border-radius: 4px; color: #315649; background: #eaf2ee; font-size: .9em; }
.guide-kicker { margin-bottom: 7px !important; color: var(--green) !important; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.guide-callout { margin: 18px 0; padding: 16px 18px; border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; background: #eef8f3; }
.guide-callout.warning { border-left-color: #b57924; background: #fff8eb; }
.guide-callout strong { display: block; margin-bottom: 4px; font-size: 12px; }
.guide-callout p { margin: 0; font-size: 12px; }
.guide-definitions { display: grid; gap: 9px; margin: 15px 0 18px; }
.guide-definitions > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 15px; border-radius: 7px; background: #f5f8f6; }
.guide-definitions dt { color: #29463d; font-size: 12px; font-weight: 760; }
.guide-definitions dd { margin: 0; font-size: 12px; }
.guide-troubleshooting { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.guide-troubleshooting details { padding: 15px 17px; border-bottom: 1px solid var(--line-soft); }
.guide-troubleshooting details:last-child { border-bottom: 0; }
.guide-troubleshooting summary { color: #31463f; cursor: pointer; font-size: 12px; font-weight: 730; }
.guide-troubleshooting p { margin: 9px 0 0; font-size: 12px; }

@media (max-width: 1080px) {
  .guide-quick-path ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: 180px minmax(0, 1fr); }
}

@media (max-width: 920px) {
  .guide-mobile-home { display: inline-flex; margin-right: 14px; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .guide-workspace-link { display: none; }
  .guide-hero { align-items: stretch; flex-direction: column; padding: 28px 22px; }
  .guide-hero .button { justify-content: center; }
  .guide-quick-path { padding: 20px; }
  .guide-quick-path ol { grid-template-columns: 1fr; }
  .guide-toc { grid-template-columns: 1fr; }
  .guide-content section { padding: 27px 21px; }
  .guide-definitions > div { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
  .sidebar, .topbar, .guide-hero .button, .guide-toc { display: none !important; }
  .app-shell { display: block; }
  .guide-main { max-width: none; padding: 0; }
  .guide-hero { color: #000; background: #fff; box-shadow: none; }
  .guide-hero h1, .guide-hero .lede { color: #000; }
  .guide-content { border: 0; }
  .guide-content section { break-inside: avoid; }
}
