/* Worked guides only. Viewer styles stay intact. */
.guide-page a { color: var(--blue) }
.guide-page .docs-primary-link { display: inline-flex; padding: 8px 12px; border: 1px solid var(--blue); border-radius: var(--radius); background: var(--blue); color: var(--bg); font-weight: 700; text-decoration: none }
.guide-page p + p { margin-top: 14px }
.guide-page .docs-section ul { padding-left: 20px; margin: 18px 0; line-height: 1.7; color: var(--text2) }
.guide-page .docs-section li + li { margin-top: 10px }
[data-theme="light"] .docs-section code { color: var(--blue) }
.guide-page .docs-nav-title { color: var(--text2) }
.guide-nav-gap { margin-top: 24px }
.guide-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; font-size: 11px; color: var(--text2) }
.guide-breadcrumbs a { text-decoration: none }
.guide-source { margin-top: 24px; color: var(--text2); font-size: 11px; line-height: 1.8 }
.guide-table-wrap { margin: 22px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius) }
.guide-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; line-height: 1.6 }
.guide-table th { padding: 10px 14px; background: var(--bg2); color: var(--text2); font-weight: 500; white-space: nowrap }
.guide-table td { padding: 10px 14px; border-top: 1px solid var(--border); vertical-align: top }
.guide-table td:first-child { white-space: nowrap }
.guide-example { margin-top: 20px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg2) }
.guide-example-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; color: var(--text2); font-size: 11px; border-bottom: 1px solid var(--border) }
.guide-example-bar button { border: 1px solid var(--border); padding: 5px 9px; color: var(--text); background: var(--bg3); font: inherit; border-radius: 4px; cursor: pointer }
.guide-example pre { padding: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.85 }
.guide-example code { color: var(--cyan) }
.guide-example-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 0 16px 16px; font-size: 11px; color: var(--text2) }
.guide-example-actions a { text-decoration: none; font-size: 11px }
.guide-page [hidden] { display: none !important }
.guide-skip { position: absolute; left: 12px; top: -100px; z-index: 1000; padding: 10px; border: 1px solid var(--blue); background: var(--bg) }
.guide-skip:focus { top: 8px }
.guide-page :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px }
@media(max-width:560px) {
  .guide-page header { flex-wrap: wrap; gap: 14px }
  .guide-page .header-actions { gap: 12px }
  .guide-page .docs-hero h1 { overflow-wrap: anywhere; letter-spacing: -.8px }
  .guide-example pre { padding: 12px; font-size: 11px }
  .guide-table { font-size: 11px }
  .guide-table th, .guide-table td { padding: 9px 11px }
}
