/* DIVA V398, scoped Gross Sales line graph and mobile notification bell. */
html body.dashboard-home #home .v241-hero-live-zone #v239SalesPanel{
  height:auto!important;min-height:465px!important;max-height:none!important;
  overflow:visible!important;box-sizing:border-box!important;align-self:start!important;
  border-color:rgba(236,184,59,.72)!important;
}
html body.dashboard-home #home #v239SalesPanel .v239-sales-chart-wrap{
  box-sizing:border-box!important;flex:0 0 auto!important;
  height:222px!important;min-height:222px!important;max-height:222px!important;
  padding:8px 8px 5px!important;overflow:hidden!important;
  background:linear-gradient(180deg,rgba(4,22,32,.82),rgba(6,19,29,.74))!important;
}
html body.dashboard-home #home #v239SalesPanel #v239SalesCanvas{
  width:100%!important;height:100%!important;min-width:0!important;
  display:block!important;touch-action:pan-y!important;
}
html body.dashboard-home #home #v239SalesPanel .v239-sales-chart-wrap .v239-sales-legend{
  top:5px!important;right:7px!important;max-width:calc(100% - 14px)!important;
  border-color:rgba(235,189,73,.22)!important;background:rgba(3,13,23,.88)!important;
}
html body.dashboard-home #home #v239SalesPanel .v239-sales-dot{
  width:10px!important;height:3px!important;border-radius:4px!important;
}
html body.dashboard-home #home #v239SalesPanel .v239-sales-status{font-size:7.5px!important;bottom:4px!important;left:8px!important}
html body.dashboard-home #home #v398GrossDayValues{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;
  min-width:0;width:100%;margin-top:10px;
  position:relative;z-index:4;
}
html body.dashboard-home #home #v398GrossDayValues.extended{
  display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;
  padding-bottom:4px;scrollbar-width:thin;scrollbar-color:rgba(236,183,67,.6) transparent;
}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card{
  min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;
  border:1px solid rgba(234,188,83,.2);border-radius:10px;
  background:rgba(3,14,24,.74);padding:8px 7px;box-sizing:border-box;
  transition:border-color .18s,transform .18s,background .18s;
}
html body.dashboard-home #home #v398GrossDayValues.extended .v398-gross-day-card{flex:0 0 113px;min-width:113px}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card:hover{
  border-color:rgba(239,192,74,.6);transform:translateY(-2px);background:rgba(14,35,42,.91);
}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-label{
  color:#d4be82;font:800 9px/1.25 Inter,'Segoe UI',sans-serif;white-space:nowrap;
}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-total{
  color:#79f0db;font:900 clamp(10px,.9vw,14px)/1.2 Inter,'Segoe UI',sans-serif;
  font-variant-numeric:tabular-nums;letter-spacing:-.035em;white-space:nowrap;
}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-prev{
  color:#a5b8c1;font:700 8px/1.2 Inter,'Segoe UI',sans-serif;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
}
@media (max-width:1750px) and (min-width:901px){
  html body.dashboard-home #home #v398GrossDayValues{grid-template-columns:repeat(4,minmax(0,1fr))}
  html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-total{font-size:12px}
}
@media(max-width:900px){
  html body.dashboard-home #home .v241-hero-live-zone #v239SalesPanel{
    width:100%!important;height:auto!important;min-height:0!important;
    padding:13px 12px 15px!important;overflow:visible!important;
  }
  html body.dashboard-home #home #v239SalesPanel .v239-sales-chart-wrap{
    height:235px!important;min-height:235px!important;max-height:235px!important;
  }
  html body.dashboard-home #home #v398GrossDayValues{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card{min-height:55px;padding:8px 11px}
  html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-total{font-size:14px}
  html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-label{font-size:10px}
  html body.dashboard-home #home #v398GrossDayValues .v398-gross-prev{font-size:8.5px}
  html body.dashboard-home #home #v398GrossDayValues:not(.extended) .v398-gross-day-card:last-child:nth-child(odd){grid-column:1/-1}
  /* Top bar bell is a proper grid cell, not a floating button across prediction or clock. */
  html body:not(.employee-mode) .topbar.v309-app-header{
    grid-template-columns:42px 70px minmax(0,1fr) 34px 58px 46px!important;
    column-gap:4px!important;padding-left:7px!important;padding-right:7px!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header > .v309-header-start{grid-column:1/3!important}
  html body:not(.employee-mode) .topbar.v309-app-header #v328PredictionStrip{
    grid-column:3!important;min-width:0!important;width:100%!important;max-width:100%!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header > .v309-header-end{
    grid-column:4/7!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:none!important;
    display:grid!important;grid-template-columns:34px 58px 46px!important;
    justify-content:stretch!important;align-items:center!important;column-gap:4px!important;
    position:static!important;margin:0!important;padding:0!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header #v359NotificationBell{
    position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
    grid-column:1!important;grid-row:1!important;justify-self:center!important;align-self:center!important;
    transform:none!important;margin:0!important;padding:0!important;
    width:32px!important;min-width:32px!important;max-width:32px!important;
    height:34px!important;min-height:34px!important;max-height:34px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    z-index:8!important;box-sizing:border-box!important;border-radius:11px!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header #v359NotificationBell .v359-bell-icon{
    font-size:16px!important;line-height:1!important;display:block!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header #v305TopClock{
    grid-column:2!important;grid-row:1!important;min-width:0!important;
    width:58px!important;max-width:58px!important;justify-self:center!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header .mobile-user-actions{
    grid-column:3!important;grid-row:1!important;width:46px!important;min-width:46px!important;max-width:46px!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header #authSignOut{
    width:46px!important;max-width:46px!important;min-width:46px!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header #v359BellCount{
    top:-5px!important;right:-4px!important;z-index:2!important;
  }
}
@media(max-width:420px){
  html body.dashboard-home #home #v239SalesPanel .v239-sales-ranges{
    display:flex!important;flex-wrap:nowrap!important;gap:4px!important;
    padding:0!important;justify-content:space-between!important;width:100%!important;
  }
  html body.dashboard-home #home #v239SalesPanel .v239-sales-range{
    flex:1 1 0!important;min-width:0!important;height:32px!important;
    padding:4px 3px!important;white-space:nowrap!important;font-size:8px!important;
  }
}
@media(max-width:380px){
  html body:not(.employee-mode) .topbar.v309-app-header{
    grid-template-columns:36px 64px minmax(0,1fr) 30px 48px 42px!important;
    column-gap:4px!important;padding-left:6px!important;padding-right:6px!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header .v309-header-start{gap:4px!important}
  html body:not(.employee-mode) .topbar.v309-app-header #v309HeaderProfileSlot,
  html body:not(.employee-mode) .topbar.v309-app-header #dashboardUserProfile{
    width:64px!important;max-width:64px!important;min-width:0!important;flex-basis:64px!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header #v359NotificationBell{
    width:30px!important;min-width:30px!important;max-width:30px!important;height:32px!important;min-height:32px!important;max-height:32px!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header > .v309-header-end{
    grid-template-columns:30px 48px 42px!important;column-gap:4px!important;
  }
  html body:not(.employee-mode) .topbar.v309-app-header #v305TopClock{width:48px!important;max-width:48px!important}
  html body:not(.employee-mode) .topbar.v309-app-header .mobile-user-actions,
  html body:not(.employee-mode) .topbar.v309-app-header #authSignOut{
    width:42px!important;min-width:42px!important;max-width:42px!important;
  }
}
@media(prefers-reduced-motion:reduce){html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card{transition:none!important}}

