/*
Theme Name: 자격증3001
Theme URI: https://license.3001.co.kr
Author: 3001
Description: PDF 문제지와 웹 정답·해설을 연결하는 자격증 시험자료 테마
Version: 0.16.2
Text Domain: jagyeok3001
*/

:root {
  --ink: #17202a;
  --muted: #637083;
  --line: #dfe5ec;
  --paper: #ffffff;
  --wash: #f4f7fa;
  --navy: #123a63;
  --blue: #1769aa;
  --orange: #e06a22;
  --green: #176b54;
  --radius: 18px;
  --shadow: 0 15px 45px rgba(18, 58, 99, 0.09);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
::selection { background: #d9eaf7; color: var(--navy); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #f0a36f; outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 900; text-decoration: none; transform: translateY(-160%); transition: transform .16s ease; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 900; font-size: 1.25rem; text-decoration: none; letter-spacing: -.04em; }
.brand img { display: block; width: 34px; height: 34px; flex: 0 0 34px; transition: transform .16s ease; }
.brand:hover img { transform: translateY(-1px) rotate(-2deg); }
.brand em { color: var(--orange); font-style: normal; }
.brand--image img.custom-logo { width: auto; height: 54px; max-width: min(260px, 48vw); flex: 0 1 auto; object-fit: contain; }
.brand--image:hover img.custom-logo { transform: translateY(-1px); }
.primary-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.primary-nav a { position: relative; color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: center; transition: transform .16s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.home-intro { padding: 46px 0 38px; border-bottom: 1px solid var(--line); background: var(--paper); }
.home-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 58px; align-items: end; }
.home-intro .eyebrow, .home-browse .eyebrow, .home-feed-heading .eyebrow { color: var(--orange); }
.home-intro h1 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(2.35rem, 5.5vw, 4.35rem); line-height: 1.08; letter-spacing: -.06em; }
.home-intro-text { max-width: 760px; margin: 18px 0 0; color: #435266; font-size: 1rem; }
.home-primary-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.home-primary-actions a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 15px; border: 1px solid #bdcbd8; border-radius: 8px; color: var(--navy); font-size: .9rem; font-weight: 900; text-decoration: none; }
.home-primary-actions .home-action-primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.home-search { padding: 18px; border: 1px solid #ccd6df; border-radius: 12px; background: #f7f9fb; }
.home-search > strong { display: block; margin-bottom: 9px; color: var(--navy); font-size: .9rem; }
.home-search .search-field { min-height: 46px; background: #fff; }
.home-search .search-submit { min-height: 46px; padding-inline: 20px; }
.home-search > p { margin: 7px 0 0; color: var(--muted); font-size: .78rem; }
.home-browse { padding: 32px 0 36px; border-bottom: 1px solid var(--line); background: #f2f5f8; }
.home-browse-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.home-browse-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.04em; }
.home-browse-heading > p { margin: 0; color: var(--muted); font-size: .86rem; }
.home-stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-stage-grid > a { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.home-stage-grid span { grid-row: 1 / span 2; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: #eaf3fb; color: var(--blue); font-weight: 900; }
.home-stage-grid strong { align-self: end; color: var(--navy); }
.home-stage-grid small { color: var(--muted); }
.home-year-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.home-year-list a { display: flex; justify-content: space-between; gap: 7px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.75); color: var(--ink); font-size: .82rem; text-decoration: none; }
.home-year-list span { color: var(--muted); }
.home-content-shell { padding-top: 46px; }
.home-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.home-feed-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.7rem, 4vw, 2.35rem); letter-spacing: -.04em; }
.home-feed-heading > p { margin: 0; color: var(--muted); font-size: .9rem; }
.blog-heading { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.blog-heading .eyebrow { color: var(--orange); }
.blog-heading h1 { margin: 0; color: var(--navy); font-size: clamp(2rem, 5vw, 3.35rem); letter-spacing: -.05em; }
.blog-heading p:last-child { max-width: 720px; margin: 10px 0 0; color: var(--muted); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.blog-feed { min-width: 0; }
.blog-post { padding: 25px; margin-bottom: 16px; border: 1px solid var(--line); background: var(--paper); }
.blog-post:last-child { margin-bottom: 0; }
.blog-post.is-featured { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); gap: 28px; padding: 0; overflow: hidden; border-top: 4px solid var(--orange); box-shadow: var(--shadow); }
.blog-post-cover { display: flex; min-height: 100%; align-items: center; justify-content: center; padding: 22px; background: #e9f0f5; }
.blog-post-cover img { width: 100%; height: auto; max-height: 310px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(18,58,99,.13)); }
.blog-post.is-featured .blog-post-body { padding: 28px 28px 28px 0; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--green); font-size: .82rem; font-weight: 800; }
.blog-post-meta span + span::before, .blog-post-meta time::before { content: "·"; margin-right: 14px; color: #9aa6b2; }
.blog-post-meta .latest-label { color: var(--orange); }
.blog-post h2 { margin: 10px 0 8px; font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.35; letter-spacing: -.03em; }
.blog-post h2 a { color: var(--ink); text-decoration: none; }
.blog-post h2 a:hover { color: var(--blue); }
.blog-post p { margin: 0 0 12px; color: var(--muted); }
.blog-post-tools { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0; }
.blog-post-tools span { padding: 4px 9px; border-radius: 999px; background: #eef3f7; color: #42536a; font-size: .75rem; font-weight: 800; }
.blog-post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.blog-post-actions a { font-size: .86rem; font-weight: 800; text-decoration: none; }
.blog-post-actions a:not(.read-more) { color: var(--muted); }
.read-more { font-size: .9rem; font-weight: 800; text-decoration: none; }
.blog-sidebar { display: grid; gap: 18px; position: sticky; top: 94px; }
.sidebar-widget { padding: 20px; border: 1px solid var(--line); background: var(--paper); }
.sidebar-widget h2 { margin: 0 0 14px; color: var(--navy); font-size: 1rem; }
.sidebar-widget p { margin: 0; color: var(--muted); font-size: .9rem; }
.sidebar-steps ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: home-step; }
.sidebar-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 9px; counter-increment: home-step; }
.sidebar-steps li::before { content: counter(home-step); grid-row: 1 / span 2; display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: #fff1e7; color: var(--orange); font-size: .75rem; font-weight: 900; }
.sidebar-steps strong { color: var(--ink); font-size: .86rem; }
.sidebar-steps span { color: var(--muted); font-size: .78rem; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #bcc7d2; border-radius: 6px; font: inherit; }
.search-submit { min-height: 42px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 800; cursor: pointer; }
.category-list { margin: 0; padding: 0; list-style: none; }
.category-list li { border-top: 1px solid var(--line); }
.category-list li:first-child { border-top: 0; }
.category-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; color: var(--ink); text-decoration: none; }
.category-list span { color: var(--muted); }
.pagination { margin-top: 30px; }
.pagination .page-numbers { display: inline-flex; min-width: 38px; min-height: 38px; margin-right: 5px; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; }
.hero { padding: 82px 0 64px; background: linear-gradient(135deg, #0d3156 0%, #16558a 65%, #1976ad 100%); color: #fff; }
.eyebrow { margin: 0 0 12px; color: #9ed6ff; font-size: .86rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(2.25rem, 6vw, 4.6rem); line-height: 1.1; letter-spacing: -.06em; }
.hero p { max-width: 660px; margin: 24px 0 0; color: #d7ecff; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; text-decoration: none; }
.button.secondary { background: #fff; color: var(--navy); }
.button.outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.section { padding: 66px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.65rem, 4vw, 2.35rem); letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); }
.license-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.license-card { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.license-card .number { color: var(--orange); font-weight: 900; }
.license-card h3 { margin: 30px 0 8px; color: var(--navy); font-size: 1.4rem; }
.license-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.license-links { display: flex; gap: 8px; margin-top: auto; padding-top: 24px; }
.license-links a { flex: 1; padding: 8px 10px; border-radius: 10px; background: var(--wash); text-align: center; font-weight: 800; text-decoration: none; }
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.exam-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.exam-card .meta { color: var(--green); font-weight: 800; font-size: .84rem; }
.exam-card h3 { margin: 10px 0; font-size: 1.18rem; line-height: 1.45; }
.exam-card p { color: var(--muted); }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.workflow article { padding: 24px; border: 0; background: #fff; border-radius: var(--radius); }
.workflow article::before { counter-increment: step; content: "0" counter(step); color: var(--orange); font-weight: 900; }
.content-shell { padding: 54px 0 80px; }
.archive-header, .exam-header { margin-bottom: 28px; padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.archive-header h1, .exam-header h1 { margin: 8px 0 10px; color: var(--navy); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; letter-spacing: -.04em; }
.stage-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 30px; }
.stage-filter a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 800; text-decoration: none; }
.exam-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.exam-meta span { padding: 6px 10px; border-radius: 999px; background: #eaf3fb; color: var(--navy); font-size: .86rem; font-weight: 800; }
.exam-download { margin-top: 24px; }
.exam-download { display: flex; flex-wrap: wrap; gap: 10px; }
.button.secondary-dark { background: var(--navy); color: #fff; }
.exam-cover { margin: 0 0 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #e9f0f5; box-shadow: var(--shadow); }
.exam-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.exam-content { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.exam-intro { padding: 16px 18px; border-radius: 12px; background: #fff7ed; color: #7c3f16; }
.exam-intro h2 { margin-top: 0; color: var(--navy); }
.copyright-notice { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #d9b875; border-radius: 10px; background: #fffdf7; color: #4b3518; }
.copyright-notice strong { color: #8a4f00; }
.exam-subject { margin: 42px 0 4px; padding: 14px 18px; border: 0; border-radius: 12px; background: #edf3f8; color: var(--navy); font-size: 1.25rem; }
.exam-question { padding: 26px 0; border-bottom: 1px solid var(--line); }
.exam-question:last-child { border-bottom: 0; }
.exam-question h3 { margin: 0 0 16px; color: var(--ink); font-size: 1.13rem; line-height: 1.65; overflow-wrap: anywhere; word-break: break-word; }
.exam-context { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.exam-context p { margin: 0; }
.question-figure { margin: 18px auto; text-align: center; }
.question-figure img { display: inline-block; width: auto; max-width: min(100%, 520px); height: auto; padding: 10px; border: 1px solid var(--line); background: #fff; }
.question-figure figcaption { margin-top: 6px; color: var(--muted); font-size: .82rem; }
.exam-choices { padding-left: 28px; }
.exam-question-title { margin: 0 0 14px; font-size: 1.12rem; color: var(--ink); }
.exam-choices li { padding: 3px 0; overflow-wrap: anywhere; word-break: break-word; }
.exam-choice-explanations { margin: 16px 0; padding: 14px 16px; border: 1px solid #d8e3ed; border-radius: 10px; background: #fff; }
.exam-choice-explanations h4 { margin: 0 0 10px; color: var(--navy); font-size: .98rem; }
.exam-choice-explanations ul { margin: 0; padding: 0; list-style: none; }
.exam-choice-note { padding: 7px 0; border-top: 1px solid #edf2f6; line-height: 1.65; }
.exam-choice-note:first-child { padding-top: 0; border-top: 0; }
.exam-choice-note:last-child { padding-bottom: 0; }
details { margin-top: 15px; padding: 14px 16px; border-radius: 12px; background: var(--wash); overflow-wrap: anywhere; word-break: break-word; }
summary { cursor: pointer; color: var(--blue); font-weight: 900; }
.exam-answer { color: var(--green); }
.exam-basis { overflow-wrap: anywhere; word-break: break-word; color: var(--muted); font-size: .92rem; }
.exam-source-links a { color: var(--blue); font-weight: 800; text-underline-offset: 3px; }
.exam-source-links a:hover, .exam-source-links a:focus-visible { color: var(--navy); text-decoration-thickness: 2px; }
.exam-source-file-meta { overflow-wrap: anywhere; word-break: break-word; }
.practical-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.practical-badges span { padding: 4px 9px; border: 1px solid #cdd9e5; border-radius: 999px; background: #f4f8fb; color: var(--navy); font-size: .78rem; font-weight: 800; }
.practical-subparts { margin: 12px 0 0; padding-left: 25px; }
.practical-subparts li { padding: 4px 0; }
.practical-accepted, .practical-keywords { margin: 12px 0; padding: 10px 12px; border-radius: 9px; background: #fff; }
.practical-keywords { border: 0; background: #edf7f2; }
.practical-solution { padding-left: 24px; }
.practical-solution li { padding: 3px 0; }
.practical-change-note { padding: 11px 13px; border: 1px solid #e7c181; border-radius: 9px; background: #fff9ed; color: #6d4510; }
.exam-outro { margin-top: 30px; padding-top: 24px; border-top: 2px solid var(--line); }
.source-panel { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.source-panel h2 { margin-top: 0; font-size: 1.1rem; }
.content-review-panel { max-width: 900px; margin: 0 auto 24px; padding: 20px 22px; border: 1px solid #cbdde8; border-radius: 16px; background: #f8fcff; box-shadow: 0 8px 22px rgba(18, 58, 99, .05); }
.content-review-label { margin: 0 0 12px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .04em; }
.content-review-panel dl { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(130px, .7fr) minmax(0, 2.6fr); gap: 12px; margin: 0; }
.content-review-panel dl > div { padding: 12px 14px; border-radius: 11px; background: #fff; }
.content-review-panel dt { color: var(--muted); font-size: .72rem; font-weight: 850; }
.content-review-panel dd { margin: 5px 0 0; color: var(--navy); font-size: .88rem; font-weight: 800; line-height: 1.55; }
.content-review-panel a { color: var(--blue); font-weight: 850; }
.content-review-note { margin: 13px 2px 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.empty-state { padding: 42px; border: 1px dashed #b7c2ce; border-radius: var(--radius); background: #fff; text-align: center; color: var(--muted); }
.site-footer { padding: 42px 0; background: #0e2c4b; color: #bcd0e2; }
.site-footer strong { color: #fff; }
.site-footer p { margin: 5px 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 12px; }
.footer-nav a { color: #fff; font-weight: 800; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copyright { max-width: 900px; font-size: .82rem; }
.site-page { max-width: 860px; margin: 0 auto; }
.cbt-shell { padding: 42px 0 80px; }
.cbt-header, .cbt-connect, .cbt-history { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.cbt-header { margin-bottom: 24px; }
.cbt-header h1 { margin: 6px 0 10px; color: var(--navy); font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.25; letter-spacing: -.04em; }
.cbt-header p:not(.eyebrow), .cbt-connect > p, .cbt-history > p { color: var(--muted); }
.cbt-header-actions { margin-top: 18px; }
.cbt-connect { max-width: 720px; margin: 0 auto; }
.cbt-connect h2, .cbt-history h2 { margin-top: 0; color: var(--navy); }
.cbt-connect-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; margin-top: 22px; }
.cbt-connect-form label { grid-column: 1 / -1; font-weight: 900; }
.cbt-connect-form input[type="email"] { min-height: 48px; padding: 10px 14px; border: 1px solid #aebac6; border-radius: 10px; font: inherit; }
.cbt-privacy-note { margin-bottom: 0; font-size: .85rem; }
.cbt-error { padding: 10px 12px; border-radius: 8px; background: #fff0f0; color: #9e1c1c !important; font-weight: 800; }
.cbt-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.cbt-sidebar { position: sticky; top: 92px; display: grid; gap: 14px; }
.cbt-progress-card, .cbt-question-map, .cbt-stage { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.cbt-progress-card { padding: 18px; }
.cbt-progress-card > strong { display: block; color: var(--navy); font-size: 1.25rem; }
.cbt-progress-card p { margin: 10px 0 0; color: var(--muted); font-size: .82rem; }
.cbt-progress-card .cbt-round-status { margin: 9px 0 12px; padding-bottom: 11px; border-bottom: 1px solid var(--line); color: var(--blue); font-weight: 900; line-height: 1.45; }
.cbt-progress-track { height: 8px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #e8edf2; }
.cbt-progress-track span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .2s ease; }
.cbt-timer { display: grid; gap: 8px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.cbt-timer > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cbt-timer span { color: var(--muted); font-size: .75rem; font-weight: 850; }
.cbt-timer strong { color: var(--navy); font-size: 1rem; font-variant-numeric: tabular-nums; }
.cbt-timer small { color: var(--muted); font-size: .7rem; line-height: 1.45; }
.cbt-timer.is-overdue strong[data-cbt-remaining] { color: #a52828; }
.cbt-map-filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.cbt-map-filters button { min-height: 34px; padding: 4px 5px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 850; }
.cbt-map-filters button.is-active { background: var(--navy); color: #fff; }
.cbt-question-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; max-height: 430px; padding: 12px; overflow-y: auto; }
.cbt-question-map button { min-width: 0; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); cursor: pointer; font-size: .78rem; }
.cbt-question-map button.is-answered { border-color: #76aa9b; background: #e8f5f0; color: var(--green); font-weight: 900; }
.cbt-question-map button.is-current { outline: 3px solid rgba(224,106,34,.28); border-color: var(--orange); color: var(--orange); }
.cbt-question-map button.is-flagged { border-color: #c78618; background: #fff6dc; color: #8b5a00; font-weight: 900; }
.cbt-question-map button.is-flagged::after { content: "•"; margin-left: 2px; color: #c78618; }
.cbt-stage { min-height: 580px; padding: 30px; }
.cbt-round-memory { margin-bottom: 18px; padding: 14px; border: 1px solid #c8d7e3; border-radius: 12px; background: #f7fafc; }
.cbt-round-memory-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cbt-round-memory-heading > span { color: var(--muted); font-size: .74rem; font-weight: 900; }
.cbt-round-memory-heading strong { color: var(--navy); font-size: .84rem; }
.cbt-round-memory.was-correct .cbt-round-memory-heading strong { color: var(--green); }
.cbt-round-memory.was-incorrect .cbt-round-memory-heading strong { color: #a52828; }
.cbt-round-memory ol { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.cbt-round-memory li { display: grid; min-width: 0; min-height: 43px; align-content: center; justify-items: center; border: 1px solid #d4dee6; border-radius: 7px; background: #fff; color: #8793a0; line-height: 1; }
.cbt-round-memory li b { font-size: .62rem; }
.cbt-round-memory li > span:not(.screen-reader-text) { margin-top: 4px; font-size: .78rem; font-weight: 950; }
.cbt-round-memory li.is-correct { border-color: #8dbbad; background: #eaf6f1; color: var(--green); }
.cbt-round-memory li.is-incorrect { border-color: #dea4a4; background: #fff0f0; color: #a52828; }
.cbt-question h2 { margin: 6px 0 24px; color: var(--ink); font-size: clamp(1.15rem, 3vw, 1.45rem); line-height: 1.65; }
.cbt-subject { margin: 0; color: var(--green); font-weight: 900; }
.cbt-context { margin-bottom: 18px; padding: 14px; border-radius: 9px; background: var(--wash); }
.cbt-choices { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.cbt-choices label { display: block; position: relative; cursor: pointer; }
.cbt-choices input { position: absolute; opacity: 0; pointer-events: none; }
.cbt-choices span { display: block; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.cbt-choices input:checked + span { border-color: var(--blue); background: #eaf3fb; box-shadow: 0 0 0 2px rgba(23,105,170,.12); }
.cbt-choices input:focus-visible + span { outline: 3px solid rgba(23,105,170,.3); }
.cbt-choices b { margin-right: 7px; color: var(--blue); }
.cbt-controls { display: flex; justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.cbt-flag.is-active { border-color: #c78618; background: #fff6dc; color: #7a5000; }
.cbt-submit { margin-left: auto; background: var(--green); }
.cbt-result { padding: 28px; border-radius: 12px; background: #eef8f4; }
.cbt-result h2 { margin-top: 0; color: var(--green); }
.cbt-result-round { color: var(--blue); font-weight: 900; }
.cbt-result-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 20px; }
.cbt-result-metrics article { padding: 14px; border: 1px solid #c9d8e3; border-radius: 10px; background: #fff; }
.cbt-result-metrics span, .cbt-result-metrics strong { display: block; }
.cbt-result-metrics span { color: var(--muted); font-size: .72rem; font-weight: 850; }
.cbt-result-metrics strong { margin-top: 3px; color: var(--navy); font-size: 1.05rem; }
.cbt-analysis-section { padding: 22px 30px 0; }
.cbt-result > .cbt-analysis-section { padding-inline: 0; }
.cbt-analysis-section h3 { margin: 0 0 12px; color: var(--navy); font-size: 1rem; }
.cbt-subject-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.cbt-subject-results article { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.cbt-subject-results span, .cbt-subject-results strong, .cbt-subject-results small { display: block; }
.cbt-subject-results span { overflow: hidden; color: var(--muted); font-size: .72rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.cbt-subject-results strong { margin-top: 3px; color: var(--ink); }
.cbt-subject-results small { margin-top: 2px; color: var(--blue); font-weight: 800; }
.cbt-slowest-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cbt-slowest-list div { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.cbt-slowest-list strong { color: var(--navy); }
.cbt-slowest-list span { overflow: hidden; color: var(--muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.cbt-slowest-list b { color: var(--orange); font-size: .8rem; }
.cbt-history { margin-top: 24px; }
.cbt-history-list { display: grid; gap: 10px; }
.cbt-history-list article { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.cbt-history-list h3, .cbt-history-list p { margin: 0; }
.cbt-history-list h3 { font-size: 1rem; }
.cbt-history-list p { margin-top: 4px; color: var(--muted); font-size: .86rem; }
.cbt-account-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }

/* CBT v2 hub and learning states */
.cbt-hub { padding: 46px 0 80px; }
.cbt-hub-header { max-width: 780px; margin-bottom: 26px; }
.cbt-hub-header .eyebrow, .cbt-picker-heading .eyebrow, .cbt-review-summary .eyebrow { color: var(--orange); }
.cbt-hub-header h1 { margin: 0; color: var(--navy); font-size: clamp(2.15rem, 5vw, 3.8rem); line-height: 1.14; letter-spacing: -.055em; }
.cbt-hub-header > p:last-child { max-width: 700px; margin: 15px 0 0; color: var(--muted); }
.cbt-account-card { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; margin-bottom: 18px; padding: 24px 26px; border: 1px solid #cbd8e4; border-radius: var(--radius); background: #edf6fc; }
.cbt-account-card h2 { margin: 2px 0 6px; color: var(--navy); font-size: 1.28rem; }
.cbt-account-card p { margin: 0; color: #435266; }
.cbt-step-label { color: var(--blue) !important; font-size: .78rem; font-weight: 900; letter-spacing: .06em; }
.cbt-google-actions { display: grid; width: 100%; gap: 12px; justify-items: start; }
.cbt-google-consent label { display: flex; gap: 8px; align-items: flex-start; color: #435266; font-size: .78rem; line-height: 1.45; cursor: pointer; }
.cbt-google-consent input { flex: 0 0 auto; margin-top: 3px; }
.cbt-google-consent a { color: var(--blue); font-weight: 800; text-decoration: underline; }
.cbt-google-login { min-width: 220px; min-height: 44px; }
.cbt-google-login[hidden] { display: none; }
.cbt-login-status { grid-column: 1 / -1; margin-top: 8px !important; color: var(--green) !important; font-size: .86rem; font-weight: 800; }
.cbt-login-status:empty { display: none; }
.cbt-login-status.is-error { color: #9e1c1c !important; }
.cbt-hub-error { margin: 0 0 18px; }
.cbt-picker { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.cbt-picker-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cbt-picker-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.035em; }
.cbt-picker-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: .9rem; text-align: right; }
.cbt-picker-step { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.cbt-picker-step legend { width: 100%; margin-bottom: 12px; color: var(--ink); font-size: 1rem; font-weight: 900; }
.cbt-picker-step legend span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; margin-right: 8px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .82rem; }
.cbt-option-grid { display: grid; gap: 10px; }
.cbt-certification-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cbt-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cbt-option-card { display: block; position: relative; min-width: 0; cursor: pointer; }
.cbt-option-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cbt-option-card > span { display: flex; min-height: 96px; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 18px; border: 1px solid #cbd5df; border-radius: 12px; background: #fff; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.cbt-option-card strong { color: var(--navy); font-size: 1rem; }
.cbt-option-card small { color: var(--muted); line-height: 1.5; }
.cbt-option-card:hover > span { border-color: #8eabc2; transform: translateY(-1px); }
.cbt-option-card input:checked + span { border-color: var(--blue); background: #eef7fd; box-shadow: 0 0 0 3px rgba(23,105,170,.14); }
.cbt-option-card input:focus-visible + span { outline: 3px solid rgba(23,105,170,.3); outline-offset: 2px; }
.cbt-option-card.is-unavailable { cursor: not-allowed; }
.cbt-option-card.is-unavailable > span { border-style: dashed; background: #f5f7f9; opacity: .62; }
.cbt-picker select { width: 100%; min-height: 52px; padding: 10px 44px 10px 15px; border: 1px solid #aebdca; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; }
.cbt-picker select:focus { outline: 3px solid rgba(23,105,170,.2); border-color: var(--blue); }
.cbt-picker select:disabled { background: #f1f4f7; color: #8994a0; cursor: not-allowed; }
.cbt-picker-help { margin: 7px 0 0; color: var(--muted); font-size: .82rem; }
.cbt-picker-action { display: flex; align-items: center; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.cbt-picker-action p { margin: 0; color: var(--muted); font-size: .86rem; }
.button.is-disabled, .button[aria-disabled="true"] { background: #aeb8c2; color: #f8fafc; cursor: not-allowed; pointer-events: auto; }
.cbt-hub-history { margin-top: 24px; }
.cbt-mode-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 2px 9px; border-radius: 999px; background: #eaf3fb; color: var(--blue); font-size: .72rem; font-weight: 900; }
.cbt-history-list article { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.cbt-history-list article > div { min-width: 0; }
.cbt-title-meta { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.cbt-title-meta .eyebrow { color: var(--orange); }
.cbt-mode-change { color: var(--blue); font-size: .86rem; font-weight: 900; white-space: nowrap; }
.cbt-question-map button.is-reviewed { border-color: #72a596; box-shadow: inset 0 0 0 1px #72a596; }
.cbt-question-map button:disabled { opacity: .42; cursor: not-allowed; }
.cbt-choices input:disabled + span { cursor: default; }
.cbt-practice-feedback { margin-top: 24px; padding: 24px; border: 0; border-radius: 16px; background: #edf7f2; color: #24493b; }
.cbt-practice-feedback.is-correct { background: #edf7f2; }
.cbt-practice-feedback.is-incorrect { background: #fdf0ee; color: #673c36; }
.cbt-practice-feedback h3 { margin: 0 0 12px; color: var(--green); font-size: 1.2rem; }
.cbt-practice-feedback.is-incorrect h3 { color: #a52828; }
.cbt-practice-feedback > p { margin: 5px 0; }
.cbt-explanation { margin-top: 16px; padding: 16px; border-radius: 9px; background: rgba(255,255,255,.8); color: #344251; }
.cbt-explanation > strong { display: block; margin-bottom: 5px; color: var(--navy); }
.cbt-explanation p { margin: 0; white-space: pre-line; }
.cbt-review { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.cbt-review-summary { padding: 30px; border-bottom: 1px solid var(--line); background: #edf6fc; }
.cbt-review-summary h2 { margin: 2px 0 7px; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cbt-review-summary p:last-child { margin: 0; color: var(--muted); }
.cbt-wrong-list { display: grid; gap: 14px; padding: 24px 30px; }
.cbt-result > .cbt-wrong-list { padding-inline: 0; }
.cbt-wrong-list article { padding: 22px; border: 0; border-radius: 16px; background: #fdf0ee; }
.cbt-wrong-list article > span { display: inline-flex; margin-bottom: 8px; padding: 2px 9px; border-radius: 999px; background: #fbe2e2; color: #9e1c1c; font-size: .78rem; font-weight: 900; }
.cbt-wrong-list h3, .cbt-wrong-list h4 { margin: 0 0 14px; color: var(--ink); font-size: 1.05rem; line-height: 1.6; }
.cbt-wrong-list article > p { margin: 5px 0; }
.cbt-review-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 30px 30px; }
.cbt-result .cbt-review-actions { padding: 22px 0 0; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font: inherit; font-weight: 800; text-decoration: underline; }
.text-button.danger { color: #a52828; }
.page-header { margin-bottom: 24px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.page-header h1 { margin: 0; color: var(--navy); font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.2; letter-spacing: -.04em; }
.page-content { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.page-content h2 { margin: 38px 0 12px; color: var(--navy); font-size: 1.45rem; letter-spacing: -.025em; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin: 26px 0 8px; color: var(--ink); font-size: 1.1rem; }
.page-content p, .page-content li { color: #344251; }
.page-content ul { padding-left: 24px; }
.page-content .policy-meta { padding: 12px 14px; border-radius: 10px; background: var(--wash); color: var(--muted); }

@media (max-width: 900px) {
  .home-intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .home-year-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .license-grid { grid-template-columns: repeat(2, 1fr); }
  .exam-grid, .workflow { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-layout .blog-sidebar { order: -1; }
  .cbt-layout { grid-template-columns: 1fr; }
  .cbt-sidebar { position: static; }
  .cbt-question-map { grid-template-columns: repeat(10, 1fr); max-height: 220px; }
  .cbt-certification-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .content-review-panel { padding: 17px; }
  .content-review-panel dl { grid-template-columns: 1fr; }
  .header-inner { min-height: 62px; padding: 9px 0 10px; flex-direction: column; align-items: stretch; gap: 7px; }
  .brand { align-self: center; text-align: center; }
  .brand--image img.custom-logo { height: 50px; max-width: min(180px, 72vw); }
  .primary-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding: 0; white-space: nowrap; }
  .primary-nav a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; padding: 0 8px; font-size: .82rem; }
  .hero { padding: 60px 0 50px; }
  .home-intro { padding: 34px 0 28px; }
  .home-intro h1 { font-size: clamp(2rem, 9.5vw, 2.5rem); }
  .home-intro-text { font-size: .93rem; }
  .home-primary-actions a { flex: 1 1 auto; justify-content: center; }
  .home-search { padding: 14px; }
  .home-search .search-form { display: grid; grid-template-columns: 1fr auto; }
  .home-browse { padding: 26px 0 30px; }
  .home-browse-heading { display: block; }
  .home-browse-heading > p { margin-top: 5px; }
  .home-stage-grid { grid-template-columns: 1fr; }
  .home-year-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-content-shell { padding-top: 34px; }
  .home-feed-heading { display: block; }
  .home-feed-heading > p { margin-top: 8px; }
  .blog-post { padding: 20px; }
  .blog-post.is-featured { grid-template-columns: 1fr; gap: 0; }
  .blog-post-cover { min-height: 210px; padding: 18px 44px; }
  .blog-post.is-featured .blog-post-body { padding: 22px; }
  .blog-post-meta { gap: 5px 10px; }
  .blog-post-meta span + span::before, .blog-post-meta time::before { margin-right: 10px; }
  .license-grid { grid-template-columns: 1fr; }
  .archive-header, .exam-header, .exam-content { padding: 22px; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .page-header, .page-content { padding: 22px; }
  .cbt-shell, .cbt-hub { padding: 28px 0 56px; }
  .cbt-header, .cbt-connect, .cbt-history, .cbt-stage { padding: 20px; }
  .cbt-hub-header h1 br { display: none; }
  .cbt-account-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .cbt-account-card form, .cbt-account-card .button, .cbt-google-login { width: 100%; }
  .cbt-picker { padding: 20px; }
  .cbt-picker-heading { display: block; margin-bottom: 22px; padding-bottom: 18px; }
  .cbt-picker-heading > p { margin-top: 8px; text-align: left; }
  .cbt-certification-grid, .cbt-mode-grid { grid-template-columns: 1fr; }
  .cbt-option-card > span { min-height: 82px; }
  .cbt-picker-action { align-items: stretch; flex-direction: column; }
  .cbt-picker-action .button { width: 100%; }
  .cbt-title-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .cbt-mode-change { white-space: normal; }
  .cbt-connect-form { grid-template-columns: 1fr; }
  .cbt-question-map { grid-template-columns: repeat(5, 1fr); }
  .cbt-round-memory-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .cbt-round-memory ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cbt-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbt-controls .button { width: 100%; min-width: 0; padding-inline: 12px; }
  .cbt-submit { margin-left: 0; }
  .cbt-practice-feedback { padding: 18px; }
  .cbt-history-list article { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cbt-review-summary, .cbt-wrong-list { padding: 20px; }
  .cbt-review-actions { padding: 0 20px 20px; }
  .cbt-review-actions .button { width: 100%; }
}

/* 0.10.0 usability overhaul */
.primary-nav { align-items: center; }
.primary-nav-cta { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; border-radius: 8px; background: var(--navy); color: #fff !important; }
.primary-nav-cta::after { display: none; }

/* My learning */
.my-learning { max-width: 980px; padding: 42px 0 80px; }
.my-learning .eyebrow { margin: 0 0 5px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.my-login-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); gap: 40px; align-items: center; min-height: 520px; padding: clamp(30px, 6vw, 64px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.my-login-copy h1, .my-learning-header h1 { margin: 0; color: var(--navy); font-size: clamp(2.15rem, 5vw, 3.5rem); line-height: 1.12; letter-spacing: -.055em; }
.my-login-copy > p:last-of-type, .my-learning-header p:last-child { max-width: 650px; color: var(--muted); }
.my-login-copy ul { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.my-login-copy li { position: relative; padding-left: 25px; color: #344251; font-weight: 800; }
.my-login-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }
.my-login-action { display: grid; gap: 14px; padding: 24px; border: 1px solid #cad8e5; border-radius: 16px; background: #f3f8fc; }
.my-google-consent { display: flex; gap: 9px; align-items: flex-start; color: #435266; font-size: .78rem; line-height: 1.55; cursor: pointer; }
.my-google-consent input { flex: 0 0 auto; margin-top: 4px; }
.my-google-consent a { font-weight: 850; }
.my-google-button { min-height: 44px; }
.my-login-status { margin: 0; color: var(--green); font-size: .82rem; font-weight: 800; }
.my-login-status.is-error { color: #9e1c1c; }
.my-guest-link { justify-self: start; font-size: .84rem; font-weight: 900; }
.my-learning-header { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 22px; }
.my-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.my-summary-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.my-summary-grid span { display: block; color: var(--muted); font-size: .78rem; font-weight: 850; }
.my-summary-grid strong { color: var(--navy); font-size: 2rem; line-height: 1.25; letter-spacing: -.04em; }
.my-summary-grid strong.is-date { font-size: 1.35rem; }
.my-summary-grid small { margin-left: 4px; color: var(--muted); font-weight: 800; }
.my-panel { margin-top: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.my-panel-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 18px; }
.my-panel-heading p, .my-account-panel > div > p { margin: 0; color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.my-panel-heading h2, .my-account-panel h2 { margin: 1px 0 0; color: var(--navy); font-size: 1.45rem; letter-spacing: -.035em; }
.my-panel-heading > span { color: var(--muted); font-size: .8rem; font-weight: 850; }
.my-resume-list { display: grid; gap: 10px; }
.my-resume-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px; border: 1px solid #cdd9e4; border-radius: 13px; background: #f8fbfd; }
.my-resume-main > p { margin: 0; color: var(--muted); font-size: .76rem; font-weight: 850; }
.my-resume-main > p span { color: var(--blue); }
.my-resume-main h3 { margin: 4px 0 9px; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.my-resume-main small { color: var(--muted); font-size: .76rem; }
.my-progress { height: 7px; margin-bottom: 7px; overflow: hidden; border-radius: 99px; background: #dfe7ee; }
.my-progress span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.my-empty { display: flex; justify-content: space-between; gap: 18px; align-items: center; color: var(--muted); }
.my-panel-empty { margin: 0; color: var(--muted); }
.my-cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.my-cert-grid article { padding: 17px; border: 1px solid var(--line); border-radius: 12px; }
.my-cert-grid h3 { margin: 0 0 12px; color: var(--navy); font-size: .96rem; }
.my-cert-grid strong { display: block; color: var(--ink); }
.my-cert-grid p { margin: 3px 0 0; color: var(--muted); font-size: .78rem; }
.my-round-list { display: grid; gap: 12px; }
.my-round-list > article { padding: 18px; border: 1px solid var(--line); border-radius: 13px; }
.my-round-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 12px; }
.my-round-heading span { color: var(--blue); font-size: .72rem; font-weight: 900; }
.my-round-heading h3 { margin: 1px 0 0; font-size: .94rem; line-height: 1.45; }
.my-round-heading > a { flex: 0 0 auto; font-size: .78rem; font-weight: 900; }
.my-round-list ol { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.my-round-list li, .my-round-list li a { display: grid; min-width: 0; min-height: 48px; align-content: center; justify-items: center; border-radius: 7px; color: #8793a0; line-height: 1; text-decoration: none; }
.my-round-list li { border: 1px solid #d4dee6; background: #f8fafb; }
.my-round-list li.is-complete { border-color: #8dbbad; background: #eaf6f1; }
.my-round-list li.is-complete a { color: var(--green); }
.my-round-list li b { font-size: .66rem; }
.my-round-list li span { margin-top: 5px; font-size: .68rem; font-weight: 900; }
.my-history-list { display: grid; }
.my-history-list > a { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 13px 2px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.my-history-list > a:first-child { border-top: 0; }
.my-history-list span { display: block; color: var(--muted); font-size: .72rem; font-weight: 850; }
.my-history-list strong { display: block; margin-top: 2px; font-size: .9rem; }
.my-history-list p { flex: 0 0 auto; margin: 0; color: var(--navy); font-size: .82rem; font-weight: 900; text-align: right; }
.my-history-list small { display: block; color: var(--muted); font-weight: 700; }
.my-account-panel { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.my-account-panel strong, .my-account-panel span { display: block; }
.my-account-panel > div > strong { margin-top: 8px; color: var(--ink); }
.my-account-panel > div > span { color: var(--muted); font-size: .78rem; }
.my-account-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; justify-content: flex-end; }
.my-account-actions form { margin: 0; }

@media (max-width: 760px) {
  .my-learning { padding-top: 24px; }
  .my-login-card { grid-template-columns: 1fr; gap: 26px; min-height: 0; padding: 24px; }
  .my-learning-header { align-items: flex-start; flex-direction: column; }
  .my-learning-header .button { width: 100%; }
  .my-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-resume-list article { grid-template-columns: 1fr; gap: 13px; }
  .my-resume-list .button { width: 100%; }
  .my-round-list ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .my-history-list > a { align-items: flex-start; flex-direction: column; gap: 7px; }
  .my-history-list p { text-align: left; }
  .my-account-panel { align-items: stretch; flex-direction: column; }
  .my-account-actions { justify-content: flex-start; }
}

@media (max-width: 440px) {
  .my-summary-grid, .my-cert-grid { grid-template-columns: 1fr 1fr; }
  .my-panel { padding: 20px; }
  .my-account-actions .button { width: 100%; }
  .my-account-actions form:not(:last-child) { width: 100%; }
  .cbt-result-metrics { grid-template-columns: 1fr; }
  .cbt-analysis-section { padding-inline: 20px; }
  .cbt-result > .cbt-analysis-section { padding-inline: 0; }
}
.primary-nav .header-search { position: relative; margin: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.header-search > summary { min-height: 38px; display: inline-flex; align-items: center; color: var(--ink); cursor: pointer; font-size: .92rem; font-weight: 700; list-style: none; }
.header-search > summary::-webkit-details-marker { display: none; }
.header-search > summary::after { content: "⌄"; margin-left: 5px; color: var(--blue); font-size: .8rem; }
.header-search[open] > summary::after { transform: rotate(180deg); }
.header-search-panel { position: absolute; top: calc(100% + 14px); right: 0; z-index: 30; width: min(380px, calc(100vw - 28px)); padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(18, 50, 72, .18); }
.header-search-panel .search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.header-search-panel .search-field, .header-search-panel .search-submit { min-height: 46px; }

.certification-quick-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 18px 0 24px; }
.certification-quick-nav a { display: grid; min-height: 72px; align-content: center; gap: 3px; padding: 12px 14px; border: 1px solid #c9d6e1; border-radius: 11px; background: #fff; color: var(--ink); text-decoration: none; }
.certification-quick-nav a:hover { border-color: var(--blue); background: #f7fbfe; }
.certification-quick-nav span { color: var(--navy); font-size: .91rem; font-weight: 900; }
.certification-quick-nav strong { color: var(--muted); font-size: .74rem; }
.certification-quick-nav .is-pending { border-style: dashed; background: #f7f8fa; }

.cbt-layout { grid-template-columns: minmax(0, 1fr) 250px; }
.cbt-stage { grid-column: 1; grid-row: 1; }
.cbt-sidebar { grid-column: 2; grid-row: 1; }
.cbt-round-memory { padding: 0; overflow: hidden; }
.cbt-round-memory-heading { min-height: 48px; margin: 0; padding: 0 14px; cursor: pointer; list-style: none; }
.cbt-round-memory-heading::-webkit-details-marker { display: none; }
.cbt-round-memory-heading::after { content: "+"; color: var(--blue); font-size: 1.1rem; font-weight: 900; }
.cbt-round-memory[open] .cbt-round-memory-heading::after { content: "−"; }
.cbt-round-memory ol { padding: 0 14px 14px; }
.cbt-resume-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 18px; padding: 18px 20px; border: 0; border-radius: 16px; background: #edf3f8; }
.cbt-resume-card .eyebrow { margin: 0 0 3px; color: var(--orange); }
.cbt-resume-card h2 { margin: 0; color: var(--navy); font-size: 1.08rem; }
.cbt-resume-card p:last-child { margin: 5px 0 0; color: var(--muted); font-size: .8rem; }

.exam-quickbar { position: sticky; top: 78px; z-index: 7; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .96); box-shadow: 0 8px 24px rgba(18, 50, 72, .08); backdrop-filter: blur(10px); }
.exam-quickbar a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 13px; border-radius: 8px; background: #edf4f9; color: var(--blue); font-size: .84rem; font-weight: 900; text-decoration: none; }
.exam-toc-select { min-width: min(360px, 100%); flex: 1; }
.exam-toc-select select { width: 100%; min-height: 44px; padding: 0 38px 0 12px; border: 1px solid #b9c8d5; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: .84rem; font-weight: 800; }
.exam-content h2[id], .exam-content h3[id] { scroll-margin-top: 148px; }
.exam-content details > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }

.solution-index-filter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .45fr) auto; gap: 10px; align-items: end; margin: 0 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fb; }
.solution-index-filter label { display: grid; gap: 5px; color: var(--navy); font-size: .75rem; font-weight: 900; }
.solution-index-filter input, .solution-index-filter select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #afbecb; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.solution-index-filter p { min-width: 74px; margin: 0 0 12px; color: var(--blue); font-size: .8rem; font-weight: 900; text-align: right; }
.solution-index-list [hidden] { display: none; }
.solution-quick-nav { position: sticky; top: 78px; z-index: 6; display: flex; gap: 7px; margin: 14px 0 18px; padding: 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .96); scrollbar-width: thin; }
.solution-quick-nav a { display: inline-flex; min-height: 42px; flex: 0 0 auto; align-items: center; padding: 0 12px; border-radius: 8px; background: #edf4f9; color: var(--blue); font-size: .8rem; font-weight: 900; text-decoration: none; }
.solution-block h2[id] { scroll-margin-top: 146px; }
.search-resource-card .blog-post-body { padding: 0; }

@media (max-width: 900px) {
  .cbt-layout { grid-template-columns: 1fr; }
  .cbt-stage { grid-column: 1; grid-row: 1; }
  .cbt-sidebar { grid-column: 1; grid-row: 2; }
  .certification-quick-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header-inner { min-height: 64px; padding-block: 6px; flex-direction: row; align-items: center; gap: 8px; }
  .brand { align-self: auto; flex: 0 0 auto; }
  .brand--image img.custom-logo { height: 32px; max-width: 96px; }
  .primary-nav { flex: 1 1 auto; min-width: 0; max-width: 100%; flex-wrap: wrap; align-content: center; justify-content: flex-end; gap: 2px 4px; margin-left: auto; overflow: visible; }
  .primary-nav a, .header-search > summary { min-height: 34px; padding-inline: 3px; font-size: .72rem; }
  .primary-nav-cta { padding-inline: 9px !important; }
  .header-search-panel { position: fixed; top: 68px; right: 14px; left: 14px; width: auto; }
  .certification-quick-nav { grid-auto-flow: column; grid-auto-columns: minmax(150px, 64vw); grid-template-columns: none; margin-inline: -18px; padding: 0 18px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .certification-quick-nav a { min-height: 66px; scroll-snap-align: start; }
  .cbt-stage { min-height: 0; padding: 18px; }
  .cbt-round-memory-heading { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; }
  .cbt-round-memory-heading strong { grid-column: 1; }
  .cbt-round-memory-heading::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .cbt-controls { position: sticky; bottom: 0; z-index: 5; gap: 6px; margin-inline: -10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 22px rgba(18, 50, 72, .08); }
  .cbt-controls .button { min-height: 44px; padding-inline: 10px; }
  .cbt-resume-card { align-items: stretch; flex-direction: column; }
  .cbt-resume-card .button { justify-content: center; }
  .exam-quickbar, .solution-quick-nav { top: 68px; }
  .exam-quickbar a { flex: 1 1 auto; justify-content: center; }
  .exam-toc-select { order: -1; flex-basis: 100%; }
  .exam-cover { margin-bottom: 20px; border-radius: 14px; }
  .exam-content { padding: 20px 17px; }
  .solution-index-filter { grid-template-columns: 1fr; }
  .solution-index-filter p { margin: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Home v2 */
.home-v2 { background: #fff; }
.home-v2 .eyebrow { margin: 0 0 8px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.home-v2-hero { padding: 72px 0 58px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #f8fbfd 0%, #fff 52%, #edf5fa 100%); }
.home-v2-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); gap: 64px; align-items: center; }
.home-v2-hero-copy h1 { max-width: 780px; margin: 0; color: var(--navy); font-size: clamp(2.65rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -.065em; }
.home-v2-hero-copy > p:not(.eyebrow) { max-width: 720px; margin: 22px 0 0; color: #435266; font-size: 1.04rem; }
.home-v2-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.home-v2 .button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 10px; text-decoration: none; }
.home-v2-primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.home-v2-primary:hover { background: #0b2d4e; color: #fff; }
.home-v2-proof { display: flex; gap: 28px; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid #d8e2ea; list-style: none; }
.home-v2-proof li { display: grid; gap: 1px; }
.home-v2-proof strong { color: var(--navy); font-size: 1.5rem; line-height: 1.2; }
.home-v2-proof span { color: var(--muted); font-size: .8rem; }
.home-v2-start-card { padding: 30px; border: 1px solid #c9d7e4; border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 20px 55px rgba(18,58,99,.11); }
.home-v2-card-label, .home-v2-status { display: inline-flex; padding: 4px 9px; border-radius: 99px; background: #eaf3fb; color: var(--blue); font-size: .72rem; font-weight: 900; }
.home-v2-start-card > strong { display: block; margin-top: 16px; color: var(--navy); font-size: 1.2rem; }
.home-v2-start-card h2 { margin: 9px 0 6px; font-size: 1.12rem; line-height: 1.45; }
.home-v2-start-card > p { margin: 0 0 18px; color: var(--muted); font-size: .86rem; }
.home-v2-start-card ol { display: grid; gap: 11px; margin: 18px 0 24px; padding: 0; list-style: none; }
.home-v2-start-card li { display: flex; align-items: center; gap: 10px; color: #344251; font-weight: 800; }
.home-v2-start-card li span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: .76rem; }
.home-v2-start-card .button { width: 100%; background: var(--blue); color: #fff; }
.home-v2-section { padding: 64px 0; scroll-margin-top: 84px; }
.home-v2-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.home-v2-section-heading h2, .home-v2-cbt-copy h2 { margin: 0; color: var(--navy); font-size: clamp(1.85rem, 4vw, 2.65rem); line-height: 1.22; letter-spacing: -.045em; }
.home-v2-section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: .88rem; text-align: right; }
.home-v2-cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-v2-cert-card { display: flex; min-height: 250px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; }
.home-v2-cert-card.is-active { border-color: #a9c5dc; box-shadow: 0 14px 36px rgba(18,58,99,.08); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.home-v2-cert-card.is-active:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 18px 42px rgba(18,58,99,.13); }
.home-v2-cert-card.is-pending { border-style: dashed; background: #f6f8fa; }
.home-v2-cert-card.is-pending .home-v2-status { background: #e9edf1; color: #6f7a86; }
.home-v2-cert-card h3 { margin: 17px 0 7px; color: var(--navy); font-size: 1.35rem; letter-spacing: -.03em; }
.home-v2-cert-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.home-v2-cert-card > div { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; padding-top: 24px; color: #435266; font-size: .8rem; }
.home-v2-cert-card .home-v2-card-link { margin-top: 14px; }
.home-v2-card-link { color: var(--blue); font-weight: 900; text-decoration: none; }
.home-v2-cbt { padding: 64px 0; background: #0f3559; color: #fff; }
.home-v2-cbt-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.home-v2-cbt-copy .eyebrow { color: #f2a166; }
.home-v2-cbt-copy h2 { color: #fff; }
.home-v2-cbt-copy > p:not(.eyebrow) { margin: 16px 0 25px; color: #c7d8e7; }
.home-v2-cbt-copy .home-v2-primary { border-color: #fff; background: #fff; color: var(--navy); }
.home-v2-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-v2-mode-grid article { min-height: 210px; padding: 25px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.07); }
.home-v2-mode-grid span { color: #f2a166; font-size: .78rem; font-weight: 900; }
.home-v2-mode-grid h3 { margin: 13px 0 8px; color: #fff; font-size: 1.2rem; }
.home-v2-mode-grid p { margin: 0; color: #c7d8e7; font-size: .88rem; }
.home-v2-materials { background: var(--wash); }
.home-v2-material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-v2-material-grid article { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.home-v2-material-icon { display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 15px; background: #eaf3fb; color: var(--blue); font-weight: 900; }
.home-v2-material-icon.is-practical { background: #eef7f3; color: var(--green); }
.home-v2-material-grid h3 { margin: 0 0 7px; color: var(--navy); font-size: 1.3rem; }
.home-v2-material-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.home-v2-material-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.home-v2-material-actions a { font-size: .84rem; font-weight: 900; text-decoration: none; }
.home-v2-latest { border-top: 1px solid var(--line); }
.home-v2-latest-heading { align-items: center; }
.home-v2-search { display: grid; grid-template-columns: minmax(210px, 1fr) auto; width: min(100%, 410px); }
.home-v2-search input { min-height: 46px; padding: 9px 13px; border: 1px solid #b6c3cf; border-right: 0; border-radius: 9px 0 0 9px; background: #fff; font: inherit; }
.home-v2-search button { min-height: 46px; padding: 0 18px; border: 1px solid var(--navy); border-radius: 0 9px 9px 0; background: var(--navy); color: #fff; cursor: pointer; font: inherit; font-weight: 900; }
.home-v2-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.home-v2-filter button { min-height: 36px; padding: 0 15px; border: 1px solid #c6d0da; border-radius: 99px; background: #fff; color: #435266; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 900; }
.home-v2-filter button.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.home-v2-filter > span { margin-left: auto; color: var(--muted); font-size: .8rem; }
.home-v2-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-v2-resource-card { display: flex; min-height: 310px; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.home-v2-resource-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.home-v2-resource-meta span { padding: 3px 8px; border-radius: 99px; background: #eef3f7; color: var(--green); font-size: .7rem; font-weight: 900; }
.home-v2-resource-card h3 { margin: 14px 0 9px; font-size: 1.15rem; line-height: 1.46; letter-spacing: -.025em; }
.home-v2-resource-card h3 a { color: var(--ink); text-decoration: none; }
.home-v2-resource-card > p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.62; }
.home-v2-resource-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.home-v2-resource-tools span { color: #657181; font-size: .72rem; font-weight: 800; }
.home-v2-resource-tools span + span::before { content: "·"; margin-right: 6px; color: #a2acb7; }
.home-v2-resource-actions { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 12px; }
.home-v2-resource-actions a { font-size: .8rem; font-weight: 900; text-decoration: none; }
.home-v2-resource-actions a:not(.home-v2-card-link) { color: var(--muted); }
.home-v2-empty-filter { padding: 26px; border: 1px dashed #b7c2ce; border-radius: 12px; color: var(--muted); text-align: center; }
.home-v2-all-link { margin-top: 26px; text-align: center; }
.home-v2-principles { padding: 32px 0; border-top: 1px solid var(--line); background: #f5f7f9; }
.home-v2-principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 22px; align-items: center; }
.home-v2-principles-grid div { display: grid; gap: 2px; }
.home-v2-principles-grid strong { color: var(--navy); font-size: .88rem; }
.home-v2-principles-grid span { color: var(--muted); font-size: .76rem; }
.home-v2-principles-grid a { color: var(--navy); font-size: .8rem; font-weight: 900; text-decoration: none; white-space: nowrap; }

@media (max-width: 980px) {
  .home-v2-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 36px; }
  .home-v2-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2-principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-v2-principles-grid a { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .home-v2-hero { padding: 44px 0 38px; }
  .home-v2-hero-grid, .home-v2-cbt-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-v2-hero-copy h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .home-v2-proof { gap: 18px; }
  .home-v2-section { padding: 48px 0; }
  .home-v2-section-heading { display: block; }
  .home-v2-section-heading > p { margin-top: 8px; text-align: left; }
  .home-v2-material-grid, .home-v2-mode-grid { grid-template-columns: 1fr; }
  .home-v2-mode-grid article { min-height: 0; }
  .home-v2-latest-heading { display: grid; gap: 20px; }
  .home-v2-search { width: 100%; }
  .home-v2-resource-grid { grid-template-columns: 1fr; }
  .home-v2-resource-card { min-height: 0; }
  .home-v2-principles-grid { grid-template-columns: 1fr; }
}

/* Keep compact-home board titles from widening the mobile grid track. */
.home-simple-board-list > li { min-width: 0; max-width: 100%; }

@media (max-width: 500px) {
  .home-v2-hero-copy h1 br { display: none; }
  .home-v2-actions .button { width: 100%; }
  .home-v2-proof { justify-content: space-between; gap: 10px; }
  .home-v2-cert-grid { grid-template-columns: 1fr; }
  .home-v2-cert-card { min-height: 220px; }
  .home-v2-material-grid article { grid-template-columns: 1fr; }
  .home-v2-filter > span { width: 100%; margin-left: 0; }
}

/* Certification hubs v0.9 */
.home-learning-paths { background: #fff; }
.home-learning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-learning-grid article { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #fff, #f7fafc); }
.home-learning-grid article > span { color: var(--orange); font-size: .8rem; font-weight: 900; letter-spacing: .08em; }
.home-learning-grid h3 { margin: 28px 0 9px; color: var(--navy); font-size: 1.45rem; letter-spacing: -.035em; }
.home-learning-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.home-certification-status { border-top: 1px solid var(--line); background: var(--wash); }
.home-cert-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: auto 0 0; padding-top: 22px; }
.home-cert-stats div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 9px; background: #f1f5f8; }
.home-v2-cert-card.is-pending .home-cert-stats div { background: #eceff2; }
.home-cert-stats dt { color: var(--muted); font-size: .72rem; }
.home-cert-stats dd { margin: 0; color: var(--navy); font-size: .76rem; font-weight: 900; }
.home-v2-cert-card > .home-v2-card-link { margin-top: 15px; }

.certification-hub, .certification-gateway { padding-bottom: 72px; }
.certification-hero { margin-bottom: 28px; padding: 38px; border: 1px solid #cbd8e3; border-radius: 20px; background: linear-gradient(135deg, #f7fbfe 0%, #fff 58%, #eef5fa 100%); box-shadow: 0 18px 48px rgba(18,58,99,.07); }
.certification-hero > .eyebrow { margin: 0 0 8px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.certification-hero h1 { margin: 0; color: var(--navy); font-size: clamp(2.15rem, 5vw, 3.5rem); line-height: 1.14; letter-spacing: -.05em; }
.certification-hero > p:not(.eyebrow), .certification-hero-main > div > p { max-width: 760px; margin: 14px 0 0; color: #526173; }
.certification-hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: 38px; align-items: end; }
.certification-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.certification-summary div { padding: 13px 14px; border: 1px solid #d7e1e9; border-radius: 11px; background: rgba(255,255,255,.9); }
.certification-summary dt { color: var(--muted); font-size: .72rem; font-weight: 800; }
.certification-summary dd { margin: 3px 0 0; color: var(--navy); font-size: 1.05rem; font-weight: 900; }

.certification-paths { margin-bottom: 34px; scroll-margin-top: 94px; }
.section-kicker { margin-bottom: 17px; }
.section-kicker span { color: var(--orange); font-size: .74rem; font-weight: 900; letter-spacing: .08em; }
.section-kicker h2 { margin: 4px 0 0; color: var(--navy); font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -.035em; }
.certification-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.certification-path-grid > a { display: flex; min-height: 220px; flex-direction: column; padding: 25px; border: 1px solid #cbd8e3; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 10px 28px rgba(18,58,99,.06); transition: transform .16s ease, border-color .16s ease; }
.certification-path-grid > a:hover { transform: translateY(-3px); border-color: var(--blue); }
.certification-path-grid > a.is-pending { border-style: dashed; background: #f7f8fa; }
.certification-path-grid span { color: var(--orange); font-size: .78rem; font-weight: 900; }
.certification-path-grid h3 { margin: 27px 0 8px; color: var(--navy); font-size: 1.35rem; }
.certification-path-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.certification-path-grid strong { margin-top: auto; padding-top: 22px; color: var(--blue); font-size: .86rem; }

.certification-layout { align-items: start; }
.certification-main { min-width: 0; }
.certification-section { margin-bottom: 30px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; scroll-margin-top: 94px; }
.certification-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.certification-section-heading .eyebrow { margin: 0 0 5px; color: var(--orange); font-size: .73rem; font-weight: 900; letter-spacing: .06em; }
.certification-section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.15rem); letter-spacing: -.04em; }
.certification-section-heading > p { max-width: 360px; margin: 0; color: var(--muted); font-size: .83rem; text-align: right; }
.cert-stage-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cert-stage-tabs a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 16px; border: 1px solid #c9d4de; border-radius: 999px; background: #fff; color: #435266; font-size: .84rem; font-weight: 900; text-decoration: none; }
.cert-stage-tabs a.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.cert-filter-form { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)) auto auto; gap: 10px; align-items: end; margin-bottom: 22px; padding: 16px; border-radius: 13px; background: #f3f6f8; }
.cert-filter-form label { display: grid; gap: 5px; color: #4d5b69; font-size: .72rem; font-weight: 900; }
.cert-filter-form select { min-height: 44px; padding: 8px 34px 8px 11px; border: 1px solid #b9c6d1; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.cert-filter-form button, .cert-filter-form > a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--navy); border-radius: 9px; background: var(--navy); color: #fff; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 900; text-decoration: none; }
.cert-filter-form > a { border-color: #bcc8d2; background: #fff; color: #4d5b69; }
.cert-year-groups { display: grid; gap: 12px; }
.cert-year-group { overflow: hidden; border: 1px solid #d7e0e8; border-radius: 13px; background: #fff; }
.cert-year-group summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; background: #f7f9fb; color: var(--navy); cursor: pointer; list-style: none; }
.cert-year-group summary::-webkit-details-marker { display: none; }
.cert-year-group summary strong { font-size: 1.08rem; }
.cert-year-group summary span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.cert-year-group summary::after { content: "+"; color: var(--blue); font-size: 1.35rem; font-weight: 600; }
.cert-year-group[open] summary::after { content: "−"; }
.cert-year-group-tools { padding: 10px 18px 0; text-align: right; }
.cert-year-group-tools a { color: var(--blue); font-size: .82rem; font-weight: 800; }
.cert-older-years { margin-top: 18px; padding: 16px; border: 1px solid #d7e0e8; border-radius: 13px; background: #f7f9fb; }
.cert-older-years > strong { display: block; margin-bottom: 10px; color: var(--navy); font-size: .88rem; }
.cert-older-years > div { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-older-years a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid #d2dce5; border-radius: 999px; background: #fff; color: var(--navy); font-size: .82rem; font-weight: 850; }
.cert-older-years a:hover { border-color: var(--blue); color: var(--blue); }
.cert-older-years small { color: var(--muted); font-size: .72rem; }
.cert-exam-list { display: grid; }
.cert-exam-row { display: grid; grid-template-columns: 105px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 17px 18px; border-top: 1px solid #e1e7ec; }
.cert-exam-identity { display: flex; flex-wrap: wrap; gap: 5px; }
.cert-round, .cert-stage { display: inline-flex; min-height: 27px; align-items: center; padding: 0 8px; border-radius: 999px; font-size: .7rem; font-weight: 900; }
.cert-round { background: #eaf2f8; color: var(--blue); }
.cert-stage { background: #eef5f1; color: var(--green); }
.cert-stage.is-written { background: #fff1e7; color: #a84f12; }
.cert-exam-copy h3 { margin: 0; font-size: .96rem; line-height: 1.5; }
.cert-exam-copy h3 a { color: var(--ink); text-decoration: none; }
.cert-exam-copy p { margin: 3px 0 0; color: var(--muted); font-size: .73rem; }
.cert-exam-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.cert-exam-actions a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 10px; border: 1px solid #c8d3dc; border-radius: 8px; background: #fff; color: var(--blue); font-size: .73rem; font-weight: 900; text-decoration: none; }
.cert-exam-actions a:first-child { border-color: var(--navy); background: var(--navy); color: #fff; }
.cert-empty-state { padding: 30px; border: 1px dashed #b9c5cf; border-radius: 13px; background: #f8fafb; text-align: center; }
.cert-empty-state strong { color: var(--navy); font-size: 1.08rem; }
.cert-empty-state p { margin: 8px auto 0; color: var(--muted); font-size: .86rem; }
.cert-empty-state .button { margin-top: 18px; }

.cert-resource-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cert-resource-overview > a, .cert-resource-overview > article { display: flex; min-height: 210px; flex-direction: column; padding: 24px; border: 1px solid #cfd9e2; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; }
.cert-resource-overview > article.is-pending { border-style: dashed; background: #f7f8fa; }
.cert-resource-overview span, .cert-frequency-grid > article > span { color: var(--orange); font-size: .72rem; font-weight: 900; }
.cert-resource-overview h3 { margin: 20px 0 7px; color: var(--navy); font-size: 1.25rem; }
.cert-resource-overview p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.cert-resource-overview strong { margin-top: auto; padding-top: 18px; color: var(--blue); font-size: .82rem; }
.cert-solution-directory { margin-top: 18px; padding: 22px; border: 1px solid #d8e2ea; border-radius: 15px; background: #f7fafc; }
.cert-solution-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 16px; }
.cert-solution-directory-heading .eyebrow { margin: 0 0 5px; color: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .05em; }
.cert-solution-directory-heading h3 { margin: 0; color: var(--navy); font-size: 1.08rem; }
.cert-solution-directory-heading > a { color: var(--blue); font-size: .78rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.cert-solution-directory ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.cert-solution-directory li { margin: 0; }
.cert-solution-directory li a { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 52px; padding: 8px 11px; border: 1px solid #dfe7ed; border-radius: 10px; color: var(--navy); text-decoration: none; background: #fff; }
.cert-solution-directory li a:hover, .cert-solution-directory li a:focus { border-color: #8bb5d1; box-shadow: 0 5px 16px rgba(18, 58, 99, .08); }
.cert-solution-directory li span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); font-size: .7rem; font-weight: 900; }
.cert-solution-directory li strong { min-width: 0; font-size: .78rem; line-height: 1.45; }
.cert-frequency-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.cert-frequency-grid article { display: flex; min-height: 220px; flex-direction: column; padding: 23px; border: 1px solid #d4dde5; border-radius: 14px; background: #fff; }
.cert-frequency-grid h3 { margin: 15px 0 8px; font-size: 1.05rem; line-height: 1.5; }
.cert-frequency-grid h3 a { color: var(--navy); text-decoration: none; }
.cert-frequency-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.cert-resource-link { margin-top: auto; padding-top: 18px; color: var(--blue); font-size: .8rem; font-weight: 900; text-decoration: none; }

.cert-sidebar-current .sidebar-eyebrow { margin: 0 0 3px; color: var(--orange); font-size: .68rem; font-weight: 900; letter-spacing: .07em; }
.cert-sidebar-current h2 { font-size: 1.25rem; }
.certification-switcher a.is-current { background: #eaf2f8; color: var(--navy); }
.cert-sidebar .search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.cert-sidebar .search-form input[type="search"] { min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid #b9c6d1; border-radius: 8px 0 0 8px; }
.cert-sidebar .search-form button { min-height: 42px; padding: 0 12px; border: 0; border-radius: 0 8px 8px 0; background: var(--navy); color: #fff; font-weight: 900; }

.certification-gateway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.certification-gateway-grid > a { display: flex; min-height: 230px; flex-direction: column; padding: 28px; border: 1px solid #cbd8e3; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; }
.certification-gateway-grid > a.is-pending { border-style: dashed; background: #f7f8fa; }
.certification-gateway-grid span { color: var(--orange); font-size: .72rem; font-weight: 900; }
.certification-gateway-grid h2 { margin: 24px 0 8px; color: var(--navy); font-size: 1.45rem; }
.certification-gateway-grid p { margin: 0; color: var(--muted); font-size: .85rem; }
.certification-gateway-grid strong { margin-top: auto; padding-top: 22px; color: var(--blue); font-size: .85rem; }
.exam-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; color: var(--muted); font-size: .78rem; }
.exam-breadcrumb a { color: var(--blue); font-weight: 800; text-decoration: none; }
.exam-content { scroll-margin-top: 94px; }
.exam-return { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

@media (max-width: 1100px) {
  .cert-exam-row { grid-template-columns: 100px minmax(0, 1fr); }
  .cert-exam-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 900px) {
  .home-learning-grid, .certification-path-grid { grid-template-columns: 1fr; }
  .home-learning-grid article, .certification-path-grid > a { min-height: 0; }
  .certification-hero-main { grid-template-columns: 1fr; }
  .certification-layout { grid-template-columns: 1fr; }
  .certification-layout .blog-sidebar { order: 2; }
}

@media (max-width: 680px) {
  .home-learning-grid { gap: 10px; }
  .home-learning-grid article { padding: 22px; }
  .home-learning-grid h3 { margin-top: 18px; }
  .home-cert-stats { grid-template-columns: 1fr; }
  .certification-hub, .certification-gateway { padding-bottom: 48px; }
  .certification-hero { padding: 24px; border-radius: 15px; }
  .certification-hero-main { gap: 24px; }
  .certification-summary { gap: 7px; }
  .certification-path-grid { gap: 9px; }
  .certification-path-grid > a { min-height: 0; padding: 21px; }
  .certification-path-grid h3 { margin-top: 18px; }
  .certification-section { padding: 21px; }
  .certification-section-heading { display: block; }
  .certification-section-heading > p { margin-top: 7px; text-align: left; }
  .cert-solution-directory-heading { display: block; }
  .cert-solution-directory-heading > a { display: inline-block; margin-top: 9px; }
  .cert-solution-directory ol { grid-template-columns: 1fr; }
  .cert-filter-form { grid-template-columns: 1fr; }
  .cert-filter-form button, .cert-filter-form > a { width: 100%; }
  .cert-year-group summary { min-height: 56px; padding: 0 14px; }
  .cert-exam-row { grid-template-columns: 1fr; gap: 10px; padding: 15px 14px; }
  .cert-exam-actions { grid-column: auto; }
  .cert-exam-actions a { min-height: 44px; flex: 1 1 calc(50% - 6px); justify-content: center; }
  .cert-resource-overview, .cert-frequency-grid, .certification-gateway-grid { grid-template-columns: 1fr; }
  .cert-resource-overview > a, .cert-resource-overview > article, .cert-frequency-grid article, .certification-gateway-grid > a { min-height: 0; }
}

@media (max-width: 360px) {
  .primary-nav { gap: 2px 4px; }
  .primary-nav a { padding-inline: 6px; font-size: .77rem; }
  .home-v2-hero-copy h1 { font-size: 2.2rem; }
  .home-v2-proof strong { font-size: 1.2rem; }
  .certification-hero, .certification-section { padding: 18px; }
  .cert-solution-directory { padding: 15px; }
  .certification-summary { grid-template-columns: 1fr; }
  .cert-exam-actions a { flex-basis: 100%; }
}

/* Simple certification-first homepage */
.home-simple { background: #fff; }
.home-simple-eyebrow { margin: 0 0 9px; color: var(--orange); font-size: .76rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.home-simple-hero { padding: 64px 0 52px; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #f7fbfe 0%, #fff 62%, #edf5fa 100%); text-align: center; }
.home-simple-hero-inner { max-width: 820px; }
.home-simple-hero h1 { margin: 0; color: var(--navy); font-size: clamp(2.65rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.065em; }
.home-simple-lead { max-width: 650px; margin: 20px auto 0; color: #435266; font-size: 1rem; }
.home-simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.home-simple .button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 10px; text-decoration: none; }
.home-simple-primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.home-simple-primary:hover { background: #0b2d4e; color: #fff; }
.home-simple-secondary { border-color: #9eb3c6; background: #fff; color: var(--navy); }
.home-simple-secondary:hover { border-color: var(--navy); background: #f6f9fb; color: var(--navy); }
.home-simple-certifications { padding: 56px 0 64px; scroll-margin-top: 84px; }
.home-simple-heading { margin-bottom: 24px; text-align: center; }
.home-simple-heading h2, .home-simple-cbt h2 { margin: 0; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; letter-spacing: -.045em; }
.home-simple-cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-simple-cert-card { display: flex; min-height: 190px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; }
.home-simple-cert-card.is-active { border-color: #a9c5dc; box-shadow: 0 12px 28px rgba(18,58,99,.08); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.home-simple-cert-card.is-active:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 17px 34px rgba(18,58,99,.13); }
.home-simple-cert-card.is-pending { border-style: dashed; background: #f6f8fa; }
.home-simple-status { align-self: flex-start; padding: 4px 9px; border-radius: 99px; background: #eaf3fb; color: var(--blue); font-size: .7rem; font-weight: 900; }
.home-simple-cert-card.is-pending .home-simple-status { background: #e9edf1; color: #6f7a86; }
.home-simple-cert-card h3 { margin: 18px 0 7px; color: var(--navy); font-size: 1.38rem; letter-spacing: -.03em; }
.home-simple-cert-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.home-simple-card-link { margin-top: auto; padding-top: 22px; color: var(--blue); font-size: .84rem; font-weight: 900; }
.home-simple-cert-card.is-pending .home-simple-card-link { color: #687581; }
.home-simple-questions { padding: 50px 0 56px; border-top: 1px solid var(--line); background: #f5f8fb; scroll-margin-top: 84px; }
.home-simple-question-copy { margin-bottom: 25px; text-align: center; }
.home-simple-question-copy h2 { margin: 0; color: var(--navy); font-size: clamp(1.7rem, 3.6vw, 2.35rem); line-height: 1.2; letter-spacing: -.045em; }
.home-simple-question-copy > p:last-child { max-width: 620px; margin: 12px auto 0; color: var(--muted); font-size: .92rem; }
.home-simple-board-switcher { position: relative; }
.home-simple-board-radio { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.home-simple-board-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.home-simple-board-tabs label { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #bfd0df; border-radius: 10px; background: #fff; color: var(--navy); font-size: .88rem; font-weight: 900; text-align: center; cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.home-simple-board-tabs label:hover { border-color: var(--blue); background: #edf5fb; }
#home-board-architecture:checked ~ .home-simple-board-tabs label[for="home-board-architecture"],
#home-board-civil:checked ~ .home-simple-board-tabs label[for="home-board-civil"],
#home-board-electrical:checked ~ .home-simple-board-tabs label[for="home-board-electrical"],
#home-board-information-processing:checked ~ .home-simple-board-tabs label[for="home-board-information-processing"],
#home-board-industrial-safety:checked ~ .home-simple-board-tabs label[for="home-board-industrial-safety"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.home-simple-board-radio:focus-visible ~ .home-simple-board-tabs label { outline: 2px solid transparent; }
#home-board-architecture:focus-visible ~ .home-simple-board-tabs label[for="home-board-architecture"],
#home-board-civil:focus-visible ~ .home-simple-board-tabs label[for="home-board-civil"],
#home-board-electrical:focus-visible ~ .home-simple-board-tabs label[for="home-board-electrical"],
#home-board-information-processing:focus-visible ~ .home-simple-board-tabs label[for="home-board-information-processing"],
#home-board-industrial-safety:focus-visible ~ .home-simple-board-tabs label[for="home-board-industrial-safety"] { outline-color: var(--orange); outline-offset: 2px; }
.home-simple-question-grid { display: block; }
.home-simple-question-card { display: none; min-height: 270px; padding: 21px 22px; border: 1px solid #bfd0df; border-radius: 13px; background: #fff; color: var(--navy); }
#home-board-architecture:checked ~ .home-simple-question-grid [data-home-board="architecture"],
#home-board-civil:checked ~ .home-simple-question-grid [data-home-board="civil"],
#home-board-electrical:checked ~ .home-simple-question-grid [data-home-board="electrical"],
#home-board-information-processing:checked ~ .home-simple-question-grid [data-home-board="information-processing"],
#home-board-industrial-safety:checked ~ .home-simple-question-grid [data-home-board="industrial-safety"] { display: block; }
.home-simple-board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.home-simple-board-head h3 { margin: 0; color: var(--navy); font-size: 1.15rem; letter-spacing: -.025em; }
.home-simple-board-head a { flex: 0 0 auto; color: var(--blue); font-size: .78rem; font-weight: 900; text-decoration: none; }
.home-simple-board-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.home-simple-board-list li { padding: 14px 0; border-bottom: 1px solid #e7edf2; }
.home-simple-board-list li:last-child { border-bottom: 0; }
.home-simple-board-list li > a { display: block; overflow: hidden; color: var(--ink); font-size: .92rem; font-weight: 850; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.home-simple-board-list li > a:hover { color: var(--blue); }
.home-simple-board-list p { margin: 5px 0 0; color: var(--muted); font-size: .72rem; }
.home-simple-board-empty { display: grid; min-height: 155px; place-content: center; gap: 12px; text-align: center; }
.home-simple-board-empty p { margin: 0; color: var(--muted); font-size: .88rem; }
.home-simple-board-empty a { color: var(--blue); font-size: .82rem; font-weight: 900; }
.home-simple-cbt { padding: 54px 0; background: #0f3559; color: #fff; }
.home-simple-cbt-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.home-simple-cbt .home-simple-eyebrow { color: #f2a166; }
.home-simple-cbt h2 { color: #fff; }
.home-simple-cbt p:not(.home-simple-eyebrow) { margin: 13px 0 0; color: #c7d8e7; }
.home-simple-cbt-button { flex: 0 0 auto; border-color: #fff; background: #fff; color: var(--navy); }
.home-simple-cbt-button:hover { border-color: #f2a166; background: #f8fbfd; color: var(--navy); }

@media (max-width: 980px) {
  .home-simple-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .home-simple-hero { padding: 46px 0 42px; }
  .home-simple-hero h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
  .home-simple-lead { margin-top: 16px; font-size: .94rem; }
  .home-simple-actions { display: grid; grid-template-columns: 1fr; width: 100%; margin-top: 24px; }
  .home-simple-certifications { padding: 44px 0 50px; }
  .home-simple-cert-grid { grid-template-columns: 1fr; }
  .home-simple-cert-card { min-height: 165px; }
  .home-simple-questions { padding: 42px 0 46px; }
  .home-simple-board-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-simple-board-tabs label { min-height: 46px; font-size: .82rem; }
  .home-simple-question-card { min-height: 220px; }
  .home-simple-cbt { padding: 44px 0; }
  .home-simple-cbt-inner { display: grid; gap: 24px; }
  .home-simple-cbt-button { width: 100%; }
}

/* Simple inner-page information architecture */
.certification-availability { margin: 16px 0 0; color: var(--muted); font-size: .88rem; font-weight: 800; }
.certification-path-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.certification-path-grid > a { min-height: 190px; }
.certification-layout-simple { margin-top: 28px; }
.certification-layout-simple .certification-main { width: 100%; }
.certification-pending { margin-top: 22px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 10px 30px rgba(18, 50, 72, .06); }
.certification-pending h2 { margin: 8px 0 10px; color: var(--navy); font-size: clamp(1.35rem, 3vw, 1.8rem); }
.certification-pending > p:not(.eyebrow) { max-width: 620px; margin: 0 auto; color: var(--muted); line-height: 1.75; }
.certification-pending-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.cert-solution-directory > summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 18px; color: var(--navy); cursor: pointer; font-weight: 900; list-style: none; }
.cert-solution-directory > summary::-webkit-details-marker { display: none; }
.cert-solution-directory > summary strong { color: var(--blue); font-size: .8rem; }
.cert-solution-directory[open] > summary { border-bottom: 1px solid var(--line); }
.cert-solution-directory[open] > summary strong { font-size: 0; }
.cert-solution-directory[open] > summary strong::after { content: "접기"; font-size: .8rem; }
.cert-solution-directory > .cert-solution-directory-heading { justify-content: flex-end; margin: 0; padding: 14px 18px 0; }

.solution-index-simple-hero { padding: 54px 0 36px; }
.solution-index-simple-hero .container { max-width: 920px; }
.solution-index-simple-hero h1 { max-width: 820px; }
.solution-index-simple-hero .button { margin-top: 20px; }
.solution-index-simple .solution-index-shell { max-width: 920px; }
.solution-index-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.solution-index-list li { margin: 0; }
.solution-index-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 62px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); text-decoration: none; }
.solution-index-list a:hover { border-color: var(--blue); background: #f8fbfd; }
.solution-index-list span { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: #eaf3fb; color: var(--blue); font-size: .78rem; font-weight: 900; }
.solution-index-list strong { min-width: 0; font-size: .94rem; line-height: 1.45; }
.solution-index-list em { color: var(--muted); font-size: .75rem; font-style: normal; white-space: nowrap; }
.practical-resource-index-simple .solution-index-shell { max-width: 1040px; }
.practical-resource-certifications { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.practical-resource-cert-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(18, 50, 72, .06); }
.practical-resource-cert-card h2 { margin: 6px 0 8px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.practical-resource-cert-card > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.practical-resource-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.practical-resource-disclosure { margin-top: 18px; }
.practical-resource-disclosure .solution-index-list { margin-top: 12px; }
.practical-resource-disclosure .solution-index-list a { grid-template-columns: 38px minmax(0, 1fr); }
.practical-resource-disclosure .solution-index-list em { display: none; }
.solution-series-grid-simple article { min-height: 180px; }
.solution-series-grid-simple .solution-card-meta { margin-bottom: 12px; }

.solution-simple-label { margin: 0 0 10px; color: #d96f2b; font-size: .78rem; font-weight: 900; }
.solution-more { margin: 16px 0; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.solution-more > summary, .content-detail > summary, .workbook-collapsible > summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 17px; color: var(--navy); cursor: pointer; font-weight: 900; list-style: none; }
.solution-more > summary::-webkit-details-marker, .content-detail > summary::-webkit-details-marker, .workbook-collapsible > summary::-webkit-details-marker { display: none; }
.solution-more > summary::after, .content-detail > summary::after, .workbook-collapsible > summary::after { content: "+"; color: var(--blue); font-size: 1.2rem; }
.solution-more[open] > summary::after, .content-detail[open] > summary::after, .workbook-collapsible[open] > summary::after { content: "−"; }
.solution-source-review .content-review-panel { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 13px 13px; box-shadow: none; }
.solution-intent { margin-top: 18px; border-top: 1px solid var(--line); }
.solution-intent summary { padding-top: 14px; color: var(--blue); cursor: pointer; font-weight: 900; }
.solution-reference-details { padding-bottom: 14px; }
.solution-reference-details > .solution-block { margin: 14px 14px 0; }
.content-detail { margin: 18px 0; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.content-review-detail .content-review-panel { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 13px 13px; box-shadow: none; }
.source-panel.content-detail { padding: 0; }
.source-panel.content-detail ul { margin: 0; padding: 0 22px 20px 40px; }

.workbook-collapsible { margin: 18px 0; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.workbook-collapsible > p { padding: 0 18px; }
.workbook-collapsible > p:last-child { padding-bottom: 18px; }
.workbook-jump.workbook-collapsible > div { padding: 0 16px 16px; }
.resource-list-simple { max-width: 940px; margin: 0 auto; }
.resource-list-simple .blog-post { min-height: 0; }
.resource-list-simple .blog-post-body { padding: 22px; }
.resource-list-simple .blog-post h2 { margin-top: 10px; }

.cbt-hub { max-width: 980px; }
.cbt-hub-header { margin-bottom: 18px; }
.cbt-hub-header h1 { font-size: clamp(2.15rem, 5vw, 3.25rem); }
.cbt-account-card { padding: 18px 20px; }
.cbt-account-card h2 { font-size: 1.12rem; }
.cbt-picker { padding: 24px; box-shadow: 0 10px 28px rgba(18,58,99,.07); }
.cbt-picker-step { margin-bottom: 22px; }

/* CBT start choice */
.cbt-identity-strip { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 14px; margin: -4px 0 18px; padding: 10px 14px; border: 1px solid #d7e1ea; border-radius: 10px; background: #f7fafc; color: #526174; font-size: .84rem; }
.cbt-identity-strip strong { color: var(--navy); }
.cbt-identity-strip .text-button { flex: 0 0 auto; font-size: .8rem; }
.cbt-modal-open { overflow: hidden; }
.cbt-start-modal[hidden], .cbt-start-dialog [hidden] { display: none !important; }
.cbt-start-modal { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 20px; }
.cbt-start-modal-backdrop { position: absolute; inset: 0; background: rgba(8,24,41,.66); backdrop-filter: blur(4px); }
.cbt-start-dialog { position: relative; width: min(100%, 520px); max-height: min(760px, calc(100vh - 40px)); overflow-y: auto; padding: 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(4,21,38,.32); }
.cbt-start-dialog:focus { outline: none; }
.cbt-start-dialog-close { position: absolute; top: 12px; right: 12px; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #eef3f7; color: var(--navy); cursor: pointer; font-size: 1.45rem; line-height: 1; }
.cbt-start-dialog .eyebrow { margin: 0 0 6px; color: var(--orange); }
.cbt-start-dialog h2 { margin: 0; padding-right: 30px; color: var(--navy); font-size: clamp(1.55rem, 5vw, 2rem); letter-spacing: -.035em; }
.cbt-start-dialog-lead { margin: 10px 0 20px; color: var(--muted); }
.cbt-start-google { padding: 18px; border: 1px solid #cbd8e4; border-radius: 12px; background: #f5f9fc; }
.cbt-start-google > strong { color: var(--navy); font-size: 1.05rem; }
.cbt-start-google ul { display: grid; gap: 4px; margin: 8px 0 14px; padding-left: 20px; color: #526174; font-size: .84rem; }
.cbt-start-google .cbt-google-consent { margin-top: 12px; }
.cbt-start-google .cbt-google-login { width: 100%; margin-top: 12px; }
.cbt-start-google .cbt-login-status { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.cbt-start-google .cbt-login-status.is-error, .cbt-guest-status.is-error { color: #a52828; }
.cbt-start-separator { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: #7c8996; font-size: .76rem; }
.cbt-start-separator::before, .cbt-start-separator::after { height: 1px; flex: 1; background: #dbe3ea; content: ""; }
.cbt-guest-choice { width: 100%; border-radius: 10px; }
.cbt-start-privacy { margin: 12px 0 0; color: #6d7884; font-size: .74rem; line-height: 1.55; }
.cbt-start-modal.is-login-only .cbt-start-separator, .cbt-start-modal.is-login-only .cbt-guest-choice, .cbt-start-modal.is-login-only .cbt-start-privacy { display: none; }
.cbt-start-back { margin-bottom: 18px; text-decoration: none; }
.cbt-saved-nickname { display: grid; gap: 7px; margin-top: 20px; padding: 18px; border: 1px solid #cbd8e4; border-radius: 12px; background: #f5f9fc; }
.cbt-saved-nickname span { color: var(--muted); font-size: .78rem; }
.cbt-saved-nickname strong { margin-bottom: 8px; color: var(--navy); font-size: 1.25rem; }
[data-cbt-nickname-change] { margin: 14px 0 0; }
[data-cbt-guest-form] { display: grid; gap: 9px; margin-top: 20px; }
[data-cbt-guest-form] label { color: var(--navy); font-weight: 900; }
[data-cbt-guest-form] input { width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid #aebdca; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
[data-cbt-guest-form] input:focus { outline: 3px solid rgba(23,105,170,.2); border-color: var(--blue); }
[data-cbt-guest-form] small { color: var(--muted); font-size: .76rem; }
.cbt-guest-status { min-height: 20px; margin: 0; color: var(--green); font-size: .8rem; }
[data-cbt-guest-form] .button { width: 100%; margin-top: 3px; border: 0; border-radius: 10px; }
[data-cbt-guest-form] .button:disabled { opacity: .58; cursor: wait; }

@media (max-width: 640px) {
  .cbt-identity-strip { align-items: flex-start; flex-direction: column; }
  .cbt-start-modal { align-items: end; padding: 0; }
  .cbt-start-dialog { width: 100%; max-height: min(86vh, 760px); padding: 25px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; }
  .cbt-start-google { padding: 16px; }
}

@media (max-width: 980px) {
  .certification-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .practical-resource-certifications { grid-template-columns: 1fr; }
  .practical-resource-cert-card { padding: 20px; }
  .certification-path-grid { grid-template-columns: 1fr; }
  .certification-path-grid > a { min-height: 0; }
  .certification-availability { line-height: 1.7; }
  .solution-index-list a { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .solution-index-list em { grid-column: 2; white-space: normal; }
  .solution-reference-details > .solution-block { margin-inline: 8px; }
}

/* CBT personal learning controls */
.cbt-layout { --j3-cbt-font-scale: 1; }
.cbt-question h2 { font-size: calc(1.35rem * var(--j3-cbt-font-scale)); }
.cbt-question .cbt-context,
.cbt-question .cbt-choices span { font-size: calc(1rem * var(--j3-cbt-font-scale)); }
.cbt-question.has-pending-answer .cbt-choices { border-radius: 12px; box-shadow: 0 0 0 3px rgba(224,106,34,.17); }
.cbt-question.has-pending-answer .cbt-choices::after { content: "선택됨 · 답 확정을 눌러 저장하세요"; display: block; padding: 9px 12px; color: #9a4b17; font-size: .82rem; font-weight: 850; }
.cbt-favorite.is-active { border-color: #c78618; background: #fff6dc; color: #7b5000; }
.cbt-accessibility-tools { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cbt-accessibility-tools > div { display: flex; align-items: center; gap: 6px; }
.cbt-accessibility-tools span { margin-right: auto; color: var(--muted); font-size: .78rem; font-weight: 850; }
.cbt-accessibility-tools button { min-width: 34px; min-height: 32px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--navy); cursor: pointer; font-weight: 900; }
.cbt-accessibility-tools button.is-active { border-color: var(--blue); background: #edf6fc; }
.cbt-accessibility-tools details { margin-top: 9px; color: var(--muted); font-size: .78rem; }
.cbt-accessibility-tools summary { cursor: pointer; font-weight: 850; }
.cbt-accessibility-tools p { margin: 7px 0 0; line-height: 1.55; }

.cbt-custom-builder { margin-top: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.cbt-custom-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 12px; margin-bottom: 18px; }
.cbt-custom-grid > label { display: grid; gap: 7px; }
.cbt-custom-grid > label > span,
.cbt-custom-grid legend,
.cbt-custom-source legend,
.cbt-custom-scope legend { color: var(--ink); font-size: .86rem; font-weight: 900; }
.cbt-custom-grid select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #aebdca; border-radius: 9px; background: #fff; font: inherit; }
.cbt-custom-grid fieldset,
.cbt-custom-source,
.cbt-custom-scope fieldset { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.cbt-custom-grid fieldset label,
.cbt-custom-source label,
.cbt-custom-scope label { display: inline-flex; align-items: center; gap: 5px; margin: 4px 12px 4px 0; color: var(--ink); font-size: .87rem; font-weight: 700; }
.cbt-custom-source { margin-bottom: 16px; }
.cbt-custom-source small { display: block; margin-top: 5px; color: var(--muted); }
.cbt-custom-scope { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; margin-bottom: 18px; }
.cbt-custom-scope[hidden] { display: none; }
.cbt-custom-scope legend small { color: var(--muted); font-weight: 600; }
.cbt-custom-scope fieldset > div { max-height: 170px; overflow: auto; }

.my-summary-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.my-weekly-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.my-weekly-grid article { padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #f9fbfc; }
.my-weekly-grid article > span { display: block; color: var(--muted); font-size: .78rem; font-weight: 850; }
.my-weekly-grid article > strong { display: block; margin: 4px 0 10px; color: var(--navy); font-size: 1.2rem; }
.my-goal-form { display: flex; align-items: end; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.my-goal-form label { display: grid; grid-template-columns: auto 90px auto; align-items: center; gap: 7px; color: var(--muted); font-size: .82rem; font-weight: 800; }
.my-goal-form input { min-height: 42px; padding: 7px 9px; border: 1px solid #aebdca; border-radius: 8px; font: inherit; }
.my-save-notice { padding: 9px 12px; border-radius: 9px; background: #eaf6f1; color: var(--green); font-weight: 800; }
.my-round-list li span small { display: block; margin-top: 4px; color: inherit; font-size: .58rem; font-weight: 750; }
.my-wrong-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.my-wrong-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; }
.my-wrong-list li div { min-width: 0; }
.my-wrong-list span,
.my-wrong-list small { display: block; color: var(--muted); font-size: .75rem; }
.my-wrong-list strong { display: block; margin: 4px 0; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.my-wrong-list b { flex: 0 0 auto; color: #a15219; font-size: .82rem; }

@media (max-width: 760px) {
  .cbt-custom-builder { padding: 20px; }
  .cbt-custom-grid,
  .cbt-custom-scope,
  .my-weekly-grid { grid-template-columns: 1fr; }
  .my-goal-form { align-items: stretch; flex-direction: column; }
  .my-goal-form label { grid-template-columns: 1fr 90px auto; }
  .my-goal-form .button { width: 100%; }
  .my-wrong-list li { align-items: flex-start; flex-direction: column; gap: 6px; }
}
