/* JobTight live demo: banner, offsets, PIN hint, customer view overlay */
:root{--demo-bar-h:40px}
.demo-bar{position:sticky;top:0;z-index:1500;display:flex;align-items:center;gap:10px;min-height:40px;padding:6px 12px;background:linear-gradient(90deg,#f59e0b,#f7b733);color:#1b1300;font:600 13.5px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;box-shadow:0 1px 0 rgba(0,0,0,.15)}
.demo-bar a{color:#1b1300}
.demo-bar .db-tag{background:#1b1300;color:#ffd27a;font-weight:800;font-size:10.5px;letter-spacing:1px;padding:3px 6px;border-radius:4px;flex:none}
.demo-bar .db-cta{font-weight:800;text-decoration:underline;text-underline-offset:2px}
.demo-bar .db-offer{font-weight:500;opacity:.85;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.demo-bar .db-sp{flex:1}
.demo-bar .db-reset{flex:none;border:1px solid rgba(27,19,0,.55);background:rgba(255,255,255,.35);color:#1b1300;font:inherit;font-size:12.5px;font-weight:700;padding:5px 10px;border-radius:7px;cursor:pointer;min-height:30px}
.demo-bar .db-reset:hover{background:rgba(255,255,255,.6)}
.demo-bar .db-home{flex:none;font-size:12.5px;font-weight:700}
@media (max-width:900px){.demo-bar .db-offer{display:none}}
@media (max-width:560px){.demo-bar{font-size:12.5px;gap:8px;padding:5px 8px}.demo-bar .db-home{display:none}.demo-bar .db-tag{display:none}}
/* keep the dashboard's sticky sidebar / phone nav below the banner */
.sidebar{top:var(--demo-bar-h);height:calc(100vh - var(--demo-bar-h))}
.app{min-height:calc(100vh - var(--demo-bar-h))}
@media (max-width:760px){.sidebar{top:var(--demo-bar-h);height:auto}}
.nav a.nav-reset{color:#ffd27a}
/* demo: PIN hint on the clock-in keypad */
.pin-card{position:relative}
.pin-card::after{content:"Demo PIN for everyone: 1234";display:block;margin:10px auto 0;text-align:center;font-size:12.5px;font-weight:700;color:#a26200;background:#fff4dd;border:1px dashed #f0b44c;border-radius:8px;padding:6px 10px;max-width:300px}
/* owner-only bits that aren't part of the demo */
button[data-b="btab"][data-k="reference"]{display:none}
.bl-openas{margin-left:6px;white-space:nowrap}
/* customer view overlay */
#cv-host{position:relative;z-index:1400;display:block;min-height:calc(100vh - var(--demo-bar-h))}
#cv-host[hidden]{display:none}
body.cv-open .app{display:none}
@media print{
  .demo-bar{display:none!important}
  body.cv-open .app{display:none!important}
}
#btn-source{display:none!important}
