/*
 * Redesigned state CPE requirements pages (config/cpe/state-page-view.php).
 * Everything is scoped under .sr-page so nothing here reaches the rest of the site.
 *
 * Two things in the site's own CSS and markup shape this file:
 *  - seqStandAlone.css styles bare nav, ul li a and body (Urbanist 18px/30px), so the page
 *    resets those under .sr-page instead of relying on browser defaults;
 *  - seqStandAlone.css opens with a quirks-compatibility block that resets bare tables to the
 *    browser's default font size, weight and line height, so the table sets them itself.
 */

.sr-page {
  --sr-ink: #111412;
  --sr-ink-2: #2A2F2C;
  --sr-muted: #4A504C;
  --sr-subtle: #5A605C;
  --sr-line: #E4E6E3;
  --sr-line-2: #DCDFDB;
  --sr-alt: #F6F6F3;
  --sr-accent: #2b647a;
  --sr-accent-dark: #1F4B5C;
  --sr-dark: #111412;
  --sr-dark-card: #1C201E;
  --sr-dark-line: #2E3431;
  --sr-on-dark: #C5CAC6;
  --sr-on-dark-2: #A9AFAB;
  color: var(--sr-ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.sr-page *, .sr-page *::before, .sr-page *::after { box-sizing: border-box; }
.sr-page h1, .sr-page h2, .sr-page h3, .sr-page h4, .sr-page p, .sr-page dl, .sr-page dd,
.sr-page ol, .sr-page ul, .sr-page figure { margin: 0; }
.sr-page h1, .sr-page h2, .sr-page h3 { color: inherit; text-align: left; }
.sr-page a { color: var(--sr-accent); text-decoration: none; }
.sr-page a:hover { color: var(--sr-accent-dark); text-decoration: underline; }
/* seqStandAlone.css: ul li a { color: #2F3D4F } and ul li:hover a { color: #2C9AB7 } */
.sr-page ul li a { color: var(--sr-accent); }
.sr-page ul li:hover a { color: var(--sr-accent-dark); }
/* A link inside running text is underlined, so it is not told apart by color alone. */
.sr-page .sr-meta-line a, .sr-page .sr-small a, .sr-page .sr-body a { text-decoration: underline; text-underline-offset: 2px; }
/* seqStandAlone.css: nav { float: right; width: 70%; text-align: right; margin-top: 20px } */
.sr-page nav { float: none; width: auto; text-align: left; margin: 0; }
.sr-page strong { font-weight: 700; }

/* Bands and layout */
.sr-band { padding: 112px 24px; }
.sr-band--hero { padding: 40px 24px 72px; }
/* Directly under the site header, with no staff bar between (visitors' view): the header's own 20px
   margin plus 20px puts the breadcrumb where other pages start their content (Kyle, October 22, 2026). */
#nav-header + .sr-page > .sr-band--hero:first-child { padding-top: 20px; }
.sr-band--glance { padding: 72px 24px 96px; }
.sr-band--tight { padding: 80px 24px; }
.sr-band--alt { background: var(--sr-alt); }
.sr-band--dark { background: var(--sr-dark); color: #fff; }
.sr-band--staff { background: #FFF8E6; border-top: 2px dashed #B7791F; padding: 48px 24px; }
.sr-inner { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.sr-inner--narrow { max-width: 820px; gap: 32px; }
.sr-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: start; }
.sr-stack { display: flex; flex-direction: column; gap: 16px; }
.sr-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }

/* Type */
.sr-h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; max-width: 880px; }
.sr-h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.sr-h2--md { font-size: clamp(28px, 3.4vw, 40px); }
.sr-h2--sm { font-size: 28px; line-height: 1.15; }
.sr-h2--xs { font-size: 24px; line-height: 1.2; }
.sr-h2--xl { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; }
.sr-h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.sr-lede { font-size: 18px; line-height: 1.6; color: var(--sr-muted); }
.sr-body-lg { font-size: 18px; line-height: 1.6; color: var(--sr-ink-2); }
.sr-body { font-size: 16px; line-height: 1.6; color: var(--sr-muted); }
.sr-small { font-size: 16px; line-height: 1.6; color: var(--sr-muted); max-width: 720px; }
.sr-fine { font-size: 13px; line-height: 1.5; color: var(--sr-subtle); }
.sr-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
/* The breadcrumb is the small blue line above the H1. */
.sr-hero { display: flex; flex-direction: column; gap: 20px; }
.sr-trail { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sr-accent); }
.sr-page .sr-trail a { color: var(--sr-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sr-page .sr-trail a:hover { color: var(--sr-accent-dark); }
.sr-answer { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.45; color: var(--sr-ink-2); max-width: 820px; }
.sr-answer strong { color: var(--sr-ink); }
.sr-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 14px; line-height: 1.4; color: var(--sr-subtle); }
.sr-sep { color: #C9CCC8; }
.sr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 8px; }
/* The licensing board's contact card at the foot of the hero. */
.sr-board { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 24px 24px; border: 1px solid var(--sr-line-2); border-radius: 14px; background: #fff; }
.sr-board-label { font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sr-subtle); }
.sr-board-name { font-size: 18px; line-height: 1.35; font-weight: 700; }
.sr-page .sr-board-name a { color: var(--sr-accent); }
.sr-page .sr-board-name a:hover { color: var(--sr-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.sr-board-ext { font-size: 0.75em; }
.sr-board-meta { font-size: 15px; line-height: 1.45; color: var(--sr-muted); }
.sr-board-address { font-size: 15px; line-height: 1.45; color: var(--sr-muted); }
/* Phone and email as white pills; each whole pill is the link. */
.sr-page .sr-board-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.sr-board-pill { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 44px; padding: 8px 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sr-accent); color: var(--sr-accent); font-size: 15px; line-height: 1.35; }
.sr-board-pill .sr-icon { flex: none; }
.sr-board-pill strong { font-weight: 700; }
/* The number never breaks; a long email may, rather than push the pill out of the card. */
.sr-board-pill-num { white-space: nowrap; }
.sr-board-pill-text { min-width: 0; overflow-wrap: anywhere; }
.sr-page span.sr-board-pill a { text-decoration: underline; text-underline-offset: 2px; }
.sr-page a.sr-board-pill { color: var(--sr-accent); }
.sr-page a.sr-board-pill:hover { background: var(--sr-accent); color: #fff; text-decoration: none; }

/* Buttons and links */
.sr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--sr-accent); font-size: 16px; line-height: 1.2; font-weight: 700; }
.sr-page a.sr-btn, .sr-page a.sr-btn:hover { color: #fff; text-decoration: none; }
.sr-page a.sr-btn:hover { background: var(--sr-accent-dark); }
.sr-link { font-weight: 700; }
.sr-link--lg { display: inline-flex; align-items: center; gap: 0.35em; min-height: 48px; padding: 0 8px; font-size: 16px; }

/* M04 at a glance + M05 offer band */
/* Dividers are drawn by each item, so a grid with fewer items than cells shows white, not grey. */
.sr-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1px; background: #fff; border: 1px solid var(--sr-line-2); border-radius: 18px; overflow: hidden; }
.sr-glance-item { background: #fff; box-shadow: 0 0 0 1px var(--sr-line-2); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.sr-glance dt { font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--sr-subtle); }
.sr-glance-value { font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
.sr-glance-note { font-size: 15px; line-height: 1.5; color: var(--sr-muted); }
.sr-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: 18px; background: #fff; border: 1px solid var(--sr-line-2); }
.sr-cta-band p { font-size: 18px; line-height: 1.45; max-width: 620px; }
.sr-cta-band span { color: var(--sr-muted); }
/* Trustpilot on its own row along the bottom of the offer, centered in the box (Kyle): the TrustBox
   centers its own text across the full row. The height is reserved so the page does not jump when
   the widget loads. */
.sr-cta-band .sr-trustbox { flex-basis: 100%; min-height: 20px; }

/* M06 hours options */
.sr-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
/* Variant B's period breakdown: three cards (total, each year, subject areas). */
.sr-options--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.sr-card { border: 1px solid var(--sr-line-2); border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.sr-card > p:not(.sr-kicker) { font-size: 17px; line-height: 1.6; color: var(--sr-ink-2); }
.sr-kicker { font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sr-subtle); }
.sr-big { font-size: 56px; line-height: 1; letter-spacing: -0.03em; font-weight: 700; }

/* M07 ethics panel */
.sr-panel { background: #fff; border: 1px solid var(--sr-line-2); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
/* A panel with a section per requirement (California's ethics hours and Regulatory Review course). */
.sr-panel-section + .sr-panel-section { padding-top: 20px; border-top: 1px solid var(--sr-line-2); }
.sr-panel--note { padding: 28px 32px; gap: 8px; }
.sr-panel--note p { font-size: 16px; line-height: 1.6; color: var(--sr-muted); max-width: 820px; }
.sr-course-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sr-course-list li { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.sr-course-list a { font-size: 16px; font-weight: 700; }
.sr-course-list span { font-size: 14px; color: var(--sr-subtle); }

/* M08 subjects */
.sr-subjects { border-top: 1px solid var(--sr-ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 40px; }
.sr-subject { padding: 22px 0; border-bottom: 1px solid var(--sr-line); display: flex; flex-direction: column; gap: 4px; }
.sr-subject h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.sr-subject p { font-size: 15px; line-height: 1.5; color: var(--sr-muted); }
/* The limit a state sets on an area (California: at least 40 technical, no more than 40 non-technical). */
.sr-page .sr-subject .sr-subject-limit { color: var(--sr-ink); font-weight: 600; }

/* M09 deadlines */
.sr-timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.sr-step { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--sr-ink); }
.sr-step--muted { border-top-color: #C9CCC8; }
.sr-step-when { font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--sr-accent); }
.sr-step--muted .sr-step-when { color: var(--sr-subtle); }
.sr-step h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.sr-step p:last-child { font-size: 15px; line-height: 1.55; color: var(--sr-muted); }

/* M10 credit rules */
.sr-table-wrap { overflow-x: auto; border-top: 1px solid var(--sr-ink); }
/* The enrolled agent's cycle table, above the deadlines timeline. */
#deadlines .sr-table-wrap + .sr-body { margin-top: 16px; }
#deadlines .sr-table-wrap ~ .sr-timeline { margin-top: 48px; }
.sr-table { width: 100%; min-width: 620px; border-collapse: collapse; font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.55; color: var(--sr-ink-2); }
.sr-table thead th { text-align: left; padding: 16px 24px 16px 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sr-subtle); border-bottom: 1px solid var(--sr-line); }
.sr-table tbody th { text-align: left; vertical-align: top; width: 32%; padding: 20px 24px 20px 0; font-weight: 700; color: var(--sr-ink); border-bottom: 1px solid var(--sr-line); }
.sr-table td { vertical-align: top; padding: 20px 0; border-bottom: 1px solid var(--sr-line); }
.sr-table td .sr-cell-note { display: block; margin-top: 8px; font-size: 15px; color: var(--sr-muted); }
.sr-page .sr-table td a { text-decoration: underline; text-underline-offset: 2px; }

/* M11 requirements tied to the work: one card per role; a lone card spreads across two columns */
.sr-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 24px; }
.sr-role { border: 1px solid var(--sr-line-2); border-radius: 18px; background: #fff; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.sr-role--wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px; }
.sr-role-title { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.sr-role p { font-size: 16px; line-height: 1.6; color: var(--sr-muted); }

/* M12 exemptions */
.sr-cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; }
.sr-cols3 p { font-size: 16px; line-height: 1.6; color: var(--sr-muted); }

/* M13 records */
.sr-checklist { border-top: 1px solid var(--sr-ink); }
.sr-checklist-title { padding: 16px 0; font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sr-subtle); border-bottom: 1px solid var(--sr-line); }
.sr-checklist ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 24px; }
.sr-checklist li { padding: 14px 0; border-bottom: 1px solid var(--sr-line); font-size: 16px; line-height: 1.4; }

/* M14 Sequoia offer (the one dark band; never the last band before the black footer) */
.sr-band--dark .sr-lede { color: var(--sr-on-dark); font-size: 19px; }
.sr-offer { background: var(--sr-dark-card); border: 1px solid var(--sr-dark-line); border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.sr-offer h3 { font-size: 22px; line-height: 1.3; font-weight: 700; color: #fff; }
.sr-offer p { font-size: 16px; line-height: 1.6; color: var(--sr-on-dark); }
.sr-offer .sr-btn { margin-top: 8px; align-self: flex-start; }
.sr-price { display: flex; align-items: baseline; gap: 8px; }
.sr-offer .sr-price span:first-child { font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; color: #fff; }
.sr-offer .sr-price span:last-child { font-size: 16px; color: var(--sr-on-dark-2); }
.sr-offer-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sr-offer-list li { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.sr-page .sr-offer-list li a, .sr-page .sr-offer-list li:hover a { color: #fff; font-size: 17px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); }
.sr-offer-list span { font-size: 15px; color: var(--sr-on-dark-2); }
.sr-creds { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 20px; border-top: 1px solid var(--sr-dark-line); font-size: 14px; line-height: 1.4; color: var(--sr-on-dark-2); }
.sr-page .sr-creds a { color: #fff; font-weight: 700; }

/* M15 FAQ */
.sr-faq { border-top: 1px solid var(--sr-ink); }
.sr-faq-item { border-bottom: 1px solid var(--sr-line); }
.sr-faq-item summary { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.sr-faq-item summary::-webkit-details-marker { display: none; }
.sr-faq-item h3 { font-size: 19px; line-height: 1.35; font-weight: 700; }
.sr-faq-plus { font-size: 24px; line-height: 1; transition: transform 0.2s; }
.sr-faq-item[open] .sr-faq-plus { transform: rotate(45deg); }
.sr-faq-item p { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--sr-ink-2); }

/* M16 sources, M17 other states */
.sr-sources { list-style: none; padding: 0; border-top: 1px solid var(--sr-ink); font-size: 16px; }
.sr-sources li { padding: 16px 0; border-bottom: 1px solid var(--sr-line-2); line-height: 1.4; }
.sr-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.sr-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--sr-line-2); border-radius: 999px; font-size: 15px; line-height: 1.2; }
.sr-page a.sr-pill { color: var(--sr-ink); }
.sr-page a.sr-pill:hover { border-color: var(--sr-accent); text-decoration: none; }
.sr-pill--plain { border-color: transparent; }
.sr-page a.sr-pill--plain { color: var(--sr-accent); font-weight: 700; }

/* Staff preview only */
.sr-missing { display: inline-block; padding: 2px 8px; border: 1px dashed #B42318; border-radius: 6px; background: #FEF3F2; color: #B42318; font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.sr-missing-list { columns: 2 280px; padding-left: 18px; font-size: 15px; line-height: 1.6; }

@media print {
  .sr-band, .sr-band--hero, .sr-band--glance, .sr-band--tight { padding: 24px 0; }
  .sr-faq-item::details-content { content-visibility: visible; display: block; }
  .sr-faq-plus, .sr-actions, .sr-trustbox, .sr-band--staff { display: none; }
}

@media (max-width: 800px) {
  .sr-band { padding: 72px 20px; }
  .sr-band--hero { padding: 24px 20px 56px; }
  .sr-band--glance { padding: 56px 20px 64px; }
  .sr-band--tight { padding: 56px 20px; }
  .sr-inner { gap: 32px; }
  .sr-split { gap: 40px; }
  .sr-glance-item { padding: 24px; }
  .sr-glance-value { font-size: 32px; }
  .sr-card, .sr-offer { padding: 28px; }
  .sr-big { font-size: 44px; }
  .sr-cta-band { padding: 24px; }
  .sr-panel { padding: 24px; }
  .sr-table { min-width: 0; }
  .sr-table tbody th { width: 38%; padding-right: 16px; }
  .sr-board-pill-sep { display: none; }
  .sr-board-pill-note { display: block; }
}
