/* ==========================================================================
   INCENTIVE TRACKER — owner stylesheet (home section, manager views, import sheet,
   date-range calendar). Phone layout lives in the media block at the end.
   ========================================================================== */


.bmInc_lastUpdate{
  font-size:11px;
  color:var(--muted);
  font-weight:700;
  letter-spacing:.04em;
  margin-right:auto;
}
.bmInc_importBtn{
  height:32px;
  border-radius:var(--radius-pill);
  border:1px solid #5d53b4;
  background:#5d53b4;
  color:#fff;
  font-size:12px;
  font-weight:800;
  padding:0 14px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex:none;
  letter-spacing:.03em;
  transition:background .15s,border-color .15s,box-shadow .15s;
}
.bmInc_importIcon{
  width:15px;
  height:15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
}
.bmInc_importIcon svg{
  width:15px;
  height:15px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bmInc_importBtn:hover{
  background:#4a42a0;
  border-color:#4a42a0;
  box-shadow:0 2px 8px rgba(93,83,180,.25);
}
.bmInc_settingsBtn{
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid rgba(62,61,86,.15);
  background:rgba(62,61,86,.06);
  color:var(--muted);
  font-size:15px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  padding:0;
  transition:background .15s, color .15s, border-color .15s;
}
.bmInc_settingsBtn:hover{
  background:#efedf8;
  border-color:rgba(93,83,180,.22);
  color:#5d53b4;
}
.incentiveGrid.bmInc_byMgrOverlay{
  position:relative;
  z-index:60;
  overflow:visible;
}
.bmInc_inner{
  background:var(--card);
  border-radius:var(--radius);
  border:1px solid var(--border);
  margin-top:8px;
  padding:0;
  overflow:hidden;
}
.bmInc_inner.bmInc_byMgrOverlay{
  overflow:visible;
}
.bmInc_tabs{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:50px;
  border-bottom:1px solid var(--border);
  padding:0 14px 0 16px;
  background:var(--bg);
}
.bmInc_tabNav{
  display:flex;
  align-items:stretch;
  align-self:stretch;
  min-width:0;
  flex:none;
}
.bmInc_tabTools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
  margin-left:auto;
}
.bmInc_tab{
  height:42px;
  padding:0 14px;
  border:none;
  background:transparent;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:pointer;
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
  transition:color .15s, border-color .15s;
}
.bmInc_tab:hover{
  color:var(--text);
}
.bmInc_tab.active{
  color:#5d53b4;
  border-bottom-color:#5d53b4;
}
.bmInc_dateFilter{
  height:34px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 4px 3px 9px;
  border:1px solid rgba(62,61,86,.14);
  border-radius:13px;
  background:rgba(255,255,255,.66);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 2px 8px rgba(27,27,46,.035);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  transition:border-color .16s,background .16s,box-shadow .16s;
  flex:none;
}
.bmInc_dateFilter:hover,
.bmInc_dateFilter:focus-within{
  border-color:rgba(93,83,180,.28);
  background:rgba(255,255,255,.82);
  box-shadow:0 0 0 3px rgba(93,83,180,.055),inset 0 1px 0 rgba(255,255,255,.84);
}
.bmInc_dateFilter.isActive{
  border-color:rgba(93,83,180,.32);
  background:rgba(248,247,253,.92);
}
.bmInc_dateFilterLabel{
  color:var(--muted);
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  margin-right:1px;
  flex:none;
}
.bmInc_dateQuality{
  display:inline-flex;
  align-items:center;
  height:18px;
  padding:0 6px;
  border-radius:999px;
  background:rgba(185,126,36,.10);
  color:#9a681e;
  font-size:8px;
  line-height:1;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  flex:none;
}
.bmInc_dateFilter.isEstimated{
  border-color:rgba(185,126,36,.24);
}
.bmInc_dateField{
  display:flex;
  align-items:center;
  flex:none;
}
.bmInc_dateInput{
  width:82px;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text);
  font:800 11px/1.2 var(--font);
  font-variant-numeric:tabular-nums;
  letter-spacing:.015em;
  padding:3px 1px;
  text-align:center;
}
.bmInc_dateInput::placeholder{
  color:rgba(122,120,136,.62);
  font-weight:700;
}
.bmInc_dateInput.isInvalid{
  color:#b84752;
}
.bmInc_dateDash{
  color:rgba(122,120,136,.72);
  font-size:11px;
  font-weight:900;
  flex:none;
}
.bmInc_calendarBtn,
.bmInc_dateReset{
  border:0;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex:none;
  transition:background .15s,color .15s,transform .15s;
}
.bmInc_calendarBtn{
  width:27px;
  height:27px;
  border-radius:9px;
  background:rgba(62,61,86,.065);
  color:#696579;
}
.bmInc_calendarBtn:hover{
  background:rgba(93,83,180,.12);
  color:#5147a3;
}
.bmInc_calendarBtn:active{
  transform:scale(.96);
}
.bmInc_calendarBtn svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bmInc_dateReset{
  width:22px;
  height:22px;
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  font-size:17px;
  line-height:1;
}
.bmInc_dateReset:hover{
  background:rgba(62,61,86,.075);
  color:var(--text);
}
.bmInc_calendar{
  position:fixed;
  z-index:13000;
  width:326px;
  padding:12px;
  border:1px solid rgba(62,61,86,.14);
  border-radius:22px;
  background:rgba(255,255,255,.965);
  color:var(--text);
  box-shadow:0 26px 70px rgba(26,25,42,.22),inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter:blur(24px) saturate(1.08);
  -webkit-backdrop-filter:blur(24px) saturate(1.08);
  animation:bmIncCalendarIn .16s var(--ease-out);
}
.bmInc_calendarHead{
  min-height:46px;
  display:grid;
  grid-template-columns:34px 1fr 34px;
  align-items:center;
  gap:8px;
  padding:1px 2px 8px;
}
.bmInc_calendarHead > div{
  min-width:0;
  text-align:center;
}
.bmInc_calendarHead strong{
  display:block;
  font-size:14px;
  line-height:1.2;
  font-weight:900;
  text-transform:capitalize;
}
.bmInc_calendarHead span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.bmInc_calendarNav{
  width:34px;
  height:34px;
  border:1px solid rgba(62,61,86,.1);
  border-radius:11px;
  background:rgba(62,61,86,.045);
  color:#5f5b6e;
  font:500 24px/1 var(--font);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 0 2px;
  transition:background .15s,border-color .15s,color .15s;
}
.bmInc_calendarNav:hover:not(:disabled){
  background:rgba(93,83,180,.1);
  border-color:rgba(93,83,180,.18);
  color:#5147a3;
}
.bmInc_calendarNav:disabled{
  opacity:.3;
  cursor:default;
}
.bmInc_calendarWeek,
.bmInc_calendarGrid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
}
.bmInc_calendarWeek{
  padding:2px 0 5px;
}
.bmInc_calendarWeek span{
  text-align:center;
  color:var(--muted);
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.bmInc_calendarGrid{
  gap:2px 0;
}
.bmInc_calendarDay{
  position:relative;
  isolation:isolate;
  height:36px;
  border:0;
  background:transparent;
  color:var(--text);
  font:800 11px/1 var(--font);
  cursor:pointer;
  padding:0;
}
.bmInc_calendarDay::before{
  content:'';
  position:absolute;
  z-index:-1;
  inset:3px;
  border-radius:10px;
  background:transparent;
  transition:background .12s,transform .12s;
}
.bmInc_calendarDay:hover:not(:disabled)::before{
  background:rgba(62,61,86,.075);
  transform:scale(.96);
}
.bmInc_calendarDay.isOutside{
  color:rgba(122,120,136,.46);
}
.bmInc_calendarDay.isDisabled{
  color:rgba(122,120,136,.23);
  cursor:default;
}
.bmInc_calendarDay.isInRange::after{
  content:'';
  position:absolute;
  z-index:-2;
  left:0;
  right:0;
  top:6px;
  bottom:6px;
  background:rgba(93,83,180,.09);
}
.bmInc_calendarDay.isStart::before,
.bmInc_calendarDay.isEnd::before{
  background:#5d53b4;
  box-shadow:0 5px 13px rgba(93,83,180,.24);
}
.bmInc_calendarDay.isStart,
.bmInc_calendarDay.isEnd{
  color:#fff;
}
.bmInc_calendarDay.isStart::after{
  left:50%;
}
.bmInc_calendarDay.isEnd::after{
  right:50%;
}
.bmInc_calendarDay.isStart.isEnd::after{
  display:none;
}
.bmInc_calendarFoot{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
  padding:8px 4px 0;
  border-top:1px solid rgba(62,61,86,.1);
}
.bmInc_calendarFoot span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.bmInc_calendarFoot button{
  border:0;
  border-radius:9px;
  background:rgba(93,83,180,.09);
  color:#5147a3;
  padding:7px 9px;
  font:900 10px/1 var(--font);
  cursor:pointer;
  white-space:nowrap;
}
.bmInc_calendarFoot button:hover{
  background:rgba(93,83,180,.15);
}
.bmInc_tabContent{
  padding:18px 16px 16px;
}
.bmInc_tabContent.bmInc_byMgrOpen{
  position:relative;
  z-index:70;
  overflow:visible;
}
.bmInc_hotelList{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:12px;
  align-items:stretch;
}
.bmInc_hotelCard{
  position:relative;
  background:var(--bg);
  border-radius:14px;
  border:1px solid var(--border);
  padding:14px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.bmInc_hotelHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  height:50px;
  min-height:50px;
  max-height:50px;
  margin-bottom:8px;
  gap:10px;
  overflow:visible;
}
.bmInc_hotelTitleBlock{
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.bmInc_hotelName{
  font-size:12.5px;
  font-weight:900;
  color:var(--text);
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bmInc_hotelValueBlock{
  flex:none;
  max-width:48%;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:5px;
  text-align:right;
}
.bmInc_hotelNet{
  font-size:13px;
  font-weight:900;
  color:#5d53b4;
  flex:none;
  white-space:nowrap;
}
.bmInc_hotelValidity{
  font-size:11px;
  color:var(--muted);
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bmInc_hotelActual{
  font-size:11px;
  color:var(--muted);
  font-weight:800;
  white-space:nowrap;
}
.bmInc_hotelNightsSold{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  border-radius:999px;
  padding:3px 8px;
  background:rgba(82,185,138,.13);
  border:1px solid rgba(82,185,138,.22);
  color:#3a9970;
  font-size:11px;
  font-weight:900;
  line-height:1.1;
  white-space:nowrap;
}
.bmInc_noIncentive .bmInc_hotelNet{
  color:var(--muted);
}
.bmInc_tiers{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:7px;
  overflow:hidden;
  padding-right:0;
}
.bmInc_tier{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.bmInc_tierLabel{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  min-height:18px;
  font-size:11px;
  font-weight:800;
  color:var(--muted);
}
.bmInc_tierLabel > span:first-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bmInc_tierLabel > span:last-child{
  flex:none;
}
.bmInc_tierRight{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  white-space:nowrap;
}
.bmInc_tierLabel .bmInc_tierPct{
  color:#5d53b4;
  font-size:12px;
  font-weight:900;
}
.bmInc_tierLabel .bmInc_tierGap{
  color:#d97a3c;
  font-size:11px;
  font-weight:800;
}
.bmInc_tierMeta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
  flex:none;
}
.bmInc_tierMeta .bmInc_hotelValidity{
  display:block;
}
.bmInc_validityHeader{
  margin-bottom:6px;
}
.bmInc_periodBadge{
  display:inline-block;
  background:rgba(93,83,180,.1);
  color:#5d53b4;
  border-radius:4px;
  padding:0 5px;
  font-size:10px;
  font-weight:900;
  margin-right:5px;
}
.bmInc_unitBadge{
  display:inline-block;
  background:rgba(82,185,138,.12);
  color:#3a9970;
  border-radius:4px;
  padding:0 5px;
  font-size:10px;
  font-weight:900;
  margin-right:5px;
}
.bmInc_nextHint{
  color:var(--muted);
  font-size:10px;
  font-weight:700;
  font-style:italic;
}
.bmInc_earnedBadges{
  display:flex;
  align-items:center;
  gap:5px;
  flex:none;
  min-height:18px;
  max-height:18px;
  overflow:hidden;
  white-space:nowrap;
}
.bmInc_earnedBadge{
  display:inline-flex;
  align-items:center;
  flex:none;
  height:16px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(82,185,138,.13);
  border:1px solid rgba(82,185,138,.22);
  color:#3a9970;
  font-size:10px;
  font-weight:900;
  line-height:1;
}
.bmInc_barWrap{
  height:10px;
  background:rgba(62,61,86,.08);
  border-radius:999px;
  overflow:visible;
  position:relative;
}
.bmInc_barPct{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  font-size:9px;
  font-weight:900;
  color:rgba(62,61,86,.55);
  pointer-events:none;
  white-space:nowrap;
  line-height:1;
}
.bmInc_barFill{
  height:100%;
  border-radius:999px;
  transition:width .4s cubic-bezier(.22,.82,.36,1);
  min-width:2px;
}
.bmInc_barFill.reached{
  background:linear-gradient(90deg,#7ecfa8,#52b98a);
}
.bmInc_barFill.inprogress{
  background:linear-gradient(90deg,#a9cfde,#5d8fb4);
}
.bmInc_barFill.empty{
  background:rgba(62,61,86,.18);
}
.bmInc_barFill.over{
  background:linear-gradient(90deg,#7ecfa8,#52b98a);
  width:100%!important;
}
.bmInc_singleBar .bmInc_barWrap{
  height:14px;
}
.bmInc_singleBar .bmInc_barPct{
  font-size:10px;
}
.bmInc_totalCard{
  background:rgba(93,83,180,.06);
  border-radius:14px;
  border:1px solid rgba(93,83,180,.14);
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.bmInc_totalLabel{
  font-size:12px;
  font-weight:900;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.bmInc_totalVal{
  font-size:18px;
  font-weight:900;
  color:#5d53b4;
}
.bmInc_totalStat{
  font-size:11px;
  color:var(--muted);
  font-weight:700;
}
.bmInc_managerSummary{
  margin-bottom:12px;
}
.bmInc_summaryStats{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.bmInc_summaryPill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.52);
  border:1px solid rgba(93,83,180,.12);
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.bmInc_managerGrid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(245px,1fr));
  gap:12px;
  align-items:start;
}
.bmInc_managerCard{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:14px;
  padding:13px;
  min-height:142px;
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:hidden;
}
.bmInc_managerTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.bmInc_managerIdentity{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.bmInc_managerRank{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:18px;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(93,83,180,.09);
  color:#5d53b4;
  font-size:10px;
  font-weight:900;
  line-height:1;
}
.bmInc_managerName{
  min-width:0;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--text);
  font-size:13px;
  font-weight:900;
}
.bmInc_managerNet{
  flex:none;
  color:#5d53b4;
  font-size:13px;
  font-weight:900;
  text-align:right;
  white-space:nowrap;
}
.bmInc_managerShare{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
}
.bmInc_managerBar{
  height:8px;
  border-radius:999px;
  background:rgba(62,61,86,.08);
  overflow:hidden;
}
.bmInc_managerBarFill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#a9cfde,#5d8fb4);
}
.bmInc_managerMetrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-top:auto;
}
.bmInc_managerMetrics div{
  min-width:0;
  border-radius:10px;
  background:rgba(255,255,255,.48);
  border:1px solid rgba(62,61,86,.06);
  padding:7px 6px;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.bmInc_managerMetrics strong{
  color:var(--text);
  font-size:12px;
  font-weight:900;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bmInc_managerMetrics span{
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.bmInc_byManagerGrid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(310px,1fr));
  gap:12px;
  align-items:start;
}
.bmInc_mgGroup{
  position:relative;
  border-radius:14px;
  overflow:visible;
  border:1px solid var(--border);
  background:var(--bg);
}
.bmInc_mgGroup.bmInc_open{
  z-index:30;
}
.bmInc_mgGroupHead{
  cursor:pointer;
  user-select:none;
  min-height:66px;
  padding:13px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  background:transparent;
  transition:background .15s, border-color .15s;
}
.bmInc_mgGroupHead:hover{
  background:rgba(93,83,180,.045);
}
.bmInc_byMgrIdentity{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.bmInc_byMgrName{
  min-width:0;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--text);
  font-size:13px;
  font-weight:900;
}
.bmInc_byMgrMeta{
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bmInc_byMgrTotalBlock{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  text-align:right;
}
.bmInc_mgGroupHead .bmInc_mgGroupTotal{
  color:#5d53b4;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.bmInc_mgGroupChev{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:999px;
  background:rgba(93,83,180,.08);
  color:#5d53b4;
  font-size:11px;
  font-weight:900;
  transition:transform .2s, background .15s;
}
.bmInc_mgGroupHead:hover .bmInc_mgGroupChev{
  background:rgba(93,83,180,.12);
}
.bmInc_mgGroup.bmInc_collapsed .bmInc_mgGroupChev{
  transform:rotate(-90deg);
}
.bmInc_mgGroup.bmInc_collapsed .bmInc_mgGroupTable{
  display:none;
}
.bmInc_mgGroupTable{
  position:absolute;
  top:calc(100% + 6px);
  left:8px;
  right:8px;
  z-index:80;
  max-height:280px;
  overflow:auto;
  border:1px solid rgba(62,61,86,.10);
  border-radius:12px;
  background:var(--card);
  box-shadow:0 14px 34px rgba(20,24,42,.16);
}
.bmInc_byMgrHotelList{
  padding:6px 8px 8px;
}
.bmInc_byMgrHotelRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:38px;
  padding:7px 4px;
  border-bottom:1px solid rgba(62,61,86,.06);
}
.bmInc_byMgrHotelRow:last-child{
  border-bottom:none;
}
.bmInc_byMgrHotelMain{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.bmInc_byMgrHotelName{
  color:var(--text);
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bmInc_byMgrHotelMeta{
  color:var(--muted);
  font-size:10.5px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bmInc_byMgrHotelNet{
  flex:none;
  color:#5d53b4;
  font-size:12px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.bmInc_overlay{
  position:fixed;
  inset:0;
  background:rgba(20,21,32,.42);
  backdrop-filter:blur(8px);
  z-index:2147483000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-sizing:border-box;
  animation:bmInc_fadeIn .18s ease;
}
.bmInc_sheet{
  width:min(560px,calc(100vw - 40px));
  background:#f7f6f2;
  border-radius:24px;
  box-shadow:0 28px 80px rgba(18,20,35,.32);
  padding:22px;
  position:relative;
  animation:bmInc_slideUp .22s cubic-bezier(.22,.82,.36,1);
}
.bmInc_sheetHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}
.bmInc_sheetHead h3{
  margin:0;
  font-size:20px;
  letter-spacing:-.02em;
}
.bmInc_closeBtn{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(62,61,86,.14);
  background:#fff;
  color:#3f3c57;
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bmInc_section{
  margin-bottom:16px;
}
.bmInc_sectionLabel{
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  margin-bottom:8px;
}
.bmInc_row{
  display:flex;
  align-items:center;
  gap:10px;
}
.bmInc_input{
  height:40px;
  border-radius:13px;
  border:1px solid rgba(62,61,86,.14);
  background:#fff;
  padding:0 12px;
  font:inherit;
  font-size:14px;
  color:#1f2340;
  width:100%;
  box-sizing:border-box;
}
.bmInc_input:focus{
  outline:2px solid rgba(93,83,180,.2);
  outline-offset:1px;
}
.bmInc_inputUnit{
  font-size:14px;
  font-weight:900;
  color:var(--muted);
  white-space:nowrap;
}
.bmInc_btnRow{
  display:flex;
  gap:8px;
  margin-top:18px;
  justify-content:flex-end;
}
.bmInc_btn{
  height:40px;
  border-radius:14px;
  border:1px solid rgba(62,61,86,.14);
  background:#fff;
  color:#3f3c57;
  font-weight:900;
  font-size:13px;
  padding:0 16px;
  cursor:pointer;
  transition:background .15s,border-color .15s;
}
.bmInc_btn:hover{
  background:#efedf8;
  border-color:rgba(93,83,180,.22);
}
.bmInc_btn.primary{
  background:#5d53b4;
  color:#fff;
  border-color:transparent;
}
.bmInc_btn.primary:hover{
  background:#4e45a0;
}
.bmInc_btn.danger{
  color:#c0392b;
  border-color:rgba(192,57,43,.2);
}
.bmInc_btn.danger:hover{
  background:#fdf0ee;
}
.bmInc_uploadsList{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:6px;
}
.bmInc_uploadItem{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  background:#fff;
  border-radius:12px;
  border:1px solid rgba(62,61,86,.10);
  font-size:12px;
}
.bmInc_uploadItem .bmInc_uploadName{
  flex:1;
  font-weight:800;
  color:var(--text);
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bmInc_uploadItem .bmInc_uploadDates{
  color:var(--muted);
  font-weight:700;
  flex:none;
}
.bmInc_uploadMode{
  flex:none;
  padding:3px 7px;
  border-radius:999px;
  font-size:8px;
  line-height:1;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.bmInc_uploadMode.isExact{
  background:rgba(45,143,91,.10);
  color:#287d51;
}
.bmInc_uploadMode.isEstimated{
  background:rgba(185,126,36,.10);
  color:#9a681e;
}
.bmInc_uploadItem .bmInc_uploadDel{
  flex:none;
  width:28px;
  height:28px;
  border-radius:9px;
  border:1px solid rgba(192,57,43,.2);
  background:#fff;
  color:#c0392b;
  font-size:16px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bmInc_uploadItem .bmInc_uploadDel:hover{
  background:#fdf0ee;
}
.bmInc_empty{
  color:var(--muted);
  font-size:12.5px;
  font-weight:700;
  padding:12px 0;
  text-align:center;
}
.bmInc_progressMsg{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
  padding:10px 0;
}
.bmInc_overlapWarn{
  background:#fff9e6;
  border:1px solid rgba(217,160,60,.3);
  border-radius:12px;
  padding:10px 12px;
  font-size:12px;
  font-weight:800;
  color:#8a6c1a;
  margin-bottom:12px;
}
.bmInc_deductHint{
  display:inline-block;
  background:rgba(62,61,86,.08);
  border-radius:8px;
  padding:2px 6px;
  font-size:10.5px;
  font-weight:800;
  color:var(--muted);
  cursor:help;
  white-space:nowrap;
}
/* control sizes (formerly in button-system.css) */
.bmInc_btn{
  height:36px;
  min-height:36px;
  padding:0 13px;
  border-radius:11px;
  font-size:11.5px;
}
.bmInc_btn:not(.primary):not(.danger){
  border-color:var(--bm-control-line);
  background:#f7f5fc;
  color:#4d476c;
  box-shadow:var(--bm-control-shadow);
}
.bmInc_btn.primary{
  border-color:transparent;
  background:linear-gradient(135deg,#6b62c2,#56509f);
  color:#fff;
  box-shadow:var(--bm-control-primary-shadow);
}
.bmInc_btn.danger{
  border-color:rgba(203,89,105,.26);
  background:var(--bm-control-red-soft);
  color:#ae3b4d;
}
.bmInc_importBtn{
  height:34px;
  min-height:34px;
  padding:0 11px;
  border-radius:10px;
  font-size:11px;
}
.bmInc_calendarBtn,
.bmInc_settingsBtn,
.bmInc_closeBtn{
  width:32px;
  height:32px;
  min-width:32px;
  min-height:32px;
  border-radius:10px;
}

@media (max-width:900px){
  .bmInc_hotelList{
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  }
  .bmInc_hotelHead{
    height:auto;
    min-height:0;
    max-height:none;
    flex-wrap:wrap;
  }
  .bmInc_hotelValueBlock{
    max-width:100%;
    align-items:flex-start;
    text-align:left;
  }
  .bmInc_managerGrid{
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  }
  .bmInc_byManagerGrid{
    grid-template-columns:1fr;
  }
  .bmInc_summaryStats{
    justify-content:flex-start;
    width:100%;
  }
}
.incentiveGrid.bmInc_byMgrOverlay + .card{
  position:relative;
  z-index:1;
}

/* ---- Phones and touch tablets ---- */
@media (max-width: 820px), (hover: none) and (pointer: coarse){
  .bmInc_inner{
    width:100%;
    min-width:0;
  }
  .bmInc_tabs{
    width:100%;
    min-height:0;
    padding:0 10px 9px;
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    overflow:visible;
  }
  .bmInc_tabNav{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .bmInc_tabNav::-webkit-scrollbar{
    display:none;
  }
  .bmInc_tab{
    height:40px;
    padding:0 11px;
    flex:0 0 auto;
  }
  .bmInc_tabTools{
    width:100%;
    min-width:0;
    justify-content:flex-start;
    gap:7px;
    margin:0;
  }
  .bmInc_dateFilter{
    height:36px;
    min-width:0;
    flex:1 1 auto;
    padding-left:7px;
  }
  .bmInc_dateFilterLabel{
    display:none;
  }
  .bmInc_dateQuality{
    width:18px;
    padding:0;
    justify-content:center;
    font-size:0;
  }
  .bmInc_dateQuality::before{
    content:'~';
    font-size:11px;
    font-weight:900;
  }
  .bmInc_dateField{
    flex:1 1 0;
    min-width:0;
  }
  .bmInc_dateInput{
    width:100%;
    min-width:0;
    font-size:11px;
    text-align:center;
  }
  .bmInc_calendarBtn{
    width:29px;
    height:29px;
    flex:0 0 29px;
  }
  .bmInc_dateReset{
    flex:0 0 22px;
  }
  /* icon-only on phones so the date range keeps room for both full dates */
  .bmInc_importBtn{
    width:36px;
    height:36px;
    flex:0 0 36px;
    padding:0;
    justify-content:center;
  }
  .bmInc_importBtn > span:not(.bmInc_importIcon){
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
  }
  .bmInc_settingsBtn{
    width:36px;
    height:36px;
    flex:0 0 36px;
  }
  .bmInc_tabContent{
    padding:12px;
  }
  .bmInc_hotelHead,
  .bmInc_managerTop,
  .bmInc_totalCard{
    align-items:flex-start;
    flex-wrap:wrap;
    gap:10px;
  }
  .bmInc_hotelList,
  .bmInc_managerGrid,
  .bmInc_byManagerGrid{
    grid-template-columns:1fr;
    gap:10px;
  }
  /* one column: cards take the height of their content */
  .bmInc_hotelCard{
    height:auto;
    min-height:0;
    max-height:none;
  }
  .bmInc_hotelHead{
    height:auto;
    min-height:0;
    max-height:none;
  }
  .bmInc_tiers{
    overflow:visible;
  }
  .bmInc_hotelCard,
  .bmInc_managerCard{
    border-radius:18px;
    min-width:0;
  }
  .bmInc_hotelValueBlock{
    width:100%;
    max-width:none;
    align-items:flex-start;
    text-align:left;
  }
  .bmInc_summaryStats{
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:3px;
  }
  .bmInc_summaryStats > *{
    flex:0 0 auto;
  }
  .bmInc_overlay{
    align-items:stretch;
    justify-content:stretch;
    padding:0;
    overflow:hidden;
  }
  .bmInc_sheet{
    width:100%;
    max-width:none;
    height:var(--bm-mobile-vh);
    max-height:none;
    margin:0;
    padding:16px 12px calc(18px + env(safe-area-inset-bottom, 0px));
    border-radius:0;
    overflow-y:auto;
  }
  .bmInc_sheetHead{
    align-items:flex-start;
    gap:10px;
  }
  .bmInc_sheetHead h3{
    font-size:18px;
  }
  .bmInc_row,
  .bmInc_btnRow{
    flex-wrap:wrap;
  }
  .bmInc_inputUnit{
    width:100%;
    white-space:normal;
    line-height:1.4;
  }
  .bmInc_btnRow{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .bmInc_btnRow .bmInc_btn{
    width:100%;
  }
  .bmInc_uploadItem{
    flex-wrap:wrap;
  }
  .bmInc_uploadItem .bmInc_uploadName{
    flex:1 1 180px;
  }
  .bmInc_uploadItem .bmInc_uploadDates{
    width:100%;
  }
  .bmInc_calendar{
    width:min(326px,calc(100vw - 20px));
    padding:10px;
    border-radius:20px;
  }
  .bmInc_calendarDay{
    height:35px;
  }
}
