.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;}
}
