/* Shared reading layout for the Obscure Essentials help books. */
.help-page { --accent: #465f28; --soft: #edf1e5; }
.help-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-block: 64px 100px; align-items: start; }
.help-sidebar { position: sticky; top: 125px; max-height: calc(100dvh - 155px); overflow: auto; padding-right: 8px; }
.help-book-title { display: flex; gap: 13px; align-items: center; margin-bottom: 23px; font-size: 1rem; line-height: 1.4; }
.help-book-title img { width: 42px; height: 42px; flex: none; }
.help-book-title small { display: block; color: var(--muted); font-size: .75rem; margin-top: 3px; }
.help-topic-list { display: grid; gap: 3px; }
.help-topic-list a { display: block; text-decoration: none; color: var(--muted); border-left: 2px solid transparent; padding: 10px 12px; font-size: .875rem; line-height: 1.45; }
.help-topic-list a:hover { background: var(--soft); color: var(--ink); }
.help-topic-list a[aria-current="page"] { border-color: #657b45; background: var(--soft); color: var(--ink); font-weight: 600; }
.help-other-books { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; font-size: .8125rem; }
.help-other-books a { display: block; padding-block: 6px; }
.help-mobile-topics { display: none; }
.help-content { min-width: 0; max-width: 920px; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.help-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 13px; font-size: .8125rem; color: var(--muted); margin-bottom: 20px; }
.help-edition { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .75rem; letter-spacing: .05em; color: #52633c; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.help-edition a { letter-spacing: 0; }
.help-content h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); margin-bottom: 24px; overflow-wrap: anywhere; }
.help-content h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -.035em; margin: 42px 0 17px; padding-top: 22px; border-top: 1px solid var(--line); }
.help-content h3 { font-size: 1.2rem; margin: 27px 0 13px; }
.help-content p { margin: 14px 0; color: var(--muted); }
.help-content strong, .help-content dt { color: var(--text); }
.help-content ul, .help-content ol { padding-left: 24px; margin: 16px 0 22px; }
.help-content li { margin: 8px 0; color: var(--muted); }
.help-content a { color: #405720; }
.help-content a:hover { color: var(--ink); }
.help-content a.button-dark, .help-content a.button-dark:hover { color: #fff; }
.help-table:focus-visible, .help-content pre:focus-visible { outline: 3px solid #4e6920; outline-offset: 4px; }
.help-hero { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.help-hero > img { width: 72px; height: 72px; flex: none; }
.help-hero h1 { margin-top: 8px; }
.help-subtitle { font-size: 1.125rem; max-width: 67ch; }
.help-eyebrow { font-size: .75rem; letter-spacing: .08em; font-weight: 600; color: #607149; }
.help-card, .help-callout { background: #fff; border: 1px solid var(--line); padding: 22px 26px; border-radius: 4px; margin: 22px 0; }
.help-callout { background: var(--soft); border-left: 3px solid #809567; }
.help-card > :first-child, .help-callout > :first-child { margin-top: 0; }
.help-card > :last-child, .help-callout > :last-child { margin-bottom: 0; }
.help-grid, .help-content .topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 24px 0; list-style: none; }
.help-link-card, .help-content .topics li { border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 22px; margin: 0; }
.help-link-card { display: block; text-decoration: none; }
.help-link-card:hover, .help-content .topics li:hover { border-color: #8b9d70; background: #f0f3e9; }
.help-link-card strong, .help-content .topics a { display: block; font-size: 1.1rem; line-height: 1.4; margin-bottom: 10px; }
.help-link-card p, .help-content .topics span { display: block; margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.help-link-card > img { margin-bottom: 18px; }
.help-link-card .help-eyebrow { margin-bottom: 12px; }
.help-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--soft); border: 1px solid #d7dfca; padding: 2px 5px; border-radius: 3px; overflow-wrap: anywhere; color: #29371a; }
.help-content pre { padding: 20px; background: #edf1e8; border: 1px solid var(--line); border-radius: 4px; overflow: auto; max-width: 100%; font-size: .875rem; line-height: 1.65; }
.help-content pre code { border: 0; padding: 0; background: transparent; white-space: pre; overflow-wrap: normal; }
.help-table, .help-content .table-wrap { overflow-x: auto; max-width: 100%; margin: 24px 0; }
.help-content table { border-collapse: collapse; width: 100%; font-size: .875rem; }
.help-content th, .help-content td { text-align: left; vertical-align: top; padding: 13px 16px; border: 1px solid var(--line); }
.help-content th { background: var(--soft); color: var(--text); font-weight: 600; }
.help-content td { color: var(--muted); }
.help-content details { border: 1px solid var(--line); border-radius: 4px; margin: 20px 0; padding: 0 22px 15px; background: #fff; }
.help-content summary { cursor: pointer; min-height: 44px; padding: 15px 0; font-weight: 600; line-height: 1.5; }
.help-content details:not([open]) { padding-bottom: 0; }
.help-content .glossary { margin: 24px 0; }
.help-content dt { font-weight: 600; margin-top: 22px; }
.help-content dd { color: var(--muted); margin: 7px 0 18px; }
.help-content .workflow-diagram { width: 100%; height: auto; background: #fff; border-radius: 4px; margin: 24px 0; }
.help-image-caption { font-size: .8125rem; }
.help-content .ai-label { display: inline-block; background: var(--ink); color: var(--lime); padding: 1px 8px; margin-right: 5px; border-radius: 3px; font-size: .8125rem; }
.help-content .related, .help-content .topbar { display: flex; flex-wrap: wrap; gap: 12px 25px; margin: 25px 0; font-size: .875rem; }
.help-platforms { display: flex; flex-wrap: wrap; gap: 15px; margin: 24px 0; }
.help-legacy-anchor { scroll-margin-top: 125px; }
.help-updated { font-size: .8125rem; border-top: 1px solid var(--line); margin-top: 45px; padding-top: 18px; color: var(--muted); }
.help-hub .help-layout { display: block; max-width: 1100px; }
.help-hub .help-content { max-width: 100%; }
.help-hub .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .help-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 34px; } }
@media (max-width: 760px) {
  .help-layout { display: block; padding-block: 34px 65px; }
  .help-sidebar { position: static; max-height: none; padding: 0; margin-bottom: 30px; overflow: visible; }
  .help-book-title { margin-bottom: 15px; }
  .help-desktop-topics, .help-other-books { display: none; }
  .help-mobile-topics { display: block; border: 1px solid var(--line); border-radius: 4px; }
  .help-mobile-topics summary { padding: 12px 16px; min-height: 44px; cursor: pointer; }
  .help-mobile-topics nav { padding: 0 8px 10px; }
  .help-content h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .help-hero { display: block; }
  .help-hero > img { width: 56px; height: 56px; margin-bottom: 16px; }
  .help-content h2 { margin-top: 34px; font-size: 1.5rem; }
  .help-card, .help-callout { padding: 18px; }
  .help-grid, .help-content .topics, .help-hub .help-grid { grid-template-columns: 1fr; gap: 14px; }
  .help-content pre { padding: 16px; }
  .help-content th, .help-content td { padding: 10px 12px; min-width: 105px; }
}