/* V399 mobile readability, separated plot lines, accessible tappable sales cards */
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card{color:inherit;text-align:left;cursor:pointer;font-family:inherit;appearance:none;-webkit-appearance:none;touch-action:manipulation;position:relative;z-index:5;}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card:focus-visible{outline:2px solid #ffd86b;outline-offset:2px;}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-total{overflow:visible;letter-spacing:0;font-variant-numeric:tabular-nums;}
.v399-day-overlay[hidden]{display:none!important}.v399-day-overlay{position:fixed;inset:0;background:rgba(0,0,0,.76);z-index:2147483000;display:grid;place-items:center;padding:16px;box-sizing:border-box;}
.v399-day-dialog{width:min(440px,100%);background:#0b1b27;border:1px solid #e3b74d;border-radius:18px;padding:22px;box-shadow:0 25px 65px #000b;color:white;position:relative;box-sizing:border-box;}
.v399-day-dialog h3{font-size:20px;margin:0 36px 20px 0;color:#f2cc68}.v399-day-close{position:absolute;right:12px;top:12px;background:#192e3c;color:#fff;border:1px solid #9d824c;border-radius:10px;width:38px;height:38px;font-size:26px;cursor:pointer;}
.v399-day-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #ffffff24;font-size:14px}.v399-day-row strong{font-size:19px;color:#74ead6;font-variant-numeric:tabular-nums;}
@media(max-width:900px){
 html body.dashboard-home #home #v239SalesPanel .v239-sales-chart-wrap{height:290px!important;min-height:290px!important;max-height:290px!important;}
 html body.dashboard-home #home #v398GrossDayValues{gap:10px!important;}
 html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card{padding:13px 12px!important;min-height:88px!important;border-radius:13px!important;}
 html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-total{font-size:clamp(17px,4.5vw,23px)!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;}
 html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-label{font-size:12px!important;}
 html body.dashboard-home #home #v398GrossDayValues .v398-gross-prev{font-size:11px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;max-width:100%!important;}
 html body.dashboard-home #home .v213-hero-photo{pointer-events:none!important;}
 html body.dashboard-home #home .v213-hero-shade{pointer-events:none!important;}
 html body.dashboard-home #home .v241-hero-live-zone{position:relative!important;z-index:12!important;}
 html body.dashboard-home #home #v239SalesPanel .v239-sales-ranges{position:relative!important;z-index:20!important;pointer-events:auto!important;}
 html body.dashboard-home #home #v239SalesPanel .v239-sales-range{cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important;}
 html body.dashboard-home #home #v239SalesPanel #v398GrossDayValues{pointer-events:auto!important;}
 /* iOS Safari auto-zooms when a focused login input is smaller than 16px. */
 html body #authOverlay #authEmail,html body #authOverlay #authPassword{font-size:16px!important;line-height:1.4!important;min-height:46px!important;box-sizing:border-box!important;}
 html body #authOverlay .auth-card{width:min(440px,calc(100vw - 24px))!important;max-width:100%!important;box-sizing:border-box!important;}
 html body #authOverlay .auth-field input{max-width:100%!important;box-sizing:border-box!important;}
}
@media(max-width:370px){html body.dashboard-home #home #v398GrossDayValues{grid-template-columns:1fr!important;}html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card{min-height:70px!important;}}
@media(min-width:901px){html body.dashboard-home #home #v239SalesPanel .v239-sales-chart-wrap{height:275px!important;min-height:275px!important;max-height:275px!important;}html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-total{font-size:clamp(12px,1vw,17px)!important;}}
html body.dashboard-home #home .v213-kpis .v213-kpi{cursor:pointer;touch-action:manipulation;}
html body.dashboard-home #home .v213-kpis .v213-kpi:focus-visible{outline:2px solid #f4ca5e;outline-offset:3px;}
html body.dashboard-home #home .v213-dashboard-grid .v399-highlight{outline:2px solid #eac154!important;box-shadow:0 0 0 5px #eac15435!important;transition:box-shadow .3s ease;}

/* V400: Master preview layout, three exact live amounts visible without tap. */
html body.dashboard-home #home #v398GrossDayValues{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;margin-top:15px!important}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card{padding:10px 7px!important;min-height:92px!important;gap:8px!important;border:1px solid #c9931e!important;background:#061421!important;border-radius:13px!important;cursor:default!important;transform:none!important;align-items:stretch!important}
html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-label{font-size:11px!important;color:#f4f4f4!important;text-align:center!important}
html body.dashboard-home #home #v398GrossDayValues .v400-three-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;width:100%;min-width:0}
html body.dashboard-home #home #v398GrossDayValues .v400-amount{min-width:0;display:flex;flex-direction:column;gap:5px;align-items:center;border-right:1px solid rgba(202,156,58,.25);overflow:hidden}
html body.dashboard-home #home #v398GrossDayValues .v400-amount:last-child{border-right:0}
html body.dashboard-home #home #v398GrossDayValues .v400-amount-caption{font-size:8px;line-height:1.15;color:#d5dce3;white-space:nowrap}
html body.dashboard-home #home #v398GrossDayValues .v400-amount-value{font-size:clamp(8px,.72vw,12px);font-weight:800;line-height:1.25;white-space:nowrap;letter-spacing:-.035em}
html body.dashboard-home #home #v398GrossDayValues .v400-current .v400-amount-value{color:#65e6d1}
html body.dashboard-home #home #v398GrossDayValues .v400-week .v400-amount-value{color:#ffbd3c}
html body.dashboard-home #home #v398GrossDayValues .v400-year .v400-amount-value{color:#fa697f}
html body.dashboard-home #home #v239SalesPanel .v239-sales-chart-wrap{height:310px!important;min-height:310px!important;max-height:310px!important}
@media(max-width:1300px) and (min-width:901px){html body.dashboard-home #home #v398GrossDayValues{grid-template-columns:repeat(4,minmax(0,1fr))!important}html body.dashboard-home #home #v398GrossDayValues .v400-amount-value{font-size:11px}}
@media(max-width:900px){html body.dashboard-home #home #v398GrossDayValues{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}html body.dashboard-home #home #v398GrossDayValues .v398-gross-day-card{min-height:94px!important;padding:10px 7px!important}html body.dashboard-home #home #v398GrossDayValues .v400-amount-value{font-size:clamp(9px,2.55vw,13px)!important}html body.dashboard-home #home #v398GrossDayValues .v400-amount-caption{font-size:8px!important}html body.dashboard-home #home #v239SalesPanel .v239-sales-chart-wrap{height:260px!important;min-height:260px!important;max-height:260px!important}}
@media(max-width:370px){html body.dashboard-home #home #v398GrossDayValues{grid-template-columns:1fr!important}html body.dashboard-home #home #v398GrossDayValues .v400-amount-value{font-size:14px!important}}
