.policy-effects { padding: 1.5rem; color: #243247; line-height: 1.5; }
.policy-effects *, .policy-effects *::before, .policy-effects *::after { box-sizing: border-box; }
.policy-effects [hidden] { display: none !important; }
.policy-effects a { color: #175d75; text-underline-offset: .2em; }
.policy-effects a:hover { text-decoration: underline; }
.policy-effects a:focus-visible, .policy-effects button:focus-visible, .policy-effects summary:focus-visible { outline: 3px solid #0e7490; outline-offset: 4px; border-radius: .2rem; }
.policy-effects h2:focus { outline: none; }
#policy-effects-heading, .pe-breadcrumbs { scroll-margin-top: 6rem; }
.policy-effects h2, .policy-effects h3, .policy-effects p, .policy-effects ul, .policy-effects blockquote { margin: 0; }
.policy-effects h2 { color: #172b3b; font-size: 1.4rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.3; }
.policy-effects h3 { font-size: 1.05rem; font-weight: 650; color: #172b3b; }
.pe-introduction { max-width: 54rem; margin-bottom: 1.75rem; }
.pe-introduction > p + p { margin-top: .55rem; }
.pe-eyebrow { text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; font-weight: 700; color: #64748b; }
.pe-muted { color: #58677b; }
.pe-small { font-size: .875rem; }
.pe-section-heading { margin-bottom: 1.25rem; }
.pe-section-heading > p { margin-top: .5rem; font-size: .9rem; }
.pe-area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pe-area-card { border: 1px solid #dce3ea; border-radius: .75rem; padding: 1.25rem; background: #fafbfc; display: flex; flex-direction: column; gap: .6rem; }
.pe-area-card p { font-size: .875rem; color: #58677b; }
.pe-area-card a { font-size: .875rem; font-weight: 600; display: block; margin-top: auto; padding-top: .5rem; }
.pe-empty { padding: 2.5rem 1rem; text-align: center; grid-column: 1 / -1; }
.pe-empty p { margin-top: .5rem; font-size: .95rem; color: #64748b; }
.pe-breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem .7rem; font-size: .875rem; margin-bottom: 1.2rem; }
.pe-breadcrumbs > span:not([aria-current]) { color: #94a3b8; }
.pe-counting-caption { font-size: .875rem; color: #58677b; padding: .85rem 1rem; background: #f4f7f9; border-left: 3px solid #cbd5e1; margin-bottom: 1rem !important; }
.pe-group-table { border: 1px solid #dce3ea; border-radius: .75rem; overflow: hidden; }
.pe-group-header, .pe-group-row { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)) minmax(0, 1.25fr); align-items: center; column-gap: .65rem; padding: 1rem; }
.pe-group-header { background: #f4f7f9; font-size: .75rem; font-weight: 650; color: #58677b; }
.pe-group-header > span:not(:first-child), .pe-group-effect { text-align: center; }
.pe-group-row + .pe-group-row { border-top: 1px solid #e7edf2; }
.pe-group-row { min-height: 5rem; font-size: .9rem; }
.pe-group-name { font-weight: 600; overflow-wrap: anywhere; }
.pe-group-evidence { text-align: center; font-size: .82rem; color: #58677b; }
.pe-effect-count { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.5rem; border: 1px solid #cbd9e2; border-radius: .45rem; background: #f6fafc; font-weight: 650; font-variant-numeric: tabular-nums; }
.pe-zero { color: #64748b; font-variant-numeric: tabular-nums; }
.pe-mobile-label { display: none; }
.pe-effect-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.pe-effect-filters a { display: block; padding: .5rem .8rem; border: 1px solid #cbd9e2; border-radius: .5rem; font-size: .85rem; }
.pe-effect-filters a[aria-current] { background: #e8f1f5; border-color: #66889b; font-weight: 650; }
.pe-bills { display: flex; flex-direction: column; gap: 1.5rem; }
.pe-bill { border: 1px solid #dce3ea; border-radius: .75rem; overflow: hidden; }
.pe-bill-header { background: #f4f7f9; padding: 1.2rem; border-bottom: 1px solid #dce3ea; }
.pe-bill-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: .4rem; }
.pe-status { font-size: .75rem; border: 1px solid #cbd5e1; border-radius: .3rem; padding: .2rem .5rem; background: #fff; }
.pe-bill-title { font-size: 1rem; color: #334155; }
.pe-connections { border-top: 1px solid #dce3ea; margin-top: .9rem; padding-top: .75rem; font-size: .875rem; }
.pe-connection-label { font-size: .75rem; color: #58677b; font-weight: 650; margin-bottom: .25rem !important; }
.pe-votes { margin-top: .35rem; }
.pe-votes summary { cursor: pointer; color: #175d75; padding: .25rem 0; }
.pe-votes ul { list-style: none; padding: 0; }
.pe-votes li { padding: .65rem 0 .4rem 1rem; border-left: 2px solid #cbd5e1; margin-top: .4rem; }
.pe-votes li a { display: block; margin-top: .2rem; font-size: .8rem; }
.pe-clause { padding: 1.2rem; }
.pe-clause + .pe-clause { border-top: 1px solid #e7edf2; }
.pe-matching-effects { list-style: none; padding: 0; }
.pe-matching-effects li { padding-left: .9rem; border-left: 3px solid #8ba7b7; margin-bottom: 1rem; }
.pe-effect-label { color: #334155; font-size: .875rem; margin-bottom: .25rem !important; }
.pe-summary { color: #475569; font-size: .95rem; }
.pe-summary blockquote { font-size: .9rem; margin-top: .3rem; }
.pe-clause-metadata { color: #58677b; font-size: .8rem; margin-top: 1rem !important; overflow-wrap: anywhere; }
.pe-clause-links { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; font-size: .875rem; margin-top: .7rem; }
.pe-clause-links a:first-child { font-weight: 650; }
.pe-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 1.25rem; margin-top: 1.5rem; font-size: .875rem; }
.pe-pagination > a { border: 1px solid #cbd9e2; border-radius: .4rem; padding: .5rem .8rem; }
.pe-methodology { border-top: 1px solid #dce3ea; margin-top: 1.75rem; padding-top: 1rem; font-size: .875rem; color: #58677b; }
.pe-methodology summary { cursor: pointer; color: #334155; font-weight: 600; padding: .25rem 0; }
.pe-methodology > div { max-width: 54rem; }
.pe-methodology p { margin-top: .75rem; }
.pe-loading, .pe-analysis-loading { padding: .8rem 1rem; margin-bottom: 1rem; background: #edf4f7; border: 1px solid #cbd9e2; border-radius: .5rem; font-size: .875rem; }
.pe-error, .pe-analysis-error { padding: 1rem; margin-bottom: 1rem; background: #fff7ed; border: 1px solid #e8c49a; border-radius: .5rem; font-size: .875rem; }
.pe-error a { display: inline-block; margin-top: .35rem; text-decoration: underline; }
.pe-inspector { border: 1px solid #cbd5e1; border-radius: .75rem; padding: 0; width: min(48rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; color: #243247; }
.pe-inspector::backdrop { background: rgb(15 23 42 / .55); }
.pe-inspector-header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem; border-bottom: 1px solid #dce3ea; position: sticky; top: 0; background: #fff; z-index: 1; }
.pe-inspector-header h2 { font-size: 1.1rem; }
.pe-inspector-header button { border: 1px solid #cbd5e1; border-radius: .4rem; padding: .4rem .7rem; cursor: pointer; color: #175d75; font-size: .9rem; }
.pe-analysis-loading, .pe-analysis-error { margin: 1rem; }
.pe-analysis-content { padding: 1rem; }
.pe-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .pe-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .policy-effects { padding: 1rem; }
    .policy-effects h2 { font-size: 1.2rem; }
    .pe-area-grid { grid-template-columns: minmax(0, 1fr); }
    .pe-group-table { border: 0; overflow: visible; }
    .pe-group-header { display: none; }
    .pe-group-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #dce3ea; border-radius: .65rem; gap: .8rem; padding: 1rem; }
    .pe-group-row + .pe-group-row { border-top: 1px solid #dce3ea; margin-top: .8rem; }
    .pe-group-name { grid-column: 1 / -1; font-size: 1rem; }
    .pe-group-effect { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; text-align: left; }
    .pe-mobile-label { display: block; font-size: .75rem; font-weight: 500; color: #58677b; }
    .pe-group-evidence { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: .5rem; text-align: left; padding-top: .6rem; border-top: 1px solid #e7edf2; }
    .pe-desktop-break { display: none; }
    .pe-pagination-total { display: none; }
    .pe-bill-header, .pe-clause { padding: 1rem; }
    .pe-inspector { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
}
