/* BlackVault Business v0.12.2 — full-app navigation and finish polish.
 * Scoped to the existing real screens. No overlay, mock stats, or new routing.
 * Keeps approved crest, globe and six-tab navigation.
 */
:root{
  --bv32-ring:#62efff;
  --bv32-panel:linear-gradient(138deg,rgba(8,47,77,.96),rgba(4,21,42,.97) 72%);
  --bv32-muted:#bad8e9;
}
html{scroll-padding-top:10px}
body{overscroll-behavior-y:contain;background:#020d20}
button, [role=button], a, input, select, textarea{
  -webkit-tap-highlight-color:transparent;
}
button, [role=button], .bv7-nav .nav-item, .bv31-links button{
  touch-action:manipulation;
}
button:focus-visible,[role=button]:focus-visible,a:focus-visible,
summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--bv32-ring)!important;
  outline-offset:2px!important;
}
/* Keep the app feeling premium at every size and prevent clipped content. */
#app,.app-shell,.bv7-shell,.bv7-body,.bv7-page{min-width:0}
.bv7-shell .bv7-body{min-width:0;padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
.bv7-shell .bv7-page{width:100%;max-width:720px;margin-left:auto;margin-right:auto;min-width:0}
.bv7-shell .bv7-panel,.bv7-shell .bv7-card{
  overflow-wrap:anywhere;
}
.bv7-shell h1,.bv7-shell h2,.bv7-shell h3,.bv7-shell h4{
  letter-spacing:-.022em;
  text-wrap:balance;
}
.bv7-shell .bv7-page-head{margin-bottom:15px!important}
.bv7-shell .bv7-page-head p{line-height:1.45}
.bv7-shell .bv7-grow{min-width:0}
.bv7-shell .bv7-grow small{overflow-wrap:anywhere}
/* Accessible, stable six-tab dock — independent of screen content height. */
.bv7-shell .bv7-nav{
  position:fixed!important;
  inset:auto 0 0!important;
  min-height:calc(76px + env(safe-area-inset-bottom,0px))!important;
  padding-bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
  box-shadow:0 -7px 26px #000e28af!important;
  isolation:isolate;
  z-index:60!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.bv7-shell .bv7-nav .nav-item{
  min-width:0!important;
  min-height:62px!important;
  gap:4px!important;
  padding:7px 2px!important;
  border-radius:12px!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  line-height:1.12!important;
}
.bv7-shell .bv7-nav .nav-item .ico{
  flex:none;width:22px!important;height:22px!important
}
.bv7-shell .bv7-nav .nav-item span{
  font-size:clamp(9px,2.35vw,11px)!important;
  font-weight:650;
  white-space:nowrap;
  overflow:hidden;
  max-width:100%;
  text-overflow:clip
}
/* Thumb-sized controls, readable messages and schedule labels. */
.bv7-shell button:not(.nav-item):not(.bv7-icon-button):not(.bv7-square-action):not(.bv7-mini-action){
  min-height:39px;
}
.bv7-shell input:not([type=checkbox]):not([type=radio]),
.bv7-shell select,.bv7-shell textarea{
  max-width:100%;
  font-size:16px!important; /* prevents iOS focus-zoom */
}
.bv7-shell [type=checkbox],.bv7-shell [type=radio]{
  accent-color:#1adbe6
}
.bv7-shell .bv7-chat-row,.bv7-shell .bv7-contact-row,
.bv7-shell .bv16-message-row{
  border-radius:13px;
}
.bv7-shell .bv7-row,.bv7-shell .bv7-member-row{
  min-width:0;
}
.bv7-shell .bv7-panel,.bv7-shell .bv30-billing-card{
  box-shadow:inset 0 1px rgba(189,250,255,.25),0 6px 23px rgba(0,11,35,.4)!important;
}
.bv7-shell .muted,.bv7-shell .bv7-muted,
.bv7-shell .bv7-grow small{
  color:var(--bv32-muted)!important
}
/* Dashboard remains an overview, not a number-management center. */
.bv21-home .bv7-shortcuts,
.bv21-home .bv7-lines-panel,
.bv21-home .bv7-configured-numbers{display:none!important}
/* Master registration: strong solid panels, no ghosting behind fields. */
.bv30-auth-form,.bv30-billing-card,.bv30-team-list,.bv30-settings-tile{
  backdrop-filter:none!important
}
.bv30-auth-form{background:linear-gradient(135deg,#082d4b,#03192f 78%)!important}
.bv30-auth-hero{overflow:hidden;isolation:isolate}
.bv30-auth-steps{gap:8px}
.bv30-auth-step{min-width:0}
.bv30-auth-step span{overflow-wrap:anywhere;text-align:center}
.bv30-billing .bv30-billing-grid{align-items:stretch}
/* One-time seat quantity and payment status remain easy to interpret. */
.bv30-billing-card button:disabled,.bv30-billing-card button[aria-disabled=true]{
  cursor:not-allowed;opacity:.65;
}
.bv30-quantity-row input{text-align:center;max-width:120px}
.bv30-permanent{flex-wrap:wrap}
.bv30-advanced-settings summary,.bv31-extra summary{
  min-height:48px;
}
/* Universal mobile adjustments. */
@media(max-width:420px){
  .bv7-shell .bv7-header{gap:8px!important}
  .bv7-shell .bv7-body{padding-inline:10px!important}
  .bv7-shell .bv7-page{padding-inline:0!important}
  .bv7-shell .bv7-page-head h1{font-size:clamp(22px,6vw,28px)!important}
  .bv30-auth{width:100%}
  .bv30-billing-banner{gap:9px}
  .bv30-billing-banner small{line-height:1.4}
}
@media(max-width:350px){
  .bv7-shell .bv7-body{padding-inline:8px!important}
  .bv7-shell .bv7-nav .nav-item{padding:6px 0!important}
  .bv7-shell .bv7-nav .nav-item .ico{width:20px!important;height:20px!important}
  .bv30-team-topline{flex-direction:column;align-items:flex-start}
  .bv30-team-controls{grid-template-columns:1fr!important}
  .bv30-auth-steps{gap:4px}
}
/* Live connection state should never disappear beneath a visual effect. */
.bv7-shell [role=alert],.bv7-shell .bv31-error{
  position:relative;
  z-index:2;
}
@media(prefers-reduced-motion:reduce){
  .bv7-shell *, .bv31-hub *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
