/* Guide & API page: a readable white sheet on the template's purple ground. */
.guide { background: #fff; color: #1f1b33; border-radius: 16px; padding: 2rem 2rem 2.5rem; max-width: 62rem; margin: 0 auto; box-shadow: 0 18px 48px rgba(0,0,0,.25); }
.guide h1 { color: #241a3d; font-size: 2rem; margin: 0 0 .5rem; }
.guide h2 { color: #241a3d; font-size: 1.35rem; margin: 2.2rem 0 .8rem; padding-top: 1.2rem; border-top: 1px solid #e9e6f2; }
.guide h3 { color: #3b2f5c; font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.guide p, .guide li { color: #2b2640; line-height: 1.6; }
.guide .lead { font-size: 1.05rem; color: #3b2f5c; }
.guide ol, .guide ul { margin: .4rem 0 1rem 1.2rem; padding: 0; }
.guide li { margin: .3rem 0; }
.guide code { background: #f3f0fa; color: #4a2e8f; padding: .1rem .35rem; border-radius: 4px; font-size: .92em; }
.guide pre { background: #1e1836; color: #eae5ff; border-radius: 10px; padding: 1rem 1.1rem; overflow-x: auto; font-size: .86rem; line-height: 1.5; margin: .6rem 0 1.2rem; }
.guide pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.guide table { width: 100%; border-collapse: collapse; margin: .6rem 0 1.4rem; font-size: .93rem; }
.guide th, .guide td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid #e9e6f2; color: #2b2640; }
.guide th { background: #f7f5fc; color: #241a3d; font-weight: 700; }
.guide .tablewrap { overflow-x: auto; }
.guide .note { background: #fff8e6; border-left: 4px solid #c9a227; padding: .7rem 1rem; border-radius: 6px; margin: 1rem 0; }
.guide .path { display: inline-block; font-weight: 700; color: #241a3d; }
.guide .fn { color: #8a5a00; font-weight: 700; }
.guide .steps-inline { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.guide .steps-inline span { background: #f3f0fa; border-radius: 999px; padding: .3rem .8rem; font-weight: 600; color: #4a2e8f; }
.guide a { color: #4a2e8f; }
@media (max-width: 736px) { .guide { padding: 1.3rem 1.1rem 1.8rem; border-radius: 12px; } .guide h1 { font-size: 1.6rem; } }
.guide .toc { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 1rem 0 .4rem; padding: .7rem .9rem; background: #f7f5fc; border-radius: 10px; font-size: .92rem; }
.guide .toc a { text-decoration: none; font-weight: 600; }
.guide h2 { scroll-margin-top: 5rem; }
