/* Página pública: regras de cálculo do espelho de ponto (Portaria MTP 671/2021) */
.bp-rc-page{padding-top:calc(var(--bp-header-h,68px) + 32px);padding-bottom:48px}
.bp-rc-hero{text-align:center;max-width:820px;margin:0 auto 28px}
.bp-rc-hero .bp-page-title{margin:.35em 0 .4em;line-height:1.15}
.bp-rc-hero__lead{color:var(--bp-text-muted);font-size:1.05rem;line-height:1.65;margin:0 auto}
.bp-rc-breadcrumb{font-size:.85rem;color:var(--bp-text-muted);margin:0 0 12px}
.bp-rc-breadcrumb a{color:var(--bp-green);text-decoration:none}
.bp-rc-breadcrumb a:hover{text-decoration:underline}

.bp-rc-search{position:sticky;top:calc(var(--bp-header-h,68px) + 8px);z-index:20;background:rgba(245,247,249,.94);backdrop-filter:blur(8px);padding:12px 0 14px;margin-bottom:8px}
.bp-rc-search__box{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid #dfe4e8;border-radius:var(--bp-radius-pill,999px);padding:0 18px;box-shadow:0 6px 20px rgba(1,75,33,.06)}
.bp-rc-search__box:focus-within{border-color:var(--bp-green)}
.bp-rc-search__box svg{flex:0 0 auto;color:var(--bp-text-muted)}
.bp-rc-search__input{flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:1rem;padding:14px 0;color:var(--bp-text);min-width:0}
.bp-rc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.bp-rc-chips button{font:inherit;font-size:.82rem;border:1px solid #d6dde2;background:#fff;color:var(--bp-text);border-radius:999px;padding:6px 12px;cursor:pointer}
.bp-rc-chips button:hover,.bp-rc-chips button[aria-pressed="true"]{border-color:var(--bp-green);color:var(--bp-green);background:var(--bp-green-tint)}
.bp-rc-count{font-size:.85rem;color:var(--bp-text-muted);margin:10px 0 0}

.bp-rc-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0 0 20px;padding:0;list-style:none;font-size:.85rem;color:var(--bp-text-muted)}
.bp-rc-legend li{display:flex;align-items:center;gap:6px}

.bp-rc-tag{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:600;line-height:1;padding:6px 10px;border-radius:999px;white-space:nowrap}
.bp-rc-tag--auto{background:rgba(34,198,96,.14);color:#0b6b33}
.bp-rc-tag--config{background:rgba(37,99,235,.1);color:#1e4fb8}
.bp-rc-tag--acordo{background:rgba(217,119,6,.13);color:#8a4b00}
.bp-rc-tag--parcial{background:rgba(124,58,237,.1);color:#5b2bb5}
.bp-rc-tag--nao{background:rgba(220,38,38,.1);color:#a11d1d}

.bp-rc-list{display:grid;gap:18px}
.bp-rc-rule{background:#fff;border:1px solid #e6eaee;border-radius:var(--bp-radius,16px);padding:22px 24px;scroll-margin-top:calc(var(--bp-header-h,68px) + 140px)}
.bp-rc-rule[hidden]{display:none}
.bp-rc-rule__head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px 16px;margin-bottom:10px}
.bp-rc-rule__head h2{font-size:1.2rem;margin:0;line-height:1.3}
.bp-rc-rule__head h2 a{color:inherit;text-decoration:none}
.bp-rc-rule__head h2 a:hover{color:var(--bp-green)}
.bp-rc-rule__tags{display:flex;flex-wrap:wrap;gap:6px}
.bp-rc-dl{margin:0;display:grid;grid-template-columns:190px 1fr;gap:10px 18px}
.bp-rc-dl dt{font-weight:600;font-size:.88rem;color:var(--bp-green);padding-top:2px}
.bp-rc-dl dd{margin:0;font-size:.95rem;line-height:1.6;color:var(--bp-text)}
.bp-rc-dl dd p{margin:0 0 .5em}
.bp-rc-dl dd p:last-child{margin-bottom:0}
.bp-rc-dl dd ul{margin:.2em 0 0;padding-left:1.1em}
.bp-rc-dl dd a{color:var(--bp-green)}
.bp-rc-quote{margin:0;padding:10px 14px;border-left:3px solid var(--bp-green);background:var(--bp-bg-soft,#fafbfc);border-radius:0 10px 10px 0;font-style:italic;color:#3a424a}
.bp-rc-example{background:#f3f8f5;border-radius:10px;padding:10px 14px}
.bp-rc-empty{text-align:center;padding:32px 16px;color:var(--bp-text-muted);background:#fff;border:1px dashed #d6dde2;border-radius:var(--bp-radius,16px)}

.bp-rc-note{background:#fff8eb;border:1px solid #f3dfb5;border-radius:var(--bp-radius,16px);padding:18px 22px;margin:28px 0 0;font-size:.95rem;line-height:1.6}
.bp-rc-note h2{font-size:1.05rem;margin:0 0 6px}
.bp-rc-note p{margin:0}

.bp-rc-sources{margin:36px 0 0}
.bp-rc-sources h2{font-size:1.3rem;margin:0 0 10px}
.bp-rc-sources ul{margin:0;padding-left:1.1em;line-height:1.8}
.bp-rc-sources a{color:var(--bp-green)}

.bp-rc-trust{margin:40px 0 0;background:#fff;border:1px solid #e6eaee;border-radius:var(--bp-radius-lg,24px);padding:28px}
.bp-rc-trust h2{font-size:1.35rem;margin:.2em 0 .5em}
.bp-rc-trust p{color:var(--bp-text-muted);line-height:1.65;margin:0 0 14px}
.bp-rc-trust__links{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:18px 0 0;padding:0;list-style:none}
.bp-rc-trust__links a{display:block;height:100%;padding:14px 16px;border:1px solid #e1e6ea;border-radius:12px;text-decoration:none;color:var(--bp-text);transition:border-color .2s}
.bp-rc-trust__links a:hover{border-color:var(--bp-green)}
.bp-rc-trust__links strong{display:block;color:var(--bp-green);margin-bottom:2px}
.bp-rc-trust__links span{font-size:.85rem;color:var(--bp-text-muted)}

.bp-rc-faq{margin-top:40px}

@media (max-width:720px){
  .bp-rc-page{padding-top:calc(var(--bp-header-h,68px) + 20px)}
  .bp-rc-rule{padding:18px 16px}
  .bp-rc-dl{grid-template-columns:1fr;gap:4px}
  .bp-rc-dl dt{margin-top:10px}
  .bp-rc-dl dt:first-child{margin-top:0}
  .bp-rc-trust{padding:20px 16px}
  .bp-rc-search{position:static;background:transparent;backdrop-filter:none}
  .bp-rc-rule{scroll-margin-top:calc(var(--bp-header-h,68px) + 12px)}
}
