:root{
  --bg:#05070d;
  --bg2:#08111f;
  --card:#0d1627;
  --card2:#101b2f;
  --line:rgba(148,163,184,.18);
  --text:#f8fafc;
  --muted:#94a3b8;
  --blue:#2563eb;
  --cyan:#38bdf8;
  --danger:#fb7185;
  --ok:#22c55e;
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at top left,rgba(37,99,235,.35),transparent 34rem),
    radial-gradient(circle at bottom right,rgba(56,189,248,.13),transparent 28rem),
    linear-gradient(135deg,var(--bg),var(--bg2));
  color:var(--text);
  min-height:100vh;
}
a{color:var(--cyan);text-decoration:none}a:hover{text-decoration:underline}
.page-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:34px 0 60px}
.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px;gap:20px}
.brand{display:flex;align-items:center;gap:12px;color:var(--text);font-weight:800;letter-spacing:-.03em;font-size:22px;min-width:0}.brand span:last-child{overflow-wrap:anywhere;line-height:1.05}
.logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--blue),var(--cyan));display:grid;place-items:center;box-shadow:0 18px 45px rgba(37,99,235,.38);font-weight:900;color:white}
.nav-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.nav-actions a{color:var(--muted);font-size:14px}
.btn{border:0;border-radius:999px;padding:13px 18px;font-weight:800;cursor:pointer;background:var(--blue);color:white;box-shadow:0 15px 36px rgba(37,99,235,.35);display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{text-decoration:none;filter:brightness(1.08)}
.btn.secondary{background:rgba(15,23,42,.75);border:1px solid var(--line);box-shadow:none;color:var(--text)}
.grid{display:grid;grid-template-columns:.9fr 1.25fr;gap:28px;align-items:start}.hero-card,.form-card,.doc-card{background:linear-gradient(180deg,rgba(15,23,42,.88),rgba(8,13,23,.88));border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 30px 90px rgba(0,0,0,.32);backdrop-filter:blur(14px)}
.hero-card{padding:34px;position:sticky;top:24px;overflow:hidden}.hero-card:before{content:"";position:absolute;inset:-2px;background:radial-gradient(circle at top right,rgba(56,189,248,.22),transparent 17rem);pointer-events:none}.eyebrow{color:var(--cyan);font-weight:800;text-transform:uppercase;letter-spacing:.14em;font-size:12px;position:relative}.hero-card h1{font-size:clamp(34px,4.4vw,56px);line-height:1;margin:18px 0 18px;letter-spacing:-.055em;position:relative;overflow-wrap:anywhere;word-break:normal;max-width:100%}.hero-card p{color:var(--muted);line-height:1.7;font-size:16px;position:relative}.feature-list{display:grid;gap:12px;margin-top:26px;position:relative}.feature{display:flex;gap:10px;align-items:flex-start;color:#dbeafe}.check{width:22px;height:22px;border-radius:8px;background:rgba(34,197,94,.14);color:#86efac;display:grid;place-items:center;flex:0 0 22px;font-weight:900}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px;position:relative}.stat{border:1px solid var(--line);border-radius:16px;padding:14px;background:rgba(2,6,23,.35)}.stat strong{display:block;font-size:20px}.stat span{font-size:12px;color:var(--muted)}
.form-card{padding:28px}.form-head{margin-bottom:24px}.form-head h2{font-size:34px;letter-spacing:-.045em;margin:0 0 8px}.form-head p{margin:0;color:var(--muted);line-height:1.6}.section{padding:22px 0;border-top:1px solid var(--line)}.section:first-of-type{border-top:0;padding-top:0}.section-title{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-size:18px}.section-number{width:30px;height:30px;border-radius:11px;background:rgba(37,99,235,.2);color:#bfdbfe;display:grid;place-items:center;font-size:13px;font-weight:900}.fields{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;color:#cbd5e1;font-weight:700}.field input,.field textarea,.field select{width:100%;background:rgba(2,6,23,.5);border:1px solid var(--line);color:var(--text);border-radius:14px;padding:14px 14px;font:inherit;outline:none}.field textarea{min-height:96px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:rgba(56,189,248,.75);box-shadow:0 0 0 4px rgba(56,189,248,.08)}.hint{font-size:12px;color:var(--muted);line-height:1.5}.consent-row{display:flex;align-items:flex-start;gap:12px;margin:14px 0;color:#dbeafe;line-height:1.55}.consent-row input{margin-top:4px;accent-color:var(--blue);width:18px;height:18px}.legal-links{color:var(--muted);line-height:1.65}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;flex-wrap:wrap}.small-note{color:var(--muted);font-size:13px;line-height:1.5}.error{color:var(--danger);font-size:13px;margin-top:10px;display:none}.success{color:#86efac;font-size:13px;margin-top:10px;display:none}
.auth-wrap{min-height:calc(100vh - 140px);display:grid;place-items:center}.auth-card{width:min(460px,100%);background:linear-gradient(180deg,rgba(15,23,42,.9),rgba(8,13,23,.92));border:1px solid var(--line);border-radius:var(--radius);padding:32px;box-shadow:0 30px 90px rgba(0,0,0,.32)}.auth-card h1{margin:16px 0 8px;font-size:34px;letter-spacing:-.05em}.auth-card p{color:var(--muted);line-height:1.6}.auth-card form{display:grid;gap:16px;margin-top:24px}
.doc-card{padding:36px;line-height:1.75}.doc-card h1{font-size:38px;letter-spacing:-.05em;line-height:1.05;margin:0 0 10px}.doc-card h2{font-size:22px;margin-top:30px;color:#dbeafe}.doc-card p,.doc-card li{color:#cbd5e1}.doc-card .meta{color:var(--muted);margin-bottom:28px}.price-table{width:100%;border-collapse:collapse;margin-top:18px;overflow:hidden;border-radius:16px}.price-table th,.price-table td{border:1px solid var(--line);padding:16px;text-align:left}.price-table th{background:rgba(37,99,235,.18);color:#dbeafe}.price-table td{color:#cbd5e1;background:rgba(2,6,23,.28)}
@media(max-width:900px){.grid{grid-template-columns:1fr}.hero-card{position:relative;top:auto}.fields{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.form-card,.hero-card,.doc-card,.auth-card{padding:22px}.page-shell{width:min(100% - 22px,1180px);padding-top:20px}.hero-card h1{font-size:clamp(34px,10vw,42px);line-height:1.04}.brand{font-size:20px}}

/* CompanyManager premium branding v0.2 */
body{
  background:
    linear-gradient(135deg,rgba(2,6,23,.92),rgba(5,10,20,.86)),
    url("assets/companymanager-brand-background.jpg") center top/cover fixed no-repeat;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(circle at 22% 10%,rgba(37,99,235,.22),transparent 26rem),
    radial-gradient(circle at 85% 18%,rgba(56,189,248,.11),transparent 24rem),
    linear-gradient(180deg,rgba(2,6,23,.12),rgba(2,6,23,.78));
}
.brand-logo{
  width:46px;
  height:46px;
  border-radius:14px;
  object-fit:cover;
  box-shadow:0 18px 45px rgba(0,102,255,.36), inset 0 0 0 1px rgba(255,255,255,.18);
}
.logo{display:none}
.hero-logo-premium{
  width:min(100%,520px);
  display:block;
  margin:10px 0 24px;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.08);
}
.auth-logo-premium{
  width:min(100%,360px);
  display:block;
  margin:0 auto 20px;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.08);
}
.hero-card,.form-card,.doc-card,.auth-card{
  background:linear-gradient(180deg,rgba(7,12,22,.88),rgba(3,7,15,.90));
  border-color:rgba(255,255,255,.12);
}
.brand span{
  max-width:260px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media(max-width:600px){
  body{background-attachment:scroll;background-position:center top}
  .brand span{max-width:210px;font-size:20px}
  .hero-logo-premium{margin-bottom:18px;border-radius:14px}
  .auth-logo-premium{border-radius:14px}
}

/* CompanyManager v0.2.1 — register title fix */
.register-hero-title{
  font-size:clamp(26px,3.2vw,38px) !important;
  line-height:1.12 !important;
  letter-spacing:-.045em !important;
  overflow-wrap:break-word;
  word-break:normal;
}
@media(max-width:600px){
  .register-hero-title{
    font-size:24px !important;
    line-height:1.18 !important;
  }
}


/* CompanyManager v0.2.2 — UX, pricing card and PWC signature */
.compact-pricing{
  margin-top:22px;
  padding:18px;
  border:1px solid rgba(56,189,248,.22);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(15,23,42,.62),rgba(2,6,23,.72));
  box-shadow:0 18px 50px rgba(0,0,0,.24);
}
.pricing-eyebrow{
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#93c5fd;
  margin-bottom:14px;
}
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.pricing-grid div{
  padding:12px;
  border-radius:16px;
  background:rgba(2,6,23,.48);
  border:1px solid rgba(255,255,255,.08);
}
.pricing-grid strong{display:block;color:#f8fafc;font-size:14px;margin-bottom:4px}
.pricing-grid span{display:block;color:#38bdf8;font-weight:800;font-size:13px}
.sms-prices{
  display:grid;
  gap:7px;
  margin-top:14px;
  color:#cbd5e1;
  font-size:13px;
  line-height:1.45;
}
.compact-pricing p{margin:12px 0 0;color:#94a3b8;font-size:12px;line-height:1.45}
.pwc-signature{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;
  padding:10px 15px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,10,20,.76);
  backdrop-filter:blur(15px);
  box-shadow:0 18px 45px rgba(0,0,0,.32);
  color:#94a3b8;
  font-size:12px;
  line-height:1.25;
}
.pwc-signature span{display:block}
.pwc-signature a{display:block;color:#38bdf8;text-decoration:none;font-weight:800;margin-top:2px}
.pwc-signature a:hover{color:#bfdbfe}
@media(max-width:600px){
  .pricing-grid{grid-template-columns:1fr}
  .pwc-signature{right:12px;bottom:12px;padding:8px 12px;font-size:11px}
}


/* CompanyManager v0.2.3 — clean global navigation */
.nav-actions{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.nav-actions .nav-link{
  color:#94a3b8;
  font-size:14px;
  font-weight:800;
  padding:9px 10px;
  border-radius:999px;
  transition:.18s ease;
}
.nav-actions .nav-link:hover{
  color:#bfdbfe;
  background:rgba(56,189,248,.08);
  text-decoration:none;
}
.nav-actions .nav-link.active{
  color:#38bdf8;
  background:rgba(56,189,248,.12);
  box-shadow:inset 0 0 0 1px rgba(56,189,248,.18);
}
@media(max-width:700px){
  .nav-actions{gap:6px}
  .nav-actions .nav-link{font-size:12px;padding:8px 9px}
}


/* CompanyManager v0.2.4 — pricing card on login page */
.login-grid{
  min-height:calc(100vh - 140px);
  display:grid;
  grid-template-columns:minmax(280px,420px) minmax(320px,460px);
  gap:28px;
  align-items:start;
  justify-content:center;
}
.login-pricing-card{
  margin-top:0;
  align-self:start;
}
.login-grid .auth-card{
  width:100%;
}
@media(max-width:900px){
  .login-grid{
    min-height:auto;
    grid-template-columns:1fr;
  }
}

/* CompanyManager v0.2.5 — selectable pricing and form validation */
.selectable-pricing{
  margin-top:0;
}
.pricing-options .price-option{
  display:block;
  position:relative;
  cursor:pointer;
  padding:0;
  border-radius:16px;
}
.pricing-options .price-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.pricing-options .price-option span{
  min-height:82px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:15px;
  border-radius:16px;
  background:rgba(2,6,23,.48);
  border:1px solid rgba(255,255,255,.08);
  transition:.18s ease;
}
.pricing-options .price-option strong{
  display:block;
  color:#f8fafc;
  font-size:15px;
  margin-bottom:6px;
}
.pricing-options .price-option em{
  display:block;
  color:#38bdf8;
  font-style:normal;
  font-weight:900;
  font-size:14px;
}
.pricing-options .price-option:hover span{
  border-color:rgba(56,189,248,.42);
  background:rgba(14,30,58,.72);
  transform:translateY(-1px);
}
.pricing-options .price-option input:checked + span{
  border-color:rgba(56,189,248,.95);
  background:linear-gradient(180deg,rgba(37,99,235,.34),rgba(2,6,23,.78));
  box-shadow:0 0 0 4px rgba(56,189,248,.10), 0 18px 45px rgba(37,99,235,.20);
}
.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid{
  border-color:rgba(248,113,113,.95)!important;
  box-shadow:0 0 0 4px rgba(248,113,113,.10)!important;
}
.consent-row.is-invalid{
  border:1px solid rgba(248,113,113,.55);
  background:rgba(127,29,29,.16);
  border-radius:14px;
  padding:10px 12px;
}
.price-option.is-invalid span{
  border-color:rgba(248,113,113,.75)!important;
  box-shadow:0 0 0 4px rgba(248,113,113,.08)!important;
}
.field-error{
  margin:5px 0 0;
  color:#fca5a5;
  font-size:12px;
  line-height:1.45;
}
#pricingError{
  margin-top:10px;
  display:none;
}


/* CompanyManager v0.2.6 — pricing visibility and password validation polish */
.register-pricing-card{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  margin-top:0;
  border-color:rgba(56,189,248,.35);
}
.pricing-intro{
  margin:0 0 14px !important;
  color:#cbd5e1 !important;
  font-size:13px !important;
}
.pricing-options{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.price-option{
  user-select:none;
}
.price-option input:checked + span::after{
  content:'Wybrano';
  margin-top:8px;
  display:inline-flex;
  width:max-content;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(56,189,248,.16);
  color:#bfdbfe;
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
@media(max-width:700px){
  .pricing-options{grid-template-columns:1fr}
}

/* CompanyManager v0.3 — dashboard + local demo database */
.nav-button{
  border:1px solid rgba(248,113,113,.35);
  background:rgba(127,29,29,.22);
  color:#fecaca;
  border-radius:999px;
  padding:9px 12px;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}
.nav-button:hover{background:rgba(127,29,29,.38);color:#fff;text-decoration:none}
.demo-credentials{
  display:block!important;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(34,197,94,.10);
  border:1px solid rgba(34,197,94,.22);
}
.dashboard-shell{display:grid;gap:22px}
.dashboard-hero{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  padding:32px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(7,12,22,.88),rgba(3,7,15,.90));
  box-shadow:0 30px 90px rgba(0,0,0,.32);
  backdrop-filter:blur(14px);
}
.dashboard-hero h1{margin:12px 0 10px;font-size:clamp(32px,4vw,52px);line-height:1;letter-spacing:-.055em}
.dashboard-hero p{margin:0;color:#cbd5e1;line-height:1.7;max-width:760px}
.dashboard-plan{
  min-width:230px;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(56,189,248,.24);
  background:rgba(2,6,23,.42);
}
.dashboard-plan span{display:block;color:#94a3b8;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;margin-bottom:8px}
.dashboard-plan strong{display:block;color:#38bdf8;font-size:18px;line-height:1.3}
.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.dash-card{
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(15,23,42,.74),rgba(2,6,23,.70));
  box-shadow:0 18px 50px rgba(0,0,0,.20);
}
.dash-card span{display:block;color:#94a3b8;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;margin-bottom:10px}
.dash-card strong{display:block;color:#f8fafc;font-size:22px;line-height:1.15;margin-bottom:8px;overflow-wrap:anywhere}
.dash-card small{display:block;color:#38bdf8;font-weight:800;line-height:1.35}
.dashboard-panel{
  padding:28px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(7,12,22,.84),rgba(3,7,15,.88));
  box-shadow:0 30px 90px rgba(0,0,0,.24);
}
.dashboard-panel h2{margin:0 0 18px;font-size:26px;letter-spacing:-.04em}
.data-list{display:grid;gap:10px;color:#cbd5e1;line-height:1.6}
.data-list p{margin:0;padding:12px 14px;border-radius:16px;background:rgba(2,6,23,.38);border:1px solid rgba(255,255,255,.07)}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:repeat(2,1fr)}.dashboard-hero{flex-direction:column}.dashboard-plan{width:100%}}
@media(max-width:600px){.dashboard-grid{grid-template-columns:1fr}.dashboard-hero,.dashboard-panel{padding:22px}}


.demo-login-box {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.08);
  color: #94a3b8;
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.demo-login-box strong {
  color: #e5f4ff;
  font-weight: 700;
}


/* CompanyManager v0.4 — role system panel */
.panel-body{
  background:
    linear-gradient(135deg,rgba(2,6,23,.94),rgba(5,10,20,.90)),
    url("../assets/companymanager-brand-background.jpg") center top/cover fixed no-repeat;
}
.panel-app-shell{
  width:min(100% - 28px,1440px);
  margin:0 auto;
  padding:22px 0 90px;
}
.panel-layout{
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.panel-sidebar{
  position:sticky;
  top:18px;
  min-height:calc(100vh - 36px);
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(7,12,22,.93),rgba(3,7,15,.92));
  box-shadow:0 30px 90px rgba(0,0,0,.32);
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.panel-brand{display:flex;gap:12px;align-items:center;color:#f8fafc;font-weight:950;font-size:19px;letter-spacing:-.03em}
.panel-brand img{width:44px;height:44px;border-radius:14px;box-shadow:0 18px 45px rgba(0,102,255,.34)}
.role-badge{display:inline-flex;align-items:center;width:max-content;gap:8px;padding:8px 11px;border-radius:999px;background:rgba(56,189,248,.12);border:1px solid rgba(56,189,248,.22);color:#bfdbfe;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.role-badge.owner{background:rgba(250,204,21,.12);border-color:rgba(250,204,21,.24);color:#fde68a}
.role-badge.admin{background:rgba(56,189,248,.12);border-color:rgba(56,189,248,.24);color:#bfdbfe}
.role-badge.employee{background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.22);color:#bbf7d0}
.panel-user-card{padding:14px;border-radius:18px;background:rgba(2,6,23,.42);border:1px solid rgba(255,255,255,.08)}
.panel-user-card strong{display:block;color:#f8fafc;margin-bottom:6px;overflow-wrap:anywhere}.panel-user-card span{display:block;color:#94a3b8;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.panel-nav{display:grid;gap:7px}.panel-nav a{display:flex;align-items:center;gap:10px;color:#94a3b8;padding:11px 12px;border-radius:15px;font-weight:850;text-decoration:none;transition:.18s}.panel-nav a:hover{color:#bfdbfe;background:rgba(56,189,248,.08)}.panel-nav a.active{color:#38bdf8;background:rgba(56,189,248,.13);box-shadow:inset 0 0 0 1px rgba(56,189,248,.18)}
.panel-logout{margin-top:auto;border:1px solid rgba(248,113,113,.35);background:rgba(127,29,29,.20);color:#fecaca;border-radius:16px;padding:12px;font-weight:950;cursor:pointer;text-align:center}.panel-logout:hover{background:rgba(127,29,29,.38);color:white}
.panel-content{display:grid;gap:22px;min-width:0}.panel-topbar{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:22px 24px;border-radius:26px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(7,12,22,.88),rgba(3,7,15,.90));box-shadow:0 22px 70px rgba(0,0,0,.22)}
.panel-topbar h1{margin:0;font-size:clamp(28px,3.4vw,44px);letter-spacing:-.055em}.panel-topbar p{margin:8px 0 0;color:#94a3b8;line-height:1.55}.panel-topbar-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.panel-pill{padding:10px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(2,6,23,.42);color:#cbd5e1;font-size:13px;font-weight:800}.panel-card{padding:24px;border-radius:26px;border:1px solid rgba(255,255,255,.11);background:linear-gradient(180deg,rgba(15,23,42,.72),rgba(2,6,23,.72));box-shadow:0 22px 70px rgba(0,0,0,.20)}
.panel-card h2{margin:0 0 16px;font-size:24px;letter-spacing:-.04em}.panel-card p{color:#cbd5e1;line-height:1.65}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{padding:18px;border-radius:20px;background:rgba(2,6,23,.42);border:1px solid rgba(255,255,255,.08)}.metric-card span{display:block;color:#94a3b8;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:950;margin-bottom:9px}.metric-card strong{display:block;color:#f8fafc;font-size:26px;line-height:1.1}.metric-card small{display:block;color:#38bdf8;font-weight:850;margin-top:7px;line-height:1.35}
.table-wrap{overflow:auto;border-radius:18px;border:1px solid rgba(255,255,255,.08)}.data-table{width:100%;border-collapse:collapse;min-width:720px}.data-table th,.data-table td{padding:14px 15px;border-bottom:1px solid rgba(255,255,255,.08);text-align:left}.data-table th{background:rgba(37,99,235,.13);color:#dbeafe;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.data-table td{color:#cbd5e1}.data-table tr:last-child td{border-bottom:0}.role-select,.panel-input{width:100%;background:rgba(2,6,23,.5);border:1px solid rgba(255,255,255,.12);color:#f8fafc;border-radius:14px;padding:12px 13px;font:inherit;outline:none}.panel-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.panel-form-grid .btn{border-radius:14px}.panel-message{display:none;margin-top:12px;color:#86efac;font-size:13px}.panel-warning{border:1px solid rgba(250,204,21,.25);background:rgba(250,204,21,.08);color:#fde68a;border-radius:18px;padding:14px;line-height:1.55}.locked-card{opacity:.7}.locked-card strong{color:#fca5a5}.dev-note{color:#94a3b8;font-size:13px;line-height:1.55;margin-top:10px}
@media(max-width:1100px){.panel-layout{grid-template-columns:1fr}.panel-sidebar{position:relative;min-height:auto}.quick-grid{grid-template-columns:repeat(2,1fr)}.panel-form-grid{grid-template-columns:1fr 1fr}.panel-topbar{flex-direction:column;align-items:flex-start}}
@media(max-width:650px){.panel-app-shell{width:min(100% - 20px,1440px);padding-top:14px}.quick-grid{grid-template-columns:1fr}.panel-form-grid{grid-template-columns:1fr}.panel-card,.panel-topbar,.panel-sidebar{padding:18px;border-radius:22px}.panel-nav{grid-template-columns:1fr 1fr}.panel-nav a{font-size:13px;padding:10px}}

/* CompanyManager v0.5.1 — admin dashboard closer to reference, black/blue theme */
.panel-body{
  margin:0;
  background:#050814;
  color:#e5edf7;
  overflow-x:hidden;
}
.panel-body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 18% 8%,rgba(37,99,235,.32),transparent 26rem),
    radial-gradient(circle at 86% 18%,rgba(14,165,233,.18),transparent 28rem),
    linear-gradient(135deg,#030712 0%,#071326 48%,#020617 100%);
}
.panel-app-shell{width:100%;min-height:100vh;padding:0;}
.bm-panel{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);}
.bm-sidebar{
  position:sticky;top:0;height:100vh;overflow:auto;
  border-right:1px solid rgba(148,163,184,.18);
  background:linear-gradient(180deg,rgba(7,13,27,.96),rgba(2,6,23,.96));
  box-shadow:22px 0 60px rgba(0,0,0,.28);
  padding:18px 14px;
}
.bm-logo{display:flex;align-items:center;gap:10px;color:#f8fafc;text-decoration:none;font-weight:900;font-size:17px;margin-bottom:14px;}
.bm-logo img{width:38px;height:38px;border-radius:12px;box-shadow:0 12px 32px rgba(37,99,235,.36);}
.bm-mini-calendar{border:1px solid rgba(56,189,248,.18);border-radius:18px;padding:10px;background:rgba(15,23,42,.55);margin:12px 0 16px;}
.bm-today{width:100%;border:0;border-radius:14px;background:rgba(37,99,235,.18);color:#f8fafc;padding:11px 10px;text-align:left;cursor:pointer;}
.bm-today strong{display:block;font-size:14px}.bm-today span{display:block;color:#94a3b8;font-size:11px;margin-top:3px}
.bm-month{margin-top:10px}.bm-month-head{display:flex;align-items:center;justify-content:space-between;color:#bfdbfe;font-size:12px;margin-bottom:8px}.bm-month-head button{border:1px solid rgba(255,255,255,.1);background:rgba(2,6,23,.6);color:#bfdbfe;border-radius:8px;width:26px;height:26px}.bm-month table{width:100%;border-collapse:separate;border-spacing:3px;font-size:11px;text-align:center}.bm-month th{color:#93c5fd;font-weight:800;padding:4px}.bm-month td{height:24px;border-radius:8px;background:rgba(15,23,42,.76);color:#cbd5e1}.bm-month td.today{background:#2563eb;color:#fff;font-weight:900;box-shadow:0 0 0 2px rgba(56,189,248,.22)}.bm-month td.muted{background:transparent;color:#475569}
.bm-nav{display:grid;gap:5px;padding-bottom:70px}.bm-nav a{display:flex;align-items:center;min-height:36px;padding:8px 12px;border-radius:11px;color:#a8b5c8;text-decoration:none;font-size:13px;font-weight:800;border:1px solid transparent;transition:.16s}.bm-nav a:hover{background:rgba(56,189,248,.08);color:#dbeafe}.bm-nav a.active{background:linear-gradient(90deg,rgba(37,99,235,.34),rgba(14,165,233,.14));color:#38bdf8;border-color:rgba(56,189,248,.24)}
.bm-main{min-width:0;padding:18px 22px 70px}.bm-topbar{height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid rgba(148,163,184,.14);border-radius:18px;background:rgba(8,13,25,.72);backdrop-filter:blur(14px);padding:10px 14px;margin-bottom:18px;box-shadow:0 18px 50px rgba(0,0,0,.2)}.bm-topbar h1{margin:0;font-size:22px;letter-spacing:-.035em}.bm-topbar p{margin:3px 0 0;color:#94a3b8;font-size:12px}.bm-user-menu{display:flex;align-items:center;gap:9px;color:#cbd5e1;font-size:12px}.bm-user-menu b{color:#38bdf8;border:1px solid rgba(56,189,248,.22);padding:6px 9px;border-radius:999px;background:rgba(37,99,235,.15)}.bm-user-menu button,.bm-page-head button,.bm-admin-actions button,.bm-form-row button{border:0;background:#2563eb;color:#fff;border-radius:10px;padding:9px 12px;font-weight:900;cursor:pointer;box-shadow:0 12px 30px rgba(37,99,235,.22)}
.bm-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:20px}.bm-admin-hero h2{font-size:26px}.bm-tag{color:#38bdf8;text-transform:uppercase;letter-spacing:.13em;font-weight:900;font-size:11px}.bm-admin-actions{display:flex;gap:8px;flex-wrap:wrap}.bm-page-card{border:1px solid rgba(148,163,184,.14);background:linear-gradient(180deg,rgba(15,23,42,.78),rgba(5,10,20,.82));border-radius:20px;padding:18px;margin-bottom:16px;box-shadow:0 18px 55px rgba(0,0,0,.23);}.bm-page-card h2{margin:0 0 12px;font-size:18px;color:#eaf2ff}.bm-page-card p{color:#94a3b8;line-height:1.55}.bm-muted{color:#94a3b8}.bm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.bm-stats article{border:1px solid rgba(56,189,248,.17);background:rgba(15,23,42,.72);border-radius:18px;padding:16px}.bm-stats span{display:block;color:#94a3b8;font-size:12px;font-weight:800}.bm-stats strong{display:block;font-size:30px;color:#f8fafc;margin:7px 0}.bm-stats small{color:#38bdf8;font-weight:800}.bm-grid-2{display:grid;grid-template-columns:1.35fr .8fr;gap:16px}.bm-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.bm-table-wrap{overflow:auto;border:1px solid rgba(148,163,184,.14);border-radius:15px}.bm-table{width:100%;border-collapse:collapse;min-width:620px}.bm-table th{background:rgba(37,99,235,.16);color:#bfdbfe;text-align:left;font-size:12px;padding:11px;border-bottom:1px solid rgba(148,163,184,.14)}.bm-table td{padding:11px;color:#dbeafe;font-size:13px;border-bottom:1px solid rgba(148,163,184,.1)}.bm-table tr:hover td{background:rgba(56,189,248,.055)}.bm-role,.bm-status{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;background:rgba(37,99,235,.18);color:#93c5fd}.bm-role.owner{color:#fbbf24;background:rgba(245,158,11,.14)}.bm-role.admin{color:#38bdf8;background:rgba(14,165,233,.14)}.bm-role.employee{color:#86efac;background:rgba(34,197,94,.14)}.bm-status-list{display:grid;gap:9px}.bm-status-list p{margin:0;padding:11px;border-radius:12px;background:rgba(2,6,23,.42)}.bm-form-row{display:grid;grid-template-columns:1.1fr 1.1fr .8fr .7fr auto;gap:10px}.bm-form-row input,.bm-form-row select{background:rgba(2,6,23,.62);border:1px solid rgba(148,163,184,.18);color:#e5edf7;border-radius:12px;padding:11px;outline:none}.bm-form-row input:focus,.bm-form-row select:focus{border-color:#38bdf8}.bm-day-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bm-day-columns div{border:1px solid rgba(148,163,184,.14);background:rgba(2,6,23,.45);border-radius:16px;padding:14px;min-height:88px}.bm-day-columns div.busy{background:linear-gradient(180deg,rgba(37,99,235,.22),rgba(15,23,42,.74));border-color:rgba(56,189,248,.28)}.bm-day-columns b{display:block;color:#38bdf8;font-size:18px}.bm-day-columns span{display:block;color:#cbd5e1;margin-top:8px;font-size:13px;line-height:1.45}.panel-message{font-size:13px;margin:10px 0 0}.pwc-signature{z-index:10000}
@media(max-width:1050px){.bm-panel{grid-template-columns:1fr}.bm-sidebar{position:relative;height:auto}.bm-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:10px}.bm-main{padding:14px}.bm-stats{grid-template-columns:repeat(2,1fr)}.bm-grid-2{grid-template-columns:1fr}.bm-form-row{grid-template-columns:1fr}.bm-day-columns{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.bm-topbar,.bm-admin-hero{align-items:flex-start;flex-direction:column;height:auto}.bm-stats{grid-template-columns:1fr}.bm-nav{grid-template-columns:1fr}.bm-day-columns{grid-template-columns:1fr}.bm-user-menu{flex-wrap:wrap}.bm-main{padding:10px}.bm-page-card{padding:14px}}

/* CompanyManager v0.5.2 — calendar + menu polish */
.bm-today{display:flex;align-items:center;justify-content:center;min-height:44px;text-align:center;}
.bm-today strong{font-size:15px;letter-spacing:-.02em;}
.bm-month{padding-top:10px;}
.bm-month-head strong{cursor:pointer;user-select:none;padding:5px 8px;border-radius:10px;transition:.16s;}
.bm-month-head strong:hover{background:rgba(56,189,248,.1);color:#e0f2fe;}
.bm-month-head button{cursor:pointer;transition:.16s;}
.bm-month-head button:hover{border-color:rgba(56,189,248,.38);color:#fff;background:rgba(37,99,235,.28);}
.bm-month td{background:transparent;height:28px;padding:0;}
.bm-date-btn{width:100%;height:28px;border:0;border-radius:9px;background:rgba(15,23,42,.76);color:#cbd5e1;font:inherit;cursor:pointer;transition:.14s;}
.bm-date-btn:hover{background:rgba(37,99,235,.35);color:#fff;}
.bm-date-btn.today{background:#2563eb;color:#fff;font-weight:900;box-shadow:0 0 0 2px rgba(56,189,248,.22)}
.bm-year-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;}
.bm-year-btn{border:1px solid rgba(148,163,184,.14);background:rgba(15,23,42,.7);color:#cbd5e1;border-radius:10px;padding:9px 6px;font-weight:900;cursor:pointer;}
.bm-year-btn:hover{border-color:rgba(56,189,248,.38);color:#fff;background:rgba(37,99,235,.22);}
.bm-year-btn.active{background:#2563eb;color:#fff;border-color:rgba(56,189,248,.5);}
.bm-year-btn:disabled{opacity:.35;cursor:not-allowed;}
.bm-nav{gap:6px;}

/* CompanyManager v0.5.3 — top horizontal panel layout */
.bm-panel.bm-top-layout{
  min-height:100vh;
  display:block;
}
.bm-horizontal-menu{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  overflow-x:auto;
  white-space:nowrap;
  padding:10px 16px;
  border-bottom:1px solid rgba(148,163,184,.16);
  background:linear-gradient(90deg,rgba(5,10,20,.94),rgba(8,18,38,.91));
  box-shadow:0 18px 52px rgba(0,0,0,.26);
}
.bm-horizontal-menu::-webkit-scrollbar{height:7px}
.bm-horizontal-menu::-webkit-scrollbar-thumb{background:rgba(56,189,248,.24);border-radius:999px}
.bm-horizontal-brand{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 12px;
  border-radius:12px;
  color:#eaf2ff;
  font-weight:950;
  letter-spacing:-.025em;
  text-decoration:none;
  border:1px solid rgba(56,189,248,.18);
  background:rgba(37,99,235,.15);
}
.bm-horizontal-brand.active,
.bm-horizontal-brand:hover{
  color:#38bdf8;
  border-color:rgba(56,189,248,.34);
  background:rgba(37,99,235,.22);
}
.bm-nav-top{
  display:flex;
  align-items:center;
  gap:4px;
  padding:0;
  min-width:max-content;
}
.bm-nav-top a{
  flex:0 0 auto;
  min-height:36px;
  padding:8px 10px;
  border-radius:11px;
  font-size:13px;
}
.bm-main.bm-main-top{
  width:min(100% - 28px,1320px);
  margin:0 auto;
  padding:28px 0 76px;
}
.bm-identity-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  margin:8px auto 20px;
}
.bm-identity-logo{
  width:74px;
  height:74px;
  border-radius:24px;
  position:relative;
  display:grid;
  place-items:center;
  border:1px solid rgba(56,189,248,.25);
  background:linear-gradient(180deg,rgba(15,23,42,.88),rgba(2,6,23,.9));
  box-shadow:0 22px 65px rgba(37,99,235,.25);
  overflow:hidden;
}
.bm-identity-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.36;
  position:absolute;
  inset:0;
}
.bm-identity-logo span{
  position:relative;
  z-index:1;
  color:#eaf2ff;
  font-weight:1000;
  font-size:24px;
  letter-spacing:-.08em;
}
.bm-identity-block h1{
  margin:0;
  color:#f8fafc;
  font-size:clamp(28px,3vw,42px);
  letter-spacing:-.06em;
}
.bm-calendar-center{
  width:min(100%,360px);
  margin:4px auto 0;
  padding:0;
  border:0;
  background:transparent;
}
.bm-calendar-center .bm-today{
  min-height:auto;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  color:#eaf2ff;
}
.bm-calendar-center .bm-today strong{
  font-size:22px;
  font-weight:950;
  letter-spacing:-.04em;
}
.bm-calendar-center .bm-month{
  margin-top:12px;
  padding:14px;
  border:1px solid rgba(56,189,248,.2);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(2,6,23,.92));
  box-shadow:0 24px 70px rgba(0,0,0,.32);
}
.bm-user-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  margin-top:2px;
}
.bm-user-stack strong{
  color:#f8fafc;
  font-size:17px;
  line-height:1.1;
}
.bm-user-stack b{
  color:#38bdf8;
  font-size:12px;
  letter-spacing:.12em;
  font-weight:950;
}
.bm-user-stack button{
  border:1px solid rgba(248,113,113,.26);
  background:rgba(127,29,29,.20);
  color:#fecaca;
  border-radius:999px;
  padding:7px 13px;
  font-weight:900;
  cursor:pointer;
}
.bm-user-stack button:hover{background:rgba(127,29,29,.36);color:#fff}
.bm-current-section{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-end;
  border:1px solid rgba(148,163,184,.14);
  border-radius:20px;
  background:rgba(8,13,25,.58);
  padding:16px 18px;
  margin-bottom:16px;
}
.bm-current-section h2{
  margin:0;
  font-size:22px;
  color:#f8fafc;
  letter-spacing:-.04em;
}
.bm-current-section p{
  margin:4px 0 0;
  color:#94a3b8;
  font-size:13px;
}
@media(max-width:800px){
  .bm-horizontal-menu{align-items:flex-start;padding:9px 10px;}
  .bm-nav-top a{font-size:12px;padding:8px 9px;}
  .bm-main.bm-main-top{width:min(100% - 18px,1320px);padding-top:18px;}
  .bm-current-section{align-items:flex-start;flex-direction:column;}
}

/* CompanyManager v0.5.4 — top menu + left identity panel */
.bm-panel-workspace{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.bm-left-info-panel{
  border:1px solid rgba(56,189,248,.18);
  background:linear-gradient(180deg,rgba(8,13,25,.86),rgba(3,7,15,.92));
  border-radius:22px;
  padding:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.bm-panel-area{min-width:0;}
.bm-left-info-panel .bm-identity-block{
  align-items:flex-start;
  text-align:left;
  margin:0;
  gap:13px;
}
.bm-left-info-panel .bm-identity-logo{
  width:58px;
  height:58px;
  border-radius:18px;
}
.bm-left-info-panel .bm-identity-logo span{font-size:19px;}
.bm-left-info-panel .bm-identity-block h1{
  font-size:25px;
  line-height:1;
}
.bm-left-info-panel .bm-calendar-center{
  width:100%;
  margin:6px 0 0;
}
.bm-left-info-panel .bm-calendar-center .bm-today{
  justify-content:flex-start;
  text-align:left;
}
.bm-left-info-panel .bm-calendar-center .bm-today strong{
  font-size:19px;
}
.bm-left-info-panel .bm-user-stack{
  align-items:flex-start;
  width:100%;
  margin-top:2px;
}
.bm-left-info-panel .bm-user-stack button{
  margin-top:4px;
}
.bm-left-info-panel .bm-month{
  width:100%;
}
@media(max-width:980px){
  .bm-panel-workspace{grid-template-columns:1fr;}
  .bm-left-info-panel .bm-identity-block{align-items:center;text-align:center;}
  .bm-left-info-panel .bm-calendar-center .bm-today{justify-content:center;text-align:center;}
  .bm-left-info-panel .bm-user-stack{align-items:center;}
}


/* CompanyManager v0.5.5 — reference-like left rail layout fix */
.bm-main.bm-main-top{
  width:100%;
  max-width:none;
  margin:0;
  padding:0 0 80px 0;
}
.bm-panel-workspace{
  width:100%;
  display:grid;
  grid-template-columns:248px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.bm-left-info-panel{
  min-height:245px;
  border-radius:0 0 22px 0;
  border-left:0;
  border-top:0;
  padding:16px 16px 18px 16px;
  background:linear-gradient(180deg,rgba(6,12,25,.96),rgba(2,6,23,.97));
  box-shadow:16px 18px 60px rgba(0,0,0,.32);
}
.bm-left-info-panel .bm-identity-block{
  gap:11px;
}
.bm-left-info-panel .bm-identity-logo{
  width:52px;
  height:52px;
  border-radius:16px;
}
.bm-left-info-panel .bm-identity-block h1{
  font-size:0;
  margin:0;
  line-height:0;
}
.bm-left-info-panel .bm-identity-block h1::after{
  content:"CompanyManager";
  display:block;
  font-size:0;
  line-height:0;
}
.bm-left-info-panel .bm-calendar-center{
  margin:2px 0 0;
}
.bm-left-info-panel .bm-calendar-center .bm-today strong{
  font-size:20px;
  line-height:1.08;
}
.bm-left-info-panel .bm-user-stack strong{
  font-size:17px;
}
.bm-panel-area{
  padding:26px 22px 70px 0;
}
.bm-current-section,
.bm-page-card{
  max-width:none;
}
.bm-horizontal-menu{
  min-height:52px;
  padding-left:12px;
}
@media(max-width:980px){
  .bm-panel-workspace{grid-template-columns:1fr;gap:14px;}
  .bm-left-info-panel{border-radius:0 0 22px 22px;border-left:1px solid rgba(56,189,248,.18);padding:18px;margin:0 10px;}
  .bm-panel-area{padding:0 10px 70px;}
}

/* CompanyManager v0.5.7 — logo navigation cleanup */
.bm-horizontal-brand.bm-logo-home{
  width:42px;
  height:42px;
  min-height:42px;
  padding:5px;
  border-radius:14px;
  justify-content:center;
  overflow:hidden;
}
.bm-horizontal-brand.bm-logo-home img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
  display:block;
}
.bm-left-info-panel .bm-identity-logo{
  display:none !important;
}
.bm-left-info-panel .bm-identity-block h1{
  font-size:24px !important;
  line-height:1.05 !important;
  margin:0 0 4px !important;
  color:#f8fafc;
  letter-spacing:-.05em;
}
.bm-left-info-panel .bm-identity-block h1::after{
  content:none !important;
}
@media(max-width:800px){
  .bm-horizontal-brand.bm-logo-home{width:38px;height:38px;min-height:38px;}
}

/* CompanyManager v0.6.1 — positions + days off module */
.bm-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:end;
}
.bm-form-grid label{
  display:grid;
  gap:7px;
  color:#cbd5e1;
  font-size:13px;
  font-weight:800;
}
.bm-form-grid label.full{grid-column:1/-1;}
.bm-form-grid input,
.bm-form-grid select,
.bm-form-grid textarea{
  width:100%;
  background:rgba(2,6,23,.62);
  border:1px solid rgba(148,163,184,.18);
  color:#e5edf7;
  border-radius:12px;
  padding:11px;
  outline:none;
  font:inherit;
}
.bm-form-grid textarea{min-height:88px;resize:vertical;}
.bm-form-grid input:focus,
.bm-form-grid select:focus,
.bm-form-grid textarea:focus{border-color:#38bdf8;box-shadow:0 0 0 4px rgba(56,189,248,.08);}
.bm-form-grid button,
.bm-inline-action{
  border:0;
  background:#2563eb;
  color:#fff;
  border-radius:10px;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(37,99,235,.22);
}
.bm-form-grid button:disabled{opacity:.5;cursor:not-allowed;}
.bm-form-hint{display:block;color:#94a3b8;font-size:12px;font-weight:600;margin-top:-2px;}
.bm-danger-btn{
  background:#dc2626 !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 12px 30px rgba(220,38,38,.24) !important;
}
.bm-danger-btn:hover{background:#b91c1c !important;}

.days-off-action-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.days-off-action-grid button{
  width:100%;
  min-height:46px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:700px){
  .days-off-action-grid{grid-template-columns:1fr;}
}

.bm-delete-row{grid-template-columns:minmax(240px,1fr) auto;}
.bm-status.active{color:#86efac;background:rgba(34,197,94,.14);}
.bm-status.inactive{color:#fca5a5;background:rgba(248,113,113,.14);}

.days-off-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap;}
.days-off-head strong{color:#eaf2ff;font-size:18px;letter-spacing:-.03em;margin-left:auto;margin-right:auto;}
.days-off-head button{
  border:1px solid rgba(56,189,248,.2);
  background:rgba(15,23,42,.76);
  color:#bfdbfe;
  border-radius:10px;
  padding:8px 12px;
  font-weight:900;
  cursor:pointer;
}
.days-off-head button:hover{background:rgba(37,99,235,.28);color:#fff;}
.days-off-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:6px;}
.days-off-weekdays span{color:#93c5fd;font-size:12px;font-weight:900;text-align:center;}
.days-off-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;}
.day-off-cell{
  min-height:112px;
  border:1px solid rgba(148,163,184,.14);
  background:rgba(2,6,23,.48);
  color:#dbeafe;
  border-radius:12px;
  padding:9px;
  text-align:left;
  cursor:pointer;
  overflow:hidden;
}
.day-off-cell:hover{border-color:rgba(56,189,248,.36);background:rgba(37,99,235,.12);}
.day-off-cell.outside{opacity:.55;}
.day-off-cell.today{box-shadow:0 0 0 2px rgba(56,189,248,.32);border-color:rgba(56,189,248,.48);}
.day-off-cell b{display:block;color:#f8fafc;margin-bottom:6px;font-size:13px;}
.day-off-entry{display:block;margin-top:4px;padding:4px 6px;border-radius:8px;background:rgba(37,99,235,.22);color:#dbeafe;font-size:11px;line-height:1.25;white-space:normal;}
@media(max-width:900px){
  .bm-form-grid{grid-template-columns:1fr;}
  .days-off-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .days-off-weekdays{display:none;}
}
.muted-note{color:#94a3b8;line-height:1.6;margin:0;}

/* CompanyManager v0.6.4 — sticky navigation and left identity panel */
.bm-horizontal-menu{
  position: sticky;
  top: 0;
  z-index: 9990;
  backdrop-filter: blur(16px);
}
.bm-left-info-panel{
  position: sticky;
  top: 70px;
  z-index: 8000;
  align-self: start;
}
@media(max-width:980px){
  .bm-left-info-panel{
    position: sticky;
    top: 64px;
    z-index: 8000;
  }
}

/* CompanyManager v0.6.5 — customers module */
.customers-head{align-items:flex-start;gap:14px;}
.bm-actions-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.bm-actions-row button{
  border:0;
  background:#2563eb;
  color:#fff;
  border-radius:10px;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(37,99,235,.22);
}
.bm-actions-row .bm-excel-btn{background:#16a34a;box-shadow:0 12px 30px rgba(22,163,74,.24);}
.bm-actions-row .bm-excel-btn:hover{background:#15803d;}
.bm-table-toolbar{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
  margin:14px 0;
  color:#cbd5e1;
  font-weight:800;
  font-size:13px;
}
.bm-table-toolbar label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.bm-table-toolbar select,
.bm-table-toolbar input{
  background:rgba(2,6,23,.62);
  border:1px solid rgba(148,163,184,.18);
  color:#e5edf7;
  border-radius:10px;
  padding:9px 10px;
  outline:none;
}
.bm-table-toolbar input{min-width:240px;}
.bm-table-toolbar select:focus,
.bm-table-toolbar input:focus{border-color:#38bdf8;box-shadow:0 0 0 4px rgba(56,189,248,.08);}
@media(max-width:760px){
  .bm-actions-row{justify-content:flex-start;}
  .bm-table-toolbar{align-items:flex-start;}
  .bm-table-toolbar label{width:100%;}
  .bm-table-toolbar input{min-width:0;width:100%;}
}


.bm-undo-btn{background:#ca8a04 !important;box-shadow:0 12px 30px rgba(202,138,4,.22) !important;color:#fff !important;}
.bm-undo-btn:hover{background:#a16207 !important;}

.bm-user-stack .bm-undo-time-btn{
  border:1px solid rgba(250,204,21,.35);
  background:rgba(202,138,4,.20);
  color:#fde68a;
}
.bm-user-stack .bm-undo-time-btn:hover{
  background:rgba(202,138,4,.34);
  color:#fff7ed;
}

.bm-team-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.bm-team-actions button{
  border:0;
  background:#2563eb;
  color:#fff;
  border-radius:12px;
  padding:11px 16px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(37,99,235,.22);
}
.bm-collapsible-panel[hidden]{display:none!important;}

/* CompanyManager v0.7.1 — services module */
.bm-wide-form{gap:16px;}
.bm-form-row-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.bm-check-row{
  display:flex!important;
  flex-direction:row!important;
  align-items:center;
  gap:10px;
  min-height:44px;
  color:#dbeafe;
  font-weight:800;
}
.bm-check-row input{width:auto!important;min-width:18px;height:18px;accent-color:#38bdf8;}
.bm-secondary-btn{
  align-self:end;
  border:1px solid rgba(56,189,248,.28)!important;
  background:rgba(56,189,248,.10)!important;
  color:#bfdbfe!important;
  box-shadow:none!important;
}
.bm-secondary-btn:hover{background:rgba(56,189,248,.18)!important;color:#fff!important;}
@media(max-width:760px){.bm-form-row-2{grid-template-columns:1fr;}}
.bm-action-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}

.bm-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 14px;}
.bm-tab-btn{border:1px solid rgba(148,163,184,.18);background:rgba(15,23,42,.68);color:#94a3b8;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer;transition:.18s;}
.bm-tab-btn:hover,.bm-tab-btn.active{border-color:rgba(56,189,248,.55);background:rgba(56,189,248,.14);color:#e0f2fe;}
.visits-module .bm-page-head h2{margin:0;font-size:16px;color:#dbeafe;}

.bm-live-clock{
  display:block;
  margin-top:8px;
  color:#38bdf8;
  font-weight:800;
  letter-spacing:.08em;
  font-size:14px;
}

/* CompanyManager v0.7.6 — white native date picker icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.4);
  opacity: .9;
  cursor: pointer;
}
input[type="date"] { color-scheme: dark; }


/* CompanyManager v0.7.7 — global white calendar icon for every date input */
input[type="date"],
.panel-body input[type="date"],
.auth-body input[type="date"],
.bm-field input[type="date"],
.bm-form input[type="date"],
.bm-modal input[type="date"] {
  color-scheme: dark !important;
  padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 20px 20px !important;
}

input[type="date"]::-webkit-calendar-picker-indicator,
.panel-body input[type="date"]::-webkit-calendar-picker-indicator,
.auth-body input[type="date"]::-webkit-calendar-picker-indicator,
.bm-field input[type="date"]::-webkit-calendar-picker-indicator,
.bm-form input[type="date"]::-webkit-calendar-picker-indicator,
.bm-modal input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0 !important;
  cursor: pointer !important;
  width: 42px !important;
  height: 100% !important;
  margin: 0 !important;
}


.cm-limit-label {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.cm-limit-dropdown {
  position: relative;
  display: inline-block;
}
.cm-limit-toggle {
  min-width: 74px;
  padding: 9px 12px;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 12px;
  background: rgba(2, 6, 23, .78);
  color: #e5f7ff;
  font-weight: 800;
  cursor: pointer;
}
.cm-limit-toggle:hover {
  border-color: rgba(56, 189, 248, .7);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .08);
}
.cm-limit-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(56, 189, 248, .25);
  border-radius: 14px;
  background: rgba(5, 12, 24, .98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .38);
  z-index: 9999;
}
.cm-limit-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #dbeafe;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}
.cm-limit-menu button:hover {
  background: rgba(56, 189, 248, .14);
  color: #ffffff;
}

.bm-product-filters { display:grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 14px; margin: 16px 0; }
.bm-product-filters label { color:#cbd5e1; font-size:13px; }
.bm-product-filters input { margin-top:6px; width:100%; }
.bm-form-row-2 { display:grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); gap: 14px; }
@media (max-width: 760px) { .bm-product-filters, .bm-form-row-2 { grid-template-columns: 1fr; } }

/* CompanyManager v0.8.7 — marketing module */
.bm-inner-card{margin-top:16px;background:rgba(2,6,23,.42);}
.marketing-preview{border:1px solid rgba(148,163,184,.16);background:rgba(15,23,42,.62);border-radius:14px;padding:14px;color:#dbeafe;}
.marketing-preview p{margin:8px 0 0;color:#f8fafc;line-height:1.5;white-space:pre-wrap;}
.marketing-recipients{border:1px solid rgba(148,163,184,.16);border-radius:14px;padding:14px;display:grid;gap:10px;background:rgba(2,6,23,.35);}
.marketing-recipients legend{padding:0 8px;color:#bfdbfe;font-weight:900;}
.bm-checkbox-line{display:flex;align-items:center;gap:10px;color:#dbeafe;font-weight:800;}
.bm-checkbox-line input{width:17px;height:17px;accent-color:#2563eb;}
.marketing-extra-panel{border-left:3px solid rgba(56,189,248,.38);padding:10px 0 10px 14px;margin-left:6px;}
.marketing-extra-panel select[multiple]{min-height:95px;}

/* CompanyManager v0.8.8 — marketing delete + passes UI */
.bm-filter-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 16px;
}
.bm-filter-tabs a{
  color:#cbd5e1;
  text-decoration:none;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(15,23,42,.72);
  border-radius:999px;
  padding:9px 12px;
  font-weight:900;
  font-size:13px;
}
.bm-filter-tabs a.active,
.bm-filter-tabs a:hover{
  color:#fff;
  border-color:rgba(56,189,248,.42);
  background:rgba(37,99,235,.28);
}
.bm-latest-pass{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color:#dbeafe;
  margin:12px 0 16px;
}
.bm-latest-pass input,
.bm-compact-select{
  background:rgba(2,6,23,.62);
  border:1px solid rgba(148,163,184,.18);
  color:#e5edf7;
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  font:inherit;
}


/* CompanyManager v0.9.3 — owner page link + card */
.bm-owner-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(56,189,248,.24);
  background:rgba(15,23,42,.72);
  color:#dbeafe;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
}
.bm-owner-link:hover,
.bm-owner-link.active{
  color:#fff;
  border-color:rgba(56,189,248,.55);
  background:rgba(37,99,235,.32);
}
.bm-owner-page .bm-page-head{margin-bottom:16px;}
.bm-owner-profile{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  gap:22px;
  align-items:center;
}
.bm-owner-photo{
  width:160px;
  height:160px;
  border-radius:24px;
  border:1px solid rgba(56,189,248,.28);
  background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(37,99,235,.22));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#bfdbfe;
  font-weight:900;
  box-shadow:0 18px 45px rgba(0,0,0,.28);
}
.bm-owner-details label{
  color:#93c5fd;
  font-weight:900;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.bm-owner-details h3{
  margin:8px 0 10px;
  color:#f8fafc;
  font-size:clamp(22px,3vw,34px);
}
.bm-owner-details p{margin:8px 0;color:#dbeafe;font-weight:800;}
.bm-owner-details a{color:#7dd3fc;text-decoration:none;}
.bm-owner-details a:hover{text-decoration:underline;}
@media (max-width:760px){.bm-owner-profile{grid-template-columns:1fr}.bm-owner-photo{width:130px;height:130px}}

/* CompanyManager v0.9.4 — sidebar card polish + employee dashboard */
.bm-left-info-panel,
.bm-left-info-panel .bm-identity-block{
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
}
.bm-left-info-panel{
  border-radius:0 0 24px 0 !important;
  padding:20px 18px 22px !important;
}
.bm-left-info-panel .bm-user-stack{
  width:100%;
  gap:9px;
}
.bm-left-info-panel .bm-user-stack button,
.bm-left-info-panel .bm-owner-link{
  width:100%;
  min-height:38px;
}
.bm-dashboard-schedule{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.bm-schedule-datebar{
  position:sticky;
  top:58px;
  z-index:12;
  display:grid;
  grid-template-columns:auto minmax(72px,auto) auto 1fr auto;
  align-items:center;
  gap:10px;
  padding:14px;
  border:1px solid rgba(56,189,248,.18);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(8,13,25,.96),rgba(2,6,23,.96));
  box-shadow:0 20px 50px rgba(0,0,0,.28);
}
.bm-schedule-datebar button{
  border:1px solid rgba(56,189,248,.24);
  background:rgba(15,23,42,.86);
  color:#e0f2fe;
  border-radius:12px;
  min-height:38px;
  padding:8px 12px;
  font-weight:950;
  cursor:pointer;
}
.bm-schedule-datebar #dashRelativeLabel{
  color:#f8fafc;
  font-size:18px;
  font-weight:1000;
  text-align:center;
}
.bm-schedule-datebar #dashFullDate{
  justify-self:center;
  color:#eaf2ff;
  font-size:20px;
  font-weight:950;
  letter-spacing:-.03em;
}
.bm-worker-count{
  color:#38bdf8 !important;
}
.bm-workers-popover{
  border:1px solid rgba(56,189,248,.18);
  border-radius:18px;
  background:rgba(8,13,25,.92);
  padding:14px;
  box-shadow:0 22px 60px rgba(0,0,0,.32);
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
}
.bm-workers-popover h3{
  grid-column:1/-1;
  margin:0;
  color:#f8fafc;
}
.bm-workers-popover label{
  color:#dbeafe;
  font-weight:800;
}
.bm-schedule-table-wrap{
  overflow:auto;
  border:1px solid rgba(148,163,184,.16);
  border-radius:22px;
  background:rgba(2,6,23,.82);
  box-shadow:0 24px 80px rgba(0,0,0,.28);
}
.bm-schedule-table{
  min-width:1120px;
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  color:#e5edf7;
}
.bm-schedule-table th,
.bm-schedule-table td{
  border-right:1px solid rgba(148,163,184,.12);
  border-bottom:1px solid rgba(148,163,184,.12);
  vertical-align:top;
}
.bm-schedule-table thead th{
  position:sticky;
  top:0;
  z-index:3;
  padding:12px 10px;
  background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(8,13,25,.98));
  color:#f8fafc;
  font-size:13px;
  text-align:center;
}
.bm-time-col{
  position:sticky;
  left:0;
  z-index:2;
  width:82px;
  min-width:82px;
  background:rgba(15,23,42,.98);
  color:#93c5fd;
  text-align:center;
  padding:12px 8px;
  font-weight:1000;
}
.bm-schedule-slot{
  min-width:145px;
  height:62px;
  padding:8px;
  cursor:pointer;
  background:rgba(15,23,42,.48);
  transition:.16s ease;
}
.bm-schedule-slot span{
  display:block;
  white-space:normal;
  font-size:12px;
  line-height:1.28;
}
.bm-schedule-slot.free span{
  color:#67e8f9;
  font-weight:900;
  text-align:center;
  opacity:.65;
}
.bm-schedule-slot.busy{
  background:rgba(37,99,235,.14);
  border-left:2px solid rgba(56,189,248,.65);
}
.bm-schedule-slot.busy span{
  color:#f8fafc;
}
.bm-schedule-slot:hover{
  background:rgba(37,99,235,.28);
}
.bm-schedule-slot.inactive-worker,
.bm-schedule-table th.inactive-worker{
  background:rgba(30,41,59,.65) !important;
  color:#64748b !important;
  cursor:not-allowed;
  filter:grayscale(.75);
}
.bm-schedule-slot.inactive-worker span{
  color:#64748b !important;
}
.bm-appointment-form{
  margin-top:16px;
}
.bm-inline-field{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
}
.bm-inline-field button,
.bm-light-btn{
  border:1px solid rgba(56,189,248,.24);
  background:rgba(15,23,42,.78);
  color:#dbeafe;
  border-radius:12px;
  padding:10px 12px;
  font-weight:900;
  cursor:pointer;
}
.bm-nested-form{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(148,163,184,.14);
}
@media(max-width:900px){
  .bm-schedule-datebar{grid-template-columns:auto 1fr auto;}
  .bm-schedule-datebar #dashFullDate,
  .bm-worker-count{grid-column:1/-1;justify-self:center;}
}

/* CompanyManager v0.9.5 — global centered modal forms */
#cmGlobalFormOverlay{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.72);
  backdrop-filter:blur(8px);
  z-index:9000;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
body.cm-modal-open{
  overflow:hidden;
}
body.cm-modal-open #cmGlobalFormOverlay{
  opacity:1;
  pointer-events:auto;
}
.cm-as-modal{
  position:fixed!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:9010!important;
  width:min(980px, calc(100vw - 32px))!important;
  max-height:86vh!important;
  overflow:auto!important;
  margin:0!important;
  box-shadow:0 35px 90px rgba(0,0,0,.58), 0 0 0 1px rgba(56,189,248,.22)!important;
  border-color:rgba(56,189,248,.34)!important;
}
.cm-as-modal .bm-page-head{
  position:sticky;
  top:0;
  z-index:2;
  background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(15,23,42,.88));
  backdrop-filter:blur(12px);
  padding-top:4px;
}
.bm-nested-form[hidden]{display:none!important;}
.bm-nested-form:not([hidden]){
  margin-top:18px;
  padding:16px;
  border:1px solid rgba(56,189,248,.22);
  border-radius:18px;
  background:rgba(2,6,23,.36);
}

/* CompanyManager v0.9.5.2 — cancel buttons and positions modal polish */
.cm-modal-cancel-btn{
  display:block;
  width:100%;
  margin:18px 0 0;
  text-align:center;
}
.cm-as-modal > .cm-modal-cancel-btn:last-child{
  position:sticky;
  bottom:0;
  z-index:3;
  border-top:1px solid rgba(148,163,184,.16);
  box-shadow:0 -14px 28px rgba(2,6,23,.36);
}
.bm-page-head .bm-action-row{justify-content:flex-end;}


/* CompanyManager v0.9.6 — dashboard day workers + occupied ranges */
.bm-workers-popover[hidden]{
  display:none !important;
}
.bm-workers-popover label.worker-day-off{
  opacity:.48;
  color:#64748b;
  text-decoration:line-through;
}
.bm-workers-popover input:disabled{
  cursor:not-allowed;
}
.bm-continuation{
  display:block;
  text-align:center;
  color:#bfdbfe !important;
  font-weight:950;
  opacity:.86;
}
.bm-owner-site-link{
  display:inline-flex;
  color:#38bdf8 !important;
  font-weight:950;
  text-decoration:underline;
  text-underline-offset:3px;
}
.bm-owner-site-link:hover{
  color:#bae6fd !important;
}

/* v0.9.8 — Dashboard sticky header + hover details */
.bm-schedule-table-wrap{
  overflow-x:auto;
  overflow-y:visible;
  max-height:none;
}
.bm-schedule-table thead th{
  position:sticky;
  top:142px;
  z-index:14;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.bm-schedule-table thead th:first-child{
  left:0;
  z-index:16;
}
.bm-schedule-tooltip{
  position:fixed;
  z-index:9999;
  max-width:360px;
  padding:12px 14px;
  border:1px solid rgba(56,189,248,.32);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(2,6,23,.98),rgba(15,23,42,.98));
  box-shadow:0 24px 70px rgba(0,0,0,.42);
  color:#eaf2ff;
  font-size:13px;
  line-height:1.45;
  white-space:pre-line;
  pointer-events:none;
}
.bm-schedule-tooltip[hidden]{display:none!important;}
@media (max-width:860px){
  .bm-schedule-table thead th{top:128px;}
}


/* CompanyManager v0.9.9.1 — Dashboard sticky header corrected
   Header is now sticky only inside the schedule table container, not fixed to the viewport. */
.bm-schedule-table-wrap{
  position:relative !important;
  overflow:auto !important;
  max-height:calc(100vh - 190px) !important;
  border-radius:22px !important;
}
.bm-schedule-table thead th{
  position:sticky !important;
  top:0 !important;
  z-index:30 !important;
  background:linear-gradient(180deg,rgba(15,23,42,1),rgba(8,13,25,1)) !important;
  box-shadow:0 10px 22px rgba(0,0,0,.32) !important;
}
.bm-schedule-table thead th:first-child{
  left:0 !important;
  z-index:35 !important;
}
.bm-time-col{
  position:sticky !important;
  left:0 !important;
  z-index:20 !important;
  background:rgba(15,23,42,1) !important;
}
.bm-schedule-table thead th,
.bm-time-col{
  background-clip:padding-box !important;
}

/* CompanyManager v0.9.9.2 — Dashboard header rebuilt as real sticky row inside table scroll */
.bm-schedule-table-wrap{
  position:relative !important;
  overflow:auto !important;
  max-height:calc(100vh - 190px) !important;
  border-radius:22px !important;
}
.bm-schedule-scroll-inner{
  min-width:1120px;
  width:100%;
}
.bm-schedule-sticky-head{
  position:sticky;
  top:0;
  z-index:80;
  display:grid;
  min-height:48px;
  background:linear-gradient(180deg,rgba(15,23,42,1),rgba(8,13,25,1));
  box-shadow:0 12px 28px rgba(0,0,0,.36);
  border-bottom:1px solid rgba(148,163,184,.18);
}
.bm-schedule-sticky-head > div{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 10px;
  color:#f8fafc;
  font-size:13px;
  font-weight:1000;
  border-right:1px solid rgba(148,163,184,.12);
  background:linear-gradient(180deg,rgba(15,23,42,1),rgba(8,13,25,1));
}
.bm-schedule-sticky-head > div:first-child{
  position:sticky;
  left:0;
  z-index:85;
  color:#93c5fd;
}
.bm-schedule-table{
  min-width:0 !important;
  width:100% !important;
}
.bm-schedule-table thead{display:none!important;}
.bm-schedule-table tbody tr:first-child th,
.bm-schedule-table tbody tr:first-child td{
  border-top:0!important;
}
.bm-time-col{
  position:sticky !important;
  left:0 !important;
  z-index:25 !important;
  background:rgba(15,23,42,1) !important;
}

/* CompanyManager v0.9.9.3 — Dashboard schedule exact column alignment */
.bm-schedule-scroll-inner{
  width:max-content !important;
  min-width:100% !important;
}
.bm-schedule-sticky-head{
  width:max-content !important;
  min-width:100% !important;
}
.bm-schedule-table{
  table-layout:fixed !important;
  width:100% !important;
  min-width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
}
.bm-schedule-table .bm-time-colgroup{width:82px !important;min-width:82px !important;max-width:82px !important;}
.bm-schedule-table .bm-worker-colgroup{width:180px !important;min-width:180px !important;max-width:180px !important;}
.bm-time-col{
  width:82px !important;
  min-width:82px !important;
  max-width:82px !important;
  box-sizing:border-box !important;
}
.bm-schedule-slot{
  width:180px !important;
  min-width:180px !important;
  max-width:180px !important;
  box-sizing:border-box !important;
}
.bm-schedule-sticky-head > div{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

/* CompanyManager v0.9.9.4 — Dashboard header real table alignment fix
   Use one real table again: colgroup controls both header and body, so vertical lines match exactly. */
.bm-schedule-table-wrap{
  position:relative !important;
  overflow:auto !important;
  max-height:calc(100vh - 190px) !important;
  border-radius:22px !important;
  border:1px solid rgba(148,163,184,.16) !important;
  background:rgba(2,6,23,.82) !important;
}
.bm-schedule-scroll-inner,
.bm-schedule-sticky-head{
  display:none !important;
}
.bm-schedule-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
  table-layout:fixed !important;
  min-width:0 !important;
  color:#e5edf7 !important;
}
.bm-schedule-table thead{
  display:table-header-group !important;
}
.bm-schedule-table .bm-time-colgroup,
.bm-schedule-table .bm-time-head,
.bm-schedule-table .bm-time-col{
  width:82px !important;
  min-width:82px !important;
  max-width:82px !important;
  box-sizing:border-box !important;
}
.bm-schedule-table .bm-worker-colgroup,
.bm-schedule-table thead th:not(.bm-time-head),
.bm-schedule-slot{
  width:180px !important;
  min-width:180px !important;
  max-width:180px !important;
  box-sizing:border-box !important;
}
.bm-schedule-table thead th{
  position:sticky !important;
  top:0 !important;
  z-index:60 !important;
  height:48px !important;
  padding:12px 10px !important;
  background:linear-gradient(180deg,rgba(15,23,42,1),rgba(8,13,25,1)) !important;
  color:#f8fafc !important;
  font-size:13px !important;
  font-weight:1000 !important;
  text-align:center !important;
  vertical-align:middle !important;
  border-right:1px solid rgba(148,163,184,.12) !important;
  border-bottom:1px solid rgba(148,163,184,.18) !important;
  box-shadow:0 10px 22px rgba(0,0,0,.28) !important;
  background-clip:padding-box !important;
}
.bm-schedule-table thead th:first-child{
  left:0 !important;
  z-index:80 !important;
  color:#93c5fd !important;
}
.bm-time-col{
  position:sticky !important;
  left:0 !important;
  z-index:30 !important;
  background:rgba(15,23,42,1) !important;
  color:#93c5fd !important;
  text-align:center !important;
  padding:12px 8px !important;
  font-weight:1000 !important;
  border-right:1px solid rgba(148,163,184,.12) !important;
  border-bottom:1px solid rgba(148,163,184,.12) !important;
}
.bm-schedule-table td{
  border-right:1px solid rgba(148,163,184,.12) !important;
  border-bottom:1px solid rgba(148,163,184,.12) !important;
  vertical-align:top !important;
}
.bm-schedule-slot{
  height:62px !important;
  padding:8px !important;
}


/* CompanyManager v0.9.9.5 — nested modal forms over active parent modal */
.bm-nested-modal[hidden]{
  display:none!important;
}
.bm-nested-modal:not([hidden]){
  position:fixed!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:9040!important;
  width:min(620px, calc(100vw - 42px))!important;
  max-height:82vh!important;
  overflow:auto!important;
  margin:0!important;
  padding:18px!important;
  border:1px solid rgba(56,189,248,.36)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(2,6,23,.96))!important;
  box-shadow:0 35px 100px rgba(0,0,0,.72), 0 0 0 9999px rgba(2,6,23,.28)!important;
}
.bm-nested-modal .bm-action-row{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.bm-nested-modal h3{
  margin:0 0 12px;
  color:#eaf2ff;
}

/* CompanyManager v0.9.9.9 — Reports final polish: 20 visible positions, larger readable chart, normal page scroll */
.cm-reports-module{
  width: min(100%, 1380px);
  max-width: none;
  margin: 0 auto 36px;
  overflow: visible;
  position: static;
}
.cm-reports-module .bm-page-head h2{
  font-size: clamp(28px, 3vw, 42px);
}
.cm-reports-module .cm-report-controls{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  margin:10px 0 18px;
}
.cm-reports-module .cm-report-controls label{
  display:flex;
  gap:12px;
  align-items:center;
  color:#dbeafe;
  font-weight:900;
  font-size:16px;
}
.cm-reports-module .cm-report-controls select{
  min-width:180px;
  font-size:15px;
  padding:10px 12px;
}
.cm-report-legend{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  margin:10px 0 20px;
  color:#cbd5e1;
  font-size:15px;
  font-weight:800;
}
.cm-legend-dot{
  display:inline-block;
  width:12px;
  height:12px;
  border-radius:999px;
  margin-right:8px;
  vertical-align:middle;
}
.cm-legend-clients{background:#38bdf8;}
.cm-legend-visits{background:#22c55e;}
.cm-report-chart{
  width:100%;
  overflow-x:hidden;
  display:grid;
  grid-template-columns:repeat(20, minmax(0, 1fr));
  gap:10px;
  align-items:end;
  min-height:430px;
  padding:30px 22px 28px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:22px;
  background:rgba(2,6,23,.42);
  box-shadow:0 20px 60px rgba(0,0,0,.28);
  position:relative;
}
.cm-report-day{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
}
.cm-report-bars{
  height:290px;
  display:flex;
  align-items:end;
  justify-content:center;
  gap:5px;
  width:100%;
}
.cm-report-bar{
  width:16px;
  min-height:8px;
  border-radius:12px 12px 4px 4px;
  box-shadow:0 10px 22px rgba(0,0,0,.24);
}
.cm-report-bar-clients{background:linear-gradient(180deg,#38bdf8,#2563eb);}
.cm-report-bar-visits{background:linear-gradient(180deg,#86efac,#16a34a);}
.cm-report-day small{
  color:#cbd5e1;
  font-size:20px;
  line-height:1.05;
  font-weight:900;
  white-space:nowrap;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  letter-spacing:.2px;
  text-shadow:0 2px 10px rgba(0,0,0,.45);
}
.cm-report-table{
  margin-top:22px;
  overflow-x:hidden;
}
.cm-report-table table{
  width:100%;
  table-layout:fixed;
}
.cm-report-table th,
.cm-report-table td{
  white-space:normal;
  word-break:break-word;
}
@media (max-width: 1100px){
  .cm-report-chart{gap:6px; padding:24px 12px 22px; min-height:390px;}
  .cm-report-bars{height:250px;}
  .cm-report-bar{width:12px;}
  .cm-report-day small{font-size:16px;}
}
@media (max-width: 760px){
  .cm-report-chart{grid-template-columns:repeat(20, minmax(0, 1fr)); gap:3px; padding:18px 6px; min-height:340px;}
  .cm-report-bars{height:210px; gap:2px;}
  .cm-report-bar{width:8px;}
  .cm-report-day small{font-size:12px;}
  .cm-report-legend{font-size:13px;}
}


/* CompanyManager v0.9.9.10 — Reports labels and movable chart fix */
.cm-reports-module,
.cm-reports-module .bm-page-head,
.cm-report-chart,
.cm-report-table{
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}
.cm-reports-module{
  display: block !important;
  max-height: none !important;
}
.cm-report-chart{
  margin-top: 8px;
  flex: none !important;
}
.cm-report-table th:nth-child(2),
.cm-report-table td:nth-child(2){
  width: 24%;
}
.cm-report-legend span{
  font-size: 16px;
}

/* CompanyManager v0.9.9.11 — Reports separated chart/table + y-axis scale + movable chart */
.cm-report-card,
.cm-report-card .bm-page-head,
.cm-report-card .cm-report-chart,
.cm-report-card .cm-report-table,
.cm-report-chart-inner,
.cm-report-plot,
.cm-report-days{
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}
.cm-report-card{
  width:min(100%, 1440px);
  margin:0 auto 24px;
  overflow:visible !important;
  max-height:none !important;
}
.cm-report-chart-card{
  display:block !important;
}
.cm-report-chart{
  display:block !important;
  width:100%;
  overflow:visible !important;
  min-height:500px;
  padding:28px 22px 30px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:22px;
  background:rgba(2,6,23,.42);
  box-shadow:0 20px 60px rgba(0,0,0,.28);
}
.cm-report-chart-inner{
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:14px;
  width:100%;
  align-items:stretch;
}
.cm-report-y-axis{
  height:330px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-end;
  padding:0 6px 0 0;
  color:#dbeafe;
  font-size:16px;
  font-weight:900;
  line-height:1;
}
.cm-report-plot{
  min-width:0;
  position:relative !important;
  padding-top:0;
}
.cm-report-grid{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:330px;
  pointer-events:none;
  z-index:0;
}
.cm-report-grid span{
  position:absolute;
  left:0;
  right:0;
  border-top:1px solid rgba(148,163,184,.16);
}
.cm-report-days{
  position:relative !important;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(20,minmax(0,1fr));
  gap:10px;
  align-items:end;
  width:100%;
}
.cm-report-day{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
}
.cm-report-bars{
  height:330px;
  display:flex;
  align-items:end;
  justify-content:center;
  gap:5px;
  width:100%;
}
.cm-report-bar{
  width:16px;
  min-height:0;
  border-radius:12px 12px 4px 4px;
  box-shadow:0 10px 22px rgba(0,0,0,.24);
}
.cm-report-day small{
  color:#cbd5e1;
  font-size:20px;
  line-height:1.05;
  font-weight:900;
  white-space:nowrap;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  letter-spacing:.2px;
  text-shadow:0 2px 10px rgba(0,0,0,.45);
}
.cm-report-table{
  margin-top:16px;
  overflow-x:hidden !important;
}
.cm-report-table table{
  width:100%;
  table-layout:fixed;
}
.cm-report-table th:nth-child(1),
.cm-report-table td:nth-child(1){width:70px;}
.cm-report-table th:nth-child(2),
.cm-report-table td:nth-child(2){width:34%;}
.cm-report-legend{
  margin-bottom:18px;
}
@media (max-width: 1100px){
  .cm-report-chart{padding:22px 12px; min-height:430px;}
  .cm-report-chart-inner{grid-template-columns:44px minmax(0,1fr); gap:8px;}
  .cm-report-y-axis{height:280px; font-size:13px;}
  .cm-report-grid{height:280px;}
  .cm-report-days{gap:5px;}
  .cm-report-bars{height:280px; gap:3px;}
  .cm-report-bar{width:11px;}
  .cm-report-day small{font-size:15px;}
}
@media (max-width: 760px){
  .cm-report-chart-inner{grid-template-columns:36px minmax(0,1fr); gap:6px;}
  .cm-report-y-axis{height:230px; font-size:11px;}
  .cm-report-grid{height:230px;}
  .cm-report-days{gap:3px;}
  .cm-report-bars{height:230px; gap:2px;}
  .cm-report-bar{width:7px;}
  .cm-report-day small{font-size:11px;}
}


/* CompanyManager v1.0.0 — reports moved to left panel + services Excel green + compact stats controls */
.bm-user-stack .bm-stats-link{
  margin-top:4px;
}
.bm-nav-top a[href="reports.html"]{
  display:none!important;
}
.bm-action-row .bm-excel-btn,
.bm-actions-row .bm-excel-btn{
  background:#16a34a!important;
  box-shadow:0 12px 30px rgba(22,163,74,.24)!important;
  border-color:rgba(34,197,94,.35)!important;
  color:#fff!important;
}
.bm-action-row .bm-excel-btn:hover,
.bm-actions-row .bm-excel-btn:hover{
  background:#15803d!important;
  border-color:rgba(134,239,172,.55)!important;
}
.cm-reports-module .bm-page-head h2,
.cm-report-card .bm-page-head h2{
  font-size:clamp(20px, 1.8vw, 28px)!important;
  margin-bottom:4px!important;
}
.cm-reports-module .cm-report-controls{
  margin:4px 0 12px!important;
  gap:10px!important;
}
.cm-reports-module .cm-report-controls label{
  font-size:13px!important;
  gap:8px!important;
}
.cm-reports-module .cm-report-controls select{
  min-width:132px!important;
  font-size:13px!important;
  padding:7px 10px!important;
  border-radius:10px!important;
}

/* CompanyManager v1.0.1 — period report page */
.bm-user-stack .bm-period-link{
  margin-top:4px;
}
.cm-period-report-card{
  max-width:1280px;
}
.cm-period-report-card .bm-page-head h2{
  font-size:clamp(22px,2vw,32px);
}
.cm-period-controls{
  display:grid;
  grid-template-columns:repeat(3,minmax(180px,1fr));
  gap:14px;
  align-items:end;
  margin:12px 0 22px;
}
.cm-period-controls label{
  display:grid;
  gap:6px;
  color:#cbd5e1;
  font-weight:800;
}
.cm-period-controls input,
.cm-period-controls select,
.cm-employee-filter select{
  width:100%;
  border:1px solid rgba(148,163,184,.24);
  background:rgba(2,6,23,.76);
  color:#e5f0ff;
  border-radius:14px;
  padding:11px 12px;
  outline:none;
}
.cm-period-kpis{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:12px 0 20px;
}
.cm-period-kpis>div,
.cm-finance-grid>div,
.cm-comm-grid>div{
  border:1px solid rgba(59,130,246,.22);
  border-radius:18px;
  padding:16px;
  background:linear-gradient(145deg, rgba(15,23,42,.9), rgba(2,6,23,.72));
  box-shadow:0 14px 32px rgba(2,6,23,.22);
}
.cm-period-kpis span,
.cm-finance-grid span{
  display:block;
  color:#bfdbfe;
  font-weight:900;
  margin-bottom:8px;
}
.cm-period-kpis b,
.cm-finance-grid b,
.cm-comm-grid b{
  display:block;
  font-size:clamp(24px,2.6vw,42px);
  color:#fff;
  margin-bottom:5px;
}
.cm-period-kpis small,
.cm-finance-grid small{
  color:#94a3b8;
}
.cm-period-section{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(148,163,184,.16);
}
.cm-period-section h3{
  margin:0 0 12px;
  color:#e0f2fe;
  font-size:clamp(18px,1.6vw,25px);
}
.cm-cancel-reasons{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.cm-cancel-reasons>div{
  border-radius:14px;
  padding:12px;
  background:rgba(15,23,42,.72);
  border:1px solid rgba(148,163,184,.18);
}
.cm-cancel-reasons b{display:block;font-size:24px;color:#fff;}
.cm-cancel-reasons span{color:#cbd5e1;font-size:13px;}
.cm-finance-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:14px;
}
.cm-finance-grid div div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#cbd5e1;
  border-top:1px solid rgba(148,163,184,.12);
  padding-top:7px;
  margin-top:7px;
}
.cm-period-section table{
  font-size:14px;
}
.cm-employee-filter{
  display:block;
  max-width:340px;
  margin-bottom:12px;
  color:#cbd5e1;
  font-weight:800;
}
.cm-comm-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
@media (max-width: 900px){
  .cm-period-controls,.cm-period-kpis,.cm-finance-grid,.cm-cancel-reasons,.cm-comm-grid{grid-template-columns:1fr;}
}

.cm-period-employee-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 12px;
  border: 1px solid rgba(120, 160, 255, .18);
  border-radius: 16px;
  background: rgba(5, 16, 36, .55);
}
.cm-period-employee-picker > span {
  font-weight: 800;
  color: #eaf2ff;
  margin-right: 4px;
}
.cm-period-employee-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #d9e7ff;
  font-size: 13px;
  cursor: pointer;
}
.cm-period-employee-check input { accent-color: #2d8cff; }
.cm-period-all { background: rgba(38, 129, 255, .16); border-color: rgba(80, 160, 255, .32); }

/* CompanyManager v1.0.4 — dashboard action alignment + period check button */
.bm-schedule-datebar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.bm-schedule-datebar #dashFullDate{
  flex:1 1 auto;
  text-align:center;
  min-width:240px;
}
.bm-dashboard-actions{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:nowrap;
}
.bm-dashboard-actions .bm-light-btn,
.bm-dashboard-actions .bm-danger-btn,
.bm-dashboard-actions .bm-worker-count{
  white-space:nowrap;
}
.cm-period-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.cm-period-head #periodCheckBtn{
  margin-left:auto;
  white-space:nowrap;
}
@media (max-width: 760px){
  .bm-dashboard-actions{ width:100%; justify-content:flex-end; }
  .bm-schedule-datebar #dashFullDate{ text-align:left; }
}


/* CompanyManager v1.0.7 — daily report polished date picker + left menu order */
.bm-user-stack .bm-daily-link{
  margin-top:4px;
}
.cm-daily-report-card .bm-page-head h2{
  font-size:clamp(22px,2vw,32px);
}
.cm-daily-date-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:10px 0 20px;
  flex-wrap:wrap;
}
.cm-daily-arrow{
  min-width:44px;
  height:44px;
  border-radius:14px!important;
  font-size:24px!important;
  line-height:1!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
}
.cm-daily-date-field{
  position:relative;
  min-width:min(360px, 100%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid rgba(96,165,250,.42);
  border-radius:18px;
  padding:12px 46px 12px 18px;
  background:linear-gradient(145deg, rgba(15,23,42,.96), rgba(2,6,23,.82));
  box-shadow:0 18px 42px rgba(2,6,23,.30), inset 0 1px 0 rgba(255,255,255,.06);
  color:#eaf4ff;
  cursor:pointer;
  user-select:none;
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cm-daily-date-field:hover{
  transform:translateY(-1px);
  border-color:rgba(147,197,253,.75);
  box-shadow:0 22px 50px rgba(37,99,235,.22), inset 0 1px 0 rgba(255,255,255,.08);
}
.cm-daily-date-field span{
  display:block;
  font-weight:900;
  font-size:clamp(16px, 1.35vw, 21px);
  letter-spacing:.01em;
  text-align:center;
}
.cm-daily-date-field::after{
  content:'📅';
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  font-size:20px;
  filter:saturate(.9);
  opacity:.95;
  pointer-events:none;
}
.cm-daily-date-field input[type="date"]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
  border:0;
  padding:0;
}
@media (max-width: 640px){
  .cm-daily-date-row{gap:8px;}
  .cm-daily-date-field{min-width:calc(100% - 104px); padding-left:12px; padding-right:38px;}
}


/* CompanyManager v1.0.8 — customers reports */
.bm-user-stack .bm-customers-reports-link{ margin-top:4px; }
.cm-customers-reports-page{ display:flex; flex-direction:column; gap:18px; }
.cm-customer-report-switcher{
  display:flex; align-items:center; justify-content:center; gap:14px;
  width:min(720px,100%); margin:0 auto 4px; padding:10px 14px;
  border:1px solid rgba(96,165,250,.28); border-radius:20px;
  background:linear-gradient(145deg, rgba(15,23,42,.94), rgba(2,6,23,.82));
  box-shadow:0 18px 48px rgba(2,6,23,.28);
}
.cm-customer-report-switcher strong{ font-size:clamp(18px,1.7vw,26px); color:#eaf4ff; text-align:center; }
.cm-customer-report-card{ display:flex; flex-direction:column; gap:16px; }
.cm-customers-report-controls{ align-items:end; }
.cm-customers-report-controls label{ min-width:170px; }
.cm-customers-report-controls select[multiple]{ min-height:86px; }
.cm-customers-report-kpis{ grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width: 860px){
  .cm-customers-report-kpis{ grid-template-columns:1fr; }
  .cm-customer-report-switcher{ gap:8px; }
  .cm-customer-report-switcher strong{ font-size:16px; }
}

.cm-table-footer{
  margin: 12px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.92rem;
  text-align: left;
}

/* Customers reports compact dropdown filters */
.cm-customers-report-controls .cm-cr-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 210px;
}
.cm-cr-dropdown-label {
  color: var(--muted, #9ca3af);
  font-size: 0.88rem;
  font-weight: 700;
}
.cm-cr-dropdown-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  color: #e5edff;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}
.cm-cr-dropdown-button:hover,
.cm-cr-dropdown-button:focus {
  border-color: rgba(96, 165, 250, 0.72);
  outline: none;
}
.cm-cr-dropdown-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, 86vw);
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.98);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45);
  padding: 10px;
}
.cm-cr-dropdown-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #dbeafe;
  cursor: pointer;
  font-size: 0.92rem;
}
.cm-cr-dropdown-option:hover {
  background: rgba(59, 130, 246, 0.12);
}
.cm-cr-dropdown-all {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  margin-bottom: 6px;
  font-weight: 800;
}
.cm-cr-dropdown-empty {
  margin: 6px 8px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.cm-sms-report-card .cm-period-kpis { margin: 0 0 18px; }
.cm-sms-report-card .cm-period-kpis div { min-width: 220px; }
.cm-sms-report-download { white-space: nowrap; }

.cm-schedule-month-list{
  display:grid;
  gap:10px;
  margin-top:10px;
}
.cm-schedule-month-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(59,130,246,.22);
  border-radius:16px;
  background:rgba(15,23,42,.62);
}
.cm-schedule-month-row strong{
  color:#eaf4ff;
  font-size:15px;
}
@media (max-width:640px){
  .cm-schedule-month-row{ align-items:flex-start; flex-direction:column; }
}

/* CompanyManager v1.1.6 — ADMIN dropdown menu */
.bm-admin-dropdown{
  position:relative;
  width:100%;
}
.bm-user-stack .bm-admin-dropdown-toggle{
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(56,189,248,.30);
  background:rgba(15,23,42,.82);
  color:#38bdf8;
  border-radius:12px;
  padding:9px 12px;
  font-size:12px;
  letter-spacing:.12em;
  font-weight:950;
  text-transform:uppercase;
  cursor:pointer;
}
.bm-user-stack .bm-admin-dropdown-toggle:hover,
.bm-user-stack .bm-admin-dropdown-toggle[aria-expanded="true"]{
  background:rgba(37,99,235,.30);
  border-color:rgba(56,189,248,.60);
  color:#fff;
}
.bm-admin-dropdown-toggle span{
  font-size:11px;
  opacity:.82;
}
.bm-admin-dropdown-menu{
  width:100%;
  margin-top:8px;
  padding:8px;
  border:1px solid rgba(56,189,248,.22);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(8,13,25,.98),rgba(2,6,23,.98));
  box-shadow:0 20px 50px rgba(0,0,0,.38);
  display:flex;
  flex-direction:column;
  gap:6px;
  z-index:20;
}
.bm-admin-dropdown-menu[hidden]{display:none !important;}
.bm-admin-dropdown-menu a,
.bm-admin-dropdown-menu button{
  width:100%;
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  border-radius:10px;
  padding:9px 10px;
  font-size:13px;
  font-weight:850;
  text-decoration:none;
  text-align:left;
}
.bm-admin-dropdown-menu a{
  border:1px solid rgba(148,163,184,.12);
  background:rgba(15,23,42,.62);
  color:#dbeafe;
}
.bm-admin-dropdown-menu a:hover{
  border-color:rgba(56,189,248,.45);
  background:rgba(37,99,235,.24);
  color:#fff;
}
.bm-admin-dropdown-menu .bm-admin-dropdown-logout{
  margin-top:8px;
  border:1px solid rgba(248,113,113,.35);
  background:rgba(127,29,29,.24);
  color:#fecaca;
  cursor:pointer;
}
.bm-admin-dropdown-menu .bm-admin-dropdown-logout:hover{
  background:rgba(127,29,29,.40);
  color:#fff;
}

/* CompanyManager v1.1.7 — Dane firmy in ADMIN dropdown */
.bm-company-data-page .bm-page-head{margin-bottom:16px;}
.bm-company-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.bm-company-data-card{border:1px solid rgba(56,189,248,.16);background:linear-gradient(180deg,rgba(15,23,42,.76),rgba(2,6,23,.54));border-radius:18px;padding:16px;box-shadow:0 18px 45px rgba(0,0,0,.18);}
.bm-company-data-card h3{margin:0 0 13px;color:#f8fafc;font-size:17px;letter-spacing:-.02em;}
.bm-company-data-row,.bm-company-doc-row{display:grid;grid-template-columns:minmax(150px,.82fr) 1.18fr;gap:12px;align-items:center;padding:10px 0;border-top:1px solid rgba(148,163,184,.10);}
.bm-company-data-row:first-of-type,.bm-company-doc-row:first-of-type{border-top:0;}
.bm-company-data-row span,.bm-company-doc-row span{color:#94a3b8;font-size:13px;font-weight:800;}
.bm-company-data-row strong{color:#e5edf7;font-size:14px;font-weight:900;line-height:1.35;word-break:break-word;}
.bm-company-doc-row a{justify-self:start;border:1px solid rgba(56,189,248,.28);background:rgba(37,99,235,.18);color:#bfdbfe;border-radius:10px;padding:8px 14px;font-size:13px;font-weight:950;text-decoration:none;}
.bm-company-doc-row a:hover{border-color:rgba(56,189,248,.62);background:rgba(37,99,235,.34);color:#fff;}
.bm-company-docs-card{grid-column:1 / -1;}
@media(max-width:900px){.bm-company-data-grid{grid-template-columns:1fr}.bm-company-data-row,.bm-company-doc-row{grid-template-columns:1fr;gap:5px}}

/* CompanyManager v1.1.8 — ADMIN / Użytkownicy */
.cm-users-admin-page .bm-page-head h2,
.cm-login-journal-card .bm-page-head h2{
  margin:0;
  font-size:22px;
  color:#eaf2ff;
}
.cm-users-head{
  align-items:center;
}
.cm-users-head button{
  min-width:160px;
}
.cm-users-table-wrap .bm-table,
.cm-login-journal-card .bm-table{
  min-width:920px;
}
.cm-users-table th:nth-child(1),
.cm-users-table td:nth-child(1){min-width:220px;}
.cm-users-table th:nth-child(2),
.cm-users-table td:nth-child(2){min-width:210px;}
.cm-users-table th:nth-child(3),
.cm-users-table td:nth-child(3){min-width:140px;}
.cm-users-table th:nth-child(4),
.cm-users-table td:nth-child(4){min-width:260px;}
.cm-table-count{
  margin:12px 0 0;
  font-size:13px;
}
.cm-login-journal-card .bm-table th:nth-child(5),
.cm-login-journal-card .bm-table td:nth-child(5){
  min-width:520px;
  max-width:760px;
  white-space:normal;
  word-break:break-word;
  line-height:1.35;
}
.cm-admin-user-modal{
  max-width:980px;
}
.cm-admin-user-form{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.cm-admin-user-form fieldset{
  border:1px solid rgba(148,163,184,.16);
  background:rgba(2,6,23,.34);
  border-radius:16px;
  padding:14px;
  margin:0;
}
.cm-admin-user-form legend{
  padding:0 8px;
  color:#bfdbfe;
  font-weight:900;
}
.cm-login-rules,
.cm-permissions-box,
.cm-full-field{
  grid-column:1/-1;
}
.cm-check-line,
.cm-permission-check{
  display:flex !important;
  align-items:flex-start;
  gap:8px;
  color:#dbeafe;
  font-size:13px;
  line-height:1.35;
}
.cm-check-line input,
.cm-permission-check input{
  width:auto !important;
  margin-top:2px;
}
.cm-hours-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,180px));
  gap:12px;
  margin-top:12px;
}
.cm-permissions-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 18px;
}
.cm-admin-user-form textarea{
  width:100%;
  background:rgba(2,6,23,.62);
  border:1px solid rgba(148,163,184,.18);
  color:#e5edf7;
  border-radius:12px;
  padding:11px;
  outline:none;
  resize:vertical;
}
.cm-admin-user-form small{
  color:#94a3b8;
  display:block;
  margin-top:5px;
  font-size:12px;
}
@media(max-width:800px){
  .cm-admin-user-form,
  .cm-permissions-grid,
  .cm-hours-row{grid-template-columns:1fr;}
}

/* v1.19 — Grafik pracy: szablony godzin */
.cm-work-schedule-templates { display: grid; gap: 16px; }
.cm-work-schedule-modal { max-width: 760px; }
.cm-work-schedule-form { gap: 16px; }
.cm-work-hours-box { grid-column: 1 / -1; border: 1px solid rgba(148,163,184,.22); border-radius: 16px; padding: 16px; background: rgba(15,23,42,.38); }
.cm-work-hours-box legend { padding: 0 8px; color: #e5e7eb; font-weight: 700; }
.cm-workday-row { display: grid; grid-template-columns: minmax(120px, 1fr) 110px 20px 110px; gap: 10px; align-items: end; margin: 10px 0; }
.cm-workday-row > span:first-child { color: #e5e7eb; font-weight: 700; padding-bottom: 10px; }
.cm-workday-row label { margin: 0; }
.cm-workday-row input { width: 100%; }
.cm-schedule-downloads { margin-top: 18px; }
.cm-schedule-downloads h3 { margin: 0 0 12px; }
@media (max-width: 720px) {
  .cm-workday-row { grid-template-columns: 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px solid rgba(148,163,184,.14); }
  .cm-workday-row > span:first-child { padding-bottom: 0; }
}

/* v1.20 — ADMIN / Ustawienia powiadomień */
.cm-notification-settings-page,
.cm-program-settings-page,
.cm-payments-page { scroll-margin-top: 110px; }
.cm-notification-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cm-notification-box { border: 1px solid rgba(56,189,248,.16); background: linear-gradient(180deg, rgba(15,23,42,.72), rgba(2,6,23,.50)); border-radius: 18px; padding: 16px; margin: 0; box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.cm-notification-box legend { padding: 0 8px; color: #bfdbfe; font-weight: 950; }
.cm-notification-form textarea { width: 100%; min-height: 132px; background: rgba(2,6,23,.62); border: 1px solid rgba(148,163,184,.18); color: #e5edf7; border-radius: 12px; padding: 11px; outline: none; resize: vertical; line-height: 1.45; }
.cm-notification-form small { color: #94a3b8; display: block; margin-top: 6px; font-size: 12px; }
.cm-notification-form .cm-check-line { margin: 10px 0; }
@media (max-width: 900px) { .cm-notification-form { grid-template-columns: 1fr; } }
.cm-program-settings-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cm-program-settings-form .cm-notification-box label { display: block; }
.cm-inline-fields { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.cm-inline-fields > span { color: #94a3b8; padding-bottom: 13px; font-weight: 800; }
.cm-consent-grid { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cm-consent-grid > span { color: #e5edf7; font-weight: 900; margin-right: 4px; }
.cm-payment-methods-table { display: grid; gap: 8px; margin-bottom: 12px; }
.cm-payment-method-row { display: grid; grid-template-columns: minmax(160px, 1fr) 120px 120px 90px; gap: 10px; align-items: center; padding: 10px; border: 1px solid rgba(148,163,184,.12); border-radius: 14px; background: rgba(2,6,23,.28); }
.cm-payment-method-head { color: #bfdbfe; font-weight: 950; background: rgba(37,99,235,.12); }
.cm-payment-method-row .cm-check-line { margin: 0; }
.bm-danger-btn { border: 1px solid rgba(248,113,113,.35); background: rgba(127,29,29,.22); color: #fecaca; border-radius: 11px; padding: 9px 12px; font-weight: 900; cursor: pointer; }
.bm-secondary-btn { border: 1px solid rgba(56,189,248,.32); background: rgba(14,165,233,.14); color: #e0f2fe; border-radius: 12px; padding: 10px 14px; font-weight: 950; cursor: pointer; width: fit-content; }
@media (max-width: 900px) { .cm-program-settings-form { grid-template-columns: 1fr; } .cm-payment-method-row { grid-template-columns: 1fr; } }

/* CompanyManager v1.2.3 — sales module */
.cm-sales-page .bm-page-head{align-items:flex-start;}
.cm-sales-tabs{margin-top:14px;margin-bottom:18px;}
.cm-sales-view h2{margin:0 0 16px;font-size:22px;color:#e0f2fe;letter-spacing:-.03em;}
.cm-sales-filters{margin:12px 0 14px;align-items:end;}
.cm-sales-filters label{color:#cbd5e1;font-size:13px;font-weight:800;}
.cm-sales-summary{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0 14px;color:#dbeafe;}
.cm-sales-summary b{border:1px solid rgba(56,189,248,.22);background:rgba(37,99,235,.12);border-radius:14px;padding:10px 12px;}

.cm-sales-view{position:relative;}
.cm-sales-view-actions{display:flex;justify-content:flex-end;margin:-2px 0 12px;}
.cm-sales-export-btn{border:1px solid rgba(34,197,94,.5);background:linear-gradient(135deg, rgba(22,163,74,.95), rgba(21,128,61,.95));color:#ecfdf5;border-radius:12px;padding:10px 16px;font-weight:950;letter-spacing:.01em;box-shadow:0 12px 28px rgba(22,163,74,.22);cursor:pointer;}
.cm-sales-export-btn:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(22,163,74,.30);filter:brightness(1.05);}
.bm-table-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:14px 0;color:#cbd5e1;font-size:13px;font-weight:800;}
.bm-table-tools input,.bm-table-tools select,.cm-sales-filters input,.cm-sales-filters select{margin-left:6px;}
.cm-sales-pager{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#94a3b8;font-size:13px;margin-top:12px;}
.cm-sales-pager input{width:54px;text-align:center;margin:0 6px;}
@media(max-width:760px){.bm-table-tools{align-items:stretch}.bm-table-tools label{width:100%;}.cm-sales-pager{display:block}.cm-sales-pager span{display:block;margin-top:8px;}}

/* CompanyManager v1.2.4 — sales cleanup + polished date fields */
.cm-sales-page{padding-top:20px;}
.cm-sales-tabs{margin-top:0;}
.cm-sales-filters{grid-template-columns:repeat(3,minmax(180px,1fr));}
.cm-sales-date-field{display:flex;flex-direction:column;gap:7px;}
.cm-sales-date-field > span{color:#cbd5e1;font-size:13px;font-weight:900;}
.cm-sales-date-pill{position:relative;min-height:46px;display:flex;align-items:center;border:1px solid rgba(96,165,250,.42);border-radius:16px;padding:0 44px 0 14px;background:linear-gradient(145deg, rgba(15,23,42,.96), rgba(2,6,23,.82));box-shadow:0 12px 30px rgba(2,6,23,.22), inset 0 1px 0 rgba(255,255,255,.06);color:#eaf4ff;overflow:hidden;}
.cm-sales-date-pill strong{font-size:14px;font-weight:950;letter-spacing:.01em;white-space:nowrap;}
.cm-sales-date-pill::after{content:'📅';position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:18px;pointer-events:none;opacity:.95;}
.cm-sales-date-pill input[type="date"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0;}
.cm-sales-date-pill:hover{border-color:rgba(147,197,253,.75);box-shadow:0 16px 38px rgba(37,99,235,.18), inset 0 1px 0 rgba(255,255,255,.08);}
@media(max-width:900px){.cm-sales-filters{grid-template-columns:1fr;}}

.cm-report-export-btn{margin-left:auto;}
.bm-page-head .cm-report-export-btn{align-self:center;}


/* v1.39 — report export colors and chart/statistics split */
.bm-page-head .cm-report-export-btn.cm-report-export-green,
.cm-report-export-btn.cm-report-export-green,
.bm-page-head button.cm-report-export-green {
  border: 1px solid rgba(34,197,94,.5) !important;
  background: linear-gradient(135deg, rgba(22,163,74,.95), rgba(21,128,61,.95)) !important;
  color: #ecfdf5 !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  box-shadow: 0 12px 28px rgba(22,163,74,.22) !important;
}
.bm-page-head .cm-report-export-btn.cm-report-export-green:hover,
.cm-report-export-btn.cm-report-export-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(22,163,74,.30) !important;
  filter: brightness(1.05);
}
.bm-page-head .cm-chart-export-btn,
.cm-chart-export-btn {
  border: 1px solid rgba(96,165,250,.46) !important;
  background: linear-gradient(135deg, rgba(37,99,235,.96), rgba(29,78,216,.96)) !important;
  color: #eff6ff !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  box-shadow: 0 12px 28px rgba(37,99,235,.25) !important;
}
.bm-page-head .cm-chart-export-btn:hover,
.cm-chart-export-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37,99,235,.34) !important;
  filter: brightness(1.05);
}

/* Global pagination for long tables */
.cm-table-pagination{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  margin:12px 0 4px;
  color:#9ca3af;
  font-size:13px;
}
.cm-table-pagination-info{margin-right:auto;}
.cm-table-pagination-controls{
  display:flex;
  align-items:center;
  gap:8px;
}
.cm-table-pagination-controls .bm-light-btn{
  min-width:34px;
  height:32px;
  padding:0 10px;
}
.cm-table-pagination-controls .bm-light-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.cm-table-pagination-controls b{color:#e5e7eb;}
@media (max-width: 760px){
  .cm-table-pagination{align-items:flex-end; flex-direction:column; gap:8px;}
  .cm-table-pagination-info{margin-right:0;}
}

.cm-permission-disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.cm-permission-section-title {
  grid-column: 1 / -1;
  margin: 12px 0 6px;
  font-weight: 700;
  color: #e5e7eb;
}
.cm-tab-permissions-grid {
  margin-bottom: 10px;
}


.cm-payment-method-modal { margin-top: 16px; }
.cm-payment-method-modal-card { border: 1px solid rgba(148,163,184,.18); border-radius: 22px; background: linear-gradient(180deg, rgba(15,23,42,.96), rgba(2,6,23,.94)); box-shadow: 0 18px 50px rgba(2,6,23,.35); padding: 20px; max-width: 520px; }
.cm-payment-method-modal-card h3 { margin: 0 0 14px; color: #e5eefb; font-size: 1.05rem; }
.cm-payment-method-modal-card label { display: grid; gap: 8px; color: #bfdbfe; font-weight: 800; }
.cm-payment-method-modal-card input { width: 100%; border: 1px solid rgba(148,163,184,.24); border-radius: 14px; background: rgba(15,23,42,.88); color: #e5eefb; padding: 12px 14px; outline: none; }
.cm-payment-method-modal-card input:focus { border-color: rgba(59,130,246,.7); box-shadow: 0 0 0 3px rgba(59,130,246,.16); }
.cm-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.cm-company-switch-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.cm-company-switch-btn:hover { text-decoration: underline; }
.cm-company-switch-btn.active { color: var(--bm-accent, #2563eb); }
.cm-company-active-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.4;
  background: rgba(34, 197, 94, .14);
  color: #16a34a;
  text-decoration: none;
}

/* v186 — owner Companies button pinned to the far top-right */
.bm-horizontal-menu .bm-owner-top-companies{
  margin-left:auto;
  flex:0 0 auto;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(56,189,248,.28);
  background:rgba(37,99,235,.18);
  color:#eaf2ff;
  text-decoration:none;
  font-weight:950;
  font-size:13px;
  box-shadow:0 12px 30px rgba(37,99,235,.16);
}
.bm-horizontal-menu .bm-owner-top-companies:hover,
.bm-horizontal-menu .bm-owner-top-companies.active{
  color:#fff;
  border-color:rgba(56,189,248,.58);
  background:rgba(37,99,235,.34);
}

/* v188 — language flag picker after Sprzedaż */
.cm-language-picker{
  position:relative;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  margin-left:4px;
}
.cm-language-current,
.cm-language-menu button{
  width:38px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  border:1px solid rgba(56,189,248,.24);
  background:rgba(15,23,42,.68);
  color:#eaf2ff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.cm-language-current:hover,
.cm-language-menu button:hover{
  border-color:rgba(56,189,248,.55);
  background:rgba(37,99,235,.28);
  transform:translateY(-1px);
}
.cm-language-menu{
  position:fixed;
  top:0;
  left:0;
  z-index:10050;
  min-width:48px;
  padding:6px;
  display:flex;
  flex-direction:column;
  gap:6px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.22);
  background:rgba(8,13,26,.96);
  box-shadow:0 24px 60px rgba(0,0,0,.38);
}
.cm-language-menu[hidden]{display:none!important;}


/* v189 — language dropdown rendered above top menu, not clipped by horizontal navigation */
.cm-language-picker{z-index:10051;}
.cm-language-menu{max-height:none;overflow:visible;}

/* v190 — language flags moved under Email in the left/side menu */
.cm-language-picker-side{
  width:100%;
  margin:8px 0 0 0;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
}
.cm-language-picker-side .cm-language-current{
  width:100%;
  max-width:180px;
  height:40px;
  border-radius:13px;
}
.cm-language-picker-side .cm-language-menu{
  position:absolute;
  top:46px;
  left:50%;
  transform:translateX(-50%);
  z-index:10080;
  flex-direction:row;
  min-width:auto;
  width:auto;
  max-width:240px;
}

/* v191 — simple text language selector under Email */
.cm-language-picker-side{
  width:100%;
  margin:8px 0 0 0;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  overflow:visible;
}
.cm-language-picker-side .cm-language-current,
.cm-language-picker-side .cm-language-menu button{
  min-width:48px;
  width:auto;
  height:38px;
  padding:0 12px;
  border-radius:11px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}
.cm-language-picker-side .cm-language-menu{
  position:absolute!important;
  top:44px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  z-index:99999!important;
  display:grid;
  grid-template-columns:repeat(2, minmax(56px, auto));
  gap:6px;
  width:max-content;
  max-width:220px;
  padding:8px;
  overflow:visible!important;
}
.cm-language-picker-side .cm-language-menu[hidden]{display:none!important;}

/* v199 — public login/register/legal PL/ENG selector */
.cm-language-picker-public{
  margin:0 6px 0 0;
  display:inline-flex;
  align-items:center;
  position:relative;
  z-index:10080;
}
.cm-language-picker-public .cm-language-current,
.cm-language-picker-public .cm-language-menu button{
  min-width:48px;
  width:auto;
  height:38px;
  padding:0 12px;
  border-radius:11px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}
.cm-language-picker-public .cm-language-menu{
  position:absolute!important;
  top:44px!important;
  left:0!important;
  transform:none!important;
  z-index:99999!important;
  display:grid;
  grid-template-columns:repeat(2, minmax(56px, auto));
  gap:6px;
  width:max-content;
  max-width:220px;
  padding:8px;
  overflow:visible!important;
}
.cm-language-picker-public .cm-language-menu[hidden]{display:none!important;}

@media (max-width: 760px){
  .cm-language-picker-public{
    width:100%;
    justify-content:center;
    margin:4px 0;
  }
  .cm-language-picker-public .cm-language-menu{
    left:50%!important;
    transform:translateX(-50%)!important;
  }
}

/* CompanyManager v2.0 — OWNER companies delete modal */
.cm-modal-backdrop[hidden]{display:none!important;}
.cm-modal-backdrop:not([hidden]){
  position:fixed;
  inset:0;
  z-index:9060;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(2,6,23,.72);
  backdrop-filter:blur(8px);
}
.cm-modal-card{
  width:min(620px, calc(100vw - 44px));
  max-height:86vh;
  overflow:auto;
  border:1px solid rgba(56,189,248,.34);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(2,6,23,.96));
  box-shadow:0 35px 100px rgba(0,0,0,.72);
  padding:20px;
}
.cm-modal-card h3{margin:0 0 10px;color:#e5eefb;}
.cm-modal-card label{display:grid;gap:8px;margin-top:14px;color:#bfdbfe;font-weight:900;}
.cm-modal-card select{width:100%;border:1px solid rgba(148,163,184,.24);border-radius:14px;background:rgba(15,23,42,.88);color:#e5eefb;padding:12px 14px;outline:none;}
.cm-modal-card select:focus{border-color:rgba(59,130,246,.7);box-shadow:0 0 0 3px rgba(59,130,246,.16);}
.bm-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}


/* CompanyManager v2 - owner company delete buttons */
#openDeleteCompanyModal,
#confirmDeleteCompanyBtn,
.bm-btn.danger {
  background: linear-gradient(135deg, #dc2626, #991b1b) !important;
  border: 1px solid rgba(248, 113, 113, .65) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(220, 38, 38, .22) !important;
}
#openDeleteCompanyModal:hover,
#confirmDeleteCompanyBtn:hover,
.bm-btn.danger:hover {
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  transform: translateY(-1px);
}


/* CompanyManager v2 — owner registration approval buttons */
.cm-company-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.bm-btn.success,
button[data-registration-approve]{
  background:linear-gradient(135deg,#16a34a,#15803d) !important;
  border:1px solid rgba(74,222,128,.65) !important;
  color:#ecfdf5 !important;
  border-radius:12px !important;
  padding:9px 13px !important;
  font-weight:950 !important;
  letter-spacing:.01em !important;
  box-shadow:0 12px 28px rgba(22,163,74,.22) !important;
  cursor:pointer !important;
}
.bm-btn.success:hover,
button[data-registration-approve]:hover{
  background:linear-gradient(135deg,#22c55e,#16a34a) !important;
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(22,163,74,.30) !important;
}
button[data-registration-reject]{
  border-radius:12px !important;
  padding:9px 13px !important;
  font-weight:950 !important;
  letter-spacing:.01em !important;
}


/* CompanyManager v2 — compact Z/O approval buttons */
.cm-company-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
}
.cm-approve-short,
.cm-reject-short{
  width:26px !important;
  height:26px !important;
  min-width:26px !important;
  padding:0 !important;
  border-radius:8px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:950 !important;
  font-size:12px !important;
  line-height:1 !important;
  cursor:pointer !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
}
.cm-approve-short{
  background:linear-gradient(135deg,#16a34a,#15803d) !important;
  border:1px solid rgba(74,222,128,.72) !important;
  color:#ecfdf5 !important;
  box-shadow:0 10px 24px rgba(22,163,74,.24) !important;
}
.cm-approve-short:hover{
  background:linear-gradient(135deg,#22c55e,#16a34a) !important;
  transform:translateY(-1px) !important;
  box-shadow:0 14px 30px rgba(22,163,74,.32) !important;
}
.cm-reject-short{
  background:linear-gradient(135deg,#dc2626,#991b1b) !important;
  border:1px solid rgba(248,113,113,.72) !important;
  color:#fff1f2 !important;
  box-shadow:0 10px 24px rgba(220,38,38,.24) !important;
}
.cm-reject-short:hover{
  background:linear-gradient(135deg,#ef4444,#b91c1c) !important;
  transform:translateY(-1px) !important;
  box-shadow:0 14px 30px rgba(220,38,38,.32) !important;
}


/* CompanyManager v2 — compact action column visibility */
.cm-companies-page .bm-table th:last-child,
.cm-companies-page .bm-table td:last-child {
  min-width: 64px;
  overflow: visible;
}


/* CompanyManager v2.1 — mobile panel left rail optimization */
@media (max-width: 760px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .bm-main.bm-main-top {
    padding: 0 0 56px 0 !important;
  }

  .bm-panel-workspace {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .bm-left-info-panel {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin: 10px 10px 0 10px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(56,189,248,.18) !important;
    text-align: left !important;
  }

  .bm-left-info-panel .bm-identity-block,
  .bm-left-info-panel .bm-user-stack,
  .bm-left-info-panel .bm-mini-calendar,
  .bm-left-info-panel .bm-calendar-center {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
  }

  .bm-left-info-panel .bm-today {
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    padding-left: 0 !important;
  }

  .bm-left-info-panel .bm-live-clock,
  .bm-left-info-panel .bm-user-stack strong {
    text-align: left !important;
    width: 100% !important;
  }

  .bm-left-info-panel .bm-admin-dropdown,
  .bm-left-info-panel .bm-admin-dropdown-toggle,
  .bm-left-info-panel .bm-undo-time-btn,
  .bm-left-info-panel .bm-owner-link,
  .bm-left-info-panel .cm-language-picker {
    width: 100% !important;
    max-width: 100% !important;
  }

  .bm-left-info-panel .bm-admin-dropdown-toggle,
  .bm-left-info-panel .bm-undo-time-btn,
  .bm-left-info-panel .bm-owner-link {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .bm-left-info-panel .cm-language-picker {
    justify-content: flex-start !important;
    margin-top: 4px !important;
  }

  .bm-left-info-panel .cm-language-toggle {
    justify-content: flex-start !important;
  }

  .bm-panel-area {
    width: 100% !important;
    padding: 0 10px 56px !important;
    min-width: 0 !important;
  }

  .bm-horizontal-menu {
    position: sticky !important;
    top: 0 !important;
    z-index: 9000 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
  }

  .bm-nav-top {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    padding-bottom: 2px !important;
  }

  .bm-nav-top a,
  .bm-owner-top-companies {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .bm-page-card,
  .bm-admin-hero,
  .bm-topbar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .bm-table-wrap,
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .bm-table,
  .data-table {
    min-width: 720px;
  }
}

@media (max-width: 420px) {
  .bm-left-info-panel {
    width: calc(100% - 16px) !important;
    margin: 8px 8px 0 8px !important;
    padding: 12px !important;
  }

  .bm-panel-area {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .bm-left-info-panel .bm-owner-link,
  .bm-left-info-panel .bm-admin-dropdown-toggle,
  .bm-left-info-panel .bm-undo-time-btn {
    font-size: 13px !important;
    padding: 9px 10px !important;
  }
}


/* CompanyManager v2.1.1 — mobile zoom + compact left rail
   Cel: na telefonie lewy panel ma zostać po lewej, być mniejszy i nie blokować pinch zoomu. */
@media (max-width: 760px) {
  html,
  body {
    max-width: none !important;
    overflow-x: auto !important;
    -webkit-text-size-adjust: 100% !important;
    touch-action: pan-x pan-y pinch-zoom !important;
  }

  .panel-body {
    overflow-x: auto !important;
  }

  .bm-main.bm-main-top {
    min-width: 980px !important;
    width: 980px !important;
    padding: 0 0 56px 0 !important;
  }

  .bm-panel-workspace {
    display: grid !important;
    grid-template-columns: 126px minmax(820px, 1fr) !important;
    gap: 10px !important;
    width: 980px !important;
    min-width: 980px !important;
    align-items: start !important;
  }

  .bm-left-info-panel {
    position: sticky !important;
    left: 0 !important;
    top: 54px !important;
    z-index: 8500 !important;
    width: 126px !important;
    max-width: 126px !important;
    min-width: 126px !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 8px 7px 10px !important;
    border-radius: 0 0 14px 0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    text-align: left !important;
    box-shadow: 10px 14px 36px rgba(0,0,0,.30) !important;
  }

  .bm-left-info-panel *,
  .bm-left-info-panel .bm-identity-block,
  .bm-left-info-panel .bm-user-stack,
  .bm-left-info-panel .bm-mini-calendar,
  .bm-left-info-panel .bm-calendar-center {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .bm-left-info-panel .bm-identity-logo,
  .bm-left-info-panel .bm-identity-block h1,
  .bm-left-info-panel .bm-identity-block h1::after {
    display: none !important;
  }

  .bm-left-info-panel .bm-today,
  .bm-left-info-panel .bm-calendar-center .bm-today {
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .bm-left-info-panel .bm-calendar-center .bm-today strong,
  .bm-left-info-panel .bm-live-clock {
    display: block !important;
    width: 100% !important;
    font-size: 10px !important;
    line-height: 1.18 !important;
    white-space: normal !important;
  }

  .bm-left-info-panel .bm-user-stack {
    gap: 4px !important;
    margin-top: 5px !important;
    width: 100% !important;
  }

  .bm-left-info-panel .bm-user-stack strong {
    width: 100% !important;
    font-size: 10.5px !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere !important;
  }

  .bm-left-info-panel .bm-role,
  .bm-left-info-panel .bm-status,
  .bm-left-info-panel .bm-user-stack b {
    font-size: 9px !important;
    padding: 3px 5px !important;
    line-height: 1 !important;
  }

  .bm-left-info-panel .bm-admin-dropdown,
  .bm-left-info-panel .bm-admin-dropdown-toggle,
  .bm-left-info-panel .bm-undo-time-btn,
  .bm-left-info-panel .bm-owner-link,
  .bm-left-info-panel .cm-language-picker {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .bm-left-info-panel .bm-admin-dropdown-toggle,
  .bm-left-info-panel .bm-undo-time-btn,
  .bm-left-info-panel .bm-owner-link,
  .bm-left-info-panel .cm-language-current,
  .bm-left-info-panel .cm-language-toggle {
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 9.5px !important;
    line-height: 1.05 !important;
    padding: 5px 6px !important;
    border-radius: 8px !important;
    min-height: 24px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .bm-left-info-panel .bm-owner-link {
    margin-top: 3px !important;
  }

  .bm-left-info-panel .cm-language-picker {
    margin-top: 5px !important;
  }

  .bm-panel-area {
    min-width: 820px !important;
    width: 820px !important;
    padding: 0 10px 56px 0 !important;
  }

  .bm-horizontal-menu {
    position: sticky !important;
    top: 0 !important;
    z-index: 9000 !important;
    width: 980px !important;
    min-width: 980px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 7px 8px !important;
  }

  .bm-nav-top {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .bm-nav-top a,
  .bm-owner-top-companies {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 10px !important;
    padding: 6px 7px !important;
    border-radius: 8px !important;
  }

  .bm-page-card,
  .bm-admin-hero,
  .bm-topbar {
    max-width: none !important;
  }

  .bm-table-wrap,
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 420px) {
  .bm-main.bm-main-top,
  .bm-panel-workspace,
  .bm-horizontal-menu {
    min-width: 980px !important;
    width: 980px !important;
  }
  .bm-left-info-panel {
    width: 118px !important;
    max-width: 118px !important;
    min-width: 118px !important;
    padding: 7px 6px 9px !important;
  }
  .bm-panel-workspace {
    grid-template-columns: 118px minmax(830px, 1fr) !important;
  }
  .bm-panel-area {
    min-width: 830px !important;
    width: 830px !important;
  }
}


/* CompanyManager v2.1.2 — mobile desktop-like left rail + strong zoom
   Na telefonie panel boczny ma zostać po lewej jak na komputerze, a nie centrować się nad treścią. */
@media (max-width: 980px) {
  html,
  body {
    width: 1280px !important;
    min-width: 1280px !important;
    max-width: none !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    touch-action: pan-x pan-y pinch-zoom !important;
    -webkit-text-size-adjust: 100% !important;
  }

  .panel-body,
  body.panel-body {
    width: 1280px !important;
    min-width: 1280px !important;
    max-width: none !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
  }

  .bm-main.bm-main-top {
    width: 1280px !important;
    min-width: 1280px !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    transform-origin: left top !important;
  }

  .bm-panel-workspace {
    display: grid !important;
    grid-template-columns: 178px minmax(1040px, 1fr) !important;
    width: 1280px !important;
    min-width: 1280px !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: start !important;
    justify-items: stretch !important;
    align-items: start !important;
    gap: 12px !important;
  }

  .bm-left-info-panel {
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: start !important;
    position: sticky !important;
    top: 54px !important;
    left: 0 !important;
    z-index: 8500 !important;
    width: 178px !important;
    min-width: 178px !important;
    max-width: 178px !important;
    margin: 0 !important;
    padding: 10px 9px 12px !important;
    border-radius: 0 0 16px 0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    text-align: left !important;
  }

  .bm-left-info-panel *,
  .bm-left-info-panel .bm-identity-block,
  .bm-left-info-panel .bm-user-stack,
  .bm-left-info-panel .bm-mini-calendar,
  .bm-left-info-panel .bm-calendar-center,
  .bm-left-info-panel .bm-calendar-center .bm-today {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .bm-left-info-panel .bm-identity-block {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .bm-left-info-panel .bm-calendar-center {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .bm-left-info-panel .bm-calendar-center .bm-today strong,
  .bm-left-info-panel .bm-live-clock,
  .bm-left-info-panel .bm-user-stack strong {
    width: 100% !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .bm-left-info-panel .bm-calendar-center .bm-today strong {
    font-size: 13px !important;
    line-height: 1.12 !important;
  }

  .bm-left-info-panel .bm-live-clock {
    font-size: 12px !important;
    line-height: 1.12 !important;
  }

  .bm-left-info-panel .bm-user-stack strong {
    font-size: 12px !important;
    line-height: 1.12 !important;
  }

  .bm-left-info-panel .bm-role,
  .bm-left-info-panel .bm-status,
  .bm-left-info-panel .bm-user-stack b {
    font-size: 10px !important;
    padding: 3px 6px !important;
  }

  .bm-left-info-panel .bm-admin-dropdown,
  .bm-left-info-panel .bm-admin-dropdown-toggle,
  .bm-left-info-panel .bm-undo-time-btn,
  .bm-left-info-panel .bm-owner-link,
  .bm-left-info-panel .cm-language-picker,
  .bm-left-info-panel .cm-language-current,
  .bm-left-info-panel .cm-language-toggle {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .bm-left-info-panel .bm-admin-dropdown-toggle,
  .bm-left-info-panel .bm-undo-time-btn,
  .bm-left-info-panel .bm-owner-link,
  .bm-left-info-panel .cm-language-current,
  .bm-left-info-panel .cm-language-toggle {
    font-size: 11px !important;
    line-height: 1.05 !important;
    padding: 6px 7px !important;
    min-height: 26px !important;
    border-radius: 9px !important;
  }

  .bm-panel-area {
    grid-column: 2 !important;
    width: 1040px !important;
    min-width: 1040px !important;
    max-width: none !important;
    padding: 24px 20px 70px 0 !important;
  }

  .bm-horizontal-menu {
    width: 1280px !important;
    min-width: 1280px !important;
    max-width: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* CompanyManager v2.1.4 — mobile performance optimization
   Zachowuje desktopowy lewy panel i mocny zoom, ale odciąża telefon. */
@media (max-width: 980px) {
  html,
  body,
  .panel-body,
  body.panel-body {
    scroll-behavior: auto !important;
    overscroll-behavior: auto !important;
    text-rendering: optimizeSpeed !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .bm-left-info-panel,
  .bm-horizontal-menu,
  .bm-page-card,
  .bm-admin-hero,
  .bm-topbar,
  .bm-card,
  .panel-card,
  .auth-card,
  .doc-card,
  .form-card,
  .modal,
  .bm-modal,
  .cm-modal,
  .bm-table-wrap,
  .table-wrap {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
    transform: translateZ(0) !important;
  }

  .bm-page-card,
  .bm-admin-hero,
  .bm-topbar,
  .bm-card,
  .panel-card,
  .auth-card,
  .doc-card,
  .form-card {
    box-shadow: 0 8px 20px rgba(0,0,0,.22) !important;
  }

  .bm-left-info-panel {
    box-shadow: 4px 8px 18px rgba(0,0,0,.20) !important;
    contain: layout paint style !important;
  }

  .bm-panel-area,
  .bm-main.bm-main-top,
  .bm-panel-workspace {
    contain: layout paint style !important;
  }

  .bm-table-wrap,
  .table-wrap {
    contain: layout paint style !important;
    will-change: scroll-position !important;
  }

  .bm-table,
  .data-table,
  table {
    contain: layout style !important;
  }

  .bm-horizontal-menu,
  .bm-nav-top {
    will-change: scroll-position !important;
  }

  body::before,
  body::after,
  .panel-body::before,
  .panel-body::after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 480px) {
  .bm-page-card,
  .bm-admin-hero,
  .bm-topbar,
  .bm-card,
  .panel-card {
    box-shadow: none !important;
  }
}
