/* Reader-account and discussion styling stays scoped to this plugin's views. */
.bhrc-account-screen .bh-footer-links a { overflow-wrap: anywhere; }
.bhrc {
    --bhrc-ink: #1e211f;
    --bhrc-muted: #555b54;
    --bhrc-burgundy: #71312f;
    --bhrc-paper: #fffaf2;
    --bhrc-line: #d5d2c8;
    --bhrc-serif: var(--wp--preset--font-family--editorial, "Libre Caslon Display", Georgia, serif);
    --bhrc-sans: var(--wp--preset--font-family--body, "DM Sans", Arial, sans-serif);
    box-sizing: border-box;
    color: var(--bhrc-ink);
    font: 400 16px/1.7 var(--bhrc-sans);
    overflow-wrap: break-word;
}
.bhrc *, .bhrc *::before, .bhrc *::after { box-sizing: border-box; }
.bhrc h2, .bhrc h3 { color: var(--bhrc-ink); font-weight: 400; }
.bhrc p { margin: 0 0 1rem; }
.bhrc a { color: var(--bhrc-burgundy); text-underline-offset: .22em; }
.bhrc a:hover { text-decoration-thickness: 2px; }
.bhrc :is(a, button, input, textarea, summary):focus-visible { outline: 3px solid #98681c; outline-offset: 4px; }
.bhrc .bhrc-eyebrow { margin: 0 0 .7rem; color: var(--bhrc-burgundy); font: 700 .7rem/1.6 var(--bhrc-sans); letter-spacing: .11em; text-transform: uppercase; }
.bhrc .bhrc-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.3rem;
    min-width: 0;
    min-height: 49px;
    max-width: 100%;
    padding: .8rem 1.05rem;
    border: 1px solid var(--bhrc-burgundy);
    border-radius: .2rem;
    background: var(--bhrc-burgundy);
    color: var(--bhrc-paper);
    font: 700 .875rem/1.5 var(--bhrc-sans);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.bhrc .bhrc-button > span { flex: 0 0 auto; font-size: 1.3rem; line-height: 1; }
.bhrc .bhrc-button:hover { color: var(--bhrc-paper); background: #512321; border-color: #512321; text-decoration: none; }
.bhrc .bhrc-button--secondary { background: transparent; color: var(--bhrc-burgundy); }
.bhrc .bhrc-text-link { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .1rem; font-size: .875rem; font-weight: 700; }
.bhrc .bhrc-actions { display: flex; align-items: center; gap: .6rem 1.3rem; flex-wrap: wrap; }
.bhrc .bhrc-notice { padding: 1rem 1.2rem; margin: 0 0 1.5rem; border: 1px solid #b7c4af; border-inline-start: 4px solid #4b6240; background: #eef2e9; font-size: .9rem; }
.bhrc .bhrc-notice--error { border-color: #d2aaa2; border-inline-start-color: var(--bhrc-burgundy); background: #fcf0ea; }
.bhrc .bhrc-notice p { margin: 0; }
.bhrc .bhrc-form { position: relative; min-width: 0; margin: 0; }
.bhrc .bhrc-field { margin: 0 0 1.25rem; }
.bhrc .bhrc-field > label { display: block; margin: 0 0 .45rem; color: var(--bhrc-ink); font-size: .875rem; font-weight: 700; }
.bhrc .bhrc-field :is(input, textarea) { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; padding: .65rem .75rem; border: 1px solid #a9a99f; border-radius: .15rem; background: #fff; color: var(--bhrc-ink); font: 400 16px/1.5 var(--bhrc-sans); box-shadow: none; }
.bhrc .bhrc-field textarea { min-height: 160px; resize: vertical; }
.bhrc .bhrc-field :is(input, textarea):hover { border-color: var(--bhrc-burgundy); }
.bhrc .bhrc-field input[readonly] { background: #f3f1eb; }
.bhrc .bhrc-field-help { margin: .5rem 0 0; color: var(--bhrc-muted); font-size: .76rem; line-height: 1.65; }
.bhrc .bhrc-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
.bhrc .bhrc-privacy { margin: .9rem 0 0; font-size: .75rem; }
.bhrc .bhrc-privacy a { display: inline-flex; align-items: center; min-height: 44px; }
.bhrc .bhrc-account-links { margin: 1rem 0 0; font-size: .85rem; }
.bhrc .bhrc-account-links a { display: inline-flex; align-items: center; min-height: 44px; }
.bhrc-account { width: 100%; max-width: 900px; margin: 0 auto; }
.bhrc .bhrc-account-panel { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid #d9c6b7; border-top: 4px solid var(--bhrc-burgundy); border-radius: .4rem; background: var(--bhrc-paper); box-shadow: 0 8px 26px #4926190a; }
.bhrc .bhrc-account-heading { margin-bottom: 2rem; }
.bhrc .bhrc-account-panel h2 { margin: 0 0 1rem; font: 400 clamp(2.3rem, 4vw, 3rem)/1.07 var(--bhrc-serif); letter-spacing: -.025em; text-wrap: balance; }
.bhrc .bhrc-account-intro { max-width: 39rem; margin: 0 0 1rem; color: var(--bhrc-muted); font-size: .975rem; line-height: 1.75; }
.bhrc .bhrc-account-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; }
.bhrc .bhrc-register-form > .bhrc-button { width: 100%; justify-content: space-between; }
.bhrc .bhrc-acknowledgement { display: flex; align-items: flex-start; gap: .7rem; margin: .25rem 0 1.35rem; }
.bhrc .bhrc-acknowledgement input { flex: 0 0 19px; width: 19px; height: 19px; margin: .2rem 0 0; accent-color: var(--bhrc-burgundy); }
.bhrc .bhrc-acknowledgement label { min-height: 44px; padding-block: 0 .3rem; font-size: .79rem; line-height: 1.65; cursor: pointer; }
.bhrc .bhrc-account-guide { min-width: 0; padding-inline-start: 1.65rem; border-inline-start: 1px solid #ded6ca; }
.bhrc .bhrc-account-guide h3 { margin: 0 0 1.4rem; font: 400 1.65rem/1.18 var(--bhrc-serif); letter-spacing: -.015em; }
.bhrc .bhrc-steps { counter-reset: bhrc-step; padding: 0; margin: 0; list-style: none; }
.bhrc .bhrc-steps li { position: relative; padding: 0 0 1.25rem 2rem; counter-increment: bhrc-step; }
.bhrc .bhrc-steps li::before { content: counter(bhrc-step, decimal-leading-zero); position: absolute; inset-inline-start: 0; inset-block-start: .08rem; color: var(--bhrc-burgundy); font: 400 1.1rem/1.35 var(--bhrc-serif); }
.bhrc .bhrc-steps strong { display: block; margin-bottom: .2rem; font-size: .83rem; font-weight: 700; }
.bhrc .bhrc-steps span { display: block; color: var(--bhrc-muted); font-size: .78rem; line-height: 1.65; }
.bhrc .bhrc-guide-note { margin: .2rem 0 0; padding-top: 1rem; border-top: 1px solid #ded6ca; color: var(--bhrc-muted); font-size: .76rem; line-height: 1.75; }
.bhrc .bhrc-account-footer { margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid #ded6ca; font-size: .875rem; }
.bhrc .bhrc-account-footer > p { margin: 0; }
.bhrc .bhrc-account-footer > p .bhrc-text-link { margin-inline-start: .4rem; }
.bhrc .bhrc-recovery { margin-top: .5rem; }
.bhrc .bhrc-recovery > summary { width: fit-content; max-width: 100%; min-height: 44px; padding: .5rem 0; color: var(--bhrc-burgundy); font-size: .82rem; font-weight: 600; cursor: pointer; }
.bhrc .bhrc-recovery > summary::marker { color: var(--bhrc-burgundy); }
.bhrc .bhrc-recovery[open] > summary { margin-bottom: .8rem; }
.bhrc .bhrc-resend-form { max-width: 30rem; margin-top: 1rem; }
.bhrc .bhrc-resend-form .bhrc-button { font-size: .82rem; }
.bhrc .bhrc-account-panel--signed-in > p { max-width: 39rem; }
.bhrc .bhrc-account-panel--signed-in > .bhrc-actions { margin-top: 1.5rem; }
.bhrc-comments { width: 100%; max-width: 760px; margin: 3rem auto 0; padding-top: 2.3rem; border-top: 1px solid var(--bhrc-ink); scroll-margin-top: 1.5rem; }
.bhrc .bhrc-comments-heading { margin-bottom: 1.6rem; }
.bhrc .bhrc-comments-heading h2 { display: flex; align-items: center; gap: .85rem; margin: 0 0 .65rem; font: 400 clamp(2.4rem, 4vw, 3.1rem)/1.08 var(--bhrc-serif); letter-spacing: -.025em; }
.bhrc .bhrc-count { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; min-height: 2rem; padding: .25rem .6rem; border: 1px solid var(--bhrc-line); border-radius: 2rem; color: var(--bhrc-muted); font: 600 .75rem/1.3 var(--bhrc-sans); letter-spacing: 0; }
.bhrc .bhrc-comments-intro { margin: 0; color: var(--bhrc-muted); font-size: .9rem; }
.bhrc .bhrc-empty { margin: 0 0 1.4rem; font-size: .875rem; color: var(--bhrc-muted); }
.bhrc .bhrc-comment-list { padding: 0; margin: 0 0 1.75rem; list-style: none; }
.bhrc .bhrc-comment { margin: 0; padding: 1.45rem 0; border-top: 1px solid var(--bhrc-line); }
.bhrc .bhrc-comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.2rem; margin-bottom: .6rem; }
.bhrc .bhrc-comment-author { color: var(--bhrc-ink); font-size: .925rem; font-weight: 700; }
.bhrc .bhrc-comment-meta time { color: var(--bhrc-muted); font-size: .75rem; }
.bhrc .bhrc-comment-parent { margin: -.1rem 0 .75rem; color: var(--bhrc-muted); font-size: .75rem; }
.bhrc .bhrc-comment-body { font-size: .95rem; line-height: 1.8; overflow-wrap: anywhere; }
.bhrc .bhrc-comment-body > :last-child { margin-bottom: 0; }
.bhrc .bhrc-comment-body blockquote { margin: 1rem 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--bhrc-line); }
.bhrc .bhrc-comment-body code { font-size: .9em; white-space: normal; }
.bhrc .bhrc-access { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.7rem; padding: 1.5rem; border: 1px solid var(--bhrc-line); border-radius: .3rem; background: #eeebe3; }
.bhrc .bhrc-access h3 { margin: 0 0 .5rem; font: 400 1.7rem/1.15 var(--bhrc-serif); letter-spacing: -.015em; }
.bhrc .bhrc-access p { margin: 0; max-width: 32rem; color: var(--bhrc-muted); font-size: .85rem; }
.bhrc .bhrc-access .bhrc-actions { flex-direction: column; gap: .4rem; }
.bhrc .bhrc-access .bhrc-button { font-size: .82rem; }
.bhrc .bhrc-moderation-note { margin: .9rem 0 0; color: var(--bhrc-muted); font-size: .75rem; line-height: 1.7; }
.bhrc .bhrc-comment-form { padding: 1.6rem; border: 1px solid var(--bhrc-line); border-radius: .3rem; background: var(--bhrc-paper); }
.bhrc .bhrc-commenting-as { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; margin-bottom: .75rem; font-size: .8rem; }
.bhrc .bhrc-commenting-as p { margin: 0; }
.bhrc .bhrc-commenting-as a { display: inline-flex; align-items: center; min-height: 44px; }
.bhrc .bhrc-comment-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
.bhrc .bhrc-comment-submit .bhrc-moderation-note { flex: 1 1 12rem; margin: 0; }
.bhrc .bhrc-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin: -.4rem 0 1.8rem; padding-top: .8rem; border-top: 1px solid var(--bhrc-line); font-size: .75rem; }
.bhrc .bhrc-page-count { color: var(--bhrc-muted); }
.bhrc .bhrc-pagination-links { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.bhrc .bhrc-pagination-links a { display: inline-flex; align-items: center; min-height: 44px; }
.bhrc .bhrc-closed { padding: 1rem 1.2rem; border: 1px solid var(--bhrc-line); background: #eeebe3; color: var(--bhrc-muted); font-size: .875rem; }
@media (max-width: 760px) {
    .bhrc .bhrc-account-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
    .bhrc .bhrc-account-guide { padding: 1.5rem 0 0; border-inline-start: 0; border-top: 1px solid #ded6ca; }
    .bhrc .bhrc-account-guide h3 { margin-bottom: 1.15rem; }
    .bhrc .bhrc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .bhrc .bhrc-steps li { padding: 0; }
    .bhrc .bhrc-steps li::before { position: static; display: block; margin-bottom: .4rem; }
    .bhrc .bhrc-guide-note { margin-top: 1.2rem; }
    .bhrc .bhrc-access { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
    .bhrc .bhrc-access .bhrc-actions { flex-direction: row; gap: .4rem 1.3rem; }
}
@media (max-width: 480px) {
    .bhrc .bhrc-account-panel { padding: 1.3rem; }
    .bhrc .bhrc-account-panel h2 { font-size: 2.25rem; }
    .bhrc .bhrc-account-heading { margin-bottom: 1.6rem; }
    .bhrc .bhrc-account-intro { font-size: .9rem; }
    .bhrc .bhrc-steps { display: block; }
    .bhrc .bhrc-steps li { padding: 0 0 1rem 2rem; }
    .bhrc .bhrc-steps li:last-child { padding-bottom: 0; }
    .bhrc .bhrc-steps li::before { position: absolute; margin: 0; }
    .bhrc .bhrc-resend-form .bhrc-button { width: 100%; }
    .bhrc-comments { margin-top: 2.5rem; padding-top: 1.6rem; }
    .bhrc .bhrc-comments-heading h2 { font-size: 2.45rem; }
    .bhrc .bhrc-comments-intro { font-size: .85rem; }
    .bhrc .bhrc-access { padding: 1.2rem; }
    .bhrc .bhrc-access .bhrc-actions { align-items: stretch; flex-direction: column; gap: .5rem; }
    .bhrc .bhrc-access .bhrc-text-link { align-self: center; }
    .bhrc .bhrc-comment-form { padding: 1.2rem; }
    .bhrc .bhrc-comment-submit { align-items: stretch; flex-direction: column; gap: .9rem; }
    .bhrc .bhrc-comment-submit .bhrc-moderation-note { flex: initial; }
    .bhrc .bhrc-pagination { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .bhrc .bhrc-button { transition: none; } }
@media print {
    .bhrc-account, .bhrc .bhrc-comment-form, .bhrc .bhrc-access, .bhrc .bhrc-notice, .bhrc .bhrc-pagination { display: none; }
}
