/* The compact Bio control is intentionally independent of normal action sizing. */
.wabash-team-card .provider-bio-card-text{position:relative}
.wabash-team-card .provider-bio-card-text h3{padding-right:40px;overflow-wrap:break-word}
.wabash-team-card .provider-bio-trigger{position:absolute;top:6px;right:8px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;height:22px;min-width:0;min-height:0;max-height:22px;margin:0;padding:0 6px;border:1px solid var(--pine,#123f35);border-radius:6px;background:var(--pine,#123f35);color:#fff;font:600 11.5px/16px Inter,system-ui,sans-serif;cursor:pointer}
/* Extend the hit area without adding layout height or changing the visible control. */
.provider-bio-trigger::after{content:"";position:absolute;inset:-4px}
.provider-bio-close{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px;min-height:44px;padding:.45rem .7rem;border:1px solid #719387;border-radius:11px;background:transparent;color:var(--pine,#123f35);font:600 .875rem/1.25 Inter,system-ui,sans-serif;cursor:pointer}
.wabash-team-card .provider-bio-trigger:hover{background:#0e342c;border-color:#0e342c;color:#fff}
.provider-bio-close:hover{background:var(--sage-2,#eef4ee);border-color:var(--pine,#123f35)}
/* Focus remains on the trigger after closing. Only keyboard input draws its ring. */
.wabash-team-card .provider-bio-trigger:focus{outline:none;box-shadow:none}
.wabash-team-card .provider-bio-trigger[data-bio-focus="keyboard"]:focus{outline:3px solid var(--pine,#123f35);outline-offset:3px;box-shadow:none}
.provider-bio-close:focus-visible,.provider-bio-body:focus-visible{outline:3px solid var(--pine,#123f35);outline-offset:3px}
.provider-bio-dialog{width:calc(100% - 32px);max-width:640px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;margin:auto;overflow:hidden;border:1px solid #d8e3d6;border-radius:24px;background:var(--ivory,#fbf7ee);color:var(--ink,#22312d);box-shadow:0 24px 80px #0c2c2540}
.provider-bio-dialog[open]{display:flex;flex-direction:column}
.provider-bio-dialog::backdrop{background:rgba(12,44,37,.48)}
.provider-bio-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.5rem 1.5rem 1.15rem;border-bottom:1px solid var(--line,#d8ded7);flex-shrink:0}
.provider-bio-header>div{min-width:0}
.provider-bio-header h2{margin:0;color:var(--pine,#123f35);font-family:Manrope,Inter,system-ui,sans-serif;font-size:clamp(1.2rem,3vw,1.5rem);line-height:1.35;letter-spacing:-.02em;overflow-wrap:break-word}
.provider-bio-subtitle{margin:.5rem 0 0;font-size:.9rem;line-height:1.5;color:#52645d}
.provider-bio-body{padding:1.25rem 1.5rem;overflow-y:auto;overscroll-behavior:contain;min-height:0;font-size:1rem;line-height:1.75;scrollbar-gutter:stable}
.provider-bio-body p{margin:0 0 1.15rem}
.provider-bio-body p:last-child{margin-bottom:0}
.provider-bio-footer{display:flex;justify-content:flex-end;padding:.85rem 1.5rem 1rem;border-top:1px solid var(--line,#d8ded7);flex-shrink:0}
@media(max-width:480px){.provider-bio-header{gap:.65rem;padding:1.1rem 1rem .9rem}.provider-bio-body{padding:1rem}.provider-bio-footer{padding:.75rem 1rem}.provider-bio-dialog{border-radius:20px}}
