:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --ink: #1a1a1a;
  --line: #d7dae0;
  --accent: #0073ea;       /* monday blue */
  --accent-ink: #ffffff;
  --ghost: #e6e9ef;
  --good: #00c875;
  --warn: #fdab3d;
  --bad: #df2f4a;
  --sb-pink: #f0319a;
  --sb-pink-dark: #c81f7e;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  color: #fff;
  padding: 14px 20px;
}
.brand { font-weight: 700; letter-spacing: .5px; }
.reviewlink { color: #9ec5ff; text-decoration: none; font-weight: 600; }

main { padding: 20px; max-width: 1500px; margin: 0 auto; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 14px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: .4px; }
.field select, .field input {
  font-size: 19px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  min-width: 220px;
  min-height: 52px;
}
.field input[readonly] { background: #eef0f4; color: #666; }

.locrow {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.loclabel { font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .4px; color: #555; }
.locdays { display: flex; gap: 10px; flex-wrap: wrap; }
.locday { display: flex; flex-direction: column; gap: 4px; }
.locday-lbl { font-size: 13px; font-weight: 600; color: #777; text-align: center; }
.locday select {
  font-size: 16px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  min-height: 48px;
  min-width: 116px;
}
.locday[data-loc="Warehouse"] select { background: #e8f9f0; border-color: var(--good); }
.locday[data-loc="On Site"] select { background: #fff1e6; border-color: #ff642e; }

.grid-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
}

table { border-collapse: collapse; width: 100%; min-width: 1000px; }
th, td { border: 1px solid var(--line); padding: 6px; text-align: center; }
thead th {
  background: #f0f2f6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 12px 6px;
}
.c-cat { width: 150px; }
.c-job { min-width: 240px; }
.c-note { min-width: 150px; }
.c-day { width: 92px; }
.c-total { width: 90px; }
.c-del { width: 52px; }

td input, td select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 19px;
  padding: 14px 8px;
  text-align: center;
  min-height: 56px;
}
td.c-job input, td.c-note input { text-align: left; }
td select { text-align: left; font-size: 16px; }
td input:focus, td select:focus { outline: 2px solid var(--accent); border-radius: 6px; }

/* number inputs: big touch targets, hide spinners */
td input[type="number"] { -moz-appearance: textfield; }
td input[type="number"]::-webkit-outer-spin-button,
td input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.line-total { font-weight: 700; color: #333; }

tfoot .totals td {
  background: #f0f2f6;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 6px;
}
.t-grand { background: #111 !important; color: #fff; font-size: 22px; }

.del-btn {
  border: none;
  background: var(--ghost);
  color: var(--bad);
  font-size: 22px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.actions { display: flex; gap: 14px; margin-top: 20px; align-items: center; }
button {
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  padding: 16px 26px;
  border: none;
  cursor: pointer;
  min-height: 56px;
}
.primary { background: var(--accent); color: var(--accent-ink); }
.primary:active { filter: brightness(.9); }
.ghost { background: var(--ghost); color: #333; }
.primary:disabled, .ghost:disabled { opacity: .5; }

/* Auto-save status — quiet by default, greens up when saved */
.save-status { font-size: 15px; font-weight: 600; color: #888; margin-left: auto; min-height: 20px; }
.save-status.saved, .save-status.loaded, .save-status.submitted { color: #0a8a4a; }
.save-status.saving, .save-status.loading { color: var(--accent); }
.save-status.unsaved { color: #b8860b; }

.msg { font-size: 18px; margin-top: 18px; min-height: 26px; }
.msg.ok { color: #0a8a4a; font-weight: 600; }
.msg.err { color: var(--bad); font-weight: 600; }
.msg a { color: var(--accent); }

/* category colour chips on the select */
.cat-row[data-cat="Booth Build"] td.c-cat { box-shadow: inset 5px 0 0 var(--good); }
.cat-row[data-cat="Install"] td.c-cat { box-shadow: inset 5px 0 0 #ff642e; }
.cat-row[data-cat="Delivery & MK"] td.c-cat { box-shadow: inset 5px 0 0 var(--accent); }
.cat-row[data-cat="Travel"] td.c-cat { box-shadow: inset 5px 0 0 #784bd1; }
.cat-row[data-cat="SB / Misc"] td.c-cat { box-shadow: inset 5px 0 0 #999; }

/* AU Travel lines: hide the booth picker, show the hint instead */
.job-hint { display: none; font-size: 13px; font-style: italic; color: var(--sb-pink-dark); padding: 10px 6px; line-height: 1.4; }
tr.is-travel td.c-job select { display: none; }
tr.is-travel .job-hint { display: block; }
tr.is-travel { background: #fff7fb; }
tr.is-travel td.c-cat { box-shadow: inset 5px 0 0 var(--sb-pink); }

/* SB / Misc — fixed warehouse job shown locked (no booth to pick) */
.misc-fixed { display: none; font-size: 15px; font-weight: 700; color: #333; padding: 12px 10px;
  background: #eef1f6; border: 1.5px solid #d8dce6; border-radius: 8px; letter-spacing: .3px; }
tr.is-misc td.c-job select { display: none; }
tr.is-misc td.c-job .manual-mk { display: none; }
tr.is-misc td.c-job .job-hint { display: none; }
tr.is-misc .misc-fixed { display: block; }
tr.is-misc { background: #f6f8fc; }
tr.is-misc td.c-cat { box-shadow: inset 5px 0 0 #7a8aa8; }

.refresh-jobs { align-self: flex-end; }

/* Manual MK entry ("Not listed") */
.manual-mk { display: none; margin-top: 6px; }
tr.is-manual td.c-job .manual-mk { display: block; }
tr.is-travel td.c-job .manual-mk { display: none; }
.manual-mk input { width: 100%; font-size: 16px; padding: 9px 10px; border: 2px solid var(--sb-pink); border-radius: 8px; }
.manual-warn { font-size: 12px; margin-top: 5px; line-height: 1.35; }
.manual-warn.dup { color: var(--bad); font-weight: 700; }
.manual-warn.ok { color: var(--sb-pink-dark); }
tr.is-manual td.c-cat { box-shadow: inset 5px 0 0 var(--sb-pink); }

/* Drag handle to reorder line rows (touch + mouse) */
.c-grip { width: 34px; text-align: center; padding: 0; }
.drag-handle {
  display: inline-block; cursor: grab; touch-action: none; user-select: none;
  color: #b6bcc8; font-size: 22px; line-height: 1; padding: 14px 6px;
}
.drag-handle:active { cursor: grabbing; color: var(--sb-pink); }
tr.cat-row.dragging { opacity: 0.85; background: #fdf0f7; box-shadow: 0 4px 14px rgba(0,0,0,.12); }

/* Searchable booth picker — hide the native select, show a tappable trigger that opens a search modal */
td.c-job select[data-kind="job"] { display: none; }
.job-trigger {
  width: 100%; min-height: 56px; padding: 12px 30px 12px 12px; line-height: 1.3;
  font-size: 16px; font-weight: 600; text-align: left; color: #1d1d1f; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23888' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1.5px solid #d2d7e0; border-radius: 8px;
}
.job-trigger.placeholder { color: #8a8f99; font-weight: 500; }
.job-trigger:active { border-color: var(--sb-pink); }
tr.is-travel td.c-job .job-trigger, tr.is-misc td.c-job .job-trigger { display: none; }

.booth-modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 20, 30, 0.5); padding: 18px;
}
.booth-card {
  background: #fff; border-radius: 16px; padding: 22px; width: min(460px, 100%);
  max-height: 86vh; display: flex; flex-direction: column; box-shadow: 0 18px 50px rgba(0,0,0,.3);
}
.booth-card h3 { margin: 0 0 12px; font-size: 20px; }
.booth-filter {
  width: 100%; box-sizing: border-box; padding: 14px; font-size: 17px;
  border: 1.5px solid #d8dce6; border-radius: 10px; margin-bottom: 10px;
}
.booth-list { overflow-y: auto; border: 1px solid #eceef3; border-radius: 10px; }
.booth-item {
  display: block; width: 100%; text-align: left; background: #fff; color: #222;
  border: none; border-bottom: 1px solid #f0f2f6; border-radius: 0; min-height: 0;
  padding: 14px; font-size: 16px; font-weight: 500; cursor: pointer;
}
.booth-item:last-child { border-bottom: none; }
.booth-item:active { background: #fdf0f7; }
.booth-manual { color: var(--sb-pink-dark); font-weight: 700; }
.booth-actions { display: flex; margin-top: 14px; }
.booth-actions button { flex: 1; }

/* Review: manual-MK lines flagged for Spencer */
.review-table tr.manual-line td { background: #fff6e6; }
.manual-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #8a5a00; background: #ffe2a8; padding: 1px 6px; border-radius: 10px; }

/* ---- review page ---- */
.week-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
}
.week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: #f0f2f6;
  flex-wrap: wrap;
}
.week-head h3 { margin: 0; font-size: 20px; }
.pill { padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; }
.pill.Submitted { background: var(--warn); }
.pill.Approved { background: var(--good); }
.pill[class*="Pushed"] { background: var(--accent); }
.pill.Rejected { background: var(--bad); }
.week-total { font-size: 22px; font-weight: 800; }
.week-body { padding: 4px 8px 12px; overflow-x: auto; }
.review-table { min-width: 880px; width: 100%; table-layout: fixed; }
.review-table td, .review-table th { font-size: 16px; padding: 8px 10px; overflow: hidden; text-overflow: ellipsis; }
.review-table .rc-type { width: 11%; }
.review-table .rc-mk { width: 7%; }
.review-table .rc-job { width: 20%; }
.review-table .rc-day { width: 8%; }
.review-table .rc-total { width: 6%; }
.empty { color: #888; padding: 40px; text-align: center; font-size: 18px; }
.approve-btn { background: var(--good); color: #fff; }
.push-btn { background: var(--accent); color: #fff; }
.rowbtns { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.xero-btn { background: #13b5ea; color: #fff; }
.push-btn.done, .xero-btn.done { background: var(--good); }
.revert-btn { background: #fff; color: var(--bad); border: 1.5px solid var(--bad); }
.revert-btn:active { background: #fdecef; }

/* ---- Push log: failed/held entries flagged in red ---- */
.week-card.has-push-error { border: 2px solid var(--bad); box-shadow: 0 0 0 4px rgba(223,47,74,.12); }
.push-warn-badge {
  background: var(--bad); color: #fff; border: none; border-radius: 999px;
  font-size: 14px; font-weight: 700; padding: 8px 14px; min-height: 0; cursor: pointer; margin-left: 8px;
}
.review-table tr.line-error td { background: #fdecef; box-shadow: inset 0 0 0 1px rgba(223,47,74,.35); }
.line-warn { color: var(--bad); font-weight: 800; cursor: pointer; margin-right: 4px; font-size: 17px; }

/* push-activity log section */
.push-activity { background: #fff; border: 1px solid #e6e9ef; border-radius: 12px; margin-bottom: 18px; padding: 4px 4px; }
.push-activity > summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 12px 14px; list-style: none; }
.push-activity > summary::-webkit-details-marker { display: none; }
.pa-badge { background: var(--bad); color: #fff; border-radius: 999px; font-size: 12px; padding: 3px 9px; margin-left: 6px; }
.pa-ok { color: #0a8a4a; font-size: 13px; margin-left: 6px; }
.pa-row { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid #f0f2f6; font-size: 14px; }
.pa-row.clickable { cursor: pointer; }
.pa-row.clickable:hover { background: #fdf0f7; }
.pa-icon { font-weight: 800; }
.pa-row.ok .pa-icon { color: #0a8a4a; }
.pa-row.err .pa-icon { color: var(--bad); }
.pa-when { color: #888; min-width: 110px; }
.pa-sys { font-weight: 700; min-width: 64px; }
.pa-name { flex: 1; }
.pa-row.err .pa-status { color: var(--bad); font-weight: 700; }

/* issue popup */
.issue-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(20,20,30,.55); padding: 18px; }
.issue-card { background: #fff; border-radius: 16px; padding: 22px; width: min(540px, 100%); max-height: 88vh; display: flex; flex-direction: column; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.issue-card h3 { margin: 0 0 2px; font-size: 20px; color: var(--bad); }
.issue-sub { margin: 0 0 14px; color: #666; font-size: 14px; }
.issue-list { overflow-y: auto; }
.issue-item { border: 1px solid #eceef3; border-left: 4px solid var(--bad); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
.issue-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.issue-sys { background: #eef1f6; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.issue-line { font-weight: 700; font-size: 15px; }
.issue-reason { color: var(--bad); font-size: 14px; margin-bottom: 6px; }
.issue-fix { font-size: 14px; color: #333; line-height: 1.4; }
.issue-ask-label { display: block; font-size: 14px; font-weight: 600; margin: 8px 0 6px; }
.issue-ask { width: 100%; box-sizing: border-box; font-size: 13px; font-family: inherit; padding: 10px; border: 1.5px solid #d8dce6; border-radius: 8px; resize: vertical; background: #fafbfd; }
.issue-actions { display: flex; gap: 12px; margin-top: 14px; }
.issue-actions button { flex: 1; }

/* ---- AU Travel booth picker (review) ---- */
.travel-modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 20, 30, 0.5); padding: 18px;
}
.travel-card {
  background: #fff; border-radius: 16px; padding: 22px; width: min(460px, 100%);
  max-height: 86vh; display: flex; flex-direction: column; box-shadow: 0 18px 50px rgba(0,0,0,.3);
}
.travel-card h3 { margin: 0 0 4px; font-size: 20px; }
.travel-sub { margin: 0 0 14px; color: #666; font-size: 14px; line-height: 1.4; }
.travel-filter {
  width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 16px;
  border: 1.5px solid #d8dce6; border-radius: 10px; margin-bottom: 10px;
}
.travel-list { overflow-y: auto; border: 1px solid #eceef3; border-radius: 10px; }
.travel-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-bottom: 1px solid #f0f2f6; font-size: 16px; cursor: pointer;
}
.travel-item:last-child { border-bottom: none; }
.travel-item input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
.travel-count { margin: 12px 0 0; font-weight: 600; color: var(--accent); min-height: 20px; }
.travel-actions { display: flex; gap: 12px; margin-top: 16px; }
.travel-actions button { flex: 1; }
.travel-ok:disabled { opacity: .45; }

/* row on the entry form flagged for a missing booth */
.cat-row.needs-booth td { background: #fdecef; }
.cat-row.needs-booth td.c-job { box-shadow: inset 0 0 0 2px var(--bad); border-radius: 6px; }

/* ---- home screen (pink, white card with the name dropdown) ---- */
#home {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--sb-pink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
}
.home-card {
  background: #fff; border-radius: 22px; padding: 40px 44px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  width: 460px; max-width: 92vw; text-align: center;
}
.home-card .home-logo { height: 46px; width: auto; margin-bottom: 18px; }
.home-title { margin: 0 0 22px; font-size: 22px; font-weight: 700; color: var(--ink); }
.home-name {
  width: 100%; font-size: 22px; font-weight: 700; text-align: center;
  padding: 16px 14px; border: 2px solid var(--sb-pink); border-radius: 14px;
  background: #fff; min-height: 60px; margin-bottom: 16px;
}
.home-start {
  width: 100%; background: var(--sb-pink); color: #fff; font-size: 20px; font-weight: 700;
  border: none; border-radius: 14px; padding: 16px; cursor: pointer; min-height: 60px;
}
.home-start:disabled { opacity: .4; cursor: default; }
.home-review { margin-top: 26px; color: #fff; text-decoration: none; font-weight: 700; opacity: .9; }

#nameField { display: none !important; }   /* name is chosen on the home screen */

.switch-user {
  margin-left: auto; background: var(--ghost); color: #333; border: none;
  border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: 15px; cursor: pointer;
}

/* ---- branding ---- */
.brandbar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-bottom: 4px solid var(--sb-pink);
  padding: 14px 22px;
}
.brandbar .logo { height: 42px; width: auto; display: block; }
.brandbar-sub { font-weight: 700; color: #555; letter-spacing: .5px; text-transform: uppercase; font-size: 15px; }
.brandbar .reviewlink { margin-left: auto; color: var(--sb-pink-dark); text-decoration: none; font-weight: 700; }

/* Review portal: pink banner so it's obviously the back-office screen */
.brandbar.review {
  background: var(--sb-pink);
  border-bottom-color: var(--sb-pink-dark);
}
.brandbar.review .brandbar-sub { color: #fff; }
.brandbar.review .reviewlink { color: #fff; }
.brandbar.review .logo { filter: brightness(0) invert(1); }

/* ---- fortnight week sections ---- */
.week {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
}
.week-title {
  margin: 0 0 14px;
  font-size: 20px;
  border-left: 6px solid var(--sb-pink);
  padding-left: 12px;
}
.week .locrow { margin-bottom: 14px; }
.week .grid-wrap { margin-bottom: 0; }
.t-week { background: #f0f2f6; font-weight: 800; }

.grandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
}
.grandbar #grand { font-size: 26px; color: var(--sb-pink); }
.wk-h { margin: 14px 10px 4px; font-size: 16px; color: var(--sb-pink-dark); text-transform: uppercase; letter-spacing: .4px; }

/* ---- emphasise the must-pick fields (Name + Fortnight) ---- */
.meta .field span { color: var(--sb-pink-dark); font-weight: 800; }
#name, #period { border: 2px solid var(--sb-pink); font-weight: 700; }
#name.needs-pick {
  background: #ffe6f3;
  color: var(--sb-pink-dark);
  box-shadow: 0 0 0 3px rgba(240, 49, 154, 0.18);
}

/* ---- per-day location row, sitting directly above the hours columns ---- */
.locrow-grid td { background: #fafbfd; padding: 5px; }
.locrow-grid .locrow-label {
  text-align: right; font-weight: 800; font-size: 12px;
  color: var(--sb-pink-dark); text-transform: uppercase; letter-spacing: .3px;
}
.locrow-grid select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 4px; font-size: 14px; min-height: 46px; background: #fff; text-align: center;
}
.locrow-grid td.locsel[data-loc="Warehouse"] select { background: #e8f9f0; border-color: var(--good); font-weight: 700; }
.locrow-grid td.locsel[data-loc="On Site"] select { background: #fff1e6; border-color: #ff642e; font-weight: 700; }
.th-date { display: inline-block; margin-left: 5px; color: #b9bec7; font-weight: 800; }

/* ---- passcode gate ---- */
body.locked { overflow: hidden; }
body.locked main { filter: blur(6px); pointer-events: none; }
.gate {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(240, 49, 154, 0.96);
  display: flex; align-items: center; justify-content: center;
}
.gate-card {
  background: #fff; border-radius: 18px; padding: 34px 40px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); width: 320px; max-width: 90vw;
}
.gate-logo { height: 38px; margin-bottom: 14px; }
.gate-card h2 { margin: 0 0 4px; font-size: 22px; }
.gate-card p { margin: 0 0 16px; color: #777; }
.gate-card input {
  width: 100%; font-size: 32px; text-align: center; letter-spacing: 12px;
  padding: 14px 0; border: 2px solid var(--line); border-radius: 12px; margin-bottom: 14px;
}
.gate-card input:focus { outline: none; border-color: var(--sb-pink); }
.gate-card button {
  width: 100%; background: var(--sb-pink); color: #fff; font-size: 18px; font-weight: 700;
  border: none; border-radius: 12px; padding: 14px; cursor: pointer;
}
.gate-err { color: var(--bad) !important; min-height: 20px; margin: 12px 0 0 !important; font-weight: 600; }

/* ============ TECH SECTION (blue/pink) ============ */
:root { --tech-blue: #14307a; --tech-blue-2: #1f4bb8; }

/* section nav buttons (Maintenance / Tech) top-left of the brandbar */
.section-nav { display: inline-flex; gap: 8px; margin-left: 14px; }
.section-btn {
  text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px;
  color: #444; background: var(--ghost); border: 1.5px solid transparent;
}
.section-btn.active { background: var(--sb-pink); color: #fff; }
.brandbar.tech { border-bottom: 3px solid var(--tech-blue); }
.brandbar.tech .section-btn.active { background: var(--tech-blue); color: #fff; }

/* Tech home screen: blue with a pink-edged white card */
body.tech #home { background: var(--tech-blue); }
body.tech .home-card { border-top: 6px solid var(--sb-pink); }
body.tech .home-start { background: var(--tech-blue); }

.tech-hint { background: #eef2fb; border-left: 4px solid var(--tech-blue); padding: 12px 14px;
  border-radius: 8px; margin: 14px 0; font-size: 15px; color: #333; }
.tech-primary { background: var(--tech-blue) !important; color: #fff; }

/* shift rows */
.shift-row { background: #fff; border: 1.5px solid #e6e9ef; border-left: 5px solid var(--tech-blue);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.shift-row.needs-fix { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.shift-grid { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.sf { display: flex; flex-direction: column; gap: 4px; flex: 1 1 130px; }
.sf > span { font-size: 12px; font-weight: 700; color: var(--tech-blue); text-transform: uppercase; letter-spacing: .3px; }
.sf-type { flex: 1 1 160px; } .sf-note { flex: 2 1 200px; } .sf-time { flex: 0 1 110px; } .sf-hrs { flex: 0 1 70px; }
.sf input, .sf select { font-size: 16px; padding: 11px 10px; border: 1.5px solid #d2d7e0; border-radius: 8px; background: #fff; width: 100%; box-sizing: border-box; min-height: 46px; }
.sf-booth input[data-k="booth-manual"] { margin-top: 6px; }
.shift-hours { font-size: 20px; font-weight: 800; color: var(--tech-blue); padding: 9px 0; }
.shift-del { align-self: center; background: var(--ghost); color: var(--bad); border: none; border-radius: 8px;
  font-size: 22px; font-weight: 700; min-height: 46px; width: 46px; cursor: pointer; padding: 0; }
.shift-rate { font-size: 13px; color: #667; margin-top: 8px; }
.rate-summary { background: #fdf0f7; border: 1.5px solid var(--sb-pink); border-radius: 10px; padding: 12px 14px;
  margin: 6px 0 14px; font-size: 15px; min-height: 0; }
.rate-summary:empty { display: none; }
.home-nav { justify-content: center; margin-bottom: 16px; }
body.tech .home-nav .section-btn.active { background: var(--tech-blue); color: #fff; }
.rate-chips { margin: 6px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.rate-chip { background: #eef2fb; color: var(--tech-blue); border: 1px solid #d3ddf3; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }

/* ============ TECH = DARK NAVY INVERTED THEME (whole platform) ============ */
/* Scoped to body.tech so the Maintenance/warehouse side stays light pink. */
body.tech {
  --t-bg: #0a1733; --t-card: #14254d; --t-card2: #1b3060; --t-line: #2c437a;
  --t-text: #e9eefb; --t-muted: #9fb0d6;
  background: var(--t-bg); color: var(--t-text); min-height: 100vh;
}
body.tech main { color: var(--t-text); }

/* brandbar */
body.tech .brandbar { background: #081026; border-bottom: 3px solid var(--tech-blue-2); }
body.tech .brandbar-sub { color: var(--t-muted); }
body.tech .brandbar.review { background: #081026; border-bottom-color: var(--tech-blue-2); }
body.tech .brandbar.review .brandbar-sub, body.tech .brandbar.review .reviewlink { color: var(--t-text); }
body.tech .switch-user { background: var(--t-card2); color: var(--t-text); }
body.tech .reviewlink { color: #9ec5ff; }
body.tech .section-btn { background: var(--t-card2); color: #cdd8f2; }
body.tech .section-btn.active { background: var(--tech-blue-2); color: #fff; }

/* meta fields */
body.tech .field span, body.tech .sf > span { color: var(--t-muted); }
body.tech .field select, body.tech .field input,
body.tech .sf input, body.tech .sf select {
  background: #0f1d3e; color: var(--t-text); border-color: var(--t-line);
}
body.tech .field input[readonly] { background: #0c1730; color: var(--t-muted); }

/* entry: hint, shift rows, summary */
body.tech .tech-hint { background: var(--t-card); border-left-color: var(--tech-blue-2); color: #cdd8f2; }
body.tech .shift-row { background: var(--t-card); border-color: var(--t-line); border-left-color: var(--tech-blue-2); }
body.tech .shift-hours { color: #7aa2ff; }
body.tech .shift-del { background: #3a1f33; color: #ff9ab0; }
body.tech .rate-summary { background: #2a1340; border-color: var(--sb-pink); color: #f6d6ea; }

/* buttons */
body.tech .ghost { background: var(--t-card2); color: #cdd8f2; }
body.tech .save-status { color: var(--t-muted); }
body.tech .msg { color: var(--t-text); }

/* review board */
body.tech .week-card { background: var(--t-card); border-color: var(--t-line); color: var(--t-text); }
body.tech .week-head { background: var(--t-card2); border-bottom: 1px solid var(--t-line); }
body.tech .week-head h3, body.tech .week-total { color: var(--t-text); }
body.tech .review-table { color: var(--t-text); }
body.tech .review-table th { background: var(--t-card2); color: #cdd8f2; border-color: var(--t-line); }
body.tech .review-table td { border-color: var(--t-line); }
body.tech .rate-chip { background: var(--t-card2); color: #bcd0ff; border-color: var(--t-line); }
body.tech .empty { color: var(--t-muted); }
body.tech .meta .field { color: var(--t-text); }

/* keep the deep-navy home consistent with the dark theme */
body.tech #home { background: var(--t-bg); }
body.tech .home-card { background: #fff; }   /* white card stays for contrast on the picker */

/* Tech grid (warehouse-style table) on the dark navy theme */
body.tech .week { background: var(--t-card); border: 1px solid var(--t-line); }
body.tech .week-title { color: var(--t-text); border-left-color: var(--tech-blue-2); }
body.tech .grid-wrap { background: var(--t-card); border-color: var(--t-line); }
body.tech .grid th { background: var(--t-card2); color: #cdd8f2; border-color: var(--t-line); font-size: 12px; }
body.tech .grid td { border-color: var(--t-line); }
body.tech .grid td input, body.tech .grid td select { color: var(--t-text); background: transparent; }
body.tech .grid td input::placeholder { color: #7787b0; }
body.tech .grid .th-date { color: #8fa6d8; display:block; font-size:11px; }
body.tech .line-total { color: var(--t-text); }
body.tech tr.cat-row.dragging { background: #1b3060; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
body.tech .grid td input:focus, body.tech .grid td select:focus { outline: 2px solid var(--tech-blue-2); }
.booth-manual-inp { width: 100%; margin-top: 6px; font-size: 15px; padding: 8px; border: 1.5px solid var(--tech-blue-2); border-radius: 6px; }
.booth-na { display: none; color: #8fa6d8; text-align: center; }
tr.needs-fix td { background: rgba(223,47,74,.20) !important; }
body.tech .c-day { min-width: 86px; }

/* Tech grid: wider Type column for the longer job-type names; keep columns from squeezing */
body.tech .grid { min-width: 1560px; }
body.tech .c-cat { width: 200px; min-width: 200px; }
body.tech td.c-cat select { font-size: 16px; font-weight: 600; }
body.tech .c-job { min-width: 230px; }

/* Tech passcode gate + review link on the dark home screen */
body.tech .gate-card { background: linear-gradient(180deg, #101c44, #0b1430); color: #eaf1ff; border-top: 6px solid var(--tech-blue); }
body.tech .home-review { color: #cdd8f2; }
body.tech .home-review:hover { color: #fff; }

/* Passcode gate must sit above the #home overlay (z 2000); tech gate goes blue */
.gate { z-index: 3000; }
body.tech .gate { background: rgba(20, 48, 122, 0.97); }

/* Booth Maintenance photo + cleanliness capture */
.maint-extra { display: none; margin-top: 6px; }
.maint-btn { background: var(--tech-blue-2); color: #fff; border: none; border-radius: 6px; font-size: 13px; font-weight: 700; padding: 7px 10px; min-height: 0; cursor: pointer; }
.maint-info { font-size: 12px; margin-left: 8px; color: #8fa6d8; }
.maint-info.ok { color: #00c875; } .maint-info.part { color: #fdab3d; }
.ph-clean { width: 100%; box-sizing: border-box; padding: 11px; border: 1.5px solid #d8dce6; border-radius: 8px; font-size: 16px; margin-bottom: 10px; }
.ph-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ph-thumb { position: relative; }
.ph-thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1.5px solid #d8dce6; }
.ph-thumb button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; min-height: 0; border-radius: 50%; background: var(--bad); color: #fff; border: none; padding: 0; font-size: 15px; cursor: pointer; }
.ph-add { display: inline-block; background: var(--ghost); color: #333; border-radius: 8px; padding: 12px 16px; font-weight: 700; cursor: pointer; margin-bottom: 6px; }

/* Photo-compliance status bars (tech review) */
.compliance { background: var(--t-card, #fff); border: 1px solid var(--t-line, #e6e9ef); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.compliance h3 { margin: 0 0 12px; font-size: 16px; }
.comp-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comp-name { width: 110px; font-weight: 700; font-size: 14px; }
.comp-bar { flex: 1; height: 18px; background: rgba(127,135,176,.25); border-radius: 999px; overflow: hidden; }
.comp-fill { display: block; height: 100%; min-width: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--bad), #fdab3d, #00c875); transition: width .4s ease; }
.comp-pct { width: 130px; text-align: right; font-size: 13px; font-weight: 600; }

/* ============ HUSTLE MODE ⚡ (electric dark) ============ */
:root { --h-cyan: #1fd6ff; --h-blue: #2b6bff; --h-pink: #ff2e9a; }
body.hustle { background: radial-gradient(1200px 600px at 70% -10%, #15295e 0%, #0a1330 45%, #060a1c 100%); color: #eaf1ff; min-height: 100vh; }
body.hustle main { max-width: 760px; }

@keyframes boltpulse { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 8px var(--h-cyan)); } 50% { transform: scale(1.12); filter: drop-shadow(0 0 22px var(--h-cyan)); } }
.bolt { font-size: 54px; line-height: 1; animation: boltpulse 1.8s ease-in-out infinite; }

/* start screen */
body.hustle #home { background: radial-gradient(900px 500px at 50% 0%, #1a2f66, #070d1f 70%); }
body.hustle .home-card.hustle-start { background: linear-gradient(180deg, #101c44, #0b1430); border: 1px solid #25407f; box-shadow: 0 18px 60px rgba(0,0,0,.5); color: #eaf1ff; max-width: 420px; }
.hustle-title { font-size: 34px; font-weight: 900; letter-spacing: 2px; margin: 8px 0 2px; background: linear-gradient(90deg, var(--h-cyan), var(--h-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hustle-tag { color: #9fb3e0; margin: 0 0 18px; font-size: 15px; }
.hustle-start .home-name, .hustle-day input { background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; }
.hustle-day { display: block; text-align: left; margin: 12px 0; }
.hustle-day span { display: block; font-size: 12px; font-weight: 700; color: #9fb3e0; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; }
.hustle-day input { width: 100%; box-sizing: border-box; font-size: 17px; padding: 12px; border-radius: 10px; }
body.tech .hustle-go, .hustle-go { background: linear-gradient(135deg, #2f86ff, #19e3ff); color: #02122b; font-weight: 900; letter-spacing: .5px; box-shadow: 0 10px 28px rgba(31,214,255,.5); width: 100%; }
.hustle-go:disabled { opacity: .45; }
body.hustle .home-review { color: #9fb3e0; }

/* header */
.hustle-bar { background: linear-gradient(90deg, #0a1330, #16264f); border-bottom: 2px solid var(--h-cyan); }
.hustle-brand { font-weight: 900; letter-spacing: 1.5px; color: var(--h-cyan); font-size: 18px; }
.hustle-day-label { color: #9fb3e0; font-weight: 700; margin-left: 12px; }

.hustle-meta { margin: 16px 0; }
.travel-field span { color: #9fb3e0; }
.travel-field input { background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 10px; font-size: 17px; padding: 12px; min-width: 120px; }
/* clock-on / time-in-office / clock-off rows */
.day-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hustle-meta .field { display: flex; flex-direction: column; gap: 6px; }
.hustle-meta .field span { font-size: 12px; color: #9fb3e0; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
body.hustle .time-sel { background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 10px; font-size: 17px; padding: 13px 12px; min-height: 50px; min-width: 0; width: 100%; box-sizing: border-box; }
body.hustle .time-sel:focus { outline: none; border-color: var(--h-cyan); }
.section-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--h-cyan); margin: 22px 0 10px; }
.day-bottom { margin-top: 4px; }

/* booth card */
.booth-card { background: linear-gradient(180deg, #0e1a3d, #0b1430); border: 1px solid #25407f; border-radius: 16px; padding: 16px; margin-bottom: 16px; position: relative; overflow: hidden; }
.booth-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--h-cyan), var(--h-pink)); }
.booth-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.booth-num { width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--h-blue), var(--h-cyan)); color: #03122b; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.booth-mtn { flex: 1; background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 10px; font-size: 16px; padding: 11px; min-height: 46px; }
.booth-del { background: #2a1330; color: var(--h-pink); border: none; width: 40px; height: 40px; min-height: 0; border-radius: 8px; font-size: 22px; cursor: pointer; }
.booth-times { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.booth-times label { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.booth-times span { font-size: 12px; color: #9fb3e0; font-weight: 700; text-transform: uppercase; }
.booth-times input, .booth-times select { background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 10px; font-size: 16px; padding: 11px; width: 100%; min-width: 0; }
.booth-hrs { font-size: 20px; font-weight: 800; color: var(--h-cyan); align-self: flex-end; padding-bottom: 8px; min-width: 50px; text-align: right; }

.kind-toggle { display: flex; gap: 10px; margin-bottom: 12px; }
.kind-btn { flex: 1; background: #0c1736; color: #9fb3e0; border: 1.5px solid #2c4a8c; border-radius: 10px; font-size: 14px; font-weight: 700; padding: 12px; cursor: pointer; min-height: 0; }
.kind-btn.active { background: linear-gradient(90deg, var(--h-blue), var(--h-cyan)); color: #03122b; border-color: transparent; }
.other-text, .booth-desc, .booth-report { width: 100%; box-sizing: border-box; background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 10px; font-size: 15px; padding: 11px; margin-bottom: 12px; font-family: inherit; }
.booth-report { border-color: #6b2a4f; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-bottom: 12px; }
.checklist label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #cfe; }
.checklist input { width: 20px; height: 20px; accent-color: var(--h-cyan); }

.photos-3 { display: flex; gap: 10px; margin-bottom: 14px; }
.photo-slot { flex: 1; text-align: center; }
.photo-slot > span { display: block; font-size: 11px; color: #9fb3e0; margin-bottom: 5px; font-weight: 700; }
.ps-drop { height: 84px; border: 2px dashed #2c4a8c; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #5a76b8; cursor: pointer; overflow: hidden; }
.photo-slot.filled .ps-drop { border-style: solid; border-color: var(--h-cyan); }
.ps-drop img { width: 100%; height: 100%; object-fit: cover; }

.stock-block { margin-bottom: 12px; }
.stock-head { font-size: 13px; font-weight: 700; color: #9fb3e0; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.stock-add { display: flex; gap: 8px; }
.stock-sel { flex: 1; background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 8px; font-size: 14px; padding: 9px; min-height: 0; }
.stock-qty { width: 64px; background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 8px; font-size: 14px; padding: 9px; }
.stock-add-btn { background: #1a2c5c; color: var(--h-cyan); border: none; border-radius: 8px; font-size: 14px; font-weight: 700; padding: 9px 14px; min-height: 0; cursor: pointer; }
.stock-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stock-chip { background: #16264f; border: 1px solid #2c4a8c; border-radius: 999px; padding: 5px 10px; font-size: 13px; color: #eaf1ff; }
.stock-chip button { background: none; border: none; color: var(--h-pink); font-size: 15px; cursor: pointer; padding: 0 0 0 4px; min-height: 0; }

.add-booth { width: 100%; background: #0c1736; color: var(--h-cyan); border: 2px dashed #2c4a8c; border-radius: 14px; font-size: 16px; font-weight: 800; padding: 16px; cursor: pointer; }
.hustle-footer { position: sticky; bottom: 0; display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 0; background: linear-gradient(180deg, transparent, #060a1c 40%); }
.hustle-summary { flex: 1; color: #9fb3e0; font-weight: 700; }
.hustle-finish { background: linear-gradient(90deg, var(--h-pink), var(--h-blue)); color: #fff; font-weight: 900; box-shadow: 0 8px 24px rgba(255,46,154,.3); }
body.hustle .gate { background: rgba(7,13,31,.97); }
body.hustle .gate-card { background: linear-gradient(180deg, #101c44, #0b1430); color: #eaf1ff; border-top: 4px solid var(--h-cyan); }

/* ⚡ Hustle entry button on the Tech page */
.hustle-entry { display: inline-block; background: linear-gradient(90deg, var(--h-blue, #2b6bff), var(--h-cyan, #1fd6ff)); color: #03122b !important; font-weight: 800; text-decoration: none; border-radius: 999px; padding: 10px 18px; margin-top: 12px; box-shadow: 0 6px 18px rgba(31,214,255,.3); }

/* ===== Per-person tech sign-in ===== */
.signed-as { font-size: 15px; font-weight: 700; margin: -2px 0 14px; min-height: 18px; color: var(--accent); }
body.tech .signed-as { color: #9fb3e0; }
body.hustle .signed-as { color: var(--h-cyan); }
.home-account { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.home-account .dot { color: #7a8aa8; }
.home-account button { background: none; border: none; color: #6b8cc4; font-size: 14px; font-weight: 600; text-decoration: underline; padding: 8px 6px; min-height: 0; width: auto; cursor: pointer; }
.home-account button:hover { color: var(--accent); }
body.hustle .home-account button { color: #8aa6d6; }
/* subtle link-style button (beats the full-width pink .gate-card button) */
.gate-card button.gate-link { width: auto; display: inline-block; background: none; color: #8aa6d6; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 6px; min-height: 0; text-decoration: underline; border-radius: 6px; margin-top: 10px; }
.gate-card button.gate-link:hover { color: #cfe0ff; }
.gate-bolt { font-size: 40px; line-height: 1; margin-bottom: 4px; }
.gate-ok { color: #38e08f !important; font-weight: 700; }
.gate-card input + input { margin-top: 10px; }
/* change-code modal: two labelled inputs — smaller text so placeholders fit */
#changecode input { font-size: 20px; letter-spacing: normal; }
#changecode input::placeholder { font-size: 16px; letter-spacing: normal; }
/* dark sign-in cards (tech + hustle): readable inputs + sub-text */
body.tech .gate-card p, body.hustle .gate-card p { color: #9fb3e0; }
body.tech .gate-card input, body.hustle .gate-card input { background: #0c1736; color: #eaf1ff; border-color: #2c4a8c; }

/* ===== Tech week-grid daily totals row (dark) ===== */
body.tech tfoot .totals td { background: #0e1a3d; color: #cfe0ff; font-weight: 800; border-color: #25407f; }
body.tech .totals .tot-label { text-align: right; color: #9fb3e0; font-weight: 700; }
body.tech .totals .t-bucket { color: #1fd6ff; }
body.tech .totals .t-week { color: #fff; }

/* ===== Weekly ⇄ Hustle view toggle (tech section) ===== */
.view-toggle { display: flex; gap: 4px; background: #0c1736; border: 1.5px solid #2c4a8c; border-radius: 999px; padding: 4px; margin: 6px auto 14px; max-width: 320px; }
.view-toggle .vt-btn { flex: 1; text-align: center; padding: 11px 12px; border-radius: 999px; text-decoration: none; color: #9fb3e0; font-weight: 800; font-size: 15px; letter-spacing: .3px; }
.view-toggle .vt-btn.active { background: linear-gradient(135deg, #2f86ff, #19e3ff); color: #02122b; box-shadow: 0 4px 14px rgba(31,214,255,.35); }

/* ===== Hustle 'review your day' summary ===== */
.stock-head .opt { font-weight: 500; color: #7f93bd; font-size: 12px; }
.summary-card { width: 380px; max-width: 94vw; text-align: center; }
.sum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.sum-grid > div { background: #0c1736; border: 1px solid #2c4a8c; border-radius: 10px; padding: 8px 6px; }
.sum-grid span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #9fb3e0; }
.sum-grid b { font-size: 18px; color: #eaf1ff; }
.sum-booths { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 14px; min-width: 0; }
.sum-booths th { background: #0c1736; color: #9fb3e0; font-size: 11px; text-transform: uppercase; padding: 8px 6px; border: 1px solid #25407f; }
.sum-booths td { padding: 9px 6px; border: 1px solid #25407f; color: #eaf1ff; text-align: center; }
.sum-booths td:first-child { text-align: left; }
.sum-total { font-size: 15px; color: #cfe0ff; margin-bottom: 14px; }
.sum-total b { color: var(--h-cyan); }
#sum-confirm { width: 100%; background: linear-gradient(135deg, #2f86ff, #19e3ff); color: #02122b; font-weight: 900; font-size: 18px; box-shadow: 0 8px 22px rgba(31,214,255,.4); }

/* ===== Completion power bar (tech review) ===== */
.comp-sub { font-size: 12px; font-weight: 500; color: #9fb3e0; }
.comp-bar.power { height: 22px; }
.comp-bar.power .comp-fill { background: linear-gradient(90deg, #2f86ff, #19e3ff); }
.compliance.power .comp-pct { color: #1fd6ff; font-weight: 800; }
.compliance.power h3 { color: #eaf1ff; }

/* ===== TECH SUPPORT weekend-penalty columns (neon pink) ===== */
body.tech .ts-banner-row th { border: none; background: transparent; padding: 4px 3px 6px; }
body.tech .ts-banner { background: linear-gradient(90deg, #ff10a0, #ff5ac4); color: #fff; font-weight: 900;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: 12px; border-radius: 9px 9px 0 0;
  box-shadow: 0 0 16px rgba(255,16,160,.75); padding: 8px 6px; }
body.tech th.c-day.wknd { box-shadow: inset 0 4px 0 #ff10a0; }
body.tech td.c-day.wknd { background: rgba(255,16,160,.10); box-shadow: inset 0 0 0 1.5px rgba(255,45,155,.6); }
body.tech td.c-day.wknd input { color: #ffd9f0; }
body.tech tfoot .totals td.t-bucket.wknd { background: rgba(255,16,160,.2); color: #ff8fd4; }

/* ===== Per-week notes box (replaces per-line notes) ===== */
.week-notes { display: block; margin: 14px 4px 4px; }
.week-notes span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #555; }
.week-notes textarea { width: 100%; border-radius: 10px; padding: 12px 14px; font-size: 16px; resize: vertical; min-height: 54px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
body.tech .week-notes span { color: #9fb3e0; }
body.tech .week-notes textarea { background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; }
body.tech .week-notes textarea:focus { outline: none; border-color: var(--tech-blue-2); }
/* photos/cleanliness button now sits under the booth picker */
body.tech td.c-job .maint-extra { margin-top: 8px; }

/* ===== Booth Install template ===== */
.hustle-template { display: block; text-align: left; margin: 12px 0; }
.hustle-template > span { display: block; font-size: 12px; color: #9fb3e0; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.booth-mk-input { flex: 1; background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 10px; font-size: 17px; font-weight: 700; padding: 11px; min-height: 46px; min-width: 0; }
.ins-field { display: block; margin: 11px 0; }
.ins-field > span { display: block; font-size: 12px; color: #9fb3e0; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 5px; }
.ins-field input, .ins-field select { width: 100%; background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 10px; font-size: 16px; padding: 12px; min-height: 48px; }
.ins-field input:focus, .ins-field select:focus { outline: none; border-color: var(--h-cyan); }
.ins-photo { margin: 12px 0; }
.ins-photo-lbl { display: block; font-size: 12px; color: #9fb3e0; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 6px; }
.install-card .photo-slot { width: 130px; }

/* ===== Mode switcher (Weekly/Hustle/Install) + editable bar date ===== */
.bar-mode { display: inline-flex; }
.mode-switch { background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 999px; font-size: 14px; font-weight: 800; padding: 9px 11px; min-height: 0; cursor: pointer; }
.mode-switch:focus { outline: none; border-color: var(--h-cyan); }
.bar-date { display: inline-flex; }
.bar-date-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .4px; color: #9fb3e0; font-weight: 700; }
.bar-date input { background: #0c1736; color: #eaf1ff; border: 1.5px solid #2c4a8c; border-radius: 8px; padding: 8px; font-size: 14px; font-weight: 700; min-width: 0; max-width: 150px; }
.hustle-bar { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; padding: 12px 14px; }
.hustle-bar .hustle-brand { font-size: 22px; }
.hustle-bar .switch-user { min-height: 0; padding: 9px 12px; font-size: 16px; flex: none; }
.brandbar.tech { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brandbar.tech .switch-user { margin-left: auto; }
.brandbar.tech .bar-mode { margin-left: auto; }
.brandbar.tech .bar-mode + .switch-user { margin-left: 0; }

/* ===== Weekly entry — Hustle-style HUD in electric pink (only /tech) ===== */
body.weekly {
  --tech-blue: #c81f7e; --tech-blue-2: #ff2d9b;
  --t-bg: #100612; --t-card: #1e0f24; --t-card2: #2a1436; --t-line: #4a2150;
  --t-text: #ffeaf6; --t-muted: #d39ec0;
}
body.weekly #home { background: var(--t-bg); }
body.weekly .home-card { background: linear-gradient(180deg, #25102e, #150a1a); border: 1px solid #5c2350; color: #ffeaf6; box-shadow: 0 18px 60px rgba(0,0,0,.55); }
body.weekly .home-logo { filter: none; }
body.weekly .home-title { font-size: 32px; font-weight: 900; letter-spacing: 2px; background: linear-gradient(90deg, #ff8fd2, #ff2d9b); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.weekly .signed-as { color: #ff9ed4; }
body.weekly .home-start, body.weekly .primary { background: linear-gradient(135deg, #ff2d9b, #ff7ac4); color: #1a0a14; font-weight: 900; box-shadow: 0 10px 28px rgba(255,45,155,.5); }
body.weekly .home-start:disabled { opacity: .5; }
body.weekly .home-name { background: #1a0c20; color: #ffeaf6; border: 1.5px solid #5c2350; }
body.weekly .view-toggle { background: #1a0c20; border-color: #5c2350; }
body.weekly .view-toggle .vt-btn.active { background: linear-gradient(135deg, #ff2d9b, #ff7ac4); color: #1a0a14; box-shadow: 0 4px 14px rgba(255,45,155,.4); }
body.weekly .hustle-entry { background: linear-gradient(90deg, #ff2d9b, #ff7ac4); color: #1a0a14; }
body.weekly .home-account button { color: #ff9ed4; }
body.weekly .home-review { color: #ffb9e0; }
body.weekly .week-title { color: #ffd9ee; }
body.weekly thead th { background: #2a1436; color: #ffd9ee; }
body.weekly tfoot .totals td { background: #1a0c20; color: #ffd9ee; }
body.weekly .ghost { background: #2a1436; color: #ffcfe9; }
body.weekly .mode-switch, body.weekly .bar-date input { background: #1a0c20; border-color: #5c2350; color: #ffeaf6; }
body.weekly .save-status.saved, body.weekly .save-status.loaded { color: #ff7ac4; }
