/* Scoped to Bac; keep the Brevet presentation intact. */
.bac-switcher { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px 28px; margin-top:28px; padding:22px; border:1px solid #c9d3c0; border-radius:14px; background:#f0f4e9; color:#234b3e; }
.bac-switcher[hidden] { display:none; }
.bac-current { display:flex; flex-direction:column; justify-content:center; gap:7px; }
.bac-current strong { line-height:1.5; }
.bac-current .eyebrow { font-size:.7rem; margin:0; }
.bac-switch-form :is(label,.bac-switch-label) { display:block; font-size:.85rem; margin-bottom:6px; }
.bac-switch-form > div { display:flex; gap:8px; }
.bac-switch-form :is(select,.bac-switch-select) { min-width:0; width:100%; min-height:46px; padding:10px; border:1px solid #8c9e7c; border-radius:7px; background:#fffef9; color:#234b3e; font:inherit; font-size:.88rem; }
.bac-switch-select { white-space:nowrap; overflow:hidden; }
.bac-switcher :is(.bac-switch-form,.bac-toolbar-links)[aria-hidden="true"] { visibility:hidden; }
.bac-switcher .bac-toolbar-links { grid-column:1/-1; }
.bac-toolbar-links { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
.bac-switcher [role=status] { grid-column:1/-1; margin:0; font-size:.9rem; }
.bac-switcher [role=status]:empty { display:none; }
.bac-dashboard { margin-block:35px; }
.bac-dashboard h2 { font-size:clamp(25px,3vw,37px); color:#234b3e; }
.bac-dashboard h3 { font-size:1.2rem; line-height:1.4; color:#234b3e; }
.bac-followed-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-block:24px; }
.bac-followed-card { display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:24px; border:1px solid #c9d3c0; border-radius:14px; background:#fffef9; }
.bac-followed-card .eyebrow { font-size:.72rem; margin:0; }
.bac-followed-card :is(h3,p) { margin:0 0 6px; }
.bac-followed-card .button { white-space:normal; text-align:left; }
.bac-text-button { border:0; background:none; color:#36573c; text-decoration:underline; text-underline-offset:3px; font:inherit; min-height:44px; cursor:pointer; padding:8px 0; }
.bac-track-manager { border:1px solid #c9d3c0; border-radius:12px; background:#f0f4e9; padding:8px 20px; }
.bac-track-manager summary,.bac-rules summary,.bac-skill-domain summary { cursor:pointer; min-height:48px; padding:12px 0; font-weight:650; color:#234b3e; }
.bac-track-manager fieldset { border:0; margin:14px 0; padding:0; }
.bac-track-manager legend { font-weight:650; padding-block:8px; }
.bac-follow-choice { display:flex; gap:14px; align-items:center; padding:12px 0; min-height:48px; cursor:pointer; }
.bac-follow-choice input { flex:0 0 auto; width:22px; height:22px; accent-color:#234b3e; }
.bac-local-note { color:#52614f; font-size:.9rem; line-height:1.6; margin-top:20px; }
.bac-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:24px 0; }
.bac-stat-grid > div { display:flex; flex-direction:column; gap:8px; border:1px solid #c9d3c0; border-radius:12px; padding:20px; background:#f0f4e9; }
.bac-stat-grid strong { font-size:2rem; color:#234b3e; }
.bac-stat-grid span { font-size:.9rem; }
.bac-recommendations,.bac-history { padding:0; list-style:none; }
.bac-recommendations li,.bac-history li { padding:18px 0; border-bottom:1px solid #c9d3c0; }
.bac-history li { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.bac-history p { margin:6px 0; font-size:.9rem; }
.bac-skill-domain { border-bottom:1px solid #c9d3c0; }
.bac-skill-domain ul { list-style:none; padding:0; }
.bac-skill-domain li { padding:14px 16px; margin-bottom:10px; background:#f0f4e9; border-radius:8px; }
.bac-skill-status { display:block; font-size:.85rem; margin-top:8px; color:#52614f; }
.bac-page :is(button,select,input):focus-visible { outline:3px solid #997331; outline-offset:4px; }
@media(max-width:750px) { .bac-switcher { grid-template-columns:1fr; } .bac-followed-grid { grid-template-columns:1fr; } }
@media(max-width:480px) { .bac-stat-grid { grid-template-columns:1fr; } .bac-switcher { padding:16px; } .bac-followed-card { padding:20px; } .bac-switch-form > div { flex-wrap:wrap; } .bac-switch-form :is(select,.bac-switch-select) { flex-basis:100%; } }
.bac-dashboard .button,.bac-switcher .button { min-height:44px; }
