/* Public information pages (syllabus, PYQ, mock test, videos, books, about) and
   the "about this app" block under the login form. */
body.doc { padding-bottom: 24px; }
.doc-top { max-width: 900px; }
.doc-open { margin-left: auto; background: #fff; color: var(--primary); border: 0; font-weight: 800; }
.doc-nav { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; max-width: 900px; margin: 0 auto; }
.doc-nav a { flex: none; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.doc-nav a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.doc-main { max-width: 900px; }
.doc-article { padding: 22px; line-height: 1.6; }
.doc-article h1 { font-size: 1.55rem; line-height: 1.25; margin: 0; }
.doc-article h2 { margin: 18px 0 0; font-size: 1.15rem; }
.doc-article h3 { margin: 10px 0 0; font-size: 1rem; }
.doc-article p, .doc-article ul, .doc-article ol { margin: 0; }
.doc-article ul, .doc-article ol { padding-left: 22px; }
.doc-article li { margin: 3px 0; }
.doc-article a { color: var(--primary); font-weight: 600; }
.doc-article .lead { font-size: 1.04rem; }
.doc-article ol.cols { columns: 2; column-gap: 28px; }
table.facts { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.facts th, table.facts td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.facts th { width: 34%; font-weight: 700; }
table.facts thead th { width: auto; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.doc-cta { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--primary-soft); display: grid; gap: 10px; justify-items: start; }
.doc-cta .btn { text-decoration: none; color: #fff; }
.doc-foot { margin-top: 16px; font-size: .86rem; color: var(--muted); display: grid; gap: 6px; text-align: center; }
.doc-foot a { color: inherit; }
.book-grid { display: grid; gap: 14px; }
.book-item { display: flex; gap: 14px; align-items: flex-start; }
.book-item img { width: 110px; height: auto; border-radius: 8px; box-shadow: var(--shadow); flex: none; }
.book-item h2 { margin: 0; font-size: 1.02rem; }
.about-photo { border-radius: 50%; border: 4px solid #c9a24a; }
@media (max-width: 560px) { .doc-article ol.cols { columns: 1; } .doc-article { padding: 16px; } table.facts th { width: 40%; } }

/* "About this app" block shown under the login form (also what search engines read) */
.seo { display: none; }
body.auth .seo { display: block; position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 16px 36px; color: #fff; line-height: 1.6; }
.seo-card { background: rgba(255, 255, 255, .96); color: #1d2616; border-radius: 16px; padding: 20px; display: grid; gap: 10px; }
.seo-card h2 { margin: 6px 0 0; font-size: 1.15rem; }
.seo-card h3 { margin: 6px 0 0; font-size: .98rem; }
.seo-card p, .seo-card ul { margin: 0; }
.seo-card ul { padding-left: 20px; }
.seo-card a { color: #3d5a26; font-weight: 700; }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links a { padding: 7px 12px; border-radius: 999px; background: #eef2e6; text-decoration: none; font-size: .86rem; }
body.auth .container { min-height: auto; padding-top: 6vh; padding-bottom: 28px; }
