.compliance-page { --ok: #2f6b2a; --ok-soft: #e3f0d8; --ok-line: #bcd6a8; }
.compliance-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compliance-page h3:focus { outline: none; }
.status-ok { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; border: 1px solid var(--ok-line); border-radius: 999px; background: var(--ok-soft); color: #2c5a25; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.status-ok > span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 10px; }
.status-lg { padding: 8px 15px 8px 8px; font-size: 13px; }
.status-lg > span { width: 21px; height: 21px; font-size: 11px; }
.c-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 60px 0 20px; }
.c-hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; font-weight: 600; letter-spacing: -.055em; margin: 22px 0 18px; }
.c-hero-copy > p { max-width: 560px; margin: 0; color: var(--guide-muted); font-size: 17px; line-height: 1.75; }
.c-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.norm-badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 30px 0 0; }
.norm-badges li { padding: 6px 10px; border: 1px solid #d6ddd3; border-radius: 6px; background: #fffdf9; color: #4c5d48; font-size: 11px; font-weight: 500; line-height: 1.5; }
.scorecard { padding: 26px; background: #fffdf9; border: 1px solid #d2ddc7; border-radius: 20px; box-shadow: 0 18px 50px #263b2114; }
.scorecard-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #e3e8dc; }
.seal { flex-shrink: 0; width: 48px; height: 48px; color: var(--ok); }
.scorecard-head strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.scorecard-head span { display: block; margin-top: 2px; color: var(--guide-muted); font-size: 11px; }
.score { display: flex; align-items: center; gap: 20px; padding: 20px 0; }
.score-ring { position: relative; flex: 0 0 108px; height: 108px; }
.score-ring svg { width: 100%; height: 100%; }
.ring-track, .ring-value { fill: none; stroke-width: 10; }
.ring-track { stroke: #e3ebdb; }
.ring-value { stroke: var(--ok); }
.score-ring > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--guide-muted); font-size: 11px; }
.score-ring strong { display: block; color: #24452a; font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.score > p { margin: 0; color: #53634f; font-size: 14px; line-height: 1.7; }
.score > p strong { color: #2c4a28; font-weight: 600; }
.score-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #e3e8dc; }
.score-list a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 6px; border-bottom: 1px solid #edf0e8; border-radius: 6px; color: #33452f; font-size: 13px; line-height: 1.5; }
.score-list li:last-child a { border-bottom: 0; }
.score-list a:hover { background: #f2f6ec; }
.score-check { display: grid; place-items: center; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 11px; }
.score-list small { margin-left: auto; color: var(--guide-muted); font-size: 11px; white-space: nowrap; }
.compliance-section { padding: 72px 0 0; scroll-margin-top: 16px; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; margin: 12px 0; }
.section-head > p { margin: 0; color: var(--guide-muted); font-size: 16px; line-height: 1.8; }
.req-explorer { scroll-margin-top: 16px; }
.req-explorer.is-tabbed { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.req-tabs { position: sticky; top: 16px; display: grid; gap: 6px; }
.req-tabs button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #4c5d48; font-size: 14px; font-weight: 500; line-height: 1.35; text-align: left; }
.req-tabs button:hover { background: #ecefe4; }
.req-tabs button[aria-selected="true"] { background: #fffdf9; border-color: #c6d5ba; color: #22401f; box-shadow: 0 6px 18px #263b2110; }
.req-tab-text { flex: 1; min-width: 0; }
.req-tab-text small { display: block; margin-bottom: 2px; color: #5a704c; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.req-tab-check { display: grid; place-items: center; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 11px; font-weight: 700; }
.req-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; background: #edf0df; color: #4e653f; }
.req-icon svg { width: 22px; height: 22px; }
.req-tabs button[aria-selected="true"] .req-icon { background: #28523d; color: #fff; }
.req-icon-lg { flex-basis: 56px; height: 56px; border-radius: 14px; background: #28523d; color: #fff; }
.req-icon-lg svg { width: 30px; height: 30px; }
.req-panel { padding: 30px; background: #fffdf9; border: 1px solid #d7dfcf; border-radius: 18px; }
.req-explorer:not(.is-tabbed) .req-panel + .req-panel { margin-top: 20px; }
.req-panel-head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #e3e8dc; }
.req-panel-head > div { flex: 1; min-width: 0; }
.law-ref { display: inline-block; color: #5a704c; font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.req-panel-head h3 { margin: 4px 0 0; font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.req-panel-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; margin-top: 22px; }
.req-law, .req-does { padding: 22px; border-radius: 12px; }
.req-law { background: #f6f2ea; border: 1px solid #e8e0d1; }
.req-does { background: #eef4e7; border: 1px solid #d6e3ca; }
.req-label { display: block; color: #7a5531; font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.7; }
.req-does .req-label { color: #3f6233; }
.req-law > p { margin: 10px 0 0; color: #4f4a40; font-size: 15px; line-height: 1.8; }
.source-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-top: 12px; color: #6b4a26; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.check-list { list-style: none; padding: 0; margin: 8px 0 0; }
.check-list li { position: relative; padding: 11px 0 11px 32px; border-top: 1px solid #d6e3ca; color: #33492d; font-size: 14px; line-height: 1.7; }
.check-list li:first-child { border-top: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 13px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 11px; font-weight: 700; }
.req-panel-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.req-panel-nav > span { color: var(--guide-muted); font-size: 12px; }
.compliance-page .anac-note { max-width: none; margin-top: 20px; }
.compare-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.table-scroll { overflow-x: auto; background: #fffdf9; border: 1px solid #d7dfcf; border-radius: 16px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid #e3e8dc; text-align: center; vertical-align: middle; }
.compare-table thead th { background: #f4f6ef; color: #5b665f; font-size: 12px; font-weight: 600; }
.compare-table thead th:first-child, .compare-table tbody th { text-align: left; }
.compare-table tbody th { color: #2f3f2b; font-weight: 500; }
.compare-table .is-ours { background: #eef4e7; }
.compare-table thead .is-ours { background: #28523d; color: #fff; }
.compare-table tr:last-child > * { border-bottom: 0; }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 1; }
.mark-yes { background: var(--ok); color: #fff; }
.mark-partial { background: #f6ead2; color: #8a5a14; }
.mark-no { background: #f6e1dc; color: #a3402b; }
.compare-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 0; color: var(--guide-muted); font-size: 12px; }
.compare-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.compare-legend .mark { width: 20px; height: 20px; font-size: 10px; }
.questions-card { padding: 26px; background: #fffdf9; border: 1px solid #d7dfcf; border-radius: 16px; }
.questions-card > strong { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.questions-card > p { margin: 6px 0 0; color: var(--guide-muted); font-size: 14px; line-height: 1.7; }
.question-list { list-style: none; padding: 0; margin: 16px 0 0; }
.question-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid #e3e8dc; color: #33452f; font-size: 14px; line-height: 1.6; }
.answer-yes { flex-shrink: 0; padding: 4px 11px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 12px; font-weight: 600; }
.duty-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.duty-list li { padding: 24px; background: #fffdf9; border: 1px solid #d7dfcf; border-radius: 14px; }
.duty-num { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 10px; background: #28523d; color: #fff; font-size: 14px; font-weight: 600; }
.duty-list strong { display: block; color: #2f4c2b; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.duty-list p { margin: 6px 0 0; color: var(--guide-muted); font-size: 13px; line-height: 1.75; }
.duty-list small { display: inline-block; margin-top: 12px; padding: 3px 8px; border-radius: 5px; background: #edf0e5; color: #4d6343; font-size: 11px; font-weight: 600; }
.compliance-page .inline-guide-link { margin-top: 20px; }
.compliance-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-top: 80px; padding: 48px 44px; border-radius: 20px; background: #1f4232; color: #f3f7ef; }
.compliance-cta .step-eyebrow { color: #b9d6a8; }
.compliance-cta h2 { margin: 10px 0 8px; color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; }
.compliance-cta p { max-width: 520px; margin: 0; color: #d3e3cc; font-size: 15px; line-height: 1.8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.compliance-cta .primary-button { background: #fff; border-color: #fff; color: #1f4232; }
.compliance-cta .primary-button:hover { background: #e6efe0; }
.compliance-cta .secondary-button { background: transparent; border-color: #7fa58c; color: #fff; }
.compliance-cta .secondary-button:hover { background: #2a5541; }
.compliance-cta :focus-visible { outline-color: #f3c7a8; }
.sources-section .section-head { margin-bottom: 18px; }
.source-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #d7dfcf; }
.source-list a { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 52px; padding: 13px 0; border-bottom: 1px solid #d7dfcf; color: #345f2b; font-size: 14px; line-height: 1.6; }
.source-list a:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.source-list small { display: block; color: #5b665f; font-size: 12px; }
.compliance-disclaimer { max-width: 760px; margin: 24px 0 0; color: #596c4e; font-size: 12px; line-height: 1.8; }
@media (max-width: 1050px) {
    .c-hero { gap: 36px; }
    .req-explorer.is-tabbed { grid-template-columns: 250px minmax(0, 1fr); }
    .req-panel { padding: 26px; }
    .compare-layout { grid-template-columns: 1fr; }
    .duty-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .c-hero { grid-template-columns: 1fr; padding-top: 40px; }
    .c-hero-copy > p { max-width: none; }
}
@media (max-width: 860px) {
    .req-explorer.is-tabbed { display: block; }
    .req-tabs { position: static; display: flex; gap: 8px; overflow-x: auto; margin: 0 0 16px; padding-bottom: 6px; scrollbar-width: thin; }
    .req-tabs button { flex: 0 0 auto; width: auto; min-height: 48px; padding: 8px 14px 8px 8px; border-color: #d6ddd3; background: #fffdf9; font-size: 13px; white-space: nowrap; }
    .req-tab-text small, .req-tab-check { display: none; }
    .req-icon { flex-basis: 30px; height: 30px; border-radius: 8px; }
    .req-icon svg { width: 18px; height: 18px; }
    .req-panel-body { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .c-hero { padding-top: 30px; }
    .c-hero h1 { font-size: 34px; margin: 18px 0 14px; }
    .c-hero-copy > p { font-size: 15px; }
    .c-hero-actions > * { flex: 1 1 100%; }
    .scorecard { padding: 20px; border-radius: 16px; }
    .score { gap: 16px; }
    .score-ring { flex-basis: 92px; height: 92px; }
    .score-ring strong { font-size: 26px; }
    .compliance-section { padding-top: 52px; }
    .section-head > p { font-size: 15px; }
    .req-panel { padding: 22px 18px; border-radius: 14px; }
    .req-panel-head { flex-wrap: wrap; gap: 14px; }
    .req-panel-head > div { flex-basis: calc(100% - 70px); }
    .req-panel-head h3 { font-size: 22px; }
    .req-panel-head .status-ok { margin-left: 70px; }
    .req-law, .req-does { padding: 18px 16px; }
    .req-panel-nav { flex-wrap: wrap; }
    .req-panel-nav > span { order: -1; flex-basis: 100%; text-align: center; }
    .req-panel-nav .secondary-button, .req-panel-nav .primary-button { flex: 1; padding-inline: 12px; }
    .compare-table { font-size: 13px; }
    .compare-table th, .compare-table td { padding: 12px 8px; }
    .compare-table thead th { font-size: 11px; }
    .mark { width: 24px; height: 24px; font-size: 12px; }
    .questions-card { padding: 22px 18px; }
    .question-list li { font-size: 13px; }
    .duty-list { grid-template-columns: 1fr; gap: 12px; }
    .duty-list li { padding: 20px 18px; }
    .compliance-cta { grid-template-columns: 1fr; margin-top: 56px; padding: 32px 22px; border-radius: 16px; }
    .cta-actions > * { flex: 1 1 100%; }
    .source-list a { font-size: 13px; }
}
@media print {
    .c-hero-actions, .req-tabs, .req-panel-nav, .compliance-cta { display: none !important; }
    .tutorial-page .req-explorer .req-panel[hidden] { display: block !important; margin-top: 15pt; }
    .req-explorer.is-tabbed { display: block; }
    .scorecard { box-shadow: none; }
    .req-panel, .duty-list li, .questions-card { break-inside: avoid; }
    .table-scroll { overflow: visible; }
}
