.bsheet-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:flex-end;justify-content:center}.bsheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--secondary-color);opacity:.45;animation:bsheet-fade .2s ease-out}.bsheet{position:relative;display:flex;flex-direction:column;width:100%;max-height:88dvh;background:var(--surface);border-radius:var(--radius-xl) var(--radius-xl) 0 0;box-shadow:var(--shadow-lg);outline:none;animation:bsheet-up .25s ease-out}.bsheet-full{height:100dvh;max-height:100dvh;border-radius:0}.bsheet-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 12px;border-bottom:1px solid var(--border-light)}.bsheet-grabber{position:absolute;top:7px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:var(--radius-pill);background:var(--border-color)}.bsheet-full .bsheet-grabber{display:none}.bsheet-title{margin:0;font-family:var(--font-heading);font-size:1.125rem;font-weight:600;color:var(--text-heading)}.bsheet-close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:50%;background:var(--surface-alt);color:var(--text-dark);font-size:1.25rem;cursor:pointer}.bsheet-close:hover{background:var(--border-light)}.bsheet-close:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}.bsheet-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px 24px}.bsheet-footer{display:flex;gap:12px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border-light);background:var(--surface)}@media(min-width:768px){.bsheet-root{align-items:center;padding:24px}.bsheet{max-width:520px;max-height:85vh;border-radius:var(--radius-xl);animation:bsheet-pop .2s ease-out}.bsheet-full{max-width:560px;height:auto;max-height:90vh;border-radius:var(--radius-xl)}.bsheet-grabber{display:none}}@keyframes bsheet-up{0%{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes bsheet-pop{0%{transform:scale(.97);opacity:0}to{transform:scale(1);opacity:1}}@keyframes bsheet-fade{0%{opacity:0}}@media(prefers-reduced-motion:reduce){.bsheet,.bsheet-backdrop{animation:none}}
