/* BlackVault Business Home v0.21 — rebuilt individual components.
   Scope ONLY to the real Home view. No screenshot overlays, no duplicate old UI. */
.bv21-shell{
  --bv21-cyan:#24dffc;--bv21-line:#27bdf2;--bv21-ink:#041327;
  --bv21-label:#eaf7ff;--bv21-soft:#b4d0e4;
  background:#020c1d!important;max-width:600px;isolation:isolate;
  min-height:100dvh;overflow-x:hidden;position:relative;
}
.bv21-shell:before,.bv21-shell:after{content:none!important;display:none!important}
.bv21-shell .app-content{
  position:relative;z-index:1;
  background:
    url('/assets/blackvault-home-footer.webp') center bottom 98px/100% 210px no-repeat,
    radial-gradient(ellipse at 75% 10%,rgba(0,108,203,.12),transparent 36%),
    linear-gradient(180deg,#010a1b 0%,#021023 50%,#020d20 88%,#020a19 100%);
  padding:0 13px calc(110px + env(safe-area-inset-bottom,0px))!important;
  min-height:100dvh;
}
.bv21-shell .bv7-body{position:relative;z-index:1;min-height:0}
.bv21-header{
  position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;
  gap:7px;min-height:88px;padding:9px 1px 6px;margin:0 0 8px;overflow:visible;
}
.bv21-globe-decoration{
  pointer-events:none;position:absolute;z-index:-1;right:-15px;top:-5px;
  width:72%;height:132px;opacity:.78;
  background:url('/assets/blackvault-home-header.webp') right top/auto 100% no-repeat;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 47%,#000 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 47%,#000 100%);
  animation:bv21GlobeDrift 38s ease-in-out infinite alternate;
}
.bv21-brand{display:flex;align-items:center;gap:7px;min-width:0;flex:1;position:relative}
.bv21-crest{display:block;width:66px;height:72px;flex:none;object-fit:contain;
  filter:drop-shadow(0 0 7px rgba(22,200,254,.43));}
.bv21-brand-lines{min-width:0;display:flex;flex-direction:column;gap:1px;padding-top:1px}
.bv21-brand-lines strong{
  display:block;color:#f5faff;font-weight:900;line-height:.95;
  font-size:clamp(17px,4.35vw,26px);letter-spacing:-.75px;
  text-shadow:0 1px 10px #021025,0 0 7px #4895cb33;
}
.bv21-brand-lines>span{
  color:#28e8ee;font-size:clamp(14px,3.75vw,22px);font-weight:850;line-height:1.17;
  letter-spacing:2.1px;text-shadow:0 0 9px rgba(0,213,241,.54);
}
.bv21-brand-lines small{
  color:#d1e4ee;font-size:clamp(6.5px,1.4vw,8.8px);font-weight:720;
  letter-spacing:1.18px;white-space:nowrap;margin-top:3px;
  text-shadow:0 1px 6px #010c1d;
}
.bv21-user-actions{display:flex;gap:7px;align-items:center;flex:none;z-index:2}
.bv21-bell,.bv21-profile{position:relative;width:39px;height:40px;display:grid;place-items:center;
  background:linear-gradient(140deg,#061e37,#050d20);border:1px solid #2478b1;
  border-radius:15px;color:#eefaff;box-shadow:inset 0 1px #7bceee33,0 0 10px #008ccc38}
.bv21-bell .ico{width:25px;height:25px}
.bv21-bell i{position:absolute;right:5px;top:4px;width:9px;height:9px;
  border-radius:50%;background:#0ce6d6;box-shadow:0 0 9px #13fde1}
.bv21-profile{padding:0;border:0;background:transparent;box-shadow:none}
.bv21-profile .avatar{width:40px;height:40px;border:2px solid #22d8fa;
  box-shadow:0 0 9px #14bbfa99;font-size:15px}
.bv21-connection{
  position:relative;display:flex;align-items:center;justify-content:space-between;
  gap:9px;min-height:39px;margin:0 1px 14px;padding:7px 14px;border:1px solid #26e0ed;
  border-radius:23px;background:linear-gradient(98deg,rgba(3,94,103,.84),rgba(0,21,43,.86) 57%,rgba(2,62,91,.86));
  box-shadow:inset 0 1px #a0ffff69,0 0 13px #1fe5e53f;
  color:#f0fbff;overflow:hidden;
}
.bv21-connection:before{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(95deg,transparent 10%,#78fff81d 38%,transparent 64%);
  background-size:180% 100%;animation:bv21LightTravel 13s linear infinite}
.bv21-connection-main,.bv21-connection-sync{position:relative;display:flex;align-items:center;gap:7px;white-space:nowrap;z-index:1}
.bv21-connection-main strong{font-size:clamp(11px,2.7vw,15px);font-weight:790}
.bv21-connection-main .ico{width:24px;height:24px;stroke:#25f7cd;flex:none}
.bv21-connection-sync{font-size:clamp(9px,2.2vw,12px);color:#c5dff0;
  padding-left:11px;border-left:1px solid #69e8f87d}
.bv21-connection-sync .ico{width:17px;height:17px;stroke:#4cdeed}
.bv21-disconnected{border-color:#d18b3b;background:linear-gradient(98deg,#44301d,#06132c)}
.bv21-disconnected .bv21-connection-main .ico{stroke:#ffd174}
.bv21-home{position:relative;display:flex;flex-direction:column;gap:0;min-width:0}
.bv21-glance{margin:0}
.bv21-section-title{margin:0 0 12px 3px;display:flex;align-items:center;gap:10px;
 color:#f5fbff;font-size:clamp(18px,4.3vw,23px);font-weight:820;line-height:1.2}
.bv21-section-title:after{content:"";height:1px;flex:1;margin-left:5px;
 background:linear-gradient(90deg,#0d80d4,rgba(10,91,151,0))}
.bv21-signal{width:23px;height:22px;display:flex;gap:3px;align-items:flex-end;flex:none}
.bv21-signal i{width:5px;background:#1bdfff;box-shadow:0 0 7px #04bbef;border-radius:2px 2px 0 0}
.bv21-signal i:nth-child(1){height:9px}.bv21-signal i:nth-child(2){height:15px}.bv21-signal i:nth-child(3){height:22px}
.bv21-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 12px}
.bv21-metric{
 --edge:#22c4f5;--bright:#0b6c9a;--glow:#009ff37a;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
 min-height:105px;padding:9px 3px 10px;border:1px solid var(--edge);border-radius:17px;
 background:linear-gradient(165deg,var(--bright),#041529 73%);color:#f2fbff;
 box-shadow:inset 0 1px #ffffff55,0 0 11px var(--glow);cursor:pointer;text-align:center;
 transition:transform .18s ease,box-shadow .18s ease;
}
.bv21-metric:focus-visible,.bv21-metric:hover{box-shadow:0 0 16px var(--glow),inset 0 1px #e7fdff8a}
.bv21-metric:active{transform:scale(.97)}
.bv21-rose{--edge:#8a8dff;--bright:#0e2751;--glow:#ec60c15b}
.bv21-mint{--edge:#13eaca;--bright:#065b57;--glow:#02dcab66}
.bv21-violet{--edge:#b274fa;--bright:#34204d;--glow:#bc6ae976}
.bv21-metric-main{display:flex;align-items:center;gap:5px;justify-content:center;min-width:0}
.bv21-metric-main .ico{width:27px;height:27px;stroke:#15ebf7;filter:drop-shadow(0 0 5px #02ceff)}
.bv21-rose .ico{stroke:#55d8ff}.bv21-mint .ico{stroke:#1cedd4}.bv21-violet .ico{stroke:#dd9eff}
.bv21-metric-main strong{font-size:clamp(24px,5.5vw,31px);font-weight:870;line-height:1}
.bv21-metric-label{color:#e7f1fc;font-size:clamp(10px,2.4vw,13px);font-weight:500;
 line-height:1.14;max-width:100%;text-wrap:balance;padding:0 1px}
.bv21-panel{
 position:relative;margin:0 0 13px;padding:11px 12px 12px;
 border-radius:19px;border:1px solid #2bb8ef;
 background:linear-gradient(120deg,rgba(7,51,78,.95),rgba(2,18,41,.98) 62%,rgba(5,40,61,.93));
 box-shadow:inset 0 1px #9ce9ff80,0 0 13px #00a7e24a;min-width:0;overflow:hidden;
}
.bv21-panel:before{content:"";position:absolute;pointer-events:none;top:0;left:3%;right:3%;height:2px;
 background:linear-gradient(90deg,transparent,#60eaff 43%,transparent 77%);
 opacity:.9;background-size:200% 100%;animation:bv21LightTravel 11s linear infinite}
.bv21-panel-header{display:flex;align-items:center;justify-content:space-between;gap:7px;
 position:relative;z-index:1;margin:0 0 8px}
.bv21-panel-heading{min-width:0;display:flex;align-items:center;gap:9px;flex:1}
.bv21-panel-heading>.ico{width:33px;height:33px;stroke:#19e6ed;flex:none;
 filter:drop-shadow(0 0 6px #15dbea9a)}
.bv21-panel-heading>span{display:flex;flex-direction:column;gap:3px;min-width:0}
.bv21-panel-heading strong{font-size:clamp(16px,3.8vw,20px);font-weight:800;
 line-height:1.14;color:#f4fbff}
.bv21-panel-heading small{font-size:clamp(9px,2.1vw,11px);color:#bdd6ea;line-height:1.2}
.bv21-action{
 min-width:0;min-height:34px;display:flex;align-items:center;justify-content:center;gap:5px;
 white-space:nowrap;padding:6px 12px;border:1px solid #39dff5;border-radius:19px;
 color:#f5fdff;background:linear-gradient(117deg,#097e9a,#09436c);
 box-shadow:inset 0 1px #c1fbff7d,0 0 11px #05ccea6b;
 font-size:clamp(11px,2.55vw,14px);font-weight:780;cursor:pointer;
}
.bv21-action .ico{width:17px;height:17px;flex:none}
.bv21-chat{border-color:#24d9f7;margin-top:2px}
.bv21-chat-box{border:1px solid #207caebb;border-radius:13px;overflow:hidden;
 background:linear-gradient(110deg,#061f38f2,#04182fec)}
.bv21-chat-row{display:flex;align-items:center;gap:10px;min-height:62px;width:100%;
 text-align:left;color:#f4fbff;background:transparent;padding:8px 11px;cursor:pointer}
.bv21-chat-avatar{display:grid;place-items:center;flex:none}
.bv21-chat-avatar .avatar{height:37px;width:37px;font-size:13px;border:2px solid #26ecf6;
 box-shadow:0 0 10px #1beafe80}
.bv21-chat-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.bv21-chat-copy strong{font-size:clamp(12px,3vw,15px);font-weight:790}
.bv21-chat-copy small{font-size:clamp(11px,2.5vw,13px);color:#bad6e9;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bv21-chat-meta{display:flex;flex-direction:column;gap:7px;align-items:flex-end;flex:none;
 color:#c1d4ea;font-size:10px}
.bv21-chat-meta i{width:9px;height:9px;background:#15eecc;border-radius:50%;box-shadow:0 0 9px #04efd5}
.bv21-empty-row{display:flex;align-items:center;gap:12px;padding:15px 12px;width:100%;
 background:transparent;color:#b9d3e6;font-size:12px;text-align:left;cursor:pointer}
.bv21-empty-row .ico{width:24px;height:24px;color:#34d8f9}
.bv21-schedule{min-height:150px}
.bv21-empty-schedule{display:flex;align-items:center;justify-content:center;gap:24px;
 padding:3px 6px 6px;min-height:84px}
.bv21-large-calendar{position:relative;flex:none;width:78px;height:74px;
 display:grid;place-items:center;border-radius:50%;
 background:radial-gradient(ellipse,#00c7f127,transparent 70%);}
.bv21-large-calendar>.ico{width:57px;height:57px;stroke:#6ae8ff;filter:drop-shadow(0 0 7px #27c4f9)}
.bv21-large-calendar i{position:absolute;left:25px;top:33px;color:#a3fff9;filter:drop-shadow(0 0 4px #05def1)}
.bv21-large-calendar i>.ico{width:27px;height:27px}
.bv21-schedule-copy{display:flex;align-items:center;flex-direction:column;gap:10px;
 font-size:clamp(12px,2.8vw,14px);color:#c7d9ec;text-align:center;line-height:1.25}
.bv21-set-shift{border:1px solid #1aebf4;border-radius:20px;min-height:31px;
 background:linear-gradient(110deg,#069bba,#09516f);padding:5px 22px;
 color:#f0feff;box-shadow:0 0 9px #00d5e69f,inset 0 1px #d0ffff5c;
 font-size:clamp(11px,2.65vw,13px);font-weight:760}
.bv21-shift-list{display:flex;flex-direction:column;gap:7px;padding:7px 4px}
.bv21-shift{min-height:36px;display:flex;align-items:center;gap:9px;
 padding:7px 9px;background:#051d36ba;border:1px solid #175e83;border-radius:10px}
.bv21-shift-dot{width:8px;height:8px;border-radius:50%;background:#1dedd3;flex:none}
.bv21-shift strong{font-size:12px;color:#f3fbff;flex:1}
.bv21-shift small{font-size:11px;color:#bad6e9}
.bv21-recent{margin-top:4px}
.bv21-recent .bv21-panel-heading>.ico{width:28px;height:28px}
.bv21-recent .bv21-panel-heading strong{font-size:clamp(16px,3.6vw,19px)}
.bv21-recent .bv21-action{background:none;border:none;box-shadow:none;
 padding:5px;color:#d9f0ff;min-height:28px}
.bv21-activity-list{display:flex;flex-direction:column;background:#04192fd6;border:1px solid #227eadb0;
 border-radius:13px;overflow:hidden}
.bv21-activity-row{display:flex;align-items:center;gap:7px;min-height:41px;
 text-align:left;width:100%;padding:7px 10px;background:transparent;color:#eaf7ff;
 border-bottom:1px solid #276a90a6;cursor:pointer}
.bv21-activity-row:last-child{border-bottom:none}
.bv21-activity-row:hover{background:#0a31545d}
.bv21-activity-glyph{width:24px;flex:none;color:#22ddea}
.bv21-activity-glyph .ico{width:20px;height:20px}
.bv21-activity-row strong{font-size:clamp(10px,2.45vw,12px);white-space:nowrap}
.bv21-activity-row small{font-size:clamp(10px,2.2vw,11px);color:#bacfe5;
 flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.bv21-activity-row time{font-size:clamp(9px,2vw,11px);color:#bdd9ef;margin-left:auto;white-space:nowrap}
.bv21-no-activity{color:#bad4e7;font-size:12px;text-align:center;padding:15px}
.bv21-shell .bv21-dock{
 position:fixed!important;bottom:0!important;left:50%!important;right:auto!important;
 transform:translateX(-50%)!important;width:100%!important;max-width:600px!important;
 min-height:85px!important;padding:9px 7px calc(9px + env(safe-area-inset-bottom,0px))!important;
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:2px!important;
 border:1px solid #14628c!important;border-radius:21px 21px 0 0!important;
 background:linear-gradient(180deg,rgba(2,22,42,.99),rgba(1,9,25,.99))!important;
 box-shadow:0 -4px 20px #011527d9,0 0 10px #08beee65!important;
 z-index:500!important;box-sizing:border-box;
}
.bv21-shell .bv21-dock .nav-item{
 color:#bed4e6!important;min-width:0!important;min-height:57px!important;
 padding:7px 1px!important;display:flex;align-items:center;justify-content:center;flex-direction:column;
 gap:5px!important;border-radius:16px!important;background:transparent!important;border:1px solid transparent!important;
 box-shadow:none!important;font-size:clamp(9px,2.15vw,12px)!important;
}
.bv21-shell .bv21-dock .nav-item .ico{width:26px!important;height:26px!important}
.bv21-shell .bv21-dock .nav-item.active{
 border-color:#1ee4f7!important;
 color:#f5fcff!important;background:linear-gradient(145deg,#087799,#0a466e)!important;
 box-shadow:inset 0 1px #d2faff7d,0 0 13px #00c8fd7c!important;
}
.bv21-shell .bv21-dock .nav-item.active .ico{filter:drop-shadow(0 0 6px #10dafc)}
@keyframes bv21GlobeDrift{from{transform:translateX(-3px) rotate(-1deg)}to{transform:translateX(6px) rotate(1deg)}}
@keyframes bv21LightTravel{0%{background-position:180% 0}100%{background-position:-100% 0}}
@media(max-width:390px){
 .bv21-crest{width:54px;height:65px}.bv21-header{min-height:79px;gap:4px}
 .bv21-brand{gap:5px}.bv21-brand-lines strong{font-size:16px}
 .bv21-brand-lines>span{font-size:13px;letter-spacing:1.8px}
 .bv21-brand-lines small{font-size:6.4px;letter-spacing:.8px}
 .bv21-user-actions{gap:4px}.bv21-bell,.bv21-profile{width:34px;height:36px}
 .bv21-bell .ico{width:22px;height:22px}.bv21-profile .avatar{width:35px;height:35px}
 .bv21-metric-grid{gap:5px}.bv21-metric{min-height:94px;border-radius:14px;padding:8px 2px}
 .bv21-metric-main .ico{width:21px;height:21px}.bv21-metric-main strong{font-size:22px}
 .bv21-metric-label{font-size:9.5px}.bv21-connection{padding:6px 9px}
 .bv21-panel{padding:10px 9px}.bv21-panel-heading>.ico{width:27px;height:27px}
 .bv21-panel-heading strong{font-size:15px}.bv21-panel-heading small{font-size:9px}
 .bv21-action{font-size:10px;padding:5px 8px}
 .bv21-empty-schedule{gap:10px}.bv21-large-calendar{width:64px}
 .bv21-shell .bv21-dock .nav-item .ico{width:23px!important;height:23px!important}
}
@media(prefers-reduced-motion:reduce){
 .bv21-globe-decoration,.bv21-connection:before,.bv21-panel:before{animation:none!important}
 .bv21-metric{transition:none!important}
}
