.hugb-app{--hu:#18a558;--ink:#172019;--muted:#647067;--card:#fff;--soft:#f3f8f4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;color:var(--ink);max-width:1180px;margin:0 auto;padding:18px}.hugb-login-card,.hugb-card,.hugb-admin-card{background:var(--card);border:1px solid #dfe9e2;border-radius:24px;box-shadow:0 12px 35px rgba(0,0,0,.08);padding:24px;margin:18px 0}.hugb-login-card{max-width:460px;margin:40px auto;text-align:center}.hugb-logo{width:74px;height:74px;border-radius:22px;background:linear-gradient(135deg,#18a558,#0f6f3c);display:grid;place-items:center;color:white;font-weight:900;font-size:28px;margin:0 auto 12px}.hugb-login-card h2,.hugb-header h2{margin:0 0 8px;font-size:32px}.hugb-login-card p,.hugb-header p,.hugb-small{color:var(--muted)}.hugb-small{font-size:12px} .hugb-app input,.hugb-app textarea,.hugb-app select,.hugb-admin input,.hugb-admin textarea,.hugb-admin select{width:100%;box-sizing:border-box;border:1px solid #cedbd2;border-radius:16px;padding:15px 16px;font-size:17px;margin:8px 0;background:#fff}.hugb-app textarea,.hugb-admin textarea{min-height:105px}.hugb-app button,.hugb-admin-card button{border:0;background:var(--hu);color:#fff;border-radius:16px;padding:15px 19px;font-size:17px;font-weight:800;cursor:pointer;box-shadow:0 8px 18px rgba(24,165,88,.22)}.hugb-app button:hover,.hugb-admin-card button:hover{filter:brightness(.95)}.hugb-header{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--soft);border-radius:26px;padding:18px 22px;margin-bottom:16px}.hugb-logout{background:#222!important}.hugb-tabs{display:flex;gap:10px;overflow-x:auto;padding:8px 0 18px;position:relative;top:auto;background:#fff;z-index:1}.hugb-tabs button{white-space:nowrap;background:#eaf3ed;color:#203327;box-shadow:none}.hugb-tabs button.active{background:var(--hu);color:#fff}.hugb-panel{display:none}.hugb-panel.active{display:block}.hugb-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hugb-check{display:flex;align-items:center;gap:13px;border:1px solid #e0eadf;background:#fbfffc;padding:14px;border-radius:16px;margin:10px 0;font-size:17px}.hugb-check input{width:24px!important;height:24px;margin:0!important;accent-color:var(--hu)}.hugb-check span{flex:1}.hugb-deposit{border:2px dashed #ffae35;background:#fff9ef;border-radius:18px;padding:15px;margin:16px 0}.hugb-note{background:#ecfff3;border:1px solid #bbeccb;border-left:8px solid var(--hu);border-radius:18px;padding:14px 18px;margin:12px 0}.hugb-alert{border-radius:14px;padding:12px;margin-top:12px;font-weight:800}.hugb-alert.ok{background:#eafff1;color:#0b6b34}.hugb-alert.err{background:#ffecec;color:#a11616}.hugb-table-wrap{overflow:auto;max-width:100%}.hugb-table-wrap table{width:100%;border-collapse:collapse;background:#fff}.hugb-table-wrap th,.hugb-table-wrap td{padding:10px;border-bottom:1px solid #e6eee8;text-align:left;vertical-align:top}.hugb-table-wrap pre{white-space:pre-wrap;max-width:520px;margin:0;font-size:12px}.hugb-admin .hugb-admin-card{max-width:1250px}.hugb-admin-card h2,.hugb-admin-card h3{margin-top:0}.hugb-admin-card textarea{font-family:inherit}.hugb-admin-card .button{width:auto}.hugb-admin-card input,.hugb-admin-card select{max-width:360px;display:inline-block;margin-right:8px}.hugb-admin-card table input{min-width:180px;max-width:none}.hugb-admin-card table{font-size:13px}@media(max-width:820px){.hugb-app{padding:10px}.hugb-grid2{grid-template-columns:1fr}.hugb-header{align-items:flex-start;flex-direction:column}.hugb-login-card h2,.hugb-header h2{font-size:26px}.hugb-app button{width:100%}.hugb-tabs button{width:auto}.hugb-card{padding:17px;border-radius:20px}.hugb-check{font-size:16px}.hugb-admin-card input,.hugb-admin-card select{max-width:100%;display:block}}
.hugb-start-card select{margin-bottom:14px}.hugb-shift-pick{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 18px}.hugb-shift-pick label{display:flex;align-items:center;justify-content:center;gap:10px;border:2px solid #dfe9e2;border-radius:18px;padding:18px;background:#fbfffc;font-size:20px;font-weight:900;cursor:pointer}.hugb-shift-pick input{width:24px!important;height:24px;margin:0!important;accent-color:var(--hu)}.hugb-secondary{margin-top:10px;background:#333!important;box-shadow:none!important}@media(max-width:640px){.hugb-shift-pick{grid-template-columns:1fr}}
.hugb-greenbook-scroll{max-height:none}.hugb-section-help{color:var(--muted);margin-top:-4px}.hugb-section-break{margin:24px 0 12px;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,#eafff1,#f6fff8);border:1px solid #cfe9d6;border-left:8px solid var(--hu);position:relative;top:auto;z-index:1}.hugb-section-break h4{margin:0;font-size:20px;font-weight:900;color:#12381f}.hugb-section-items{padding-bottom:4px}.hugb-section-items+.hugb-section-break{margin-top:28px}@media(max-width:640px){.hugb-section-break{top:auto;border-radius:15px}.hugb-section-break h4{font-size:18px}}

/* v1.0.11: overlap fix — keep tabs and section headers in normal page flow */
.hugb-tabs,
.hugb-top-tabs,
.hugb-nav,
.hugb-section-break,
.hugb-section-title {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
}
.hugb-section-break { clear: both !important; }

/* v1.0.12 Manager Notes UI */
.hugb-manager-note-stack{margin:14px 0 18px}
.hugb-note small,.hugb-modal-note small{display:block;color:#647067;font-size:12px;margin-top:6px}
.hugb-note-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.46);z-index:999999;align-items:center;justify-content:center;padding:22px}
.hugb-note-modal-card{position:relative;width:min(620px,94vw);max-height:86vh;overflow:auto;background:#fff;border-radius:28px;box-shadow:0 24px 80px rgba(0,0,0,.28);padding:26px;border:1px solid #dfe9e2}
.hugb-note-modal-card h3{margin:0 0 14px;font-size:26px;color:#12381f}
.hugb-modal-note{background:#f0fff5;border:1px solid #cfe9d6;border-left:8px solid var(--hu);border-radius:18px;padding:15px 18px;margin:12px 0}
.hugb-close-note{position:absolute;right:16px;top:14px;background:#111!important;color:#fff!important;border-radius:999px!important;width:38px!important;height:38px!important;padding:0!important;line-height:38px!important;font-size:24px!important;box-shadow:none!important}
.hugb-note-ack{position:static!important;width:100%!important;height:auto!important;margin-top:12px!important;border-radius:16px!important;font-size:17px!important;padding:15px 18px!important;background:var(--hu)!important}
.hugb-inline-check{display:flex;align-items:center;gap:10px;border:1px solid #cedbd2;border-radius:16px;padding:12px 14px;margin:8px 0;background:#fff;font-weight:800}
.hugb-inline-check input{width:22px!important;height:22px!important;margin:0!important;accent-color:var(--hu)}
.hugb-manager-note-form hr,.hugb-card hr{border:0;border-top:1px solid #e2eee5;margin:20px 0}

/* v1.0.13: Higher Up logo in manager note popup */
.hugb-popup-logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:2px auto 12px;
  padding:6px 8px 10px;
}
.hugb-popup-logo{
  display:block;
  max-width:245px;
  width:min(245px,72vw);
  height:auto;
  object-fit:contain;
}
.hugb-note-modal-card h3{
  text-align:center;
}
@media(max-width:640px){
  .hugb-popup-logo{max-width:205px;width:70vw;}
}
/* v1.0.16 stepped login */
.hugb-login-logo-img{display:block;width:230px;max-width:86%;height:auto;margin:0 auto 10px;object-fit:contain}.hugb-step-login .hugb-logo{display:none}.hugb-login-subtitle{max-width:360px;margin-left:auto;margin-right:auto}.hugb-login-step{display:none;text-align:left}.hugb-login-step.active{display:block}.hugb-step-badge{display:inline-flex;align-items:center;border-radius:999px;background:#e8f7ee;color:#0b7038;font-weight:900;font-size:13px;padding:6px 12px;margin:8px 0}.hugb-step-label{display:block;font-weight:900;font-size:18px;margin:8px 0 4px}.hugb-login-step .hugb-back-login{background:#eef5f0!important;color:#183725!important;box-shadow:none!important;margin-top:10px}.hugb-manager-review-login{background:#151515!important;margin-top:10px;width:100%}.hugb-open-greenbook{width:100%;margin-top:8px}.hugb-next-pin,.hugb-next-store{width:100%;margin-top:10px}.hugb-step-login .hugb-shift-pick{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hugb-step-login .hugb-shift-pick label{border:1px solid #d7e7dc;border-radius:18px;padding:18px;text-align:center;font-weight:900;background:#fbfffc}.hugb-step-login .hugb-shift-pick input{width:22px!important;height:22px!important;margin:0 8px 0 0!important;vertical-align:middle}.hugb-step-login select,.hugb-step-login input[type=password]{font-size:20px;padding:17px 18px;border-radius:18px}@media(max-width:620px){.hugb-step-login .hugb-shift-pick{grid-template-columns:1fr}.hugb-login-logo-img{width:190px}}

/* v1.0.17: Manager exchange review tools */
.hugb-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.hugb-card-head h3{margin:0 0 4px}.hugb-card-head p{margin:0;color:var(--muted)}
.hugb-review-actions{display:grid;grid-template-columns:auto minmax(170px,220px) minmax(190px,240px) auto;gap:10px;align-items:center;margin:16px 0 18px}
.hugb-review-actions button,.hugb-review-actions input,.hugb-review-actions select{margin:0!important}
.hugb-review-actions .hugb-view-exchanges{box-shadow:none;background:var(--hu);color:#fff}
.hugb-review-actions .hugb-review-clear{background:#eef5f0!important;color:#183725!important;box-shadow:none!important}
.hugb-review-list{display:grid;gap:14px}
.hugb-review-item{position:relative;border:1px solid #dce9df;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.05);padding:16px;overflow:hidden}
.hugb-review-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.hugb-review-top strong{display:block;font-size:18px;color:#12381f}.hugb-review-top span{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.hugb-complete-toggle{display:flex;align-items:center;gap:9px;background:#f4faf6;border:1px solid #d9eadf;border-radius:999px;padding:9px 12px;font-weight:900;white-space:nowrap}
.hugb-complete-toggle input{width:22px!important;height:22px!important;margin:0!important;accent-color:var(--hu)}
.hugb-review-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hugb-review-fields div{background:#fbfffc;border:1px solid #edf4ef;border-radius:14px;padding:10px 12px}
.hugb-review-fields small{display:block;color:#607267;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.02em;margin-bottom:5px}
.hugb-review-fields p{margin:0;white-space:pre-wrap}
.hugb-review-status-pill{display:inline-flex;margin-top:12px;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}
.hugb-review-status-pill.pending{background:#fff6df;color:#8a5a00}.hugb-review-status-pill.done{background:#eafff1;color:#0b6b34}
.hugb-review-item.hugb-hidden{display:none!important}
@media(max-width:760px){.hugb-review-actions{grid-template-columns:1fr}.hugb-review-top{flex-direction:column}.hugb-complete-toggle{width:100%;justify-content:center}.hugb-review-fields{grid-template-columns:1fr}}

/* v1.0.18 Manager Dashboard */
.hugb-manager-dashboard h3{font-size:28px;margin-bottom:6px;color:#063d28}.hugb-manager-cards{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:16px;margin-top:20px}.hugb-manager-card{appearance:none;border:1px solid #d8eee2;background:linear-gradient(180deg,#f7fffa,#eef9f3);border-radius:22px;padding:22px;text-align:left;min-height:120px;box-shadow:0 10px 25px rgba(0,0,0,.04);cursor:pointer;color:#0b3021}.hugb-manager-card strong{display:block;font-size:20px;margin-bottom:12px}.hugb-manager-card span{display:inline-block;background:#10a85a;color:#fff;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800}.hugb-manager-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(16,168,90,.14);border-color:#10a85a}.hugb-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.hugb-review-head h3{font-size:26px;color:#063d28}.hugb-review-back,.hugb-review-clear{border:0;background:#111;color:#fff;border-radius:14px;padding:12px 16px;font-weight:800;cursor:pointer}.hugb-review-filters{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;margin-bottom:18px}.hugb-review-filters input,.hugb-review-filters select{height:48px;border:1px solid #d8eee2;border-radius:14px;padding:0 14px;background:#fff}.hugb-review-list{display:grid;gap:14px}.hugb-review-item{border:1px solid #d8eee2;border-radius:20px;background:#fff;padding:18px}.hugb-review-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.hugb-review-top strong{display:block;font-size:18px;color:#0a2b1f}.hugb-review-top span{display:block;color:#65756d;margin-top:3px}.hugb-complete-toggle{display:flex;align-items:center;gap:8px;background:#f3faf6;border:1px solid #d8eee2;border-radius:14px;padding:10px 12px;font-weight:800;white-space:nowrap}.hugb-complete-toggle input{width:20px!important;height:20px!important;min-width:20px!important}.hugb-review-status-pill{display:inline-block;margin:12px 0;border-radius:999px;padding:7px 11px;font-weight:900;font-size:12px}.hugb-review-status-pill.pending{background:#fff3cd;color:#7a5200}.hugb-review-status-pill.done{background:#dff7e9;color:#08713d}.hugb-review-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hugb-review-fields>div{background:#f8fcfa;border:1px solid #ecf4ef;border-radius:14px;padding:12px;line-height:1.45}.hugb-review-full{grid-column:1/-1}.hugb-hidden{display:none!important}@media(max-width:900px){.hugb-manager-cards,.hugb-review-filters,.hugb-review-fields{grid-template-columns:1fr}.hugb-review-head,.hugb-review-top{display:block}.hugb-complete-toggle{margin-top:12px}}

/* v1.0.19 Manager review cleanup */
.hugb-review-filters{grid-template-columns:minmax(210px,1fr) minmax(230px,1fr) auto!important;align-items:center!important}
.hugb-review-fields{gap:14px!important;margin-top:10px!important}
.hugb-review-fields>div{padding:16px 18px!important;min-height:72px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:6px!important}
.hugb-review-fields small{display:block!important;color:#65756d!important;font-size:12px!important;line-height:1.2!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.03em!important;margin:0!important}
.hugb-review-fields p{margin:0!important;color:#0a2419!important;font-size:16px!important;line-height:1.45!important;font-weight:650!important;white-space:pre-wrap!important;word-break:break-word!important}
@media(max-width:900px){.hugb-review-filters{grid-template-columns:1fr!important}.hugb-review-fields>div{min-height:auto!important}}

/* v1.0.20 case cleaning procedure */
.hugb-case-section{margin-top:18px!important;}
.hugb-case-cleaning{border:1px solid rgba(21,128,61,.18);background:#f7fffa;border-radius:18px;padding:16px 18px;margin:0 0 18px 0;}
.hugb-case-cleaning .hugb-section-help{margin:0 0 12px;color:#56645d;font-size:14px;}
.hugb-case-cleaning .hugb-grid2{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:center;}
.hugb-case-done{display:flex;align-items:center;gap:10px;font-weight:800;border:1px solid rgba(21,128,61,.18);border-radius:14px;padding:14px;background:white;min-height:52px;}
.hugb-case-done input{width:22px!important;height:22px!important;min-width:22px!important;}
.hugb-case-cleaning input[type="text"],.hugb-case-cleaning input[type="time"],.hugb-case-cleaning input:not([type]){min-height:52px;border-radius:14px;}
@media(max-width:760px){.hugb-case-cleaning .hugb-grid2{grid-template-columns:1fr;}}


/* v1.0.21 Custom submit confirmation modal */
.hugb-submit-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.58);backdrop-filter:blur(4px)}
.hugb-submit-modal-card{width:min(520px,96vw);background:#fff;border:1px solid rgba(13,70,45,.18);border-radius:28px;box-shadow:0 30px 80px rgba(0,0,0,.28);padding:26px;text-align:center;position:relative;color:#11281d}
.hugb-submit-close{position:absolute;right:16px;top:14px;width:34px!important;height:34px!important;border:0!important;border-radius:999px!important;background:#eef7f1!important;color:#0c3b2a!important;font-size:22px!important;line-height:1!important;cursor:pointer;padding:0!important}
.hugb-submit-logo{max-width:220px;width:58%;height:auto;display:block;margin:0 auto 12px}
.hugb-submit-modal-card h3{font-size:26px;line-height:1.15;margin:8px 0 8px;color:#052f21;font-weight:800}
.hugb-submit-modal-card p{margin:0 0 18px;color:#5c6b62;font-size:16px}
.hugb-submit-confirm-input{width:100%!important;max-width:100%!important;box-sizing:border-box!important;border:1px solid #cfe4d7!important;border-radius:16px!important;padding:16px 18px!important;font-size:18px!important;text-align:center!important;outline:none!important;background:#fbfefd!important;color:#10271d!important}
.hugb-submit-confirm-input:focus{border-color:#18a85a!important;box-shadow:0 0 0 4px rgba(24,168,90,.12)!important}
.hugb-submit-error{margin:10px 0 0;color:#a12626;font-weight:700;font-size:14px}
.hugb-submit-actions{display:flex;gap:12px;justify-content:center;margin-top:18px}.hugb-submit-actions button{border:0!important;border-radius:16px!important;padding:14px 18px!important;font-weight:800!important;cursor:pointer;min-width:150px}
.hugb-submit-cancel{background:#edf5f0!important;color:#123b2b!important}.hugb-submit-approve{background:#18a85a!important;color:#fff!important;box-shadow:0 10px 20px rgba(24,168,90,.22)}.hugb-submit-approve:disabled{opacity:.7;cursor:not-allowed}
@media(max-width:520px){.hugb-submit-modal{padding:14px}.hugb-submit-modal-card{padding:22px 16px;border-radius:22px}.hugb-submit-logo{width:72%}.hugb-submit-actions{flex-direction:column}.hugb-submit-actions button{width:100%}}

.hugb-reset-box{margin:18px 0 22px;padding:18px;border:1px solid #bfe7cf;background:#f0fff5;border-radius:20px}
.hugb-reset-box h4{margin:0 0 6px;color:#073f2b;font-size:20px}
.hugb-reset-box p{margin:0 0 14px;color:#50645b}
.hugb-reset-shift{margin-right:10px;margin-bottom:8px;background:#10a957!important;color:#fff!important;border:0!important;border-radius:14px!important;padding:12px 18px!important;font-weight:800!important;box-shadow:0 10px 22px rgba(16,169,87,.18)!important;cursor:pointer}
.hugb-reset-shift:nth-of-type(2){background:#111!important}
.hugb-submitted-card{border-left:8px solid #10a957!important;background:#f0fff5!important}
.hugb-submitted-card h3{color:#073f2b!important;margin-bottom:8px!important}
.hugb-submitted-card{border-left:7px solid #18a85a;background:linear-gradient(135deg,#ecfff4,#fff)!important;text-align:left}.hugb-submitted-card h3{color:#073f26!important}.hugb-submit-done{margin:18px 0;padding:18px;border-radius:16px;background:#e7fff1;border:1px solid #b7efcb;color:#073f26;font-size:16px}.hugb-submit-done strong{font-weight:900}

/* v1.0.25 submitted screen logo cleanup */
.hugb-submitted-card .hugb-submitted-logo-wrap{
  display:flex;
  justify-content:center;
  margin:0 0 14px;
}
.hugb-submitted-card .hugb-submitted-logo{
  max-width:220px;
  width:45%;
  height:auto;
  display:block;
}
@media (max-width:700px){
  .hugb-submitted-card .hugb-submitted-logo{width:70%;max-width:200px;}
}

.hugb-review-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.hugb-reopen-shift{border:0!important;background:#111!important;color:#fff!important;border-radius:14px!important;padding:12px 16px!important;font-weight:800!important;cursor:pointer!important;box-shadow:0 10px 22px rgba(0,0,0,.12)!important}.hugb-reopen-shift:hover{transform:translateY(-1px)}.hugb-reopen-modal{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:999999;display:none;align-items:center;justify-content:center;padding:20px}.hugb-reopen-card{width:min(520px,94vw);background:#fff;border-radius:26px;padding:28px;box-shadow:0 25px 80px rgba(0,0,0,.28);text-align:center;position:relative;border:1px solid #d8eadf}.hugb-reopen-logo{max-width:230px;width:70%;height:auto;margin:0 auto 10px;display:block}.hugb-reopen-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer}.hugb-reopen-card h3{margin:8px 0 8px;color:#063f27;font-size:24px}.hugb-reopen-card p{color:#4b5b54}.hugb-reopen-confirm-input{width:100%!important;max-width:360px!important;margin:12px auto!important;display:block!important;border:1px solid #bdd7c8!important;border-radius:14px!important;padding:14px 16px!important;font-size:16px!important}.hugb-reopen-error{color:#b42318;background:#fff1f0;border:1px solid #ffd1cc;border-radius:12px;padding:10px;margin:10px 0}.hugb-reopen-actions{display:flex;gap:12px;justify-content:center;margin-top:14px}.hugb-reopen-cancel,.hugb-reopen-approve{border:0;border-radius:14px;padding:12px 18px;font-weight:800;cursor:pointer}.hugb-reopen-cancel{background:#eef5f1;color:#153b2a}.hugb-reopen-approve{background:#16a45d;color:#fff}@media(max-width:720px){.hugb-review-actions{justify-content:flex-start}.hugb-reopen-shift,.hugb-complete-toggle{width:100%;justify-content:center}.hugb-reopen-actions{flex-direction:column}.hugb-reopen-cancel,.hugb-reopen-approve{width:100%}}


.hugb-case-exception-toggle{display:flex;align-items:center;gap:10px;margin-top:14px;padding:13px 14px;border:1px solid #d9eee3;border-radius:14px;background:#fff;font-weight:700;color:#143b2a;}
.hugb-case-exception-toggle input{width:22px!important;height:22px!important;min-width:22px!important;accent-color:#18a957;}
.hugb-case-exception-note{margin-top:12px;width:100%;min-height:92px;border:1px solid #d9eee3;border-radius:14px;padding:14px 16px;font-size:16px;background:#fff;box-sizing:border-box;}

/* v1.0.33 Top header cleanup with logo */
.hugb-top-hero{
  background:radial-gradient(circle at 12% 15%, rgba(174,255,72,.22), transparent 28%),linear-gradient(135deg,#f7fff9 0%,#eef8f1 55%,#ffffff 100%)!important;
  border:1px solid #d7ecdf;box-shadow:0 18px 42px rgba(6,63,39,.08);padding:18px 22px!important;overflow:hidden;position:relative;
}
.hugb-top-hero:after{content:"";position:absolute;right:-50px;bottom:-80px;width:190px;height:190px;border-radius:999px;background:rgba(24,165,88,.08);pointer-events:none;}
.hugb-top-brand{display:flex;align-items:center;gap:18px;min-width:0;position:relative;z-index:1}
.hugb-top-logo{width:142px;max-width:32vw;height:auto;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.12));flex:0 0 auto;}
.hugb-top-copy{min-width:0}
.hugb-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:4px;padding:6px 11px;border-radius:999px;background:#e8fff1;color:#08783e;font-size:12px;font-weight:900;letter-spacing:.03em;text-transform:uppercase;}
.hugb-kicker:before{content:"✓";display:inline-grid;place-items:center;width:17px;height:17px;border-radius:999px;background:#18a558;color:#fff;font-size:12px}
.hugb-top-copy h2{font-size:34px!important;line-height:1!important;margin:0 0 6px!important;color:#062f20!important;letter-spacing:-.03em}
.hugb-top-copy p{margin:0!important;font-weight:700;color:#53645b!important}
.hugb-top-hero .hugb-logout{position:relative;z-index:1;border-radius:18px!important;padding:14px 18px!important;box-shadow:0 10px 24px rgba(0,0,0,.16)!important;white-space:nowrap}
.hugb-tabs{margin-top:10px;border-radius:20px;padding:10px 0 18px!important;background:transparent!important}
@media(max-width:760px){.hugb-top-hero{align-items:flex-start!important;gap:14px!important}.hugb-top-brand{align-items:flex-start;gap:12px}.hugb-top-logo{width:104px;max-width:38vw}.hugb-top-copy h2{font-size:28px!important}.hugb-top-hero .hugb-logout{width:100%}}


/* v1.0.35 Date, live current time, and shift timer */
.hugb-live-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0 8px;}
.hugb-date-badge,.hugb-clock-badge,.hugb-opened-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(24,165,88,.18);background:rgba(255,255,255,.78);color:#083f2b;border-radius:999px;padding:7px 10px;font-size:13px;font-weight:800;line-height:1;box-shadow:0 6px 14px rgba(6,63,39,.05)}
.hugb-clock-badge strong,.hugb-opened-badge strong{font-weight:950;color:#062f20;}
.hugb-opened-badge{background:#eafff2;border-color:#bfeccd;color:#0c5a37;}
@media(max-width:760px){.hugb-live-meta{gap:6px}.hugb-date-badge,.hugb-clock-badge,.hugb-opened-badge{font-size:12px;padding:7px 9px;border-radius:12px}.hugb-opened-badge{width:100%;justify-content:center}}

/* v1.0.39 true smart/collapsible sections */
.hugb-smart-section{margin:18px 0;border:1px solid #cdeedd;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(0,70,35,.04)}
.hugb-smart-head{width:100%;border:0;background:linear-gradient(90deg,#eafff1,#f7fffb);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;text-align:left;border-left:8px solid #19a85a;color:#053f2b;font-weight:900;font-size:19px;line-height:1.2}
.hugb-smart-head:hover{filter:brightness(.99)}
.hugb-smart-title{display:flex;align-items:center;gap:10px;min-width:0}
.hugb-caret{font-size:18px;width:20px;text-align:center;color:#13a157;display:inline-block}
.hugb-section-badge{font-size:13px;font-weight:900;background:#eaf6ef;border:1px solid #cce9d8;color:#406052;border-radius:999px;padding:7px 12px;white-space:nowrap}
.hugb-smart-section.completed > .hugb-smart-head .hugb-section-badge{background:#16a85a;color:#fff;border-color:#16a85a}
.hugb-smart-body{padding:16px 18px 18px;background:#fbfffd;border-top:1px solid #d8f0e3}
.hugb-smart-body .hugb-check{margin:10px 0}
.hugb-smart-body .hugb-case-cleaning{border:0;background:transparent;padding:0;margin:0}
.hugb-smart-body .hugb-case-cleaning .hugb-grid2{margin-top:12px}
.hugb-smart-body .hugb-case-exception-toggle{margin-top:14px}
.hugb-section-break,.hugb-section-items{display:none!important}
@media(max-width:760px){.hugb-smart-head{font-size:16px;padding:16px}.hugb-section-badge{font-size:12px;padding:6px 10px}.hugb-smart-body{padding:12px}}

/* v1.0.40 polished smart/collapsible section overrides */
.hugb-smart-section{border-color:#c7ead7!important;box-shadow:0 10px 24px rgba(0,70,35,.045)!important}
.hugb-smart-head{width:100%!important;border:0!important;background:linear-gradient(90deg,#eaf8f0 0%,#f7fffb 100%)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:17px 18px!important;cursor:pointer!important;text-align:left!important;border-left:7px solid #0d8b52!important;color:#063f2a!important;font-weight:900!important;font-size:18px!important;line-height:1.2!important;box-shadow:none!important}
.hugb-smart-head:hover{background:linear-gradient(90deg,#e2f5eb 0%,#f3fff8 100%)!important;filter:none!important}
.hugb-smart-title{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
.hugb-caret{display:inline-grid!important;place-items:center!important;width:30px!important;height:30px!important;min-width:30px!important;border-radius:999px!important;background:#fff!important;border:1px solid #b9e4cc!important;color:#0b7448!important;font-size:17px!important;font-weight:950!important;line-height:1!important;box-shadow:0 4px 10px rgba(6,63,39,.06)!important;transition:transform .18s ease,background .18s ease!important}
.hugb-smart-section.open > .hugb-smart-head .hugb-caret{background:#0d8b52!important;color:#fff!important;border-color:#0d8b52!important}
.hugb-smart-section.completed > .hugb-smart-head{background:linear-gradient(90deg,#e7f8ee 0%,#f9fffb 100%)!important;border-left-color:#0a7a46!important}
.hugb-section-badge{background:#fff!important;border-color:#c6e6d4!important;color:#315b49!important;box-shadow:0 4px 10px rgba(6,63,39,.04)!important}
.hugb-smart-section.completed > .hugb-smart-head .hugb-section-badge{background:#0d8b52!important;color:#fff!important;border-color:#0d8b52!important}
@media(max-width:760px){.hugb-smart-head{font-size:16px!important;padding:15px!important}.hugb-caret{width:27px!important;height:27px!important;min-width:27px!important}}

/* v1.0.41 Smart Exchange System */
.hugb-exchange-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}
.hugb-exchange-head h3{margin-bottom:4px}
.hugb-employee-pill{background:#eef8f2;border:1px solid #c9ecd7;border-radius:999px;padding:10px 14px;white-space:nowrap;color:#073b24}
.hugb-subtabs{display:flex;gap:10px;margin:14px 0 18px;flex-wrap:wrap}
.hugb-subtabs button{border:0;border-radius:14px;padding:13px 18px;font-weight:800;background:#eaf2ee;color:#14392a;cursor:pointer}
.hugb-subtabs button.active{background:#17a957;color:white;box-shadow:0 10px 24px rgba(23,169,87,.18)}
.hugb-subpanel{display:none}.hugb-subpanel.active{display:block}
.hugb-field-label{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#0b3926}
.hugb-field-label span{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#5d7067}
.hugb-exchange-form input[readonly]{background:#f4faf7;color:#57655e}
.hugb-current-head{margin-bottom:14px}.hugb-current-head h4{font-size:22px;margin:0 0 4px}.hugb-current-head p{margin:0;color:#627067}
.hugb-current-exchange{border:1px solid #d6eadf;border-radius:20px;background:linear-gradient(180deg,#fbfffd,#f6fbf8);padding:16px;margin:14px 0;box-shadow:0 10px 26px rgba(5,50,30,.04)}
.hugb-current-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;align-items:center}
.hugb-current-top strong{font-size:18px;color:#0b452b}.hugb-current-top span{color:#64746b;font-weight:700}
.hugb-current-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hugb-current-actions .hugb-delete-exchange{background:#fff;border:1px solid #f0b7b7;color:#a92222;box-shadow:none}.hugb-empty{border:1px dashed #cfe3d8;border-radius:16px;padding:18px;color:#65746b;background:#fbfffd}
@media(max-width:700px){.hugb-exchange-head{display:block}.hugb-employee-pill{display:inline-block;margin-top:10px}.hugb-current-top{display:block}.hugb-current-top span{display:block;margin-top:5px}}

/* v1.0.43 Exchange submitted logo popup */
.hugb-exchange-success-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.55);backdrop-filter:blur(4px)}
.hugb-exchange-success-card{width:min(500px,94vw);background:#fff;border:1px solid rgba(13,70,45,.18);border-radius:28px;box-shadow:0 30px 80px rgba(0,0,0,.28);padding:26px;text-align:center;color:#10281c}
.hugb-exchange-success-logo{max-width:210px;width:70%;height:auto;margin:0 auto 10px;display:block}
.hugb-exchange-success-card h3{font-size:30px;line-height:1.1;margin:8px 0;color:#063a26;font-weight:900}
.hugb-exchange-success-card p{font-size:16px;margin:0 0 18px;color:#536158}
.hugb-exchange-success-ok{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:16px;background:#16a75b;color:#fff;font-weight:800;padding:13px 22px;box-shadow:0 12px 28px rgba(22,167,91,.22);cursor:pointer}
.hugb-exchange-success-ok:hover{filter:brightness(.96)}

/* v1.0.44 exchange validation + broken-item mode */
.hugb-field-error{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)!important;background:#fff7f7!important;}
.hugb-required-msg{display:block;margin:-8px 0 10px 14px;color:#dc2626;font-size:12px;font-weight:800;}
.hugb-exchange-normal-fields,.hugb-exchange-broken-fields{display:block;}

/* v1.0.45 greenbook draft autosave */
.hugb-autosave-note{margin:14px 0;padding:12px 14px;border:1px solid #b9efd0;background:#f0fff6;color:#0b5130;border-radius:14px;font-weight:700;font-size:13px}
.hugb-autosave-status{min-height:22px;margin:10px 0 8px;color:#527060;font-size:13px;font-weight:700}
.hugb-case-time-label{display:flex;flex-direction:column;gap:6px;width:100%;}
.hugb-case-time-label span{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#0b4d32;}
.hugb-case-time-label input{width:100%;}

/* v1.0.47 Perfect Alignment Fix - case cleaning row */
.hugb-smart-body .hugb-case-cleaning .hugb-grid2{
  display:grid !important;
  grid-template-columns:1fr 1fr 1fr !important;
  gap:14px !important;
  align-items:end !important;
  margin-top:14px !important;
}
.hugb-case-cleaning .hugb-case-done,
.hugb-case-cleaning > .hugb-grid2 > input,
.hugb-case-cleaning .hugb-case-time-label{
  height:64px !important;
  min-height:64px !important;
  box-sizing:border-box !important;
  margin:0 !important;
}
.hugb-case-cleaning .hugb-case-done{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  padding:0 16px !important;
}
.hugb-case-cleaning > .hugb-grid2 > input{
  padding:0 16px !important;
  display:flex !important;
  align-items:center !important;
}
.hugb-case-cleaning .hugb-case-time-label{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  gap:6px !important;
  padding:0 !important;
}
.hugb-case-cleaning .hugb-case-time-label span{
  display:block !important;
  height:14px !important;
  line-height:14px !important;
  margin:0 0 2px 0 !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
  color:#0b4d32 !important;
}
.hugb-case-cleaning .hugb-case-time-label input{
  height:48px !important;
  min-height:48px !important;
  margin:0 !important;
  padding:0 16px !important;
  box-sizing:border-box !important;
}
@media(max-width:760px){
  .hugb-smart-body .hugb-case-cleaning .hugb-grid2{grid-template-columns:1fr !important;align-items:stretch !important;}
  .hugb-case-cleaning .hugb-case-done,
  .hugb-case-cleaning > .hugb-grid2 > input,
  .hugb-case-cleaning .hugb-case-time-label{height:auto !important;min-height:56px !important;}
}

/* v1.0.49 missed task submit alerts */
.hugb-missed-warning{margin:14px 0 18px;padding:16px 18px;border:1px solid #fecaca;background:#fff1f2;color:#7f1d1d;border-radius:16px;box-shadow:0 8px 20px rgba(185,28,28,.08)}
.hugb-missed-warning strong{display:block;font-size:16px;margin-bottom:4px}.hugb-missed-warning p{margin:4px 0 8px;color:#991b1b!important}.hugb-missed-warning ul{margin:0 0 0 18px;padding:0}.hugb-missed-warning li{margin:4px 0;font-weight:700}
.hugb-smart-section.hugb-section-missing{border-color:#ef4444!important;background:#fff7f7!important;box-shadow:0 0 0 3px rgba(239,68,68,.10),0 12px 24px rgba(127,29,29,.06)!important}
.hugb-smart-section.hugb-section-missing > .hugb-smart-head{background:linear-gradient(90deg,#fff1f2 0%,#fffafa 100%)!important;border-left-color:#dc2626!important;color:#7f1d1d!important}
.hugb-smart-section.hugb-section-missing > .hugb-smart-head .hugb-caret{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}
.hugb-smart-section.hugb-section-missing > .hugb-smart-head .hugb-section-badge{background:#fee2e2!important;color:#991b1b!important;border-color:#fecaca!important}

/* v1.0.50 Shift Notes handoff display */
.hugb-shift-notes-field{
  margin-top:18px;
}
.hugb-shift-notes-field label{
  display:block;
  margin-bottom:8px;
  color:#0b4a2d;
}
.hugb-shift-notes-field label strong{
  display:block;
  font-size:17px;
  margin-bottom:3px;
}
.hugb-shift-notes-field label span,
.hugb-note-window{
  display:block;
  color:#5d7068;
  font-size:13px;
  line-height:1.35;
}
.hugb-previous-notes h3{
  margin-bottom:4px;
}
.hugb-shift-note-item{
  border:1px solid rgba(22,163,74,.18);
  background:linear-gradient(135deg,#f7fffb,#ffffff);
  border-radius:16px;
  padding:13px 14px;
  margin-top:12px;
}
.hugb-shift-note-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin-bottom:6px;
}
.hugb-shift-note-meta strong{
  color:#063d25;
}
.hugb-shift-note-meta span{
  color:#66756f;
  font-size:12px;
  font-weight:700;
  background:#eefbf4;
  border:1px solid #d7f2e3;
  border-radius:999px;
  padding:4px 8px;
}
.hugb-shift-note-item p{
  margin:0;
  color:#1f332b;
  line-height:1.45;
}

/* v1.0.54 Tablet Mode Button + iPad-safe app layout */
.hugb-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;}
.hugb-fullscreen-btn{border:0;border-radius:18px;background:#10a957;color:#fff;font-weight:900;font-size:15px;padding:16px 20px;min-height:48px;cursor:pointer;box-shadow:0 10px 24px rgba(16,169,87,.20);line-height:1;}
.hugb-fullscreen-btn:hover{transform:translateY(-1px);} .hugb-fullscreen-btn:active{transform:translateY(0);}
body.hugb-tablet-mode{overflow:hidden!important;background:#fff!important;overscroll-behavior:none;touch-action:pan-y;}
body.hugb-tablet-mode #wpadminbar,body.hugb-tablet-mode header,body.hugb-tablet-mode .site-header,body.hugb-tablet-mode #main-header,body.hugb-tablet-mode .et-l--header,body.hugb-tablet-mode .hugb-top-nav,body.hugb-tablet-mode footer,body.hugb-tablet-mode .site-footer,body.hugb-tablet-mode #main-footer,body.hugb-tablet-mode .et-l--footer{display:none!important;}
body.hugb-tablet-mode .hugb-app{position:fixed!important;inset:0!important;z-index:999999!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:18px 20px 34px!important;background:#fff!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
body.hugb-tablet-mode .hugb-top-hero{max-width:none!important;margin:0 auto 14px!important;}
body.hugb-tablet-mode .hugb-tabs{justify-content:center!important;align-items:center!important;max-width:1180px!important;margin:10px auto 18px!important;padding-left:0!important;padding-right:0!important;width:100%!important;}
body.hugb-tablet-mode .hugb-panel,body.hugb-tablet-mode .hugb-app>.hugb-card,body.hugb-tablet-mode .hugb-note{max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;}
body.hugb-tablet-mode .hugb-fullscreen-btn{background:#111!important;box-shadow:0 10px 24px rgba(0,0,0,.16);}
body.hugb-tablet-mode .hugb-tablet-hint{display:block;}
.hugb-tablet-hint{display:none;max-width:1180px;margin:0 auto 14px;border:1px solid #b8efcb;background:#effff5;color:#064425;border-radius:14px;padding:10px 14px;font-size:13px;font-weight:800;text-align:center;}
@media(max-width:900px){body.hugb-tablet-mode .hugb-tabs{justify-content:flex-start!important;overflow-x:auto!important;padding-bottom:4px!important;}}
@media(max-width:820px){.hugb-header-actions{width:100%;justify-content:stretch;}.hugb-header-actions .hugb-fullscreen-btn,.hugb-header-actions .hugb-logout{flex:1 1 auto;text-align:center;}.hugb-fullscreen-btn{padding:14px 16px;font-size:14px;}body.hugb-tablet-mode .hugb-app{padding:12px 12px 28px!important;}}

/* v1.0.55 Wider default layout + nicer non-tablet spacing */
body:not(.hugb-tablet-mode) .hugb-app{
  width:min(1500px,calc(100vw - 32px))!important;
  max-width:none!important;
  margin-left:50%!important;
  margin-right:0!important;
  transform:translateX(-50%)!important;
  padding-left:20px!important;
  padding-right:20px!important;
  box-sizing:border-box!important;
}
body:not(.hugb-tablet-mode) .hugb-top-hero,
body:not(.hugb-tablet-mode) .hugb-card,
body:not(.hugb-tablet-mode) .hugb-panel.active,
body:not(.hugb-tablet-mode) .hugb-note,
body:not(.hugb-tablet-mode) .hugb-previous-notes{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body:not(.hugb-tablet-mode) .hugb-tabs{
  justify-content:center!important;
  width:100%!important;
  max-width:none!important;
  gap:12px!important;
}
body:not(.hugb-tablet-mode) .hugb-card{
  margin-left:0!important;
  margin-right:0!important;
}
@media(min-width:1100px){
  body:not(.hugb-tablet-mode) .hugb-app{width:min(1560px,calc(100vw - 48px))!important;}
  body:not(.hugb-tablet-mode) .hugb-card{padding:26px 30px!important;}
}
@media(max-width:820px){
  body:not(.hugb-tablet-mode) .hugb-app{
    width:calc(100vw - 16px)!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body:not(.hugb-tablet-mode) .hugb-tabs{
    justify-content:flex-start!important;
    gap:10px!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body:not(.hugb-tablet-mode) .hugb-card{padding:18px!important;}
}

/* v1.0.56 request page upgrades */
.hugb-request-card .hugb-subtabs{justify-content:center; margin:18px 0 22px;}
.hugb-request-tools{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,340px) auto;gap:12px;align-items:center;margin:12px 0 18px;}
.hugb-request-tools input,.hugb-request-tools select{width:100%;border:1px solid #d6e5db;border-radius:14px;padding:13px 14px;background:#fff;font-size:15px;}
.hugb-request-tools button{border:0;border-radius:14px;padding:13px 16px;background:#eaf3ee;font-weight:800;cursor:pointer;color:#143427;}
.hugb-request-list{display:grid;gap:14px;}
.hugb-request-item{border:1px solid #d8eadf;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(8,35,20,.06);padding:16px;}
.hugb-request-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;}
.hugb-request-top strong{display:block;font-size:17px;color:#0a3a25;}
.hugb-request-top span{display:block;color:#65736b;font-weight:700;margin-top:4px;}
.hugb-request-actions{display:flex;justify-content:flex-end;margin-top:12px;}
.hugb-confirm-request{border:0;border-radius:14px;background:#17a956;color:#fff;font-weight:900;padding:12px 16px;box-shadow:0 10px 24px rgba(23,169,86,.22);cursor:pointer;}
.hugb-confirm-request:disabled{background:#dce8e1;color:#466354;box-shadow:none;cursor:default;}
.hugb-hidden{display:none!important;}
@media(max-width:760px){.hugb-request-tools{grid-template-columns:1fr}.hugb-request-top{display:block}.hugb-request-top .hugb-review-status-pill{display:inline-block;margin-top:10px}.hugb-request-actions{justify-content:stretch}.hugb-confirm-request{width:100%;}}
/* v1.0.58: widen request status filter so text does not get cut off */
.hugb-request-status-filter{min-width:300px;}
@media(max-width:760px){.hugb-request-status-filter{min-width:0;width:100%;}}

/* v1.0.59 custom Higher Up confirmation modal */
.hugb-confirm-modal-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(4,18,12,.58);backdrop-filter:blur(8px);opacity:0;transition:opacity .18s ease;}
.hugb-confirm-modal-overlay.is-open{opacity:1;}
.hugb-confirm-modal{width:min(460px,94vw);background:linear-gradient(180deg,#ffffff 0%,#f4fff8 100%);border:1px solid rgba(20,164,87,.22);border-radius:28px;box-shadow:0 24px 80px rgba(0,0,0,.28);padding:28px 26px 24px;text-align:center;transform:translateY(10px) scale(.98);transition:transform .18s ease;}
.hugb-confirm-modal-overlay.is-open .hugb-confirm-modal{transform:translateY(0) scale(1);}
.hugb-confirm-modal-logo{width:150px;max-width:70%;height:auto;display:block;margin:0 auto 12px;}
.hugb-confirm-modal h3{margin:4px 0 8px;color:#063d24;font-size:24px;line-height:1.15;font-weight:900;}
.hugb-confirm-modal p{margin:0 auto 22px;max-width:350px;color:#456155;font-size:16px;line-height:1.45;font-weight:650;}
.hugb-confirm-modal-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.hugb-confirm-modal-actions button{border:0;border-radius:16px;padding:14px 18px;font-weight:900;cursor:pointer;font-size:15px;}
.hugb-confirm-modal-cancel{background:#edf4f0;color:#123326;}
.hugb-confirm-modal-ok{background:#13a85b;color:#fff;box-shadow:0 12px 28px rgba(19,168,91,.28);}
@media(max-width:640px){.hugb-confirm-modal{padding:24px 18px 20px;border-radius:24px}.hugb-confirm-modal-actions{flex-direction:column}.hugb-confirm-modal-actions button{width:100%}}

/* v1.0.60 manager request controls */
.hugb-request-tools.is-manager{grid-template-columns:minmax(220px,1fr) minmax(220px,280px) minmax(180px,230px) 150px 150px auto auto;}
.hugb-request-export{background:#12a65a!important;color:#fff!important;box-shadow:0 10px 24px rgba(18,166,90,.18);}
.hugb-request-item{position:relative;padding-bottom:54px;}
.hugb-delete-request{position:absolute;right:14px;bottom:12px;border:0;width:38px;height:38px;border-radius:14px;background:#fff0f0;color:#bd1f1f;box-shadow:0 8px 20px rgba(189,31,31,.12);cursor:pointer;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center;}
.hugb-delete-request:hover{background:#ffe0e0;transform:translateY(-1px);}
.hugb-delete-modal .hugb-confirm-delete-ok{background:#dc2626;color:#fff;box-shadow:0 12px 28px rgba(220,38,38,.28);}
.hugb-delete-modal h3{color:#7f1d1d;}
.hugb-confirm-modal-ok:disabled{opacity:.7;cursor:wait;}
@media(max-width:1150px){.hugb-request-tools.is-manager{grid-template-columns:1fr 1fr;}.hugb-request-tools.is-manager .hugb-request-search{grid-column:1/-1;}}
@media(max-width:760px){.hugb-request-tools.is-manager{grid-template-columns:1fr;}.hugb-delete-request{right:12px;bottom:12px}.hugb-request-item{padding-bottom:62px;}}

/* v1.0.61 cleaned request tools + manager-only controls */
.hugb-request-tools{
  display:block!important;
  margin:14px 0 22px!important;
  padding:14px!important;
  border:1px solid #dcebe2;
  border-radius:20px;
  background:linear-gradient(180deg,#fbfffd 0%,#f4fbf7 100%);
  box-shadow:0 10px 26px rgba(8,35,20,.05);
}
.hugb-request-tools-row{
  display:grid;
  gap:12px;
  align-items:end;
}
.hugb-request-tools-main{
  grid-template-columns:minmax(260px,1.35fr) minmax(190px,.75fr);
}
.hugb-request-tools.is-manager .hugb-request-tools-main{
  grid-template-columns:minmax(280px,1.35fr) minmax(190px,.75fr) minmax(190px,.75fr);
}
.hugb-request-tools-manager{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e3f0e8;
  grid-template-columns:minmax(150px,190px) minmax(150px,190px) auto auto;
  justify-content:end;
}
.hugb-request-tools-employee{
  margin-top:10px;
  justify-content:end;
}
.hugb-request-tools label{display:block;margin:0;}
.hugb-request-tools label span{display:block;margin:0 0 6px;color:#52655b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}
.hugb-request-tools input,.hugb-request-tools select{
  min-width:0!important;
  width:100%!important;
  height:48px;
  border:1px solid #d6e5db!important;
  border-radius:14px!important;
  padding:0 14px!important;
  background:#fff!important;
  font-size:15px!important;
}
.hugb-request-tools button{
  height:48px;
  white-space:nowrap;
  border:0!important;
  border-radius:14px!important;
  padding:0 18px!important;
  font-weight:900!important;
}
.hugb-request-status-filter{min-width:0!important;}
.hugb-request-tools.is-employee .hugb-request-tools-main{grid-template-columns:minmax(220px,1fr) minmax(180px,260px);}
@media(max-width:980px){
  .hugb-request-tools-main,.hugb-request-tools.is-manager .hugb-request-tools-main,.hugb-request-tools.is-employee .hugb-request-tools-main{grid-template-columns:1fr!important;}
  .hugb-request-tools-manager{grid-template-columns:1fr 1fr;justify-content:stretch;}
}
@media(max-width:640px){
  .hugb-request-tools{padding:12px!important;border-radius:18px;}
  .hugb-request-tools-manager{grid-template-columns:1fr;}
  .hugb-request-tools button{width:100%;}
}

/* v1.0.62 request guest name + cleaner delete button */
.hugb-delete-request{
  background:#16a45a!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(22,164,90,.22)!important;
  font-size:0!important;
  overflow:hidden;
}
.hugb-delete-request::before{
  content:"";
  width:18px;
  height:18px;
  display:block;
  background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hugb-delete-request:hover{
  background:#dc2626!important;
  box-shadow:0 12px 28px rgba(220,38,38,.28)!important;
  transform:translateY(-1px);
}

/* v1.0.63 animated trash can icon - lid opens on hover */
.hugb-delete-request{background:transparent!important;border:0!important;box-shadow:none!important;width:42px!important;height:42px!important;border-radius:999px!important;color:transparent!important;font-size:0!important;overflow:visible!important;display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;right:14px!important;bottom:12px!important;cursor:pointer!important;transition:background .18s ease, transform .18s ease!important;}
.hugb-delete-request::before,.hugb-delete-request::after{content:""!important;position:absolute!important;left:50%!important;display:block!important;background:#fff!important;pointer-events:none!important;transition:background .18s ease, transform .22s ease!important;}
.hugb-delete-request::before{width:18px!important;height:18px!important;top:15px!important;transform:translateX(-50%)!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.4 7.8h11.2l-.9 13.2H7.3L6.4 7.8Zm3.2 2.4v8.1h1.8v-8.1H9.6Zm4.9 0v8.1h1.8v-8.1h-1.8Z'/%3E%3C/svg%3E") center / contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.4 7.8h11.2l-.9 13.2H7.3L6.4 7.8Zm3.2 2.4v8.1h1.8v-8.1H9.6Zm4.9 0v8.1h1.8v-8.1h-1.8Z'/%3E%3C/svg%3E") center / contain no-repeat!important;}
.hugb-delete-request::after{width:22px!important;height:9px!important;top:8px!important;transform:translateX(-50%) rotate(0deg)!important;transform-origin:6px 8px!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath fill='black' d='M3 7h18V5H3v2Zm5-3h8V1H8v3Z'/%3E%3C/svg%3E") center / contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath fill='black' d='M3 7h18V5H3v2Zm5-3h8V1H8v3Z'/%3E%3C/svg%3E") center / contain no-repeat!important;}
.hugb-delete-request:hover,.hugb-delete-request:focus-visible{background:#dc2626!important;transform:translateY(-1px)!important;box-shadow:0 12px 26px rgba(220,38,38,.28)!important;}
.hugb-delete-request:hover::before,.hugb-delete-request:hover::after,.hugb-delete-request:focus-visible::before,.hugb-delete-request:focus-visible::after{background:#fff!important;}
.hugb-delete-request:hover::after,.hugb-delete-request:focus-visible::after{transform:translateX(-58%) translateY(-4px) rotate(-24deg)!important;}

/* v1.0.64 visible trash can - green at rest, red on hover with lid animation */
.hugb-delete-request{
  background:#16a85a!important;
  border:0!important;
  box-shadow:0 10px 22px rgba(22,168,90,.22)!important;
  width:42px!important;
  height:42px!important;
  border-radius:999px!important;
  color:transparent!important;
  font-size:0!important;
  overflow:visible!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:absolute!important;
  right:14px!important;
  bottom:12px!important;
  cursor:pointer!important;
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease!important;
}
.hugb-delete-request::before,.hugb-delete-request::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  display:block!important;
  background:#fff!important;
  pointer-events:none!important;
  transition:background .18s ease, transform .22s ease!important;
}
.hugb-delete-request::before{
  width:18px!important;
  height:18px!important;
  top:15px!important;
  transform:translateX(-50%)!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.4 7.8h11.2l-.9 13.2H7.3L6.4 7.8Zm3.2 2.4v8.1h1.8v-8.1H9.6Zm4.9 0v8.1h1.8v-8.1h-1.8Z'/%3E%3C/svg%3E") center / contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.4 7.8h11.2l-.9 13.2H7.3L6.4 7.8Zm3.2 2.4v8.1h1.8v-8.1H9.6Zm4.9 0v8.1h1.8v-8.1h-1.8Z'/%3E%3C/svg%3E") center / contain no-repeat!important;
}
.hugb-delete-request::after{
  width:22px!important;
  height:9px!important;
  top:8px!important;
  transform:translateX(-50%) rotate(0deg)!important;
  transform-origin:6px 8px!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath fill='black' d='M3 7h18V5H3v2Zm5-3h8V1H8v3Z'/%3E%3C/svg%3E") center / contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath fill='black' d='M3 7h18V5H3v2Zm5-3h8V1H8v3Z'/%3E%3C/svg%3E") center / contain no-repeat!important;
}
.hugb-delete-request:hover,.hugb-delete-request:focus-visible{
  background:#dc2626!important;
  transform:translateY(-1px)!important;
  box-shadow:0 12px 26px rgba(220,38,38,.28)!important;
}
.hugb-delete-request:hover::after,.hugb-delete-request:focus-visible::after{
  transform:translateX(-58%) translateY(-4px) rotate(-24deg)!important;
}

/* v1.0.65 request empty state + better manager delete spacing */
.hugb-request-card[data-manager="1"] .hugb-request-item{padding-bottom:86px!important;}
.hugb-request-card[data-manager="1"] .hugb-request-actions{margin-bottom:30px!important;}
.hugb-request-card[data-manager="1"] .hugb-delete-request{right:16px!important;bottom:14px!important;}
.hugb-request-empty-state{border:1px dashed #bfe8d0;border-radius:22px;background:linear-gradient(180deg,#fbfffd,#f3fff8);padding:34px 22px;text-align:center;color:#315744;box-shadow:0 10px 28px rgba(8,35,20,.04);}
.hugb-request-empty-state img{width:118px;max-width:42%;height:auto;margin:0 auto 12px;display:block;}
.hugb-request-empty-state h4{margin:4px 0 6px;font-size:22px;color:#0a3a25;}
.hugb-request-empty-state p{margin:0 auto;max-width:460px;color:#5d6f65;font-weight:700;line-height:1.45;}
@media(max-width:760px){.hugb-request-card[data-manager="1"] .hugb-request-item{padding-bottom:92px!important;}.hugb-request-card[data-manager="1"] .hugb-request-actions{margin-bottom:34px!important;}.hugb-request-empty-state{padding:26px 16px;}.hugb-request-empty-state img{width:94px;}}


/* v1.0.68 request required field highlights */
.hugb-request-form .hugb-field-missing{
  border-color:#dc2626 !important;
  box-shadow:0 0 0 3px rgba(220,38,38,.12) !important;
  background:#fff7f7 !important;
}
.hugb-request-required-msg{
  color:#dc2626;
  font-size:12px;
  font-weight:900;
  margin:-8px 0 10px 14px;
  letter-spacing:.02em;
}
.hugb-request-form .hugb-alert.err{
  border:1px solid rgba(220,38,38,.25);
  background:#fff1f2;
  color:#991b1b;
}

/* v1.0.70 employee request filter polish */
.hugb-request-tools.is-employee{
  padding:14px!important;
}
.hugb-request-tools.is-employee .hugb-request-tools-main{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) minmax(180px,240px)!important;
  gap:12px!important;
  align-items:end!important;
}
.hugb-request-tools.is-employee .hugb-request-tools-employee{
  display:grid!important;
  grid-template-columns:minmax(150px,180px) minmax(150px,180px) auto!important;
  gap:12px!important;
  align-items:end!important;
  justify-content:end!important;
  margin-top:10px!important;
  padding-top:10px!important;
  border-top:1px solid #e4f0e9!important;
}
.hugb-request-tools.is-employee .hugb-request-tools-employee label{
  margin:0!important;
}
.hugb-request-tools.is-employee .hugb-request-clear{
  min-width:92px!important;
}
@media(max-width:900px){
  .hugb-request-tools.is-employee .hugb-request-tools-main,
  .hugb-request-tools.is-employee .hugb-request-tools-employee{
    grid-template-columns:1fr!important;
    justify-content:stretch!important;
  }
}

/* v1.0.71 Support Kief Bot */
.hugb-support-kief{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999999;
  font-family:inherit;
}
.hugb-kief-launch{
  border:0;
  background:transparent;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  cursor:pointer;
  padding:0;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.18));
}
.hugb-kief-launch img{
  width:76px;
  height:76px;
  object-fit:contain;
  display:block;
  transition:transform .18s ease;
}
.hugb-kief-launch:hover img{transform:translateY(-3px) scale(1.04);}
.hugb-kief-launch span{
  background:#13a855;
  color:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(19,168,85,.25);
  white-space:nowrap;
}
.hugb-kief-chat{
  position:absolute;
  right:0;
  bottom:112px;
  width:340px;
  max-width:calc(100vw - 28px);
  background:#fff;
  border:1px solid #cfe9d9;
  border-radius:22px;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
  overflow:hidden;
}
.hugb-kief-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  background:linear-gradient(135deg,#0e8f47,#18b866);
  color:#fff;
  padding:14px 16px;
}
.hugb-kief-head strong{display:block;font-size:16px;line-height:1.1;}
.hugb-kief-head small{display:block;opacity:.9;font-size:11px;font-weight:700;margin-top:3px;}
.hugb-kief-close{
  border:0;
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.hugb-kief-messages{
  max-height:260px;
  overflow:auto;
  padding:14px;
  background:#fbfffd;
}
.hugb-kief-msg{
  max-width:88%;
  padding:10px 12px;
  border-radius:16px;
  margin:0 0 9px;
  font-size:13px;
  line-height:1.38;
  color:#0d2d1d;
}
.hugb-kief-msg.bot{
  background:#eefaf3;
  border:1px solid #d5f0e0;
  border-bottom-left-radius:6px;
}
.hugb-kief-msg.user{
  background:#13a855;
  color:#fff;
  margin-left:auto;
  border-bottom-right-radius:6px;
}
.hugb-kief-quick{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:0 14px 12px;
  background:#fbfffd;
}
.hugb-kief-chip{
  border:1px solid #cfe9d9;
  background:#fff;
  color:#0f3b26;
  border-radius:999px;
  padding:7px 9px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.hugb-kief-chip:hover{background:#eaf8f0;border-color:#13a855;}
.hugb-kief-form{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid #e5f3eb;
  background:#fff;
}
.hugb-kief-form input{
  flex:1;
  border:1px solid #d8e9df;
  border-radius:14px;
  padding:10px 12px;
  min-width:0;
}
.hugb-kief-form button{
  border:0;
  background:#13a855;
  color:#fff;
  border-radius:14px;
  padding:10px 13px;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:700px){
  .hugb-support-kief{right:12px;bottom:12px;}
  .hugb-kief-launch img{width:64px;height:64px;}
  .hugb-kief-chat{width:318px;bottom:98px;}
}

/* v1.0.72 Support Kief polish - compact chat and stronger button isolation */
.hugb-support-kief{right:22px!important;bottom:18px!important;}
.hugb-kief-launch img{width:66px!important;height:66px!important;}
.hugb-kief-launch span{font-size:11px!important;padding:5px 9px!important;}
.hugb-kief-chat{width:315px!important;bottom:102px!important;border-radius:18px!important;}
.hugb-kief-head{padding:12px 14px!important;}
.hugb-kief-messages{max-height:210px!important;padding:12px!important;}
.hugb-kief-msg{font-size:12px!important;padding:9px 10px!important;margin-bottom:7px!important;line-height:1.35!important;}
.hugb-kief-quick{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;padding:0 12px 10px!important;}
.hugb-kief-chip{all:unset!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;border:1px solid #cfe9d9!important;background:#fff!important;color:#0f3b26!important;border-radius:999px!important;padding:6px 8px!important;font-size:11px!important;font-weight:900!important;cursor:pointer!important;text-align:center!important;line-height:1.15!important;box-shadow:none!important;}
.hugb-kief-chip:hover{background:#eaf8f0!important;border-color:#13a855!important;transform:translateY(-1px)!important;}
.hugb-kief-form{padding:10px!important;gap:7px!important;}
.hugb-kief-form input{height:40px!important;font-size:13px!important;border-radius:12px!important;}
.hugb-kief-form button{height:40px!important;border-radius:12px!important;padding:0 12px!important;}
@media(max-width:700px){.hugb-kief-chat{width:300px!important;bottom:92px!important}.hugb-kief-launch img{width:58px!important;height:58px!important}.hugb-kief-messages{max-height:190px!important}}

/* v1.0.74 Support Kief launcher cleanup - no green tile, less overlap */
.hugb-support-kief{right:18px!important;bottom:16px!important;z-index:999998!important;}
.hugb-kief-launch{all:unset!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;cursor:pointer!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;padding:0!important;margin:0!important;}
.hugb-kief-launch img{width:58px!important;height:58px!important;object-fit:contain!important;display:block!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 7px 11px rgba(0,0,0,.20))!important;transition:transform .18s ease!important;}
.hugb-kief-launch:hover img{transform:translateY(-4px) scale(1.05)!important;}
.hugb-kief-launch span{background:rgba(255,255,255,.96)!important;color:#0b3b25!important;border:1px solid #cfe9d9!important;border-radius:999px!important;padding:4px 8px!important;font-size:10px!important;font-weight:900!important;line-height:1!important;box-shadow:0 6px 15px rgba(0,0,0,.10)!important;}
.hugb-kief-chat{position:absolute!important;right:0!important;bottom:86px!important;width:310px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 115px)!important;overflow:hidden!important;}
.hugb-kief-messages{max-height:220px!important;}
.hugb-kief-typing{display:inline-flex!important;gap:4px!important;align-items:center!important;min-width:46px!important;}
.hugb-kief-typing i{width:6px!important;height:6px!important;border-radius:999px!important;background:#13a855!important;display:block!important;opacity:.35!important;animation:hugbKiefTyping 1s infinite ease-in-out!important;}
.hugb-kief-typing i:nth-child(2){animation-delay:.15s!important;}
.hugb-kief-typing i:nth-child(3){animation-delay:.3s!important;}
@keyframes hugbKiefTyping{0%,80%,100%{transform:translateY(0);opacity:.35;}40%{transform:translateY(-4px);opacity:1;}}
@media(max-width:700px){.hugb-support-kief{right:10px!important;bottom:10px!important;}.hugb-kief-launch img{width:50px!important;height:50px!important;}.hugb-kief-launch span{font-size:9px!important;padding:3px 7px!important;}.hugb-kief-chat{width:292px!important;bottom:76px!important;max-height:calc(100vh - 95px)!important;}}


/* v1.0.75 Support Kief dock + header close polish */
.hugb-kief-head{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:12px 12px 12px 14px!important;
  overflow:hidden!important;
}
.hugb-kief-close{
  all:unset!important;
  box-sizing:border-box!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer!important;
  margin-left:auto!important;
  box-shadow:none!important;
  transform:none!important;
}
.hugb-kief-close:hover{background:rgba(255,255,255,.26)!important;}

/* In regular website mode, dock Kief to the right side so he does not sit awkwardly in the footer area. */
body:not(.hugb-tablet-mode) .hugb-support-kief{
  position:fixed!important;
  right:18px!important;
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  z-index:999998!important;
}
body:not(.hugb-tablet-mode) .hugb-kief-chat{
  position:absolute!important;
  right:0!important;
  bottom:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:310px!important;
  max-height:calc(100vh - 120px)!important;
}
body:not(.hugb-tablet-mode) .hugb-kief-launch{
  padding:8px 4px!important;
}
body:not(.hugb-tablet-mode) .hugb-kief-launch img{
  width:54px!important;
  height:54px!important;
}
body:not(.hugb-tablet-mode) .hugb-kief-launch span{
  background:#fff!important;
  color:#0b3b25!important;
  border:1px solid #bfe7cd!important;
}

/* Keep the original bottom-corner feel in tablet mode. */
body.hugb-tablet-mode .hugb-support-kief{
  position:fixed!important;
  right:18px!important;
  bottom:16px!important;
  top:auto!important;
  transform:none!important;
}
body.hugb-tablet-mode .hugb-kief-chat{
  position:absolute!important;
  right:0!important;
  bottom:86px!important;
  top:auto!important;
  transform:none!important;
}

@media(max-width:700px){
  body:not(.hugb-tablet-mode) .hugb-support-kief,
  body.hugb-tablet-mode .hugb-support-kief{
    right:10px!important;
    bottom:10px!important;
    top:auto!important;
    transform:none!important;
  }
  body:not(.hugb-tablet-mode) .hugb-kief-chat,
  body.hugb-tablet-mode .hugb-kief-chat{
    right:0!important;
    bottom:76px!important;
    top:auto!important;
    transform:none!important;
    width:292px!important;
    max-height:calc(100vh - 95px)!important;
  }
}

/* v1.0.76 Support Button Upgrade - replaces floating gnome with clean support button */
.hugb-support-kief{
  position:fixed!important;
  right:22px!important;
  bottom:22px!important;
  top:auto!important;
  transform:none!important;
  z-index:999998!important;
  font-family:inherit!important;
}
.hugb-kief-launch{
  all:unset!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:46px!important;
  padding:0 16px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#12a85a,#0f934c)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.20), 0 7px 18px rgba(19,168,85,.22)!important;
  cursor:pointer!important;
  filter:none!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease!important;
}
.hugb-kief-launch:hover{
  transform:translateY(-2px)!important;
  background:linear-gradient(135deg,#16b966,#0c8744)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.24), 0 10px 22px rgba(19,168,85,.25)!important;
}
.hugb-kief-launch img{display:none!important;}
.hugb-kief-bubble-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:24px!important;
  height:24px!important;
  font-size:17px!important;
  line-height:1!important;
  background:rgba(255,255,255,.16)!important;
  border-radius:999px!important;
  box-shadow:none!important;
}
.hugb-kief-launch-text,
.hugb-kief-launch span:not(.hugb-kief-bubble-icon){
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.hugb-kief-chat,
body:not(.hugb-tablet-mode) .hugb-kief-chat,
body.hugb-tablet-mode .hugb-kief-chat{
  position:absolute!important;
  right:0!important;
  bottom:62px!important;
  top:auto!important;
  transform:none!important;
  width:330px!important;
  max-width:calc(100vw - 28px)!important;
  max-height:calc(100vh - 105px)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #cfe9d9!important;
  box-shadow:0 24px 60px rgba(0,0,0,.22)!important;
}
.hugb-kief-head{
  min-height:58px!important;
  padding:10px 12px!important;
  background:linear-gradient(135deg,#0f944d,#17b965)!important;
}
.hugb-kief-head-left{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}
.hugb-kief-head-left img{
  display:block!important;
  width:38px!important;
  height:38px!important;
  object-fit:contain!important;
  flex:0 0 auto!important;
  border-radius:0!important;
  filter:drop-shadow(0 4px 7px rgba(0,0,0,.16))!important;
}
.hugb-kief-head-left strong{font-size:15px!important;}
.hugb-kief-head-left small{font-size:10.5px!important;}
.hugb-kief-close{
  position:static!important;
  align-self:center!important;
  margin-left:auto!important;
  width:30px!important;
  height:30px!important;
}
@media(max-width:700px){
  .hugb-support-kief{right:14px!important;bottom:14px!important;}
  .hugb-kief-launch{min-height:44px!important;padding:0 14px!important;}
  .hugb-kief-launch-text{font-size:13px!important;}
  .hugb-kief-chat,
  body:not(.hugb-tablet-mode) .hugb-kief-chat,
  body.hugb-tablet-mode .hugb-kief-chat{
    width:calc(100vw - 28px)!important;
    right:0!important;
    bottom:58px!important;
  }
}


/* v1.0.77 Support Kief tablet-mode only */
body:not(.hugb-tablet-mode) .hugb-support-kief{display:none!important;}
body.hugb-tablet-mode .hugb-support-kief{display:block!important;right:22px!important;bottom:22px!important;}
@media(max-width:700px){body.hugb-tablet-mode .hugb-support-kief{right:12px!important;bottom:12px!important;}}


/* v1.0.78 Support Kief mobile composer polish */
@media(max-width:700px){
  body.hugb-tablet-mode .hugb-support-kief{
    right:10px!important;
    bottom:10px!important;
  }
  body.hugb-tablet-mode .hugb-kief-chat{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    right:0!important;
    bottom:56px!important;
    border-radius:18px!important;
  }
  body.hugb-tablet-mode .hugb-kief-messages{
    max-height:34vh!important;
  }
  body.hugb-tablet-mode .hugb-kief-quick{
    grid-template-columns:1fr 1fr!important;
    padding:0 12px 10px!important;
  }
  body.hugb-tablet-mode .hugb-kief-form{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:12px!important;
  }
  body.hugb-tablet-mode .hugb-kief-form input{
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    font-size:16px!important;
    border-radius:14px!important;
    box-sizing:border-box!important;
  }
  body.hugb-tablet-mode .hugb-kief-form button{
    width:100%!important;
    height:46px!important;
    border-radius:14px!important;
    font-size:17px!important;
    padding:0!important;
  }
  body.hugb-tablet-mode .hugb-kief-launch{
    min-height:44px!important;
    padding:0 14px!important;
  }
}


/* v1.0.84 Support Kief action assistant buttons */
.hugb-kief-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:10px!important;}
.hugb-kief-action{all:unset!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;padding:7px 11px!important;border-radius:999px!important;background:#13a855!important;color:#fff!important;font-size:11px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;box-shadow:0 6px 14px rgba(19,168,85,.24)!important;}
.hugb-kief-action:hover{background:#0f8f49!important;transform:translateY(-1px)!important;}


/* v1.0.85 Manager Notes delete button */
.hugb-manager-note-item{position:relative;padding-right:64px!important;}
.hugb-delete-note{position:absolute;right:14px;bottom:14px;border:0;width:38px;height:38px;border-radius:999px;background:#fff0f0;color:#bd1f1f;box-shadow:0 8px 20px rgba(189,31,31,.12);cursor:pointer;font-size:17px;display:flex;align-items:center;justify-content:center;transition:background .18s ease, transform .18s ease, box-shadow .18s ease;}
.hugb-delete-note:hover,.hugb-delete-note:focus-visible{background:#dc2626;color:#fff;transform:translateY(-1px);box-shadow:0 12px 26px rgba(220,38,38,.28);outline:none;}
@media(max-width:760px){.hugb-manager-note-item{padding-right:58px!important}.hugb-delete-note{right:12px;bottom:12px}}


/* v1.0.87 Tablet Header Stability Fix
   Keeps the live clock from resizing/wrapping the header and locks the Opened at badge in place. */
.hugb-live-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.hugb-live-meta .hugb-date-badge,
.hugb-live-meta .hugb-clock-badge,
.hugb-live-meta .hugb-opened-badge{
  min-height:34px;
  white-space:nowrap;
  flex:0 0 auto;
  font-variant-numeric:tabular-nums;
}
.hugb-live-meta .hugb-clock-badge{
  min-width:138px;
  justify-content:center;
}
.hugb-live-meta .hugb-opened-badge{
  min-width:142px;
  justify-content:center;
}
body.hugb-tablet-mode .hugb-live-meta{
  min-height:38px;
  align-content:center;
}
body.hugb-tablet-mode .hugb-live-meta .hugb-date-badge,
body.hugb-tablet-mode .hugb-live-meta .hugb-clock-badge,
body.hugb-tablet-mode .hugb-opened-badge{
  height:36px;
}
body.hugb-tablet-mode .hugb-top-copy{
  min-width:0;
}
@media(max-width:760px){
  .hugb-live-meta .hugb-opened-badge{
    width:auto!important;
    min-width:142px!important;
  }
  body.hugb-tablet-mode .hugb-live-meta{
    justify-content:flex-start;
  }
}

/* v1.0.88 UI Polish Upgrade */
.hugb-top-hero{box-shadow:0 18px 44px rgba(6,63,39,.075)!important;}
.hugb-top-copy h2{letter-spacing:-.04em!important;}
.hugb-live-meta{gap:7px!important;align-items:center!important;}
.hugb-date-badge,.hugb-clock-badge,.hugb-opened-badge{min-height:31px!important;padding:7px 11px!important;box-shadow:0 8px 18px rgba(6,63,39,.055)!important;}
.hugb-clock-badge{background:#f7fffa!important;border-color:#c9ecd7!important;}
.hugb-header-actions{gap:10px!important;}
.hugb-header-actions .hugb-fullscreen-btn,.hugb-header-actions .hugb-logout{border-radius:16px!important;padding:12px 18px!important;font-size:14px!important;box-shadow:0 10px 22px rgba(0,0,0,.13)!important;}
.hugb-header-actions .hugb-logout{background:#222!important;}
.hugb-tablet-hint{max-width:1040px!important;margin:0 auto 12px!important;padding:8px 13px!important;border-radius:999px!important;font-size:12px!important;box-shadow:0 8px 20px rgba(6,63,39,.035)!important;}
.hugb-card{box-shadow:0 18px 50px rgba(6,63,39,.07)!important;}
.hugb-card h3{letter-spacing:-.03em!important;}
.hugb-section-help{color:#65766d!important;}
.hugb-smart-section{margin:14px 0!important;box-shadow:0 10px 26px rgba(6,63,39,.055)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;}
.hugb-smart-section:hover{transform:translateY(-1px)!important;box-shadow:0 16px 34px rgba(6,63,39,.08)!important;border-color:#addfc4!important;}
.hugb-smart-head{min-height:62px!important;padding:16px 18px!important;}
.hugb-smart-section.open > .hugb-smart-head{background:linear-gradient(90deg,#e4f7ed 0%,#f8fffb 100%)!important;}
.hugb-smart-section.open > .hugb-smart-head .hugb-caret{transform:rotate(90deg)!important;}
.hugb-section-badge{min-width:110px!important;padding:7px 10px!important;display:inline-flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;text-align:center!important;line-height:1!important;}
.hugb-badge-text{display:block!important;white-space:nowrap!important;}
.hugb-mini-progress{display:block!important;height:5px!important;width:100%!important;background:#e7f4ed!important;border-radius:999px!important;overflow:hidden!important;}
.hugb-mini-progress i{display:block!important;height:100%!important;border-radius:999px!important;background:#16a85a!important;transition:width .22s ease!important;}
.hugb-smart-section.completed > .hugb-smart-head .hugb-mini-progress{background:rgba(255,255,255,.28)!important;}
.hugb-smart-section.completed > .hugb-smart-head .hugb-mini-progress i{background:#fff!important;}
.hugb-tabs button{transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important;}
.hugb-tabs button:hover{transform:translateY(-1px)!important;}
.hugb-check{transition:border-color .15s ease,background .15s ease,transform .12s ease!important;}
.hugb-check:hover{border-color:#bee7cf!important;background:#fbfffd!important;}
.hugb-check input[type="checkbox"]{transition:transform .12s ease!important;}
.hugb-check input[type="checkbox"]:checked{transform:scale(1.04)!important;}
.hugb-checklist-form button[type="submit"],.hugb-submit,.hugb-form-submit{transition:transform .12s ease,box-shadow .12s ease!important;}
.hugb-checklist-form button[type="submit"]:active,.hugb-submit:active,.hugb-form-submit:active{transform:scale(.985)!important;}
@media(max-width:760px){.hugb-section-badge{min-width:86px!important;gap:4px!important}.hugb-mini-progress{height:4px!important}.hugb-tablet-hint{border-radius:14px!important}.hugb-header-actions .hugb-fullscreen-btn,.hugb-header-actions .hugb-logout{font-size:14px!important;padding:13px 14px!important}}

/* v1.0.93 Application dropdown polish */
.hugb-application-card .hugb-current-head{margin-bottom:14px!important}
.hugb-application-form{display:flex!important;flex-direction:column!important;gap:12px!important}
.hugb-application-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
.hugb-application-grid input,
.hugb-application-grid select,
.hugb-application-form textarea{width:100%!important;box-sizing:border-box!important}
.hugb-select-field{display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important}
.hugb-select-field span{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:800!important;color:#0b4b31!important}
.hugb-select-field select{appearance:auto!important;background:#fff!important;border:1px solid #cfe5d8!important;border-radius:14px!important;padding:14px 14px!important;font-size:15px!important;color:#10271b!important;min-height:54px!important}
.hugb-application-checks{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
.hugb-application-checks .hugb-check{margin:0!important;min-height:52px!important}
@media(max-width:760px){.hugb-application-grid,.hugb-application-checks{grid-template-columns:1fr!important}.hugb-select-field select{min-height:50px!important}}

/* v1.0.94 Warehouse order polish */
.hugb-warehouse-card .hugb-current-head{margin-bottom:14px!important}
.hugb-warehouse-card .hugb-subtabs{justify-content:center!important;margin:10px 0 18px!important}
.hugb-warehouse-form{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
.hugb-warehouse-form input,.hugb-warehouse-form textarea,.hugb-warehouse-form label{box-sizing:border-box!important;width:100%!important}
.hugb-warehouse-form textarea{grid-column:1/-1!important;min-height:96px!important}
.hugb-warehouse-form button,.hugb-warehouse-form .hugb-alert{grid-column:auto!important}
.hugb-warehouse-form .hugb-alert{grid-column:1/-1!important}
.hugb-warehouse-form .hugb-field-label{display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important}
.hugb-warehouse-form .hugb-field-label span{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:800!important;color:#0b4b31!important}
.hugb-warehouse-form input[type="time"]{appearance:auto!important;background:#fff!important}
.hugb-warehouse-cancel-edit{background:#eef5f1!important;color:#0d3f2b!important;box-shadow:none!important}
.hugb-warehouse-order-list{display:flex!important;flex-direction:column!important;gap:12px!important}
.hugb-warehouse-order-item{border:1px solid #cfeede!important;border-radius:18px!important;background:#fbfffd!important;padding:14px!important;box-shadow:0 10px 24px rgba(6,63,39,.045)!important}
.hugb-edit-warehouse-order{background:#16a85a!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:10px 16px!important;font-weight:800!important;cursor:pointer!important;box-shadow:0 10px 20px rgba(22,168,90,.18)!important}
.hugb-empty-state{border:1px dashed #bee7cf!important;background:#f7fffa!important;border-radius:18px!important;padding:22px!important;text-align:center!important;color:#0b3f2b!important}
.hugb-empty-state p{margin:6px 0 0!important;color:#64776d!important}
@media(max-width:760px){.hugb-warehouse-form{grid-template-columns:1fr!important}.hugb-warehouse-form button{grid-column:1/-1!important}.hugb-edit-warehouse-order{width:auto!important}}

/* v1.0.98 manager warehouse history polish */
.hugb-warehouse-history-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:12px 0 18px}
.hugb-warehouse-history-filters label{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#0a3d2b;text-transform:uppercase;font-size:11px;letter-spacing:.06em}
.hugb-warehouse-history-filters input{min-width:180px}
.hugb-wh-csv{background:#18a957!important;color:#fff!important;border:none!important;border-radius:14px!important;padding:13px 18px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(24,169,87,.18)!important}
.hugb-wh-clear{background:#edf5f0!important;color:#123a2a!important;border:none!important;border-radius:14px!important;padding:13px 18px!important;font-weight:900!important}

/* v1.0.99 safe manager dashboard polish */
.hugb-manager-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.hugb-manager-context{display:inline-flex;align-items:center;border:1px solid #cfeede;background:#f2fbf6;color:#0b5a35;border-radius:999px;padding:8px 12px;font-weight:900;font-size:13px;white-space:nowrap}
.hugb-manager-cards{display:grid!important;grid-template-columns:repeat(4,minmax(150px,1fr))!important;gap:16px!important;margin-top:14px!important}
.hugb-manager-card{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.35)!important;background:linear-gradient(135deg,#18aa5a,#0f8c48)!important;color:#fff!important;border-radius:22px!important;padding:22px!important;text-align:left!important;min-height:138px!important;box-shadow:0 14px 34px rgba(12,115,60,.18)!important;transition:transform .18s ease,box-shadow .18s ease!important}
.hugb-manager-card:hover{transform:translateY(-2px)!important;box-shadow:0 20px 42px rgba(12,115,60,.24)!important}
.hugb-manager-card:after{content:"";position:absolute;right:-28px;top:-38px;width:110px;height:110px;background:rgba(255,255,255,.13);border-radius:50%}
.hugb-manager-icon{width:36px;height:36px;border-radius:14px;background:rgba(255,255,255,.18);display:inline-flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:12px;backdrop-filter:blur(4px)}
.hugb-manager-card strong{display:block!important;font-size:20px!important;margin:0 0 10px!important;color:#fff!important;position:relative;z-index:1}
.hugb-manager-card .hugb-manager-sub{display:inline-flex!important;align-items:center;background:rgba(255,255,255,.18)!important;color:#fff!important;border-radius:999px!important;padding:7px 11px!important;font-size:13px!important;font-weight:900!important;position:relative;z-index:1}
.hugb-manager-card em{display:block;margin-top:12px;font-style:normal;color:rgba(255,255,255,.86);font-weight:800;font-size:12px;position:relative;z-index:1}
.hugb-manager-card-clear{background:linear-gradient(135deg,#22ad62,#13a05a)!important}
.hugb-manager-card-active{background:linear-gradient(135deg,#17a85a,#087e3b)!important}
.hugb-manager-card-attention{background:linear-gradient(135deg,#f2a900,#e08300)!important;box-shadow:0 14px 34px rgba(224,131,0,.18)!important}
@media(max-width:900px){.hugb-manager-dashboard-head{display:block}.hugb-manager-context{margin-top:10px}.hugb-manager-cards{grid-template-columns:1fr!important}.hugb-manager-card{min-height:118px!important}}

/* v1.1.00 Candidate pipeline polish */
.hugb-application-filters{grid-template-columns:1.4fr .8fr .9fr auto;align-items:center}
.hugb-candidate-action{border:0;border-radius:14px;padding:10px 14px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(0,0,0,.08);transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease}
.hugb-candidate-action:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(0,0,0,.12)}
.hugb-candidate-action:disabled{opacity:.65;cursor:wait;transform:none}
.hugb-candidate-like{background:#18a957;color:#fff}
.hugb-candidate-reject{background:#fff1f1;color:#9f1d1d;border:1px solid #ffd3d3;box-shadow:none}
.hugb-app-status.pending{background:#fff0c2;color:#7a5600}
.hugb-app-status.liked{background:#dff8e9;color:#086b33}
.hugb-app-status.rejected{background:#ffe3e3;color:#8b1e1e}
.hugb-inline-success{margin:10px 0 0;background:#eafaf0;border:1px solid #bceccd;color:#064826;border-radius:14px;padding:10px 12px;font-weight:800}
@media(max-width:760px){.hugb-application-filters{display:flex;flex-direction:column;align-items:stretch}.hugb-review-actions{gap:8px;flex-wrap:wrap}.hugb-candidate-action{width:100%}}

/* v1.1.01 candidate final status cleanup */
.hugb-candidate-final-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 14px;font-weight:900;font-size:13px;border:1px solid transparent;white-space:nowrap}
.hugb-candidate-final-status.liked{background:#dcfce7;color:#075e2d;border-color:#b7efcb}
.hugb-candidate-final-status.rejected{background:#fff1f1;color:#9f1d1d;border-color:#ffd3d3}
.hugb-app-status.liked,.hugb-app-status.rejected{font-weight:900}


/* v1.1.02 Application delete control */
.hugb-application-delete{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;border-radius:999px;border:1px solid rgba(22,163,74,.25);
  background:#f0fdf4;color:#0b3d2a;font-size:16px;font-weight:800;cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,.06);transition:.18s ease;
}
.hugb-application-delete:hover{background:#ef4444;border-color:#ef4444;color:#fff;transform:translateY(-1px);}
.hugb-application-delete:disabled{opacity:.65;cursor:wait;transform:none;}


/* v1.1.04 application required field highlights */
.hugb-application-form .hugb-field-missing{
  border-color:#dc2626 !important;
  box-shadow:0 0 0 3px rgba(220,38,38,.12) !important;
  background:#fff7f7 !important;
}
.hugb-application-form .hugb-alert.err{
  border:1px solid rgba(220,38,38,.25);
  background:#fff7f7;
  color:#991b1b;
}

/* v1.1.05 application required field polish */
.hugb-application-grid .hugb-app-field-wrap{display:flex;flex-direction:column;gap:6px;width:100%;}
.hugb-application-grid .hugb-app-field-wrap input{width:100%!important;box-sizing:border-box!important;}
.hugb-application-form .hugb-app-required-msg{display:block;color:#b91c1c;font-size:12px;font-weight:800;line-height:1;margin-left:12px;margin-top:2px;}

/* v1.1.14 Warehouse edit modal */
.hugb-warehouse-edit-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:22px;opacity:0;pointer-events:none;transition:opacity .16s ease;}
.hugb-warehouse-edit-modal.open{opacity:1;pointer-events:auto;}
.hugb-warehouse-edit-backdrop{position:absolute;inset:0;background:rgba(5,20,14,.58);backdrop-filter:blur(5px);}
.hugb-warehouse-edit-box{position:relative;width:min(920px,96vw);max-height:90vh;overflow:auto;background:#fff;border:1px solid #cdebdc;border-radius:24px;box-shadow:0 24px 80px rgba(0,0,0,.28);padding:22px;transform:translateY(14px) scale(.98);transition:transform .16s ease;}
.hugb-warehouse-edit-modal.open .hugb-warehouse-edit-box{transform:translateY(0) scale(1);}
.hugb-warehouse-edit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #e2f3e9;}
.hugb-warehouse-edit-head h3{margin:0 0 4px;font-size:24px;line-height:1.1;color:#07140f;}
.hugb-warehouse-edit-head p{margin:0;color:#5d6d65;font-size:14px;}
.hugb-warehouse-modal-x{width:42px;height:42px;border:0;border-radius:999px;background:#edf7f1;color:#0b3d26;font-size:28px;line-height:1;cursor:pointer;}
.hugb-warehouse-modal-form{display:block!important;}
.hugb-warehouse-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;}
.hugb-warehouse-modal-form input,.hugb-warehouse-modal-form textarea{width:100%;}
.hugb-warehouse-modal-form textarea{min-height:110px;margin-bottom:14px;}
.hugb-warehouse-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.hugb-warehouse-modal-actions .hugb-warehouse-modal-cancel{background:#edf4ef;color:#123524;border:0;border-radius:16px;font-weight:800;cursor:pointer;padding:14px 18px;}
body:has(.hugb-warehouse-edit-modal.open){overflow:hidden;}
@media(max-width:760px){.hugb-warehouse-edit-modal{padding:12px;align-items:flex-end}.hugb-warehouse-edit-box{width:100%;max-height:92vh;border-radius:22px 22px 0 0}.hugb-warehouse-modal-grid,.hugb-warehouse-modal-actions{grid-template-columns:1fr}.hugb-warehouse-edit-head h3{font-size:21px}}

/* v1.1.16 Warehouse edit modal polished Higher Up theme */
.hugb-warehouse-edit-modal{position:fixed!important;inset:0!important;z-index:9999999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;opacity:0!important;pointer-events:none!important;transition:opacity .18s ease!important}.hugb-warehouse-edit-modal.open{opacity:1!important;pointer-events:auto!important}.hugb-warehouse-edit-backdrop{position:absolute!important;inset:0!important;background:rgba(5,22,14,.56)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}.hugb-warehouse-edit-box{position:relative!important;width:min(860px,94vw)!important;max-height:90vh!important;overflow:auto!important;background:linear-gradient(180deg,#fff 0%,#fbfffd 100%)!important;border:1px solid rgba(20,164,87,.22)!important;border-radius:28px!important;box-shadow:0 28px 90px rgba(0,0,0,.30),0 0 0 1px rgba(255,255,255,.55) inset!important;padding:26px!important;transform:translateY(12px) scale(.985)!important;transition:transform .18s ease!important;box-sizing:border-box!important}.hugb-warehouse-edit-modal.open .hugb-warehouse-edit-box{transform:translateY(0) scale(1)!important}.hugb-warehouse-edit-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;margin:0 0 20px!important;padding:0 0 16px!important;border-bottom:1px solid #dff2e8!important}.hugb-warehouse-edit-head h3{margin:0 0 6px!important;font-size:26px!important;line-height:1.1!important;color:#061f15!important;font-weight:900!important;letter-spacing:-.02em!important}.hugb-warehouse-edit-head p{margin:0!important;color:#617268!important;font-size:14px!important;font-weight:650!important}.hugb-warehouse-modal-x{width:44px!important;height:44px!important;min-width:44px!important;border:0!important;border-radius:999px!important;background:#ecf8f1!important;color:#0b3d26!important;font-size:28px!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important;font-weight:700!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}.hugb-warehouse-modal-x:hover{background:#dcf5e7!important;transform:translateY(-1px)!important}.hugb-warehouse-modal-form{display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.hugb-warehouse-modal-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin:0 0 14px!important}.hugb-warehouse-modal-form .hugb-modal-field{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;padding:0!important;color:#073f2b!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:900!important}.hugb-warehouse-modal-form .hugb-modal-field span{display:block!important;color:#073f2b!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:900!important;line-height:1.1!important}.hugb-warehouse-modal-form input,.hugb-warehouse-modal-form textarea{appearance:none!important;-webkit-appearance:none!important;width:100%!important;box-sizing:border-box!important;border:1px solid #cfe5d8!important;border-radius:16px!important;background:#fff!important;color:#10231a!important;font-size:16px!important;font-weight:650!important;line-height:1.3!important;padding:14px 16px!important;min-height:52px!important;outline:none!important;box-shadow:0 8px 18px rgba(6,63,39,.035)!important;font-family:inherit!important}.hugb-warehouse-modal-form input:focus,.hugb-warehouse-modal-form textarea:focus{border-color:#18a85d!important;box-shadow:0 0 0 4px rgba(24,168,93,.12),0 8px 18px rgba(6,63,39,.045)!important}.hugb-warehouse-modal-form textarea{min-height:116px!important;margin:0 0 16px!important;resize:vertical!important}.hugb-warehouse-modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin-top:4px!important}.hugb-warehouse-modal-actions .hugb-warehouse-save-btn{border:0!important;border-radius:16px!important;background:#18a85d!important;color:#fff!important;font-weight:900!important;font-size:16px!important;padding:15px 18px!important;min-height:54px!important;cursor:pointer!important;box-shadow:0 14px 32px rgba(24,168,93,.24)!important}.hugb-warehouse-modal-actions .hugb-warehouse-save-btn:hover{transform:translateY(-1px)!important;box-shadow:0 16px 36px rgba(24,168,93,.28)!important}.hugb-warehouse-modal-actions .hugb-warehouse-modal-cancel{border:0!important;border-radius:16px!important;background:#edf5f0!important;color:#123524!important;font-weight:900!important;font-size:16px!important;padding:15px 18px!important;min-height:54px!important;cursor:pointer!important;box-shadow:none!important}.hugb-warehouse-modal-actions .hugb-warehouse-modal-cancel:hover{background:#e4f0e9!important}.hugb-warehouse-modal-form .hugb-alert{margin-top:14px!important;border-radius:16px!important;padding:14px 16px!important;font-weight:800!important}body:has(.hugb-warehouse-edit-modal.open){overflow:hidden!important}@media(max-width:760px){.hugb-warehouse-edit-modal{padding:12px!important;align-items:flex-end!important}.hugb-warehouse-edit-box{width:100%!important;max-height:92vh!important;border-radius:24px 24px 0 0!important;padding:22px 16px!important}.hugb-warehouse-modal-grid,.hugb-warehouse-modal-actions{grid-template-columns:1fr!important}.hugb-warehouse-edit-head h3{font-size:22px!important}}

/* v1.1.18 Settings drawer + dark mode */
.hugb-header-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;}
.hugb-settings-open{border:0;border-radius:18px;background:#111;color:#fff;font-weight:900;padding:15px 20px;box-shadow:0 14px 30px rgba(0,0,0,.18);cursor:pointer;}
.hugb-settings-open:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(0,0,0,.22);}
.hugb-settings-overlay{position:fixed;inset:0;background:rgba(5,22,14,.42);backdrop-filter:blur(6px);z-index:1000000;opacity:0;pointer-events:none;transition:.22s ease;}
.hugb-settings-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(390px,92vw);background:#fff;border-left:1px solid #d6eadf;box-shadow:-24px 0 70px rgba(0,0,0,.24);z-index:1000001;transform:translateX(105%);transition:.25s ease;display:flex;flex-direction:column;padding:22px;gap:18px;}
body.hugb-settings-is-open .hugb-settings-overlay{opacity:1;pointer-events:auto;}
body.hugb-settings-is-open .hugb-settings-drawer{transform:translateX(0);}
.hugb-settings-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1f0e7;padding-bottom:18px;}
.hugb-settings-head strong{display:block;font-size:26px;line-height:1.1;color:#082d1c;}
.hugb-settings-head span{display:block;color:#688174;font-weight:700;margin-top:4px;}
.hugb-settings-close{width:44px;height:44px;border:0;border-radius:999px;background:#eaf7f0;color:#0b3f28;font-size:28px;line-height:1;cursor:pointer;font-weight:900;}
.hugb-settings-section{background:#f7fcf9;border:1px solid #dceee4;border-radius:18px;padding:14px;}
.hugb-settings-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;margin:0;}
.hugb-settings-toggle span{display:flex;flex-direction:column;gap:3px;}
.hugb-settings-toggle strong{color:#082d1c;font-size:16px;}
.hugb-settings-toggle small{color:#6a8175;font-weight:700;}
.hugb-settings-toggle input{display:none!important;}
.hugb-settings-toggle i{position:relative;display:block;width:58px;height:32px;border-radius:999px;background:#dceae2;box-shadow:inset 0 0 0 1px rgba(4,60,35,.09);transition:.2s;flex:0 0 auto;}
.hugb-settings-toggle i:before{content:"";position:absolute;width:26px;height:26px;left:3px;top:3px;border-radius:999px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.18);transition:.2s;}
.hugb-settings-toggle input:checked + i{background:#18a957;}
.hugb-settings-toggle input:checked + i:before{transform:translateX(26px);}
.hugb-settings-drawer .hugb-fullscreen-btn,.hugb-settings-logout{width:100%;border:0!important;border-radius:16px!important;padding:16px 18px!important;font-size:15px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 12px 28px rgba(0,0,0,.12)!important;}
.hugb-settings-drawer .hugb-fullscreen-btn{background:#19a85a!important;color:#fff!important;}
.hugb-settings-spacer{flex:1;}
.hugb-settings-logout{background:#111!important;color:#fff!important;margin-top:auto;}
body.hugb-dark-mode{background:#07140f!important;}
body.hugb-dark-mode .hugb-app,body.hugb-dark-mode.hugb-tablet-mode .hugb-app{background:#07140f!important;color:#eaf8ef!important;}
body.hugb-dark-mode .hugb-top-hero,body.hugb-dark-mode .hugb-card,body.hugb-dark-mode .hugb-panel.active,body.hugb-dark-mode .hugb-note,body.hugb-dark-mode .hugb-manager-note-stack .hugb-note,body.hugb-dark-mode .hugb-request-card,body.hugb-dark-mode .hugb-warehouse-card{background:#0d2017!important;border-color:#204b35!important;color:#eaf8ef!important;box-shadow:0 18px 50px rgba(0,0,0,.28)!important;}
body.hugb-dark-mode .hugb-top-copy h2,body.hugb-dark-mode h2,body.hugb-dark-mode h3,body.hugb-dark-mode h4,body.hugb-dark-mode label,body.hugb-dark-mode .hugb-card strong{color:#f2fff7!important;}
body.hugb-dark-mode .hugb-top-copy p,body.hugb-dark-mode p,body.hugb-dark-mode small,body.hugb-dark-mode .hugb-muted{color:#b7cfc2!important;}
body.hugb-dark-mode .hugb-tabs button{background:#12281d!important;color:#dff5e8!important;border-color:#234f38!important;}
body.hugb-dark-mode .hugb-tabs button.active{background:#18a957!important;color:#fff!important;}
body.hugb-dark-mode input,body.hugb-dark-mode select,body.hugb-dark-mode textarea{background:#0b1a13!important;border-color:#315a42!important;color:#f2fff7!important;}
body.hugb-dark-mode input::placeholder,body.hugb-dark-mode textarea::placeholder{color:#8ea798!important;}
body.hugb-dark-mode .hugb-date-badge,body.hugb-dark-mode .hugb-clock-badge,body.hugb-dark-mode .hugb-opened-badge,body.hugb-dark-mode .hugb-store-pill,body.hugb-dark-mode .hugb-alert{background:#102c1e!important;border-color:#2b6d47!important;color:#ddf8e8!important;}
body.hugb-dark-mode .hugb-settings-drawer{background:#0d2017;border-color:#204b35;color:#eaf8ef;}
body.hugb-dark-mode .hugb-settings-section,body.hugb-dark-mode .hugb-settings-close{background:#12281d;border-color:#234f38;color:#eaf8ef;}
body.hugb-dark-mode .hugb-settings-head{border-bottom-color:#234f38;}
body.hugb-dark-mode .hugb-settings-head strong,body.hugb-dark-mode .hugb-settings-toggle strong{color:#f2fff7;}
body.hugb-dark-mode .hugb-settings-head span,body.hugb-dark-mode .hugb-settings-toggle small{color:#b7cfc2;}
@media(max-width:820px){.hugb-settings-open{width:100%;}.hugb-settings-drawer{padding:18px;}}

/* v1.1.19 Polished settings drawer + tablet toggle */
.hugb-settings-open{display:inline-flex!important;align-items:center!important;gap:8px!important;border-radius:18px!important;background:#101312!important;color:#fff!important;font-weight:900!important;padding:15px 20px!important;box-shadow:0 14px 30px rgba(0,0,0,.18)!important;transition:transform .18s ease,box-shadow .18s ease!important;}
.hugb-settings-overlay{background:rgba(5,22,14,.48)!important;backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important;transition:opacity .24s ease!important;}
.hugb-settings-drawer{width:min(410px,94vw)!important;padding:24px!important;gap:14px!important;background:linear-gradient(180deg,#ffffff 0%,#fbfffd 100%)!important;box-shadow:-28px 0 80px rgba(0,0,0,.25)!important;transition:transform .28s cubic-bezier(.22,.9,.25,1)!important;}
.hugb-settings-head{align-items:flex-start!important;padding-bottom:18px!important;margin-bottom:2px!important;}
.hugb-settings-head strong{font-size:28px!important;letter-spacing:-.03em!important;}
.hugb-settings-head span{font-size:15px!important;color:#637b6e!important;}
.hugb-settings-close{width:40px!important;height:40px!important;min-width:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;font-size:24px!important;border-radius:999px!important;background:#eaf7f0!important;box-shadow:none!important;}
.hugb-settings-close:hover{background:#dff5e8!important;transform:translateY(-1px)!important;}
.hugb-settings-group-title{margin:10px 2px 2px!important;color:#0d5a36!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.1em!important;font-weight:950!important;}
.hugb-settings-section{background:#f7fcf9!important;border:1px solid #dceee4!important;border-radius:20px!important;padding:16px!important;box-shadow:0 10px 24px rgba(6,63,39,.035)!important;}
.hugb-settings-toggle{min-height:56px!important;}
.hugb-settings-toggle span{gap:4px!important;}
.hugb-settings-toggle strong{display:flex!important;align-items:center!important;gap:8px!important;font-size:16px!important;line-height:1.15!important;}
.hugb-settings-toggle strong em{font-style:normal!important;width:22px!important;text-align:center!important;}
.hugb-settings-toggle small{font-size:14px!important;line-height:1.35!important;}
.hugb-settings-toggle i{width:60px!important;height:34px!important;background:#dfece5!important;transition:background .22s ease,box-shadow .22s ease!important;}
.hugb-settings-toggle i:before{width:28px!important;height:28px!important;transition:transform .22s cubic-bezier(.22,.9,.25,1)!important;}
.hugb-settings-toggle input:checked + i{background:#19a85a!important;box-shadow:0 0 0 4px rgba(25,168,90,.12)!important;}
.hugb-settings-toggle input:checked + i:before{transform:translateX(26px)!important;}
.hugb-settings-logout{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:18px!important;padding:17px 18px!important;background:#101312!important;box-shadow:0 16px 34px rgba(0,0,0,.18)!important;}
body.hugb-dark-mode .hugb-settings-drawer{background:linear-gradient(180deg,#0d2017 0%,#091810 100%)!important;}
body.hugb-dark-mode .hugb-settings-group-title{color:#73d99f!important;}
body.hugb-dark-mode .hugb-settings-section{background:#12281d!important;border-color:#234f38!important;box-shadow:0 10px 24px rgba(0,0,0,.14)!important;}
body.hugb-dark-mode .hugb-settings-close{background:#173322!important;color:#eaf8ef!important;}
@media(max-width:820px){.hugb-settings-drawer{width:min(390px,96vw)!important;padding:20px!important}.hugb-settings-open{padding:14px 16px!important}}

/* v1.1.20 Dark mode readability fixes */
body.hugb-dark-mode .hugb-app,
body.hugb-dark-mode .hugb-app .hugb-card,
body.hugb-dark-mode .hugb-app .hugb-panel,
body.hugb-dark-mode .hugb-app .hugb-smart-section,
body.hugb-dark-mode .hugb-app .hugb-exchange-card,
body.hugb-dark-mode .hugb-app .hugb-request-card,
body.hugb-dark-mode .hugb-app .hugb-warehouse-card,
body.hugb-dark-mode .hugb-app .hugb-current-list,
body.hugb-dark-mode .hugb-app .hugb-current-card,
body.hugb-dark-mode .hugb-app .hugb-note,
body.hugb-dark-mode .hugb-app .hugb-empty{
  color:#eaf8ef!important;
}
body.hugb-dark-mode .hugb-app h1,
body.hugb-dark-mode .hugb-app h2,
body.hugb-dark-mode .hugb-app h3,
body.hugb-dark-mode .hugb-app h4,
body.hugb-dark-mode .hugb-app h5,
body.hugb-dark-mode .hugb-app h6,
body.hugb-dark-mode .hugb-app label,
body.hugb-dark-mode .hugb-app label span,
body.hugb-dark-mode .hugb-app strong,
body.hugb-dark-mode .hugb-app .hugb-smart-title,
body.hugb-dark-mode .hugb-app .hugb-section-badge,
body.hugb-dark-mode .hugb-app .hugb-current-card strong,
body.hugb-dark-mode .hugb-app .hugb-card-title{
  color:#f4fff8!important;
}
body.hugb-dark-mode .hugb-app p,
body.hugb-dark-mode .hugb-app small,
body.hugb-dark-mode .hugb-app .hugb-muted,
body.hugb-dark-mode .hugb-app .hugb-section-help,
body.hugb-dark-mode .hugb-app .hugb-current-card span,
body.hugb-dark-mode .hugb-app .hugb-field-hint{
  color:#bed8c9!important;
}
body.hugb-dark-mode .hugb-app .hugb-submit-done,
body.hugb-dark-mode .hugb-app .hugb-employee-pill,
body.hugb-dark-mode .hugb-app .hugb-alert,
body.hugb-dark-mode .hugb-app .hugb-date-badge,
body.hugb-dark-mode .hugb-app .hugb-clock-badge,
body.hugb-dark-mode .hugb-app .hugb-opened-badge,
body.hugb-dark-mode .hugb-app .hugb-store-pill{
  background:#102c1e!important;
  border-color:#2b6d47!important;
  color:#eaf8ef!important;
}
body.hugb-dark-mode .hugb-app .hugb-submit-done strong,
body.hugb-dark-mode .hugb-app .hugb-employee-pill strong,
body.hugb-dark-mode .hugb-app .hugb-alert strong{
  color:#ffffff!important;
}
body.hugb-dark-mode .hugb-app input,
body.hugb-dark-mode .hugb-app select,
body.hugb-dark-mode .hugb-app textarea{
  background:#071b12!important;
  color:#f4fff8!important;
  border-color:#2d6848!important;
  caret-color:#ffffff!important;
}
body.hugb-dark-mode .hugb-app input::placeholder,
body.hugb-dark-mode .hugb-app textarea::placeholder{
  color:#9ab4a4!important;
  opacity:1!important;
}
body.hugb-dark-mode .hugb-app option{
  background:#071b12!important;
  color:#f4fff8!important;
}
body.hugb-dark-mode .hugb-app .hugb-tabs button:not(.active),
body.hugb-dark-mode .hugb-app .hugb-subtabs button:not(.active){
  color:#dff5e8!important;
}
body.hugb-dark-mode .hugb-app .hugb-submitted-card{
  background:#0d2017!important;
  border-color:#204b35!important;
  border-left-color:#18a85a!important;
}

/* v1.1.21 Dark mode white field/card cleanup */
body.hugb-dark-mode .hugb-app .hugb-check,
body.hugb-dark-mode .hugb-app .hugb-inline-check,
body.hugb-dark-mode .hugb-app .hugb-complete-toggle,
body.hugb-dark-mode .hugb-app .hugb-case-done,
body.hugb-dark-mode .hugb-app .hugb-case-cleaning label,
body.hugb-dark-mode .hugb-app label.hugb-check,
body.hugb-dark-mode .hugb-app label.hugb-inline-check,
body.hugb-dark-mode .hugb-app .hugb-review-filters,
body.hugb-dark-mode .hugb-app .hugb-review-item,
body.hugb-dark-mode .hugb-app .hugb-review-fields > div{
  background:#0b1f15!important;
  border-color:#2d6848!important;
  color:#f4fff8!important;
  box-shadow:none!important;
}
body.hugb-dark-mode .hugb-app .hugb-check span,
body.hugb-dark-mode .hugb-app .hugb-inline-check span,
body.hugb-dark-mode .hugb-app .hugb-complete-toggle span,
body.hugb-dark-mode .hugb-app .hugb-case-done span,
body.hugb-dark-mode .hugb-app .hugb-case-cleaning label span{
  color:#f4fff8!important;
}
body.hugb-dark-mode .hugb-app input[type="checkbox"],
body.hugb-dark-mode .hugb-app input[type="radio"]{
  background:#071b12!important;
  border:1px solid #6aa77e!important;
  color:#ffffff!important;
  accent-color:#18a85a!important;
}
body.hugb-dark-mode .hugb-app .hugb-subtabs button,
body.hugb-dark-mode .hugb-app .hugb-review-actions button,
body.hugb-dark-mode .hugb-app button.hugb-secondary,
body.hugb-dark-mode .hugb-app button:not(.active):not(.hugb-settings-open):not(.hugb-logout):not(.hugb-primary):not([type="submit"]){
  background:#12281d!important;
  border:1px solid #2d6848!important;
  color:#eaf8ef!important;
}
body.hugb-dark-mode .hugb-app .hugb-subtabs button.active,
body.hugb-dark-mode .hugb-app button.active,
body.hugb-dark-mode .hugb-app button[type="submit"],
body.hugb-dark-mode .hugb-app .hugb-primary{
  background:#18a85a!important;
  color:#ffffff!important;
  border-color:#18a85a!important;
}
body.hugb-dark-mode .hugb-app .hugb-alert.ok,
body.hugb-dark-mode .hugb-app .hugb-submit-done,
body.hugb-dark-mode .hugb-app .hugb-status-pill,
body.hugb-dark-mode .hugb-app .hugb-pill,
body.hugb-dark-mode .hugb-app .hugb-store-banner{
  background:#102c1e!important;
  border-color:#2b6d47!important;
  color:#eaf8ef!important;
}
body.hugb-dark-mode .hugb-app .hugb-table-wrap table,
body.hugb-dark-mode .hugb-app .hugb-table-wrap tr,
body.hugb-dark-mode .hugb-app .hugb-table-wrap td,
body.hugb-dark-mode .hugb-app .hugb-table-wrap th{
  background:#0b1f15!important;
  border-color:#254f38!important;
  color:#eaf8ef!important;
}
body.hugb-dark-mode .hugb-app ::-webkit-calendar-picker-indicator,
body.hugb-dark-mode .hugb-app input[type="time"]::-webkit-calendar-picker-indicator{
  filter:invert(1) brightness(1.8)!important;
  opacity:.9!important;
}

/* v1.1.22 Settings cleanup */
.hugb-settings-close{color:#0b3f28!important;background:#e1f4ea!important;}
.hugb-settings-close:hover{color:#052718!important;background:#d2efdf!important;}
.hugb-settings-drawer .hugb-fullscreen-btn{display:none!important;}
body.hugb-dark-mode .hugb-settings-close{color:#f2fff7!important;background:#173322!important;}

/* v1.1.23 Greenbook dark mode text + contrast cleanup */
body.hugb-dark-mode .hugb-app .hugb-checklist-form,
body.hugb-dark-mode .hugb-app .hugb-greenbook-scroll,
body.hugb-dark-mode .hugb-app .hugb-smart-section,
body.hugb-dark-mode .hugb-app .hugb-smart-body{
  color:#f4fff8!important;
}
body.hugb-dark-mode .hugb-app .hugb-smart-section{
  background:#0b2117!important;
  border-color:#48a36b!important;
  box-shadow:0 12px 34px rgba(0,0,0,.22)!important;
}
body.hugb-dark-mode .hugb-app .hugb-smart-head{
  background:#0d271b!important;
  border-left-color:#20b966!important;
  color:#f7fff9!important;
}
body.hugb-dark-mode .hugb-app .hugb-smart-section.open > .hugb-smart-head{
  background:linear-gradient(90deg,#103322 0%,#0d271b 100%)!important;
}
body.hugb-dark-mode .hugb-app .hugb-smart-title,
body.hugb-dark-mode .hugb-app .hugb-smart-head strong,
body.hugb-dark-mode .hugb-app .hugb-checklist-form h2,
body.hugb-dark-mode .hugb-app .hugb-checklist-form h3,
body.hugb-dark-mode .hugb-app .hugb-checklist-form h4,
body.hugb-dark-mode .hugb-app .hugb-checklist-form label,
body.hugb-dark-mode .hugb-app .hugb-checklist-form strong{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:none!important;
}
body.hugb-dark-mode .hugb-app .hugb-section-help,
body.hugb-dark-mode .hugb-app .hugb-checklist-form p,
body.hugb-dark-mode .hugb-app .hugb-checklist-form small{
  color:#cfe7d8!important;
  opacity:1!important;
}
body.hugb-dark-mode .hugb-app .hugb-autosave-note{
  background:#113621!important;
  border-color:#38b76c!important;
  color:#eafff1!important;
  box-shadow:0 8px 20px rgba(0,0,0,.16)!important;
}
body.hugb-dark-mode .hugb-app .hugb-autosave-status{
  color:#bfe8cf!important;
}
body.hugb-dark-mode .hugb-app .hugb-section-badge{
  background:#f4fff8!important;
  border-color:#d8f4e2!important;
  color:#0b5130!important;
  opacity:1!important;
}
body.hugb-dark-mode .hugb-app .hugb-section-badge span,
body.hugb-dark-mode .hugb-app .hugb-section-badge b,
body.hugb-dark-mode .hugb-app .hugb-section-badge strong{
  color:#0b5130!important;
  opacity:1!important;
}
body.hugb-dark-mode .hugb-app .hugb-mini-progress{
  background:#d9efe2!important;
}
body.hugb-dark-mode .hugb-app .hugb-mini-progress i{
  background:#18a85a!important;
}
body.hugb-dark-mode .hugb-app .hugb-caret{
  background:#f4fff8!important;
  color:#0b5130!important;
  border-color:#d8f4e2!important;
}
body.hugb-dark-mode .hugb-app .hugb-smart-section.completed > .hugb-smart-head{
  background:linear-gradient(90deg,#135c35 0%,#0f3a25 100%)!important;
  border-left-color:#3bea86!important;
}
body.hugb-dark-mode .hugb-app .hugb-smart-section.completed > .hugb-smart-head .hugb-section-badge{
  background:#18a85a!important;
  color:#ffffff!important;
  border-color:#18a85a!important;
}
body.hugb-dark-mode .hugb-app .hugb-smart-section.completed > .hugb-smart-head .hugb-section-badge *{
  color:#ffffff!important;
}
body.hugb-dark-mode .hugb-app .hugb-submit-done,
body.hugb-dark-mode .hugb-app .hugb-submitted-card{
  background:#123923!important;
  border-color:#3bc575!important;
  color:#f4fff8!important;
}
body.hugb-dark-mode .hugb-app .hugb-submit-done *,
body.hugb-dark-mode .hugb-app .hugb-submitted-card *{
  color:#f4fff8!important;
  opacity:1!important;
}
body.hugb-dark-mode .hugb-app .hugb-checklist-form textarea,
body.hugb-dark-mode .hugb-app .hugb-checklist-form input,
body.hugb-dark-mode .hugb-app .hugb-checklist-form select{
  background:#071b12!important;
  color:#f4fff8!important;
  border-color:#3f8f5d!important;
}
body.hugb-dark-mode .hugb-app .hugb-checklist-form textarea::placeholder,
body.hugb-dark-mode .hugb-app .hugb-checklist-form input::placeholder{
  color:#b5cbbb!important;
  opacity:1!important;
}

/* v1.1.24 Light mode reset + settings sound toggle */
body.hugb-dark-mode,
body.hugb-dark-mode .hugb-app,
body.hugb-dark-mode.hugb-tablet-mode .hugb-app{
  background:#fff!important;
  color:#102319!important;
}
body.hugb-dark-mode .hugb-app,
body.hugb-dark-mode .hugb-top-hero,
body.hugb-dark-mode .hugb-card,
body.hugb-dark-mode .hugb-panel.active,
body.hugb-dark-mode .hugb-smart-section,
body.hugb-dark-mode .hugb-note,
body.hugb-dark-mode .hugb-request-card,
body.hugb-dark-mode .hugb-warehouse-card,
body.hugb-dark-mode .hugb-current-card,
body.hugb-dark-mode .hugb-empty{
  background:#fff!important;
  color:#102319!important;
  border-color:#d8ede0!important;
}
body.hugb-dark-mode .hugb-top-copy h2,
body.hugb-dark-mode .hugb-app h1,
body.hugb-dark-mode .hugb-app h2,
body.hugb-dark-mode .hugb-app h3,
body.hugb-dark-mode .hugb-app h4,
body.hugb-dark-mode .hugb-app h5,
body.hugb-dark-mode .hugb-app h6,
body.hugb-dark-mode .hugb-app label,
body.hugb-dark-mode .hugb-app strong,
body.hugb-dark-mode .hugb-card-title{
  color:#102319!important;
}
body.hugb-dark-mode .hugb-app p,
body.hugb-dark-mode .hugb-app small,
body.hugb-dark-mode .hugb-muted,
body.hugb-dark-mode .hugb-section-help,
body.hugb-dark-mode .hugb-field-hint{
  color:#5d7166!important;
}
body.hugb-dark-mode .hugb-app input,
body.hugb-dark-mode .hugb-app select,
body.hugb-dark-mode .hugb-app textarea{
  background:#fff!important;
  color:#102319!important;
  border-color:#cfe6d8!important;
}
body.hugb-dark-mode .hugb-app input::placeholder,
body.hugb-dark-mode .hugb-app textarea::placeholder{
  color:#7d9287!important;
}
.hugb-dark-toggle{display:none!important;}
.hugb-settings-close{background:#dff5e8!important;color:#083721!important;opacity:1!important;}
.hugb-settings-close:hover{background:#caecd9!important;color:#062b1a!important;}
.hugb-settings-toggle strong em{filter:none!important;}
.hugb-check-pop{animation:hugbCheckPop .18s ease-out;}
@keyframes hugbCheckPop{0%{transform:scale(1)}50%{transform:scale(1.015)}100%{transform:scale(1)}}

/* v1.1.26 Premium tablet-first Greenbook dashboard polish */
.hugb-command-center{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0 18px;}
.hugb-kpi-card{position:relative;overflow:hidden;background:#fff;border:1px solid #e5eee9;border-radius:20px;padding:18px 18px;min-height:98px;box-shadow:0 16px 42px rgba(14,61,38,.055);display:flex;flex-direction:column;justify-content:center;gap:4px;}
.hugb-kpi-card strong{font-size:24px;line-height:1;color:#10221a;font-weight:950;letter-spacing:-.03em;}
.hugb-kpi-card small{font-size:12px;color:#64736b;font-weight:800;}
.hugb-kpi-icon{width:38px;height:38px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:#f0fbf5;margin-bottom:6px;box-shadow:inset 0 0 0 1px rgba(22,163,74,.12);}
.hugb-kpi-complete i{position:absolute;left:0;bottom:0;height:6px;width:var(--hugb-progress,0%);background:linear-gradient(90deg,#10a957,#42d77d);border-radius:0 999px 999px 0;transition:width .25s ease;}
.hugb-sticky-progress{position:sticky;top:10px;z-index:8;display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:10px 13px;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border:1px solid #dcebe4;border-radius:999px;box-shadow:0 12px 28px rgba(14,61,38,.06);}
.hugb-sticky-progress-label{font-weight:950;color:#0f3f2a;font-size:13px;white-space:nowrap;}
.hugb-sticky-progress b{height:8px;flex:1;background:#edf6f1;border-radius:999px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(13,109,63,.08);}
.hugb-sticky-progress b i{display:block;height:100%;background:linear-gradient(90deg,#10a957,#54db88);border-radius:999px;transition:width .25s ease;}
.hugb-check{min-height:64px!important;border-radius:16px!important;border:1px solid #e1ebe6!important;background:#fff!important;padding:12px 14px!important;display:flex!important;align-items:center!important;gap:13px!important;box-shadow:0 8px 22px rgba(14,61,38,.035)!important;}
.hugb-check span{font-size:15px!important;font-weight:850!important;color:#18251f!important;line-height:1.25!important;}
.hugb-check input[type="checkbox"]{width:26px!important;height:26px!important;min-width:26px!important;border-radius:7px!important;accent-color:#11a85b!important;}
.hugb-check:has(input:checked){background:linear-gradient(180deg,#f8fffb,#eefbf4)!important;border-color:#a8e8c2!important;}
.hugb-check:has(input:checked) span{text-decoration:none!important;color:#0b5630!important;}
.hugb-task-subtext{display:block!important;margin-top:4px;font-size:12px!important;color:#6c7a72!important;font-weight:700!important;}
.hugb-smart-section{border-radius:22px!important;box-shadow:0 12px 32px rgba(14,61,38,.045)!important;overflow:hidden!important;}
.hugb-smart-head{min-height:68px!important;background:linear-gradient(90deg,#effaf4,#ffffff)!important;}
.hugb-smart-section.completed .hugb-smart-head{background:linear-gradient(90deg,#e8fbf0,#ffffff)!important;}
.hugb-smart-section.completed .hugb-smart-title{color:#0f7a43!important;}
.hugb-check-pop{animation:hugbCheckPop .18s ease-out;}
@keyframes hugbCheckPop{0%{transform:scale(1)}50%{transform:scale(1.018)}100%{transform:scale(1)}}
body.hugb-tablet-mode .hugb-app{padding-left:292px!important;background:#fbfdfb!important;}
body.hugb-tablet-mode .hugb-tabs{position:fixed!important;left:18px!important;top:18px!important;bottom:18px!important;width:246px!important;z-index:999999!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:8px!important;margin:0!important;padding:150px 16px 18px!important;background:linear-gradient(180deg,#f0fff5,#ffffff)!important;border:1px solid #d8ece2!important;border-radius:24px!important;box-shadow:0 24px 70px rgba(14,61,38,.12)!important;overflow-y:auto!important;}
body.hugb-tablet-mode .hugb-tabs:before{content:"";position:absolute;top:24px;left:50%;transform:translateX(-50%);width:130px;height:90px;background:var(--hugb-logo-url, none) center/contain no-repeat;}
body.hugb-tablet-mode .hugb-tabs button{width:100%!important;justify-content:flex-start!important;text-align:left!important;border-radius:14px!important;padding:14px 15px!important;background:transparent!important;color:#3c5047!important;font-weight:900!important;box-shadow:none!important;}
body.hugb-tablet-mode .hugb-tabs button.active{background:linear-gradient(135deg,#0fa95a,#08733d)!important;color:#fff!important;box-shadow:0 14px 28px rgba(16,169,87,.22)!important;}
body.hugb-tablet-mode .hugb-top-hero,body.hugb-tablet-mode .hugb-panel,body.hugb-tablet-mode .hugb-app>.hugb-card,body.hugb-tablet-mode .hugb-note{max-width:none!important;}
body.hugb-tablet-mode .hugb-command-center{grid-template-columns:repeat(5,minmax(150px,1fr));}
body.hugb-tablet-mode .hugb-greenbook-scroll{padding:24px!important;}
@media(max-width:1100px){.hugb-command-center{grid-template-columns:repeat(2,minmax(0,1fr));}.hugb-kpi-card{min-height:86px}.hugb-sticky-progress{top:6px}body.hugb-tablet-mode .hugb-app{padding-left:18px!important}body.hugb-tablet-mode .hugb-tabs{position:static!important;width:auto!important;flex-direction:row!important;padding:10px!important;margin:0 0 14px!important;border-radius:18px!important;overflow-x:auto!important}body.hugb-tablet-mode .hugb-tabs:before{display:none!important}body.hugb-tablet-mode .hugb-tabs button{min-width:max-content!important;width:auto!important}}
@media(max-width:720px){.hugb-command-center{grid-template-columns:1fr}.hugb-sticky-progress{border-radius:16px;align-items:flex-start;flex-direction:column}.hugb-sticky-progress b{width:100%;flex:none}.hugb-kpi-card strong{font-size:22px}}

/* v1.1.27 Tablet QA fixes: non-sticky progress, centered login, warehouse time field */
.hugb-sticky-progress{
  position:relative!important;
  top:auto!important;
  z-index:1!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.hugb-tablet-mode .hugb-app:has(.hugb-login-card),
.hugb-app:has(.hugb-login-card){
  max-width:none!important;
  width:100%!important;
  min-height:calc(100dvh - 40px)!important;
  padding:18px!important;
  padding-left:18px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.hugb-app:has(.hugb-login-card) .hugb-login-card{
  width:min(560px,92vw)!important;
  max-width:560px!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}
.hugb-warehouse-form{ align-items:end!important; }
.hugb-warehouse-form .hugb-field-label{
  min-width:0!important;
  align-self:stretch!important;
  justify-content:flex-end!important;
}
.hugb-warehouse-form .hugb-field-label input,
.hugb-warehouse-form input,
.hugb-warehouse-form textarea{
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
}
.hugb-warehouse-form .hugb-time-field input[type="time"]{
  display:block!important;
  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  padding:0 18px!important;
  text-align:left!important;
  line-height:58px!important;
  box-sizing:border-box!important;
}
body.hugb-tablet-mode .hugb-warehouse-form .hugb-time-field input[type="time"]{ font-size:18px!important; }
@media(max-width:900px){
  .hugb-warehouse-form{grid-template-columns:1fr!important;}
  .hugb-warehouse-form button,
  .hugb-warehouse-form .hugb-alert{grid-column:1/-1!important;}
}

/* v1.1.28 iPad warehouse time input hard fix */
.hugb-warehouse-form .hugb-time-field{display:flex!important;flex-direction:column!important;gap:8px!important;align-self:stretch!important;justify-content:flex-start!important;}
.hugb-warehouse-form .hugb-time-field span,.hugb-warehouse-modal-form .hugb-time-field span{position:static!important;display:block!important;line-height:1.1!important;margin:0!important;padding:0!important;}
.hugb-warehouse-form .hugb-time-field input[name="timearrived"],.hugb-warehouse-modal-form .hugb-time-field input[name="timearrived"]{-webkit-appearance:none!important;appearance:none!important;display:block!important;width:100%!important;height:64px!important;min-height:64px!important;line-height:64px!important;padding:0 20px!important;margin:0!important;box-sizing:border-box!important;border:1px solid #cfe5d8!important;border-radius:18px!important;background:#fff!important;color:#10271b!important;font-size:22px!important;font-weight:700!important;text-align:left!important;font-family:inherit!important;}
.hugb-warehouse-form .hugb-time-field input[name="timearrived"]:focus,.hugb-warehouse-modal-form .hugb-time-field input[name="timearrived"]:focus{outline:none!important;border-color:#16a85a!important;box-shadow:0 0 0 4px rgba(22,168,90,.12)!important;}
body.hugb-tablet-mode .hugb-warehouse-form .hugb-time-field input[name="timearrived"]{height:66px!important;min-height:66px!important;line-height:66px!important;font-size:23px!important;}

/* v1.1.29 - Next Task KPI replacement */
.hugb-kpi-next-card strong.hugb-kpi-next{
  font-size:20px;
  line-height:1.08;
  letter-spacing:-.02em;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.hugb-next-task-highlight{
  border-color:#12a85a!important;
  box-shadow:0 0 0 3px rgba(18,168,90,.10),0 12px 28px rgba(18,168,90,.10)!important;
}
.hugb-next-section-highlight > .hugb-smart-head{
  background:linear-gradient(90deg,#eafff2,#f8fffb)!important;
}
body.hugb-tablet-mode .hugb-kpi-next-card strong.hugb-kpi-next{font-size:18px;}


/* v1.1.30 multiple case cleaning boxes */
.hugb-case-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.hugb-case-toolbar .hugb-section-help{margin:0; flex:1;}
.hugb-add-case-cleaning{
  border:0;
  border-radius:999px;
  padding:11px 16px;
  background:#10a651;
  color:#fff;
  font-weight:900;
  box-shadow:0 10px 24px rgba(16,166,81,.20);
  cursor:pointer;
  white-space:nowrap;
}
.hugb-case-cleaning-list{
  display:grid;
  gap:12px;
}
.hugb-case-cleaning{
  border:1px solid rgba(16,166,81,.18);
  background:rgba(255,255,255,.78);
  border-radius:18px;
  padding:14px;
}
.hugb-case-person{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:900;
  color:#063b25;
  margin-bottom:10px;
}
.hugb-case-person small{
  font-weight:800;
  color:#5b7168;
  margin-left:8px;
}
.hugb-remove-case-cleaning{
  margin-left:auto;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(16,166,81,.25);
  background:#fff;
  color:#0b4b31;
  font-size:22px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
}
.hugb-case-pin-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(5,20,14,.45);
  backdrop-filter:blur(8px);
  align-items:center;
  justify-content:center;
  padding:24px;
}
.hugb-case-pin-card{
  width:min(480px,94vw);
  background:#fff;
  border-radius:28px;
  border:1px solid rgba(16,166,81,.18);
  box-shadow:0 30px 80px rgba(0,0,0,.24);
  padding:28px;
  text-align:center;
  position:relative;
}
.hugb-case-pin-close{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  border-radius:999px;
  border:0;
  background:#eef7f1;
  color:#063b25;
  font-size:24px;
  font-weight:900;
}
.hugb-case-pin-logo{
  max-width:150px;
  max-height:100px;
  object-fit:contain;
  margin:0 auto 10px;
  display:block;
}
.hugb-case-pin-card h3{
  margin:6px 0 8px;
  font-size:28px;
  color:#10261d;
}
.hugb-case-pin-card p{
  margin:0 0 18px;
  color:#5d6f67;
  font-weight:700;
}
.hugb-case-pin-input{
  width:100%;
  border:1px solid rgba(6,59,37,.22);
  border-radius:18px;
  padding:18px;
  font-size:24px;
  text-align:center;
  letter-spacing:4px;
}
.hugb-case-pin-error{
  margin-top:10px;
  color:#b42318;
  font-weight:900;
}
.hugb-case-pin-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:16px;
}
.hugb-case-pin-actions button{
  border:0;
  border-radius:16px;
  padding:15px;
  font-weight:900;
  cursor:pointer;
}
.hugb-case-pin-cancel{background:#eef7f1;color:#063b25;}
.hugb-case-pin-add{background:#10a651;color:white;}
@media (max-width:900px){
  .hugb-case-toolbar{align-items:stretch; flex-direction:column;}
  .hugb-add-case-cleaning{width:100%; padding:14px;}
  .hugb-case-pin-card{padding:24px;}
}


/* v1.1.31 center additional case cleaning delete X */
.hugb-app .hugb-remove-case-cleaning,
.hugb-remove-case-cleaning{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:34px!important;
  max-height:34px!important;
  padding:0!important;
  margin-left:auto!important;
  border-radius:999px!important;
  line-height:1!important;
  text-align:center!important;
  font-size:20px!important;
  font-weight:900!important;
  transform:none!important;
}
.hugb-app .hugb-remove-case-cleaning::before,
.hugb-remove-case-cleaning::before{
  content:none!important;
}

/* v1.1.33 DRTY Soda module */
.hugb-tabs .hugb-drty-tab{background:#ef4444!important;color:#fff!important;border-color:#ef4444!important;box-shadow:0 12px 24px rgba(239,68,68,.25)!important;}
.hugb-drty-wrap{border-color:#fecaca!important;background:linear-gradient(180deg,#fff 0%,#fff7f7 100%)!important;}
.hugb-drty-hero{display:flex;gap:18px;align-items:center;background:linear-gradient(135deg,#ef4444,#991b1b);border-radius:22px;padding:18px;color:#fff;margin-bottom:18px;box-shadow:0 16px 30px rgba(153,27,27,.18)}
.hugb-drty-hero img{width:118px;height:78px;object-fit:contain;background:#fff;border-radius:18px;padding:8px;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.hugb-drty-hero h3{margin:0;color:#fff;font-size:30px}.hugb-drty-hero p{margin:4px 0 0;color:#fee2e2}.hugb-drty-kicker{text-transform:uppercase;font-weight:900;letter-spacing:.12em;font-size:12px;color:#fee2e2}
.hugb-drty-progress{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #fecaca;border-radius:999px;padding:12px 16px;margin:10px 0 18px;font-weight:900;color:#7f1d1d}.hugb-drty-progress i{display:block;flex:1;height:10px;border-radius:999px;background:#fee2e2;overflow:hidden}.hugb-drty-progress em{display:block;height:100%;background:#ef4444;border-radius:999px;transition:.25s}
.hugb-drty-form h4{font-size:22px;margin:22px 0 10px;color:#7f1d1d}.hugb-drty-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hugb-drty-check{background:#fff;border:1px solid #fecaca;border-radius:16px;padding:16px;font-weight:900;display:flex;gap:12px;align-items:center}.hugb-drty-check input{width:24px;height:24px;accent-color:#ef4444}
.hugb-drty-section{background:#fff;border:1px solid #fecaca;border-radius:20px;padding:16px;margin:16px 0}.hugb-drty-section h5{font-size:17px;color:#7f1d1d;margin:0 0 12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.hugb-drty-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hugb-drty-row{display:grid;grid-template-columns:1fr 130px 130px;gap:10px;align-items:center;border:1px solid #fee2e2;border-radius:14px;padding:10px}.hugb-drty-row label{font-weight:850;color:#1f1f1f}.hugb-drty-row select{height:44px;border-radius:12px;border:1px solid #fca5a5;background:#fff;padding:0 10px;font-weight:800;color:#7f1d1d}.hugb-drty-submit{width:100%;border:0;border-radius:18px;background:#dc2626;color:#fff;font-size:20px;font-weight:950;padding:18px;margin-top:18px;box-shadow:0 18px 35px rgba(220,38,38,.24)}
.hugb-drty-complete{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #fecaca;border-radius:18px;padding:18px;color:#7f1d1d}.hugb-drty-complete strong{font-size:22px}.hugb-drty-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(8px);z-index:999999;display:flex;align-items:center;justify-content:center}.hugb-drty-modal-card{width:min(430px,92vw);background:#fff;border-radius:24px;padding:26px;position:relative;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.28)}.hugb-drty-modal-card img{width:130px;height:92px;object-fit:contain}.hugb-drty-modal-card h3{font-size:28px;margin:8px 0;color:#7f1d1d}.hugb-drty-modal-card p{color:#555;font-weight:700}.hugb-drty-modal-card input{width:100%;height:54px;border-radius:16px;border:1px solid #fca5a5;background:#fff7f7;text-align:center;font-size:24px;letter-spacing:.18em;margin:12px 0}.hugb-drty-modal-card>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hugb-drty-cancel,.hugb-drty-confirm{height:48px;border:0;border-radius:14px;font-weight:900}.hugb-drty-cancel{background:#f3f4f6;color:#374151}.hugb-drty-confirm{background:#dc2626;color:#fff}.hugb-drty-modal-x{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:50%;background:#fee2e2;color:#7f1d1d;font-size:22px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1}
@media(max-width:900px){.hugb-drty-grid,.hugb-drty-checks{grid-template-columns:1fr}.hugb-drty-row{grid-template-columns:1fr 110px 110px}.hugb-drty-hero h3{font-size:24px}.hugb-drty-hero img{width:96px}}

/* v1.1.34 DRTY Soda inventory readability upgrade */
.hugb-drty-section{padding:0!important;overflow:hidden;}
.hugb-drty-section-toggle{width:100%;border:0;background:linear-gradient(90deg,#fff5f5,#fff);color:#7f1d1d;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;font-size:17px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;text-align:left;}
.hugb-drty-section-toggle i{width:34px;height:34px;border-radius:999px;background:#fee2e2;color:#7f1d1d;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:18px;transition:.18s ease;}
.hugb-drty-section:not(.is-open) .hugb-drty-section-toggle i{transform:rotate(-90deg);}
.hugb-drty-section-body{padding:0 16px 16px;}
.hugb-drty-section:not(.is-open) .hugb-drty-section-body{display:none;}
.hugb-drty-section h5{display:none!important;}
.hugb-drty-table-head{display:grid;grid-template-columns:1fr 150px 120px;gap:10px;margin:4px 0 8px;padding:0 10px;color:#991b1b;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.12em;}
.hugb-drty-row{grid-template-columns:1fr 150px 120px!important;background:#fff;}
.hugb-drty-row select,.hugb-drty-row input.hugb-drty-backup-input{height:46px;border-radius:12px;border:1px solid #fca5a5;background:#fff;padding:0 12px;font-weight:850;color:#7f1d1d;font-size:15px;box-sizing:border-box;width:100%;}
.hugb-drty-row input.hugb-drty-backup-input::placeholder{color:#b91c1c99;}
.hugb-drty-row:focus-within{border-color:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.09);}
@media(max-width:900px){.hugb-drty-table-head{grid-template-columns:1fr 120px 100px}.hugb-drty-row{grid-template-columns:1fr 120px 100px!important}.hugb-drty-section-toggle{font-size:15px;padding:14px}}

/* v1.1.35 DRTY Soda red inventory polish */
.hugb-drty-wrap{
  --drty-red:#e11d2e;
  --drty-red-dark:#7f1118;
  --drty-red-deep:#111111;
  --drty-soft:#fff1f2;
  --drty-border:#fecdd3;
}
.hugb-drty-section{border-color:#fecdd3!important;background:#fff!important;box-shadow:0 14px 32px rgba(127,17,24,.06)!important;}
.hugb-drty-section-toggle{background:linear-gradient(135deg,#111 0%,#7f1118 48%,#e11d2e 100%)!important;color:#fff!important;box-shadow:0 12px 24px rgba(225,29,46,.18)!important;}
.hugb-drty-section-toggle i{background:rgba(255,255,255,.18)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;}
.hugb-drty-table-head{color:#7f1118!important;border-bottom:1px solid #ffe4e6;padding-bottom:8px!important;margin-bottom:10px!important;}
.hugb-drty-row{border-color:#ffe4e6!important;background:linear-gradient(180deg,#fff,#fffafa)!important;transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;}
.hugb-drty-row:hover{border-color:#fda4af!important;box-shadow:0 8px 22px rgba(225,29,46,.08);}
.hugb-drty-row select,.hugb-drty-row input.hugb-drty-backup-input{border:1.5px solid #fca5a5!important;color:#7f1118!important;background:#fff!important;box-shadow:none!important;}
.hugb-drty-row select{appearance:auto!important;font-weight:950!important;}
.hugb-drty-row select:focus,.hugb-drty-row input.hugb-drty-backup-input:focus{outline:none!important;border-color:#e11d2e!important;box-shadow:0 0 0 4px rgba(225,29,46,.11)!important;}
.hugb-drty-row select.drty-status-empty{background:#fff!important;color:#7f1118!important;}
.hugb-drty-row select.drty-status-full{background:#ecfdf5!important;border-color:#86efac!important;color:#166534!important;}
.hugb-drty-row select.drty-status-half,.hugb-drty-row select.drty-status-34,.hugb-drty-row select.drty-status-12{background:#fffbeb!important;border-color:#fbbf24!important;color:#92400e!important;}
.hugb-drty-row select.drty-status-out,.hugb-drty-row select.drty-status-14{background:#fff1f2!important;border-color:#e11d2e!important;color:#991b1b!important;}
.hugb-drty-row input.hugb-drty-backup-input:not(:placeholder-shown){font-weight:950;}
.hugb-drty-attention-card{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,#fff1f2,#fff);border:1px solid #fecdd3;border-left:8px solid #e11d2e;border-radius:18px;padding:14px 16px;margin:0 0 16px;color:#7f1118;box-shadow:0 10px 24px rgba(225,29,46,.08)}
.hugb-drty-attention-card strong{display:block;font-size:18px;font-weight:950;color:#7f1118}.hugb-drty-attention-card span{display:block;font-weight:850;color:#5f2a2a;margin-top:2px}.hugb-drty-attention-card small{font-weight:850;color:#991b1b;text-align:right;}
.hugb-drty-attention-card.has-attention{background:linear-gradient(135deg,#fee2e2,#fff);border-color:#fca5a5;box-shadow:0 14px 30px rgba(225,29,46,.13)}
@media(max-width:900px){.hugb-drty-attention-card{align-items:flex-start;flex-direction:column}.hugb-drty-attention-card small{text-align:left}.hugb-drty-row{grid-template-columns:1fr!important}.hugb-drty-table-head{display:none!important}.hugb-drty-row select,.hugb-drty-row input.hugb-drty-backup-input{height:50px!important}}

/* v1.1.36 DRTY inventory rebuild: employee-facing screen stays clean, email handles needs attention */
.hugb-drty-hero{background:linear-gradient(135deg,#111 0%,#6f0d13 46%,#e11d2e 100%)!important;align-items:center!important;}
.hugb-drty-hero img{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:0 14px 34px rgba(0,0,0,.24)!important;padding:6px!important;border-radius:18px!important;object-fit:contain!important;}
.hugb-drty-attention-card{display:none!important;}
.hugb-drty-section{border:1px solid #f3d2d6!important;border-radius:20px!important;box-shadow:none!important;background:#fff!important;}
.hugb-drty-section-toggle{background:linear-gradient(135deg,#181818 0%,#4b0b0f 60%,#b51220 100%)!important;box-shadow:none!important;}
.hugb-drty-section-body{padding:14px!important;background:#fffafa!important;}
.hugb-drty-table-head{display:none!important;}
.hugb-drty-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
.hugb-drty-row{display:grid!important;grid-template-columns:1.15fr .95fr .75fr!important;gap:12px!important;align-items:end!important;background:#fff!important;border:1px solid #f4d7db!important;border-radius:16px!important;padding:14px!important;box-shadow:0 8px 18px rgba(127,17,24,.035)!important;transform:none!important;}
.hugb-drty-row:hover{box-shadow:0 8px 18px rgba(127,17,24,.035)!important;border-color:#efc3c8!important;}
.hugb-drty-item-name{font-weight:950!important;color:#181818!important;font-size:16px!important;line-height:1.2!important;padding-bottom:12px!important;}
.hugb-drty-field{display:flex!important;flex-direction:column!important;gap:6px!important;}
.hugb-drty-field span{font-size:11px!important;line-height:1!important;font-weight:950!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#7f1118!important;}
.hugb-drty-row select,.hugb-drty-row input.hugb-drty-backup-input{height:48px!important;border-radius:14px!important;border:1.5px solid #ef9aa3!important;background:#fff!important;color:#7f1118!important;font-weight:950!important;font-size:15px!important;padding:0 12px!important;box-shadow:none!important;}
.hugb-drty-row select:focus,.hugb-drty-row input.hugb-drty-backup-input:focus{outline:none!important;border-color:#dc2626!important;box-shadow:0 0 0 4px rgba(220,38,38,.10)!important;}
.hugb-drty-row select.drty-status-empty,.hugb-drty-row select.drty-status-full{background:#fff!important;border-color:#ef9aa3!important;color:#7f1118!important;}
.hugb-drty-row select.drty-status-half,.hugb-drty-row select.drty-status-34,.hugb-drty-row select.drty-status-12{background:#fff7ed!important;border-color:#fb923c!important;color:#9a3412!important;}
.hugb-drty-row select.drty-status-out,.hugb-drty-row select.drty-status-14{background:#fff1f2!important;border-color:#dc2626!important;color:#991b1b!important;}
.hugb-drty-row.drty-needs-attention{border-color:#f4d7db!important;box-shadow:0 8px 18px rgba(127,17,24,.035)!important;}
.hugb-drty-row input.hugb-drty-backup-input.has-backup{background:#fff1f2!important;border-color:#dc2626!important;color:#991b1b!important;}
@media(max-width:900px){.hugb-drty-row{grid-template-columns:1fr!important;align-items:stretch!important}.hugb-drty-item-name{padding-bottom:0!important;font-size:17px!important}.hugb-drty-field span{font-size:12px!important}.hugb-drty-row select,.hugb-drty-row input.hugb-drty-backup-input{height:52px!important}}

/* v1.1.37 DRTY logo/header fix: true transparent asset + intentional premium badge */
.hugb-drty-hero{
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg,#12080a 0%,#5a0b11 48%,#e11d2e 100%)!important;
  padding:20px!important;
  gap:18px!important;
  border:1px solid rgba(225,29,46,.28)!important;
}
.hugb-drty-hero img{
  width:126px!important;
  height:82px!important;
  object-fit:contain!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.92)!important;
  border-radius:18px!important;
  padding:8px 12px!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22), inset 0 0 0 1px rgba(0,0,0,.035)!important;
  filter:none!important;
  opacity:1!important;
}
.hugb-drty-modal-card img{
  background:#fff!important;
  border-radius:18px!important;
  padding:8px 12px!important;
  border:1px solid #fee2e2!important;
  box-shadow:0 10px 22px rgba(127,17,24,.10)!important;
  object-fit:contain!important;
  filter:none!important;
  opacity:1!important;
}
@media(max-width:900px){
  .hugb-drty-hero img{width:112px!important;height:74px!important;}
}

/* v1.1.38 DRTY layout refinements: collapsible checklist, spacing break, Redbull on-hand, CO2 status-only */
.hugb-tabs .hugb-drty-tab,
.hugb-tablet-mode .hugb-tabs .hugb-drty-tab{
  background:linear-gradient(135deg,#111 0%,#7f1118 55%,#dc2626 100%)!important;
  color:#fff!important;
  border-color:#dc2626!important;
  box-shadow:0 14px 28px rgba(220,38,38,.22)!important;
}
.hugb-drty-check-section{margin-bottom:22px!important;}
.hugb-drty-check-section .hugb-drty-section-toggle{background:linear-gradient(135deg,#1b0f10 0%,#701117 62%,#dc2626 100%)!important;}
.hugb-drty-check-section .hugb-drty-section-body{padding:18px!important;background:#fff!important;}
.hugb-drty-break{height:22px;margin:22px 0;border-top:1px solid #fee2e2;border-bottom:1px solid #fff;background:linear-gradient(90deg,transparent,#fee2e2,transparent);opacity:.9;}
.hugb-drty-wrap h4{margin-top:0!important;}
.hugb-drty-row-onhand{grid-template-columns:1.15fr 1.7fr!important;}
.hugb-drty-row-status-only{grid-template-columns:1.15fr 1.7fr!important;}
.hugb-drty-field-wide{max-width:none!important;}
.hugb-drty-row input.hugb-drty-onhand-input{
  height:48px!important;
  border-radius:14px!important;
  border:1.5px solid #ef9aa3!important;
  background:#fff!important;
  color:#7f1118!important;
  font-weight:950!important;
  font-size:15px!important;
  padding:0 12px!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  width:100%!important;
}
.hugb-drty-row input.hugb-drty-onhand-input:focus{outline:none!important;border-color:#dc2626!important;box-shadow:0 0 0 4px rgba(220,38,38,.10)!important;}
.hugb-drty-row input.hugb-drty-onhand-input.has-onhand{background:#fff1f2!important;border-color:#dc2626!important;color:#991b1b!important;}
.hugb-drty-submit{background:linear-gradient(135deg,#111 0%,#7f1118 55%,#dc2626 100%)!important;color:#fff!important;box-shadow:0 16px 34px rgba(220,38,38,.22)!important;}
@media(max-width:900px){
  .hugb-drty-row-onhand,.hugb-drty-row-status-only{grid-template-columns:1fr!important;}
  .hugb-drty-break{height:16px;margin:18px 0;}
}

/* v1.1.39 DRTY inventory double-column restore + notes */
.hugb-drty-section .hugb-drty-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.hugb-drty-section .hugb-drty-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  align-items:stretch!important;
  min-height:124px!important;
  padding:14px!important;
}
.hugb-drty-row .hugb-drty-item-name{
  font-size:16px!important;
  font-weight:950!important;
  color:#141414!important;
  line-height:1.2!important;
  padding:0!important;
}
.hugb-drty-row .hugb-drty-field{min-width:0!important;}
.hugb-drty-row .hugb-drty-field span{
  display:block!important;
  margin:0 0 6px!important;
  color:#8b1118!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}
.hugb-drty-row select,
.hugb-drty-row input.hugb-drty-backup-input,
.hugb-drty-row input.hugb-drty-onhand-input{width:100%!important;}
.hugb-drty-row:not(.hugb-drty-row-onhand):not(.hugb-drty-row-status-only){grid-template-columns:1fr 1fr!important;}
.hugb-drty-row:not(.hugb-drty-row-onhand):not(.hugb-drty-row-status-only) .hugb-drty-item-name{grid-column:1 / -1!important;}
.hugb-drty-row-onhand,.hugb-drty-row-status-only{grid-template-columns:1fr!important;}
.hugb-drty-notes-section{
  margin:22px 0 14px!important;
  padding:18px!important;
  border:1px solid #fecaca!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff,#fff7f8)!important;
}
.hugb-drty-notes-section label{
  display:block!important;
  color:#7f1118!important;
  font-size:18px!important;
  font-weight:950!important;
  margin:0 0 4px!important;
}
.hugb-drty-notes-section p{
  margin:0 0 12px!important;
  color:#596963!important;
  font-weight:700!important;
}
.hugb-drty-notes-section textarea{
  width:100%!important;
  min-height:110px!important;
  border:1.5px solid #ef9aa3!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#111!important;
  font-size:16px!important;
  font-weight:750!important;
  padding:14px!important;
  box-sizing:border-box!important;
  resize:vertical!important;
}
.hugb-drty-notes-section textarea:focus{outline:none!important;border-color:#dc2626!important;box-shadow:0 0 0 4px rgba(220,38,38,.10)!important;}
@media(max-width:900px){
  .hugb-drty-section .hugb-drty-grid{grid-template-columns:1fr!important;}
  .hugb-drty-row:not(.hugb-drty-row-onhand):not(.hugb-drty-row-status-only){grid-template-columns:1fr!important;}
  .hugb-drty-row:not(.hugb-drty-row-onhand):not(.hugb-drty-row-status-only) .hugb-drty-item-name{grid-column:auto!important;}
}

/* v1.1.40 DRTY reopen flow */
.hugb-drty-complete .hugb-drty-reopen{
  margin-top:14px;
  appearance:none;
  border:0;
  background:transparent;
  color:#a30d18;
  font-weight:900;
  text-decoration:underline;
  cursor:pointer;
  padding:8px 0;
  display:inline-flex;
  width:auto;
  box-shadow:none;
}
.hugb-drty-complete .hugb-drty-reopen:hover{color:#e21b2d;}
.hugb-drty-reopened-note{
  margin:16px 0;
  padding:14px 16px;
  border:1px solid rgba(226,27,45,.24);
  border-left:6px solid #e21b2d;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(226,27,45,.08),rgba(255,255,255,.96));
  color:#4d080d;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.hugb-drty-reopened-note strong{font-size:18px;}
.hugb-drty-reopened-note span{font-weight:700; opacity:.8;}

/* v1.1.41 DRTY toast + modal error polish */
.hugb-drty-modal-error{margin:8px 0 0;padding:9px 11px;border-radius:12px;background:#fff1f2;border:1px solid rgba(220,38,38,.22);color:#8b1016;font-weight:800;font-size:13px;text-align:center;}
.hugb-drty-toast{position:fixed;left:50%;top:26px;transform:translate(-50%,-14px);z-index:999999;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 18px 55px rgba(0,0,0,.22);border-radius:18px;padding:14px 18px;min-width:280px;max-width:520px;opacity:0;pointer-events:none;transition:opacity .22s ease,transform .22s ease;display:flex;gap:10px;align-items:center;}
.hugb-drty-toast.is-show{opacity:1;transform:translate(-50%,0);}
.hugb-drty-toast strong{color:#111827;font-weight:900;}
.hugb-drty-toast span{color:#374151;font-weight:700;}
.hugb-drty-toast.is-ok{border-left:6px solid #991b1b;}
.hugb-drty-toast.is-err{border-left:6px solid #dc2626;background:#fff7f7;}
body.hugb-tablet-mode .hugb-drty-toast{top:18px;font-size:16px;}


/* v1.1.42 DRTY Soda active nav branding — prevent Higher Up green active state */
.hugb-tabs button.hugb-drty-tab{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(220,38,38,.26)!important;
  background:linear-gradient(135deg,#fff 0%,#fff7f7 100%)!important;
  color:#7f1118!important;
  box-shadow:none!important;
}
.hugb-tabs button.hugb-drty-tab::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#dc2626;
  box-shadow:0 0 0 4px rgba(220,38,38,.10);
  display:inline-block;
  margin-right:8px;
  vertical-align:middle;
}
.hugb-tabs button.hugb-drty-tab.active,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active,
body.hugb-tablet-mode .hugb-app .hugb-tabs button.hugb-drty-tab.active,
.hugb-app .hugb-tabs button.hugb-drty-tab.active{
  background:linear-gradient(135deg,#151111 0%,#5e0b10 54%,#dc2626 100%)!important;
  color:#fff!important;
  border-color:#dc2626!important;
  box-shadow:0 14px 30px rgba(220,38,38,.26)!important;
}
.hugb-tabs button.hugb-drty-tab.active::before,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active::before{
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(255,255,255,.16)!important;
}
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab:not(.active){
  background:linear-gradient(135deg,#fff 0%,#fff7f7 100%)!important;
  color:#7f1118!important;
  border:1px solid rgba(220,38,38,.22)!important;
}
body.hugb-dark-mode .hugb-tabs button.hugb-drty-tab.active,
body.hugb-dark-mode.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active{
  background:linear-gradient(135deg,#151111 0%,#5e0b10 54%,#dc2626 100%)!important;
  color:#fff!important;
}
#tab-drty.active{
  border-color:#fecdd3!important;
}

/* v1.1.44 DRTY sidebar blend + wording polish */
.hugb-tabs button.hugb-drty-tab,
.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab{
  background:transparent!important;
  color:#3c5047!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.hugb-tabs button.hugb-drty-tab::before,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab::before{content:none!important;}
.hugb-tabs button.hugb-drty-tab.active,
.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active{
  background:linear-gradient(135deg,#0fa95a,#08733d)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 14px 28px rgba(16,169,87,.22)!important;
}
.hugb-drty-row .hugb-drty-field span{
  letter-spacing:.08em!important;
  white-space:normal!important;
  line-height:1.15!important;
}
.hugb-drty-row input.hugb-drty-backup-input{font-variant-numeric:tabular-nums!important;}

/* v1.1.47 — make DRTY Soda nav match normal tabs */
.hugb-tabs button.hugb-drty-tab,
.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab,
body.hugb-tablet-mode .hugb-app .hugb-tabs button.hugb-drty-tab{
  background:#eaf3ed!important;
  color:#203327!important;
  border-color:transparent!important;
  box-shadow:none!important;
  position:relative!important;
  overflow:visible!important;
}
.hugb-tabs button.hugb-drty-tab::before,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab::before{
  content:none!important;
  display:none!important;
}
.hugb-tabs button.hugb-drty-tab.active,
.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active,
body.hugb-tablet-mode .hugb-app .hugb-tabs button.hugb-drty-tab.active{
  background:linear-gradient(135deg,#0fa95a,#08733d)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 14px 28px rgba(16,169,87,.22)!important;
}

/* v1.1.49 — DRTY tab hard reset: match normal sidebar/tab styling, no ghost glow */
.hugb-tabs button.hugb-drty-tab,
.hugb-tabs button.hugb-drty-tab:hover,
.hugb-tabs button.hugb-drty-tab:focus,
.hugb-tabs button.hugb-drty-tab:focus-visible,
.hugb-tabs button.hugb-drty-tab:active,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab:hover,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab:focus,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab:focus-visible,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab:active,
body.hugb-tablet-mode .hugb-app .hugb-tabs button.hugb-drty-tab{
  background:transparent!important;
  background-image:none!important;
  color:#3c5047!important;
  border:1px solid transparent!important;
  outline:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
  transform:none!important;
  position:relative!important;
  overflow:visible!important;
}
.hugb-tabs button.hugb-drty-tab::before,
.hugb-tabs button.hugb-drty-tab::after,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab::before,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab::after{
  content:none!important;
  display:none!important;
  box-shadow:none!important;
}
.hugb-tabs button.hugb-drty-tab.active,
.hugb-tabs button.hugb-drty-tab.active:hover,
.hugb-tabs button.hugb-drty-tab.active:focus,
.hugb-tabs button.hugb-drty-tab.active:focus-visible,
.hugb-tabs button.hugb-drty-tab.active:active,
.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active,
body.hugb-tablet-mode .hugb-tabs button.hugb-drty-tab.active,
body.hugb-tablet-mode .hugb-app .hugb-tabs button.hugb-drty-tab.active{
  background:linear-gradient(135deg,#0fa95a,#08733d)!important;
  color:#fff!important;
  border:1px solid transparent!important;
  outline:0!important;
  box-shadow:0 14px 28px rgba(16,169,87,.22)!important;
  filter:none!important;
  transform:none!important;
}
#tab-drty,#tab-drty:hover,#tab-drty:focus,#tab-drty:focus-visible,#tab-drty:active{
  border-color:transparent!important;
  outline:0!important;
  box-shadow:none!important;
}
#tab-drty.active,#tab-drty.active:hover,#tab-drty.active:focus,#tab-drty.active:focus-visible,#tab-drty.active:active{
  border-color:transparent!important;
  outline:0!important;
}

/* v1.1.50 – Desktop Nav Sync Fix
   DRTY tab now renders as a normal tab with no special class.
   This safety reset keeps desktop top-nav buttons consistent if browser cache still sees old markup. */
body:not(.hugb-tablet-mode) .hugb-tabs button[data-tab="drty"]{
  background:#eaf3ed!important;
  color:#203327!important;
  border-color:transparent!important;
  box-shadow:none!important;
  outline:0!important;
  transform:none!important;
  filter:none!important;
}
body:not(.hugb-tablet-mode) .hugb-tabs button[data-tab="drty"].active{
  background:var(--hu)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 14px 28px rgba(16,169,87,.22)!important;
}
body:not(.hugb-tablet-mode) .hugb-tabs button[data-tab="drty"]::before,
body:not(.hugb-tablet-mode) .hugb-tabs button[data-tab="drty"]::after{
  content:none!important;
  display:none!important;
}


/* v1.1.52 - additional case delete button: red + perfectly centered */
.hugb-app .hugb-remove-case-cleaning,
.hugb-remove-case-cleaning{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:34px!important;
  max-height:34px!important;
  padding:0!important;
  margin-left:auto!important;
  border-radius:999px!important;
  border:1px solid #fecaca!important;
  background:#fee2e2!important;
  color:#b91c1c!important;
  box-shadow:0 8px 18px rgba(185,28,28,.12)!important;
  font-size:0!important;
  line-height:0!important;
  text-align:center!important;
  cursor:pointer!important;
  transform:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.hugb-app .hugb-remove-case-cleaning::before,
.hugb-remove-case-cleaning::before{
  content:none!important;
  display:none!important;
}
.hugb-app .hugb-remove-case-cleaning::after,
.hugb-remove-case-cleaning::after{
  content:"×"!important;
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  font-size:23px!important;
  font-weight:950!important;
  line-height:1!important;
  color:#b91c1c!important;
  transform:translateY(-1px)!important;
  pointer-events:none!important;
}
.hugb-app .hugb-remove-case-cleaning:hover,
.hugb-remove-case-cleaning:hover{
  background:#fecaca!important;
  border-color:#fca5a5!important;
  color:#991b1b!important;
}

/* v1.1.54 - case delete confirmation modal hard fix */
.hugb-case-delete-modal{position:fixed;inset:0;z-index:999999;background:rgba(8,20,16,.58);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;padding:24px}
.hugb-case-delete-card{width:min(420px,92vw);background:#fff;border-radius:24px;padding:26px 24px 22px;box-shadow:0 28px 80px rgba(0,0,0,.28);text-align:center;position:relative;border:1px solid rgba(220,38,38,.16)}
.hugb-case-delete-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border-radius:999px;border:0;background:#fee2e2;color:#991b1b;font-size:20px;font-weight:900;line-height:34px;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.hugb-case-delete-logo{max-width:112px;max-height:78px;object-fit:contain;margin:0 auto 12px;display:block}
.hugb-case-delete-card h3{margin:0 0 8px;color:#7f1d1d;font-size:24px;font-weight:900}
.hugb-case-delete-card p{margin:0 auto 20px;max-width:330px;color:#5f6f68;font-weight:700;line-height:1.45}
.hugb-case-delete-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hugb-case-delete-actions button{border:0;border-radius:14px;padding:14px 16px;font-weight:900;cursor:pointer}
.hugb-case-delete-cancel{background:#eef6f1;color:#173d2b}
.hugb-case-delete-confirm{background:#dc2626;color:#fff;box-shadow:0 14px 28px rgba(220,38,38,.22)}
.hugb-remove-case-cleaning{background:#fee2e2!important;color:#dc2626!important;border:1px solid #fecaca!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;padding:0!important;text-align:center!important;font-size:20px!important;font-weight:900!important}

/* v1.1.55 DRTY UI Polish -------------------------------------------------- */
.hugb-drty-wrap{
  background:linear-gradient(180deg,#fff 0%,#fffafa 100%)!important;
  border:1px solid rgba(225,29,46,.18)!important;
  box-shadow:0 22px 55px rgba(127,17,24,.08)!important;
  overflow:hidden!important;
}
.hugb-drty-hero{
  position:relative!important;
  overflow:hidden!important;
  padding:22px 24px!important;
  min-height:108px!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 16% 0%,rgba(255,255,255,.18),transparent 32%),
    linear-gradient(135deg,#13090a 0%,#4e0b10 46%,#db1f2f 100%)!important;
  box-shadow:0 18px 45px rgba(127,17,24,.22)!important;
}
.hugb-drty-hero:after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.12;
  background-image:radial-gradient(rgba(255,255,255,.9) .55px,transparent .55px);
  background-size:10px 10px;mix-blend-mode:screen;
}
.hugb-drty-hero img{
  width:110px!important;height:74px!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(255,255,255,.44)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.26)!important;
  border-radius:18px!important;
  padding:9px!important;
  position:relative;z-index:1;
}
.hugb-drty-hero > div{position:relative;z-index:1;}
.hugb-drty-kicker{letter-spacing:.16em!important;font-size:12px!important;opacity:.9!important;}
.hugb-drty-hero h3{font-size:30px!important;line-height:1.05!important;margin:4px 0 10px!important;}
.hugb-drty-hero p{font-weight:800!important;opacity:.92!important;}

.hugb-drty-reopened-note{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
  background:#fff!important;border:1px solid rgba(225,29,46,.18)!important;border-left:5px solid #e11d2e!important;
  border-radius:18px!important;padding:14px 16px!important;margin:18px 0 14px!important;
  box-shadow:0 12px 28px rgba(127,17,24,.06)!important;color:#5f171b!important;
}
.hugb-drty-reopened-note strong{font-size:17px!important;font-weight:950!important;color:#8b1016!important;white-space:nowrap;}
.hugb-drty-reopened-note span{font-size:14px!important;font-weight:800!important;color:#684043!important;opacity:1!important;}

.hugb-drty-progress{
  height:auto!important;padding:13px 16px!important;margin:16px 0 20px!important;
  background:#fff!important;border:1px solid rgba(225,29,46,.18)!important;border-radius:999px!important;
  box-shadow:0 8px 22px rgba(127,17,24,.045)!important;
}
.hugb-drty-progress span{font-size:15px!important;font-weight:950!important;color:#811018!important;}
.hugb-drty-progress i{height:10px!important;background:#fee2e2!important;border-radius:999px!important;overflow:hidden!important;}
.hugb-drty-progress i em{height:100%!important;border-radius:999px!important;background:linear-gradient(90deg,#7f1118,#e11d2e)!important;box-shadow:0 0 18px rgba(225,29,46,.35)!important;}

.hugb-drty-check-section,
.hugb-drty-section{background:#fff!important;border:1px solid rgba(127,17,24,.10)!important;border-radius:20px!important;box-shadow:0 10px 28px rgba(17,17,17,.035)!important;margin-bottom:14px!important;overflow:hidden!important;}
.hugb-drty-check-section .hugb-drty-section-toggle,
.hugb-drty-section-toggle{
  height:58px!important;border-radius:0!important;padding:0 18px!important;
  background:#fff!important;color:#211014!important;border-bottom:1px solid rgba(127,17,24,.10)!important;
  box-shadow:none!important;text-transform:uppercase!important;letter-spacing:.08em!important;
}
.hugb-drty-check-section .hugb-drty-section-toggle span,
.hugb-drty-section-toggle span{font-weight:950!important;color:#211014!important;}
.hugb-drty-section-toggle i{
  width:34px!important;height:34px!important;border-radius:999px!important;display:grid!important;place-items:center!important;
  background:#fff1f2!important;color:#991b1b!important;border:1px solid rgba(225,29,46,.16)!important;box-shadow:none!important;
}
.hugb-drty-section.is-open .hugb-drty-section-toggle,
.hugb-drty-check-section.is-open .hugb-drty-section-toggle{background:linear-gradient(90deg,#fff,#fff7f7)!important;}
.hugb-drty-section-body{background:#fff!important;padding:16px!important;}
.hugb-drty-break{height:34px!important;margin:22px 0 8px!important;border:0!important;background:linear-gradient(90deg,transparent,rgba(225,29,46,.14),transparent)!important;position:relative;}
.hugb-drty-break:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background:#e11d2e;box-shadow:18px 0 0 rgba(225,29,46,.28),-18px 0 0 rgba(225,29,46,.28);}
.hugb-drty-wrap h4{font-size:24px!important;color:#6f0d13!important;margin:10px 0 6px!important;}
.hugb-drty-wrap .hugb-section-help{margin:0 0 16px!important;color:#58635f!important;font-weight:700!important;}

.hugb-drty-checks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.hugb-drty-check{
  background:#fff!important;border:1px solid rgba(127,17,24,.14)!important;border-radius:16px!important;padding:16px!important;
  min-height:58px!important;box-shadow:0 8px 20px rgba(17,17,17,.025)!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.hugb-drty-check:hover{transform:translateY(-1px);border-color:rgba(225,29,46,.28)!important;box-shadow:0 14px 30px rgba(127,17,24,.07)!important;}
.hugb-drty-check input{width:24px!important;height:24px!important;accent-color:#e11d2e!important;}
.hugb-drty-check input:checked + span{color:#7f1118!important;text-decoration:none!important;}
.hugb-drty-check:has(input:checked){background:linear-gradient(180deg,#fff,#fff7f7)!important;border-color:rgba(225,29,46,.34)!important;}

.hugb-drty-section .hugb-drty-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.hugb-drty-row{
  grid-template-columns:1fr!important;gap:10px!important;align-items:stretch!important;
  padding:14px!important;border-radius:16px!important;background:#fff!important;border:1px solid rgba(127,17,24,.12)!important;
  box-shadow:0 8px 20px rgba(17,17,17,.025)!important;
}
.hugb-drty-row .hugb-drty-item-name{grid-column:auto!important;padding:0!important;font-size:16px!important;font-weight:950!important;color:#171717!important;}
.hugb-drty-row .hugb-drty-field{gap:6px!important;}
.hugb-drty-row .hugb-drty-field span{font-size:10px!important;letter-spacing:.13em!important;color:#7f1118!important;}
.hugb-drty-row select,.hugb-drty-row input.hugb-drty-backup-input,.hugb-drty-row input.hugb-drty-onhand-input{
  height:46px!important;border-radius:13px!important;border:1px solid #f2a4ac!important;background:#fff!important;color:#7f1118!important;font-weight:900!important;
}
.hugb-drty-row select.drty-status-full{background:#fff!important;border-color:#f2a4ac!important;color:#7f1118!important;}
.hugb-drty-row select.drty-status-half,.hugb-drty-row select.drty-status-34,.hugb-drty-row select.drty-status-12{background:#fff8ed!important;border-color:#f59e0b!important;color:#92400e!important;}
.hugb-drty-row select.drty-status-out,.hugb-drty-row select.drty-status-14{background:#fff1f2!important;border-color:#dc2626!important;color:#991b1b!important;}
.hugb-drty-row input.hugb-drty-backup-input.has-backup,.hugb-drty-row input.hugb-drty-onhand-input.has-onhand{background:#fff1f2!important;border-color:#dc2626!important;color:#991b1b!important;}
.hugb-drty-row-onhand,.hugb-drty-row-status-only{grid-template-columns:1fr!important;}

.hugb-drty-notes-section{background:#fff!important;border:1px solid rgba(127,17,24,.12)!important;border-radius:20px!important;box-shadow:0 8px 20px rgba(17,17,17,.025)!important;margin-top:18px!important;}
.hugb-drty-notes-section label{color:#7f1118!important;font-size:17px!important;}
.hugb-drty-notes-section textarea{border-color:#f2a4ac!important;border-width:1.5px!important;}
.hugb-drty-submit{
  position:sticky!important;bottom:16px!important;z-index:40!important;margin-top:18px!important;height:58px!important;border-radius:18px!important;
  background:linear-gradient(135deg,#111 0%,#7f1118 56%,#e11d2e 100%)!important;color:#fff!important;
  box-shadow:0 18px 40px rgba(127,17,24,.25)!important;
}
.hugb-drty-submit:hover{transform:translateY(-1px);filter:brightness(1.04);}

body.hugb-tablet-mode .hugb-drty-hero{padding:20px!important;}
@media(max-width:900px){
  .hugb-drty-checks,.hugb-drty-section .hugb-drty-grid{grid-template-columns:1fr!important;}
  .hugb-drty-reopened-note{align-items:flex-start!important;flex-direction:column!important;}
  .hugb-drty-hero h3{font-size:25px!important;}
  .hugb-drty-submit{bottom:12px!important;}
}

/* v1.1.61 Time Field Fix - normalize Warehouse Order time inputs */
.hugb-app .hugb-warehouse-form .hugb-time-field input[name="timearrived"],
.hugb-app .hugb-warehouse-modal-form .hugb-time-field input[name="timearrived"],
body.hugb-tablet-mode .hugb-app .hugb-warehouse-form .hugb-time-field input[name="timearrived"],
body.hugb-tablet-mode .hugb-app .hugb-warehouse-modal-form .hugb-time-field input[name="timearrived"]{
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.35 !important;
  letter-spacing:normal !important;
  height:54px !important;
  min-height:54px !important;
  padding:14px 16px !important;
  display:block !important;
  box-sizing:border-box !important;
  text-align:left !important;
}

.hugb-app .hugb-warehouse-form .hugb-time-field input[name="timearrived"]::placeholder,
.hugb-app .hugb-warehouse-modal-form .hugb-time-field input[name="timearrived"]::placeholder{
  font-size:16px !important;
  font-weight:500 !important;
  color:#7b8b84 !important;
}

/* v1.1.62 UI Consistency + Labeled Manager Filters ----------------------- */
.hugb-app .hugb-manager-cards{
  align-items:stretch!important;
}
.hugb-app .hugb-manager-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:10px!important;
  min-height:150px!important;
  padding:22px 24px!important;
}
.hugb-app .hugb-manager-card .hugb-manager-icon{
  display:inline-grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  padding:0!important;
  margin:0 0 4px!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
.hugb-app .hugb-manager-card strong{
  margin:0!important;
  line-height:1.12!important;
  min-height:45px!important;
  display:flex!important;
  align-items:flex-end!important;
  max-width:95%!important;
}
.hugb-app .hugb-manager-card .hugb-manager-sub{
  margin:0!important;
  width:max-content!important;
  max-width:100%!important;
  line-height:1.1!important;
}
.hugb-app .hugb-manager-card em{
  margin-top:auto!important;
  line-height:1.2!important;
}

.hugb-app .hugb-review-filters.hugb-filter-row-labeled,
.hugb-app .hugb-review-filters.hugb-warehouse-history-filters{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto!important;
  gap:14px!important;
  align-items:end!important;
  margin:20px 0 18px!important;
}
.hugb-app .hugb-application-filters.hugb-filter-row-labeled{
  grid-template-columns:minmax(240px,1.05fr) minmax(210px,1fr) minmax(210px,.75fr) auto!important;
}
.hugb-app .hugb-filter-field,
.hugb-app .hugb-review-filters label{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  margin:0!important;
  min-width:0!important;
}
.hugb-app .hugb-filter-field>span,
.hugb-app .hugb-review-filters label>span{
  display:block!important;
  color:#557064!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  margin:0!important;
}
.hugb-app .hugb-review-filters input,
.hugb-app .hugb-review-filters select{
  width:100%!important;
  height:54px!important;
  min-height:54px!important;
  border:1px solid #d8eee2!important;
  border-radius:16px!important;
  padding:0 16px!important;
  background:#fff!important;
  color:#243a2f!important;
  font-size:17px!important;
  font-weight:650!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
}
.hugb-app .hugb-review-filters input[type="date"]{
  color:#0b72ff!important;
  text-align:center!important;
}
.hugb-app .hugb-review-clear,
.hugb-app .hugb-wh-clear,
.hugb-app .hugb-wh-csv{
  height:54px!important;
  align-self:end!important;
  white-space:nowrap!important;
  border-radius:16px!important;
  padding:0 22px!important;
}
.hugb-app .hugb-review-head{
  align-items:flex-start!important;
}
.hugb-app .hugb-review-head h3{
  margin:0 0 6px!important;
  line-height:1.08!important;
}
.hugb-app .hugb-review-head p{
  margin:0!important;
  color:#263a31!important;
}
@media(max-width:1020px){
  .hugb-app .hugb-review-filters.hugb-filter-row-labeled,
  .hugb-app .hugb-review-filters.hugb-warehouse-history-filters,
  .hugb-app .hugb-application-filters.hugb-filter-row-labeled{
    grid-template-columns:1fr 1fr!important;
  }
  .hugb-app .hugb-review-clear,
  .hugb-app .hugb-wh-clear,
  .hugb-app .hugb-wh-csv{width:100%!important;}
}
@media(max-width:700px){
  .hugb-app .hugb-review-filters.hugb-filter-row-labeled,
  .hugb-app .hugb-review-filters.hugb-warehouse-history-filters,
  .hugb-app .hugb-application-filters.hugb-filter-row-labeled{
    grid-template-columns:1fr!important;
  }
  .hugb-app .hugb-manager-card strong{min-height:auto!important;align-items:flex-start!important;}
}

/* v1.1.63 - Manager portal application filters polish */
.hugb-app .hugb-manager-dashboard .hugb-manager-cards{align-items:stretch!important;}
.hugb-app .hugb-manager-card{display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:10px!important;}
.hugb-app .hugb-manager-card strong,.hugb-app .hugb-manager-card .hugb-manager-sub,.hugb-app .hugb-manager-card em{position:relative!important;transform:none!important;}
.hugb-app .hugb-application-filters.hugb-filter-row-labeled{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:end!important;width:100%!important;}
.hugb-app .hugb-application-filters .hugb-filter-search{grid-column:1 / -1!important;}
.hugb-app .hugb-application-filters .hugb-review-clear{grid-column:1 / -1!important;width:min(320px,100%)!important;justify-self:start!important;}
.hugb-app .hugb-application-filters input,.hugb-app .hugb-application-filters select{width:100%!important;min-width:0!important;max-width:100%!important;font-size:16px!important;font-weight:600!important;text-align:left!important;}
.hugb-app .hugb-application-filters input::placeholder{color:#8b9890!important;opacity:1!important;font-size:16px!important;font-weight:600!important;text-overflow:ellipsis!important;}
.hugb-app .hugb-application-filters input[type="date"]{text-align:left!important;color:#243a2f!important;}
@media (min-width:1180px){.hugb-app .hugb-application-filters.hugb-filter-row-labeled{grid-template-columns:minmax(280px,1.4fr) minmax(220px,1fr) minmax(220px,1fr) auto!important;}.hugb-app .hugb-application-filters .hugb-filter-search,.hugb-app .hugb-application-filters .hugb-review-clear{grid-column:auto!important;}.hugb-app .hugb-application-filters .hugb-review-clear{width:auto!important;}}
@media (max-width:700px){.hugb-app .hugb-application-filters.hugb-filter-row-labeled{grid-template-columns:1fr!important;}}


/* v1.1.64 Manager Applications filter alignment */
.hugb-app .hugb-application-filters.hugb-filter-row-labeled{
  display:grid!important;
  grid-template-columns:minmax(260px,1.25fr) minmax(190px,.85fr) minmax(190px,.85fr) minmax(150px,auto)!important;
  gap:14px!important;
  align-items:end!important;
  width:100%!important;
}
.hugb-app .hugb-application-filters .hugb-filter-field,
.hugb-app .hugb-application-filters label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:7px!important;
  margin:0!important;
  min-width:0!important;
  width:100%!important;
}
.hugb-app .hugb-application-filters .hugb-filter-field>span,
.hugb-app .hugb-application-filters label>span{
  min-height:16px!important;
  line-height:16px!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}
.hugb-app .hugb-application-filters .hugb-filter-search{grid-column:auto!important;}
.hugb-app .hugb-application-filters input,
.hugb-app .hugb-application-filters select{
  height:54px!important;
  min-height:54px!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  font-size:16px!important;
  font-weight:700!important;
  text-align:left!important;
}
.hugb-app .hugb-application-filters input::placeholder{
  color:#8b9890!important;
  opacity:1!important;
  font-size:16px!important;
  font-weight:700!important;
}
.hugb-app .hugb-application-filters .hugb-review-clear{
  height:54px!important;
  min-height:54px!important;
  align-self:end!important;
  justify-self:stretch!important;
  width:auto!important;
  margin:0!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  grid-column:auto!important;
  white-space:nowrap!important;
}
@media (max-width:980px){
  .hugb-app .hugb-application-filters.hugb-filter-row-labeled{
    grid-template-columns:1fr 1fr!important;
  }
  .hugb-app .hugb-application-filters .hugb-filter-search{grid-column:1 / -1!important;}
  .hugb-app .hugb-application-filters .hugb-review-clear{grid-column:1 / -1!important;width:min(320px,100%)!important;justify-self:start!important;}
}
@media (max-width:700px){
  .hugb-app .hugb-application-filters.hugb-filter-row-labeled{grid-template-columns:1fr!important;}
}

/* v1.1.65 Case # reminder highlight */
.hugb-app .hugb-case-cleaning input.hugb-case-number-needed,
.hugb-case-cleaning input.hugb-case-number-needed{
  border-color:#16a34a !important;
  background:#f0fff6 !important;
  box-shadow:0 0 0 3px rgba(22,163,74,.14), 0 10px 24px rgba(22,163,74,.10) !important;
  color:#063b25 !important;
}
.hugb-app .hugb-case-cleaning input.hugb-case-number-needed::placeholder,
.hugb-case-cleaning input.hugb-case-number-needed::placeholder{
  color:#128342 !important;
  opacity:1 !important;
  font-weight:800 !important;
}
.hugb-app .hugb-case-cleaning input.hugb-case-number-filled,
.hugb-case-cleaning input.hugb-case-number-filled{
  border-color:rgba(22,163,74,.45) !important;
  background:#fbfffd !important;
}
@keyframes hugbCaseNumberPulse{
  0%,100%{box-shadow:0 0 0 3px rgba(22,163,74,.14), 0 10px 24px rgba(22,163,74,.10)}
  50%{box-shadow:0 0 0 6px rgba(22,163,74,.20), 0 14px 30px rgba(22,163,74,.14)}
}
.hugb-case-cleaning input.hugb-case-number-needed{
  animation:hugbCaseNumberPulse 1.5s ease-in-out 2;
}

/* v1.1.68 warehouse direct submit + invoice photo */
.hugb-warehouse-photo-field{grid-column:1 / -1;display:flex;flex-direction:column;gap:8px;}
.hugb-warehouse-photo-field input[type=file]{background:#fff;border:1px solid rgba(4,75,45,.18);border-radius:16px;padding:14px;font-weight:700;color:#0a3b27;}
.hugb-warehouse-photo-field small{color:#60746b;font-weight:700;font-size:13px;}
.hugb-warehouse-success-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:.16s ease;}
.hugb-warehouse-success-modal.open{opacity:1;pointer-events:auto;}
.hugb-ws-backdrop{position:absolute;inset:0;background:rgba(8,20,14,.46);backdrop-filter:blur(6px);}
.hugb-ws-box{position:relative;width:min(420px,calc(100vw - 36px));background:#fff;border-radius:24px;padding:26px;text-align:center;box-shadow:0 28px 70px rgba(0,0,0,.28);border:1px solid rgba(18,161,92,.18);}
.hugb-ws-box img{width:118px;height:auto;margin:0 auto 10px;display:block;}
.hugb-ws-box h3{margin:4px 0 8px;color:#073b27;font-size:24px;}
.hugb-ws-box p{color:#5f7068;font-weight:700;line-height:1.45;margin:0 0 18px;}
.hugb-ws-box button{width:100%;border:0;border-radius:16px;background:#15a85d;color:#fff;font-weight:900;font-size:16px;padding:14px 18px;box-shadow:0 10px 24px rgba(21,168,93,.25);}

/* v1.1.69 warehouse second checker + photo button polish */
.hugb-warehouse-extra-checker{display:flex;align-items:center;gap:12px;background:#f8fffb;border:1px solid rgba(4,75,45,.14);border-radius:16px;padding:12px 14px;min-height:56px;}
.hugb-extra-checker-display{display:flex;flex-direction:column;gap:3px;flex:1;color:#0b3926;}
.hugb-extra-checker-display span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#60746b;}
.hugb-extra-checker-display strong{font-size:15px;font-weight:900;color:#41564b;}
.hugb-extra-checker-display.has-extra strong{color:#0b4b31;}
.hugb-add-warehouse-checker{border:0;border-radius:14px;background:#e9f7f0;color:#0b4b31;font-weight:900;padding:13px 16px;box-shadow:0 8px 18px rgba(16,166,86,.12);white-space:nowrap;cursor:pointer;}
.hugb-add-warehouse-checker:hover{background:#dff4ea;}
.hugb-warehouse-photo-field{position:relative;}
.hugb-warehouse-photo-field input[type=file].hugb-warehouse-photo-input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;left:-9999px!important;padding:0!important;border:0!important;}
.hugb-take-photo-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:max-content;min-width:160px;border-radius:16px;background:#13a85b;color:#fff!important;font-size:15px!important;text-transform:none!important;letter-spacing:0!important;font-weight:900!important;padding:13px 20px;box-shadow:0 12px 24px rgba(16,166,86,.18);cursor:pointer;}
.hugb-photo-file-name{font-size:13px;color:#60746b;font-weight:800;margin-top:-2px;}
.hugb-photo-file-name.has-photo{color:#0b4b31;}
.hugb-warehouse-checker-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:.15s ease;}
.hugb-warehouse-checker-modal.open{opacity:1;pointer-events:auto;}
.hugb-wc-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);backdrop-filter:blur(8px);}
.hugb-wc-box{position:relative;width:min(430px,calc(100vw - 32px));background:#fff;border-radius:24px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.28);text-align:center;border:1px solid rgba(4,75,45,.14);}
.hugb-wc-box img{max-width:140px;max-height:80px;object-fit:contain;margin-bottom:8px;}
.hugb-wc-box h3{margin:6px 0 8px;font-size:24px;color:#063b27;}
.hugb-wc-box p{margin:0 auto 16px;max-width:320px;color:#60746b;font-weight:700;line-height:1.45;}
.hugb-wc-box input{width:100%;border:1px solid rgba(4,75,45,.18);border-radius:16px;padding:15px;text-align:center;font-size:22px;font-weight:900;letter-spacing:.18em;margin-bottom:14px;}
.hugb-wc-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.hugb-wc-actions button,.hugb-wc-x{cursor:pointer;}
.hugb-wc-cancel{border:0;border-radius:14px;background:#eef7f2;color:#0b4b31;font-weight:900;padding:13px;}
.hugb-wc-confirm{border:0;border-radius:14px;background:#13a85b;color:#fff;font-weight:900;padding:13px;}
.hugb-wc-x{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:999px;background:#eef7f2;color:#0b4b31;font-size:20px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1;}
@media(max-width:760px){.hugb-warehouse-extra-checker{flex-direction:column;align-items:stretch}.hugb-add-warehouse-checker{width:100%}.hugb-take-photo-btn{width:100%;}}

/* v1.1.70 warehouse checker layout + invoice photo preview */
.hugb-warehouse-checker-stack{display:flex;flex-direction:column;gap:10px;min-width:0;}
.hugb-warehouse-checker-stack .hugb-field-label{margin:0;}
.hugb-warehouse-extra-checker{width:100%;box-sizing:border-box;justify-content:space-between;}
.hugb-extra-checker-display{min-width:0;display:flex;flex-direction:column;gap:2px;}
.hugb-extra-checker-display span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#5d7369;font-weight:900;}
.hugb-extra-checker-display strong{font-size:15px;color:#123827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hugb-add-warehouse-checker{white-space:nowrap;}
.hugb-photo-selected-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px;}
.hugb-photo-view,.hugb-photo-retake{border:0;border-radius:999px;padding:9px 14px;font-weight:900;cursor:pointer;font-size:13px;}
.hugb-photo-view{background:#ecfff4;color:#075c36;border:1px solid rgba(19,168,91,.22);}
.hugb-photo-retake{background:#f2f6f4;color:#234239;border:1px solid rgba(4,75,45,.14);}
.hugb-photo-preview{margin-top:8px;border:1px solid rgba(4,75,45,.14);background:#f8fffb;border-radius:16px;padding:8px;width:max-content;max-width:100%;}
.hugb-photo-preview img{display:block;max-width:180px;max-height:130px;border-radius:12px;object-fit:cover;}
.hugb-photo-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(5,20,14,.72);backdrop-filter:blur(8px);}
.hugb-photo-lightbox.open{display:flex;}
.hugb-photo-lightbox-box{position:relative;background:#fff;border-radius:24px;padding:16px;box-shadow:0 24px 80px rgba(0,0,0,.28);max-width:min(92vw,850px);max-height:88vh;}
.hugb-photo-lightbox-box img{display:block;max-width:100%;max-height:72vh;border-radius:16px;}
.hugb-photo-lightbox-close{position:absolute;right:10px;top:10px;width:34px;height:34px;border-radius:50%;border:0;background:#fff;color:#093b26;font-size:22px;font-weight:900;box-shadow:0 8px 22px rgba(0,0,0,.14);cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;}
@media(max-width:760px){.hugb-warehouse-checker-stack{grid-column:1 / -1}.hugb-warehouse-extra-checker{flex-direction:column;align-items:stretch}.hugb-photo-preview{width:100%}.hugb-photo-preview img{max-width:100%;width:100%;height:auto;max-height:220px}.hugb-photo-view,.hugb-photo-retake{flex:1}}

/* v1.1.71 warehouse form polish + reliable photo button */
.hugb-warehouse-direct-form{
  align-items:start;
}
.hugb-warehouse-direct-form .hugb-warehouse-checker-stack{
  gap:8px !important;
}
.hugb-warehouse-direct-form .hugb-warehouse-extra-checker{
  min-height:0 !important;
  padding:10px 12px !important;
  border-style:dashed !important;
  background:#fbfffd !important;
  box-shadow:none !important;
}
.hugb-warehouse-direct-form .hugb-extra-checker-display span{
  font-size:10px !important;
}
.hugb-warehouse-direct-form .hugb-extra-checker-display strong{
  font-size:14px !important;
}
.hugb-warehouse-direct-form .hugb-add-warehouse-checker{
  padding:10px 14px !important;
  border-radius:12px !important;
  font-size:14px !important;
  min-height:42px !important;
}
.hugb-warehouse-direct-form .hugb-warehouse-items-input{
  align-self:start;
}
.hugb-warehouse-photo-field{
  cursor:default !important;
}
.hugb-warehouse-photo-field input[type=file].hugb-warehouse-photo-input{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  left:-9999px!important;
  pointer-events:none!important;
}
.hugb-take-photo-btn{
  border:0 !important;
  appearance:none !important;
  width:auto !important;
  min-width:0 !important;
  max-width:max-content !important;
  padding:11px 18px !important;
  border-radius:14px !important;
  line-height:1 !important;
}
.hugb-warehouse-photo-field.is-uploading .hugb-take-photo-btn{
  opacity:.72;
  pointer-events:none;
}
.hugb-photo-selected-row{
  margin-top:4px !important;
}
.hugb-photo-preview{
  margin-top:6px !important;
}
.hugb-photo-preview img{
  max-width:220px !important;
  max-height:150px !important;
}
@media (min-width:761px){
  .hugb-warehouse-direct-form{
    grid-template-columns:1fr 1fr !important;
    gap:12px !important;
  }
  .hugb-warehouse-direct-form > input[name="invoice"]{grid-column:1;}
  .hugb-warehouse-direct-form > input[name="deliveredby"]{grid-column:2;}
  .hugb-warehouse-direct-form > .hugb-time-field{grid-column:1;}
  .hugb-warehouse-direct-form > .hugb-warehouse-checker-stack{grid-column:2;grid-row:2 / span 2;}
  .hugb-warehouse-direct-form > .hugb-warehouse-items-input{grid-column:1;}
  .hugb-warehouse-direct-form > .hugb-warehouse-photo-field,
  .hugb-warehouse-direct-form > textarea,
  .hugb-warehouse-direct-form > .hugb-warehouse-save-btn,
  .hugb-warehouse-direct-form > .hugb-alert{grid-column:1 / -1;}
}

/* v1.1.73 Warehouse message tab + editable clock field */
.hugb-warehouse-tabs{display:flex;gap:10px;justify-content:center;margin:14px 0 18px;flex-wrap:wrap;}
.hugb-warehouse-tabs button{border:0;border-radius:14px;background:#eaf5ef;color:#0b3d28;font-weight:900;padding:13px 20px;cursor:pointer;box-shadow:0 8px 20px rgba(16,166,86,.08);}
.hugb-warehouse-tabs button.active{background:#16a85a;color:#fff;box-shadow:0 12px 24px rgba(16,166,86,.20);}
.hugb-warehouse-view{display:none;}
.hugb-warehouse-view.active{display:block;}
.hugb-warehouse-clock-field{display:flex!important;flex-direction:column!important;gap:6px!important;}
.hugb-warehouse-clock-display{height:54px;border:1px solid #cfe5d8;border-radius:16px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 16px;box-sizing:border-box;color:#10271b;}
.hugb-warehouse-clock-display .hugb-clock-icon{width:32px;height:32px;border-radius:50%;background:#eaf9f1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;}
.hugb-warehouse-clock-display strong{font-size:16px!important;font-weight:700!important;line-height:1!important;}
.hugb-warehouse-clock-display small{margin-left:auto;color:#5d7369;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;}
.hugb-warehouse-message-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.hugb-warehouse-message-form .hugb-field-label{display:flex;flex-direction:column;gap:7px;margin:0;}
.hugb-warehouse-message-form .hugb-field-label span{font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:#0b4b31;}
.hugb-warehouse-message-form input,.hugb-warehouse-message-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfe5d8;border-radius:16px;background:#fff;padding:15px 16px;font-size:16px;font-family:inherit;color:#10271b;}
.hugb-warehouse-message-form textarea{min-height:150px;resize:vertical;}
.hugb-warehouse-message-form .hugb-message-subject,.hugb-warehouse-message-form .hugb-message-body,.hugb-warehouse-message-form .hugb-warehouse-message-send,.hugb-warehouse-message-form .hugb-alert{grid-column:1 / -1;}
.hugb-warehouse-message-send{border:0;border-radius:16px;background:#16a85a;color:#fff;font-weight:900;font-size:16px;padding:15px 20px;box-shadow:0 12px 24px rgba(16,166,86,.18);cursor:pointer;}
.hugb-warehouse-message-success-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;}
.hugb-wm-backdrop{position:absolute;inset:0;background:rgba(7,23,15,.48);backdrop-filter:blur(7px);}
.hugb-wm-box{position:relative;width:min(420px,calc(100vw - 34px));background:#fff;border-radius:24px;padding:26px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.28);border:1px solid rgba(16,166,86,.16);}
.hugb-wm-box img{width:120px;height:auto;margin:0 auto 10px;display:block;}
.hugb-wm-box h3{margin:4px 0 8px;font-size:25px;color:#073b27;}
.hugb-wm-box p{margin:0 0 18px;color:#5d7369;font-weight:700;line-height:1.45;}
.hugb-wm-box button{width:100%;border:0;border-radius:16px;background:#16a85a;color:#fff;font-weight:900;font-size:16px;padding:14px 18px;cursor:pointer;}
@media(max-width:760px){.hugb-warehouse-message-form{grid-template-columns:1fr}.hugb-warehouse-clock-display small{display:none}.hugb-warehouse-tabs button{flex:1;min-width:145px}.hugb-warehouse-clock-display{height:50px}}


/* v1.1.73 - Warehouse editable clock time field */
.hugb-warehouse-clock-edit{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:52px;
  border:1px solid rgba(12,91,57,.18);
  border-radius:16px;
  background:#fff;
  padding:0 14px;
  box-sizing:border-box;
}
.hugb-warehouse-clock-edit .hugb-clock-icon{
  width:34px;
  height:34px;
  min-width:34px;
  border-radius:999px;
  background:#e9f8ef;
  color:#0b7d45;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}
.hugb-warehouse-clock-edit input[name="timearrived"]{
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  background:transparent!important;
  padding:0!important;
  min-height:0!important;
  height:auto!important;
  font-size:16px!important;
  font-weight:600!important;
  color:#10251d!important;
  width:100%;
}
.hugb-warehouse-clock-edit:focus-within{
  border-color:#18a85a;
  box-shadow:0 0 0 3px rgba(24,168,90,.12);
}

/* v1.1.74 - Clean single-box warehouse time input */
.hugb-warehouse-clean-time-field{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
}
.hugb-warehouse-clean-time-field .hugb-warehouse-time-clean{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  min-height:52px!important;
  height:52px!important;
  box-sizing:border-box!important;
  border:1px solid #cfe5d8!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#10231a!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:1.3!important;
  padding:14px 16px!important;
  outline:none!important;
  box-shadow:none!important;
  letter-spacing:normal!important;
}
.hugb-warehouse-clean-time-field .hugb-warehouse-time-clean:focus{
  border-color:#18a85d!important;
  box-shadow:0 0 0 3px rgba(24,168,93,.12)!important;
}
.hugb-warehouse-clock-edit{display:none!important;}
