/* Commercial guides: content layout inside the institutional TAU shell (nav, footer and theme from tau.js). */
.guide-skip { position: absolute; top: -120px; left: 24px; padding: 16px; background: var(--panel); color: var(--text-1); z-index: 100; }
.guide-skip:focus { top: 8px; }
.guide a:focus-visible, .guide summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.guide-hero { max-width: 900px; }
.guide-hero h1 { margin: 20px 0 22px; max-width: 22ch; }
.guide-hero .lead { font-size: 1.12rem; max-width: 64ch; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.guide-actions a:not(.btn) { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: var(--r-2, 10px); color: var(--text-1); }
.guide-actions a:not(.btn):hover { border-color: var(--text-2); }
.guide-actions + p { margin-top: 16px; font-size: .92rem; color: var(--text-3, var(--text-2)); max-width: 64ch; }
.guide-body { padding-top: 72px; padding-bottom: 96px; }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; }
.guide-toc { position: sticky; top: 96px; border-top: 1px solid var(--line); padding-top: 16px; }
.guide-toc p { margin-bottom: 12px; }
.guide-toc ul { list-style: none; padding: 0; margin: 0; }
.guide-toc a { display: block; padding: 10px 0; font-size: .9rem; color: var(--text-2); border-bottom: 1px solid var(--line); }
.guide-toc a:hover { color: var(--text-1); }
.guide-copy { max-width: 72ch; min-width: 0; line-height: 1.75; color: var(--text-1); }
.guide-copy section { padding-bottom: 48px; scroll-margin-top: 96px; }
.guide-copy h2 { font-family: var(--font-d); font-weight: var(--w-d); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 20px; text-wrap: balance; }
.guide-copy h3 { font-size: 1.12rem; margin: 28px 0 12px; }
.guide-copy p, .guide-copy ul, .guide-copy ol { margin-bottom: 16px; color: var(--text-2); }
.guide-copy strong { color: var(--text-1); }
.guide-copy ul, .guide-copy ol { padding-left: 24px; }
.guide-copy li { padding-left: 4px; margin-bottom: 12px; }
.guide-copy a:not(.btn) { color: var(--interactive); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.guide-note, .guide-next { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-3); padding: 24px 28px; }
.guide-note { border-left: 3px solid var(--interactive); }
.guide-next { position: relative; overflow: hidden; padding: 40px; }
.guide-next h2 { margin-bottom: 12px; }
.guide-copy details { border-top: 1px solid var(--line); }
.guide-copy details:last-of-type { border-bottom: 1px solid var(--line); }
.guide-copy summary { position: relative; cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 500; color: var(--text-1); line-height: 1.5; }
.guide-copy summary::-webkit-details-marker { display: none; }
.guide-copy summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 1.2rem; color: var(--text-2); }
.guide-copy details[open] summary::after { content: '−'; }
.guide-sources { font-size: .9rem; }
@media (max-width: 860px) {
  .guide-body { padding-top: 48px; padding-bottom: 72px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .guide-toc { position: static; }
  .guide-next { padding: 28px 24px; }
}
