/* girgit.io text pages: /instruments/<id>/ and the exam hubs (/neet/, /jee-main/). Generated by build-seo.mjs.
   Plain, server-rendered reading pages in the Ember look: warm black, one ember accent, Geist. They load home.css only for its tokens and
   the wordmark; every rule here is scoped to body.pg or a .pg-* class, so nothing leaks into the home page. No JavaScript is needed. */
body.pg {
  --pg-bg: #060504; --pg-text: #f2ede4; --pg-muted: rgba(242, 237, 228, .74); --pg-line: rgba(242, 237, 228, .16); --pg-accent: #ff7a2a;
  margin: 0; background: var(--pg-bg); color: var(--pg-text); overflow-x: visible;
  font: 400 17.5px/1.65 var(--sans, 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif);
  -webkit-font-smoothing: antialiased; color-scheme: dark;
}
.pg a { color: var(--pg-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pg a:hover { color: #ff9150; }
.pg a:focus-visible, .pg .pg-btn:focus-visible { outline: 2px solid var(--pg-text); outline-offset: 3px; border-radius: 4px; }

.pg-wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* header: wordmark left, exam links right */
.pg-bar { border-bottom: 1px solid var(--pg-line); }
.pg-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.pg .logo { min-height: 44px; margin-right: 0; color: var(--pg-text); text-decoration: none; }
.pg .logo:hover { color: var(--pg-text); }
.pg-nav { display: flex; gap: 4px; }
.pg-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; color: var(--pg-muted); text-decoration: none; }
.pg-nav a:hover { color: var(--pg-text); }

.pg-main { padding-top: 12px; padding-bottom: 40px; }

/* breadcrumb */
.pg-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--pg-muted); }
.pg-crumbs li { display: inline-flex; align-items: center; }
.pg-crumbs li + li::before { content: "/"; margin: 0 6px; color: rgba(242, 237, 228, .4); }
.pg-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pg-muted); }
.pg-crumbs a:hover { color: var(--pg-text); }
.pg-crumbs [aria-current] { color: var(--pg-text); }

.pg h1 { margin: 8px 0 16px; font-weight: 500; font-size: clamp(32px, 6vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.pg h2 { margin: 40px 0 10px; font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }
.pg h3 { margin: 24px 0 4px; font-weight: 500; font-size: 18px; line-height: 1.35; color: var(--pg-muted); }
.pg p { margin: 0 0 14px; }
.pg-lede { font-size: 19px; line-height: 1.6; }

.pg-cta { margin: 22px 0 8px; }
.pg a.pg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 12px; background: var(--pg-accent); color: #0a0705; font-weight: 500; font-size: 17px; text-decoration: none; }
.pg a.pg-btn:hover { background: #ff9150; color: #0a0705; }

/* facts: subject, chapter, exams, group */
.pg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin: 28px 0 8px; border: 1px solid var(--pg-line); border-radius: 14px; background: var(--pg-line); overflow: hidden; }
.pg-facts > div { padding: 14px 16px; background: var(--pg-bg); }
.pg-facts dt { margin: 0 0 2px; font: 500 12px/1.4 var(--mono, ui-monospace, Menlo, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--pg-muted); }
.pg-facts dd { margin: 0; }

/* notes and the test-yourself block */
.pg-draft { margin: 28px 0 0; padding: 12px 16px; border-left: 3px solid var(--pg-accent); background: rgba(255, 122, 42, .08); font-size: 16px; }
.pg-ncert { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--pg-line); color: var(--pg-muted); }
.pg-quiz { margin-top: 8px; padding: 4px 20px 12px; border: 1px solid var(--pg-line); border-radius: 14px; }
.pg-qstyle { margin: 0 0 6px; font: 500 12px/1.4 var(--mono, ui-monospace, Menlo, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--pg-muted); }
.pg-q { font-weight: 500; }
.pg-opts { margin: 0 0 16px; padding-left: 1.6em; list-style: upper-alpha; }
.pg-opts li { margin: 0 0 6px; padding-left: 4px; }
.pg-opts li::marker { color: var(--pg-accent); font-weight: 500; }
.pg-ans { margin: 0 0 8px; color: var(--pg-accent); }

/* lists of instruments: name, then its one line */
.pg-list { margin: 0; padding: 0; list-style: none; }
.pg-list li { display: flex; flex-direction: column; padding: 4px 0; border-bottom: 1px solid var(--pg-line); }
.pg-list li:last-child { border-bottom: 0; }
.pg-list a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; font-weight: 500; }
.pg-list span { margin: -6px 0 10px; color: var(--pg-muted); font-size: 16px; line-height: 1.5; }

/* footer */
.pg-foot { padding: 28px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--pg-line); color: var(--pg-muted); font-size: 15px; }
.pg-foot p { margin: 0 0 8px; }
.pg-foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.pg-updated { color: var(--pg-text); }

@media (min-width: 720px) {
  .pg-wrap { padding: 0 24px; }
  .pg-list li { flex-direction: row; align-items: baseline; gap: 14px; }
  .pg-list a { flex: 0 0 220px; }
  .pg-list span { margin: 0; padding: 10px 0; }
}
