/* BlackVault Business v0.12.5 — viewport-connected, premium messages + shared controls */
html:has(#app .bv27-page){scroll-behavior:auto!important}
:root{--bv35-accent:#60f7f0;--bv35-line:rgba(80,209,239,.52)}
#app .bv27-thread-pane,#app .bv27-list-pane{border-color:var(--bv35-line);box-shadow:0 12px 35px #000823a8,inset 0 1px #bcfdff3d}
#app .bv27-thread-head{border-bottom:1px solid #39849c;background:linear-gradient(115deg,#114161,#062338 85%)}
#app .bv27-thread-identity strong{color:#f5fdff;font-weight:800;letter-spacing:-.02em}
#app .bv27-chat-scroll{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;overflow-anchor:none;scrollbar-color:#36a9bb #092339;scrollbar-width:thin;background:radial-gradient(ellipse 70% 45% at 80% 100%,#0470a626,transparent 75%),linear-gradient(180deg,#061b2d,#041526)}
#app .bv27-bubble{border-color:#527f92;box-shadow:0 5px 13px #0006,inset 0 1px #d2faff1b}
#app .bv27-message.out .bv27-bubble{border-color:#41e5f2;background:linear-gradient(140deg,#0a7a9c,#0b537d);box-shadow:0 5px 15px #0013248c,inset 0 1px #b4ffff36}
#app .bv27-bubble>span{font-size:clamp(14px,3.8vw,16px);line-height:1.48;letter-spacing:.002em}
#app .bv27-bubble small{color:#cae8f2;opacity:.9}
#app .bv27-compose{background:linear-gradient(110deg,#0e354c,#082437);border-top:1px solid #438899}
#app .bv27-compose textarea{background:#071e31;border:1px solid #488b9c;color:#f4ffff;box-shadow:inset 0 2px 7px #0004;resize:none}
#app .bv27-compose textarea:focus-visible{border-color:#61f2ee!important;outline:2px solid #54e8ef!important;outline-offset:1px}
#app .bv27-number.selected{border-color:#45f6f3;box-shadow:inset 0 1px #ceffff35,0 0 14px #08d8dd4f}
#app .bv27-number:focus-visible,#app .bv27-conv-row:focus-visible{outline:2px solid #77fcff;outline-offset:2px}
#app .bv27-conv-row{transition:background .16s ease,border-color .16s ease}
#app .bv27-conv-row:active{background:#114865}
/* Consistent material finish on the real Settings, Team and Billing cards. */
#app .bv30-settings-tile,#app .bv30-billing-card,#app .bv31-form,#app .bv31-requests{border-color:rgba(79,194,235,.52)!important;box-shadow:inset 0 1px #c1fcff38,0 7px 22px #00081b75!important}
#app .bv30-settings-tile:hover,#app .bv30-settings-tile:focus-visible{border-color:#61edf4!important;background:linear-gradient(115deg,#124362,#082a45)!important}
#app .bv34-signup-price,#app .bv34-billing-summary,#app .bv34-number-pricing,#app .bv34-seat-quote,#app .bv34-master-price{border-color:#5fe6eda6;box-shadow:inset 0 1px #c9faff38,0 5px 20px #00051a70}
#app .bv34-billing-summary .bv34-overline,#app .bv34-signup-price .bv34-overline{letter-spacing:1.4px;color:#86ffed}
#app .bv34-disclosure-rows>div:last-child,#app .bv34-number-pricing dl>div:last-child{border-bottom:0}
#app .bv34-charge{border-top:1px solid #85e2f466;margin-top:12px}
#app .bv34-charge strong{font-size:26px;letter-spacing:-.03em}
@media(max-width:760px){
 /* Redundant Messages hero is removed; the bottom Messages tab remains visible. */
 #app .bv27-page:not(.bv27-contacts-page) .bv27-page-header{display:none!important}
 #app .bv27-page{padding:0 2px 0!important;margin:0 auto!important;max-width:none!important}
 #app .bv27-number-strip{margin:0 0 7px!important;padding:4px 3px!important;gap:4px;border-radius:15px;background:linear-gradient(120deg,#0b344c,#071b2c)}
 #app .bv27-numbers{padding:0 2px 3px;gap:6px;scroll-snap-type:x proximity}
 #app .bv27-slide{width:22px;flex:0 0 22px;min-height:42px}
 #app .bv27-number{min-width:138px;flex:0 0 min(181px,65vw);min-height:48px;padding:7px 8px;border-radius:11px}
 #app .bv27-num-icon{flex:0 0 29px;width:29px;height:29px}
 #app .bv27-num-icon svg{width:17px;height:17px}
 #app .bv27-num-detail{gap:2px}
 #app .bv27-num-detail b{font-size:11.5px}
 #app .bv27-num-detail small{font-size:9.5px}
 /* Measured space fills the region between the selected line and fixed dock. */
 #app .bv27-grid{height:var(--bv35-chat-height,calc(100dvh - 275px))!important;min-height:170px!important;max-height:none!important;overflow:hidden;display:block}
 #app .bv27-grid .bv27-list-pane,#app .bv27-grid .bv27-thread-pane{height:100%!important;min-height:0!important;max-height:none!important;border-radius:16px}
 #app .bv27-thread-head{min-height:54px;padding:7px 9px;gap:7px}
 #app .bv27-thread-identity strong{font-size:14px}
 #app .bv27-thread-identity small{font-size:10px}
 #app .bv27-avatar{width:33px;height:33px;min-width:33px;font-size:12px}
 #app .bv27-thread-icon,#app .bv27-back{height:34px;flex-basis:34px;border-radius:10px}
 #app .bv27-chat-scroll{padding:10px 10px 8px}
 #app .bv27-message{margin:7px 0}
 #app .bv27-bubble{padding:9px 11px 7px;border-radius:14px;max-width:88%}
 #app .bv27-compose{padding:6px;gap:6px;min-height:53px}
 #app .bv27-compose textarea{min-height:40px;max-height:86px;padding:9px 10px}
 #app .bv27-compose button{width:36px;height:40px;flex-basis:36px}
 #app .bv27-compose button.bv27-send{height:39px;width:39px;flex-basis:39px}
 #app .bv27-preview-caption{padding:5px 8px;font-size:9px;line-height:1.25}
 #app .bv27-page .bv27-list-scroll{overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
 #app .bv27-page .bv27-list-head{padding:10px 12px 7px}
 #app .bv27-conv-row{min-height:62px;padding:10px 8px}
 #app:has(.bv27-page) .bv7-nav .nav-item[data-view="inbox"].active{border-color:#4df7fa!important;box-shadow:0 0 16px #14f5ee5b,inset 0 1px #cbffff57!important}
 /* Compact branding and status only while Messages is open. */
 #app:has(.bv27-page) .bv7-header{min-height:60px!important;padding:2px 1px 4px!important;margin-bottom:4px!important}
 #app:has(.bv27-page) .bv7-header img{width:45px!important;height:52px!important}
 #app:has(.bv27-page) .bv7-wordmark b{font-size:18px!important}
 #app:has(.bv27-page) .bv7-wordmark strong{font-size:15px!important;letter-spacing:1.5px!important}
 #app:has(.bv27-page) .bv7-header .notification{width:35px!important;height:36px!important}
 #app:has(.bv27-page) .bv7-header .avatar{width:36px!important;height:36px!important}
 #app:has(.bv27-page) .bv7-sync{min-height:29px!important;margin:0 1px 7px!important;padding:3px 10px!important;border-radius:15px}
 #app:has(.bv27-page) .bv7-sync>span{font-size:10px!important}
 #app:has(.bv27-page) .bv7-sync>small{font-size:9px!important}
 #app:has(.bv27-page) .app-content{min-height:100dvh;padding-bottom:calc(81px + env(safe-area-inset-bottom,0px))!important}
 #app:has(.bv27-page) .bv7-body{padding-bottom:0!important}
}
@media(prefers-reduced-motion:reduce){#app .bv27-conv-row{transition:none}}