:root {
  --bg: #f7fbff;
  --card: #ffffff;
  --border: #dbe9f4;
  --text: #17324d;
  --muted: #6b7c90;
  --primary: #41b6ff;
  --primary-2: #1697e6;
  --success: #e7f8ee;
  --success-text: #0d7a3f;
  --warning: #fff6de;
  --warning-text: #9a6a00;
  --danger: #fdebec;
  --danger-text: #b42318;
  --info: #ebf7ff;
  --info-text: #0e7490;
  --violet: #eef5ff;
  --violet-text: #3167ba;
  --gray: #f4f8fb;
  --gray-text: #4e6277;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(27, 83, 133, 0.06);
}

/* v201 — unified People, profile and context switching */
.sidebar-profile-link{color:inherit;text-decoration:none;min-width:0}
.sidebar-profile-link:hover{border-color:#bfd6f5!important;background:#f7fbff!important;color:inherit}
.sidebar-user-avatar-image{object-fit:cover;display:block}
.sidebar-context-switch{padding:0 2px}
.sidebar-context-switch label{display:grid;gap:4px;color:#6b7c90;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.sidebar-context-switch select{width:100%;min-height:34px;border:1px solid var(--hc-border,#dbe6f2);border-radius:7px;background:#fff;color:#18344f;padding:6px 8px;font:inherit;text-transform:none;letter-spacing:0}
.people-search-form{margin-bottom:16px;gap:8px;flex-wrap:wrap}.people-search-form .input{max-width:420px;flex:1 1 250px}
.people-directory-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--border)}
.people-directory{display:grid}
.people-person-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(160px,.55fr) minmax(160px,.55fr) auto;gap:16px;align-items:center;padding:14px 2px;border-bottom:1px solid var(--border)}
.people-person-row:last-child{border-bottom:0}
.people-person-main{display:flex;align-items:center;gap:12px;min-width:0;color:inherit;text-decoration:none}
.people-person-main:hover .people-person-copy strong{color:var(--hc-blue,#2563eb)}
.people-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:10px;object-fit:cover;border:1px solid var(--border);background:#eef5ff}
.people-avatar-fallback{display:grid;place-items:center;color:#1d4ed8;font-weight:850}
.people-person-copy{display:grid;gap:2px;min-width:0}.people-person-copy strong,.people-person-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.people-person-copy strong{font-size:14px}.people-person-copy small{font-size:11px;color:var(--muted)}
.people-role-stack{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.people-access-state{display:grid;gap:4px;justify-items:start}.people-access-state small{font-size:10px;color:var(--muted)}
.people-person-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.people-open-link{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:7px;text-decoration:none;font-weight:850}
.profile-v201-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);gap:16px;align-items:start}.profile-v201-hero{display:flex;align-items:center;gap:16px}
.payment-mask-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.payment-mask-grid>div{display:grid;gap:4px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#f8fbff}.payment-mask-grid span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}.payment-mask-grid strong{font-size:15px}
.profile-details-panel{border:1px solid var(--border);border-radius:8px;padding:12px}.profile-details-panel summary{cursor:pointer;font-weight:800;color:#18344f}
.role-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.role-choice{display:flex;gap:10px;align-items:flex-start;padding:11px;border:1px solid var(--border);border-radius:8px;background:#fff;cursor:pointer}.role-choice input{margin-top:2px}.role-choice span{display:grid;gap:2px}.role-choice strong{font-size:13px}.role-choice small{font-size:10px;line-height:1.35;color:var(--muted)}
@media(max-width:1050px){.people-person-row{grid-template-columns:minmax(240px,1fr) minmax(140px,.6fr) auto}.people-access-state{display:none}.profile-v201-grid{grid-template-columns:1fr}}
@media(max-width:720px){.people-directory-head{align-items:flex-start;flex-direction:column}.people-person-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.people-person-row>.people-role-stack{grid-column:1/2;margin-left:58px}.people-person-actions .btn{display:none}.people-person-copy small{white-space:normal}.payment-mask-grid,.role-choice-grid{grid-template-columns:1fr}.profile-v201-hero{align-items:flex-start}}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px 1fr;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 16px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.brand { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.brand-link-compact{width:56px;height:56px;justify-content:center;border-radius:18px;border:1px solid var(--border);background:linear-gradient(180deg,#fff 0%,#f5fbff 100%);box-shadow:var(--shadow);}
.brand-link-compact .brand-mark{margin:0;}
.brand-icon {
  width: 44px; height: 44px; border-radius: 16px; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.brand-title { font-weight: 700; }
.brand-sub, .topbar-sub, .muted { color: var(--muted); font-size: 13px; }
.nav { display: grid; gap: 6px; }
.nav-link {
  padding: 10px 12px; border-radius: 12px; color: var(--gray-text); font-weight: 600;
}
.nav-link:hover { background: var(--gray); }
.nav-link.active { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); color: #fff; box-shadow: 0 8px 18px rgba(65,182,255,.18); }
.sidebar-note {
  margin-top: 20px; font-size: 13px; color: var(--muted); background: var(--gray); padding: 14px; border-radius: 16px;
}
.main { padding: 22px; }
.topbar {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px;
}
.topbar h1 { margin: 0 0 6px; font-size: 30px; }
.topbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn, button.btn {
  border: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); color: #fff; padding: 11px 16px; min-height:46px; border-radius: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(65,182,255,.16); transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; display:inline-flex; align-items:center; justify-content:center;
}
.btn:hover, button.btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(65,182,255,.18);color:#fff;}
.btn-secondary{box-shadow:none;}
.btn-secondary { background: #fff; color: var(--primary); border: 1px solid var(--border); }
.btn-secondary:hover, button.btn-secondary:hover{background:#f8fbff;color:var(--primary);border-color:#c6dced;box-shadow:none;transform:none;}
.btn-danger { background: #c83636; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-inline{background:#fff;border:1px solid var(--border);border-radius:16px;padding:10px 12px;}
.card-pad { padding: 18px; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats .card-pad { display: flex; justify-content: space-between; gap: 12px; }
.stat-label { color: var(--muted); font-size: 13px; }
.stat-value { font-size: 30px; font-weight: 800; margin-top: 4px; }
.stat-sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.row { display: flex; gap: 16px; align-items: center; }
.row-between { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.section-title { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.input, select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font: inherit; background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.badge {
  display: inline-flex; padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; gap: 6px; align-items: center;
}
.badge-blue { background: var(--info); color: var(--info-text); }
.badge-amber { background: var(--warning); color: var(--warning-text); }
.badge-green { background: var(--success); color: var(--success-text); }
.badge-red { background: var(--danger); color: var(--danger-text); }
.badge-violet { background: var(--violet); color: var(--violet-text); }
.badge-gray { background: var(--gray); color: var(--gray-text); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: 14px; }
.kv div:nth-child(odd) { color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; }
.alert-success { background: var(--success); color: var(--success-text); }
.alert-error { background: var(--danger); color: var(--danger-text); }
.alert-warning { background:#fff3cd; color:#7a4b00; border:1px solid #f4d58d; }
.panel-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; font-size: 12px; background: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo {
  aspect-ratio: 4 / 3; background: var(--gray); border-radius: 14px; border: 1px solid var(--border); overflow: hidden;
  display: block;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.actions-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.help { color: var(--muted); font-size: 12px; margin-top: 6px; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check-item { border: 1px solid var(--border); border-radius: 14px; padding: 12px; display: flex; gap: 8px; }
.mobile-only { display: none; }
@media (max-width: 1100px) {
  .grid-4, .grid-3, .panel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .grid-4, .grid-3, .grid-2, .panel-grid, .form-grid, .form-grid-3, .checklist { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

.job-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 16px;
  align-items: start;
}
.pricing-sidebar { min-width: 0; }
.sticky-card { position: sticky; top: 22px; }
.pricing-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.pricing-eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pricing-total {
  font-size: 34px;
  font-weight: 800;
  margin-top: 10px;
}
.pricing-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.pricing-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.pricing-row,
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pricing-row span {
  color: var(--muted);
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.pricing-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pricing-mini-label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.pricing-secondary-value {
  font-weight: 800;
  font-size: 18px;
}
.mini-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gray);
  color: var(--gray-text);
  font-size: 11px;
  font-weight: 700;
}
.pricing-checklist {
  grid-template-columns: 1fr;
}
.check-item-rich {
  align-items: flex-start;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.check-item-rich:hover {
  border-color: #bcc7d3;
  transform: translateY(-1px);
}
.check-item-rich input {
  margin-top: 2px;
}
.check-copy {
  display: grid;
  gap: 3px;
}
.check-title {
  font-weight: 700;
}
.check-meta {
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1100px) {
  .job-create-layout {
    grid-template-columns: 1fr;
  }
  .sticky-card {
    position: static;
  }
}
@media (max-width: 820px) {
  .pricing-secondary {
    grid-template-columns: 1fr;
  }
}

.page-kicker {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  margin-bottom: 8px;
}
.brand-link { text-decoration: none; }
.brand {
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid rgba(217,224,231,.85);
}
.brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}
.brand-mark-core {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #17212b 0%, #344759 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 12px 24px rgba(23,33,43,.18);
}
.brand-mark-glow {
  position: absolute;
  inset: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
}
.brand-title { font-size: 16px; font-weight: 800; }
.nav-groups { display: grid; gap: 18px; }
.nav-group { display: grid; gap: 8px; }
.nav-group-label {
  padding: 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav-link {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--gray-text);
  font-weight: 700;
  border: 1px solid transparent;
  transition: .18s ease;
}
.nav-link-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.nav-link:hover {
  background: #f7f9fb;
  border-color: rgba(217,224,231,.9);
  transform: translateX(2px);
}
.nav-link.active {
  background: linear-gradient(135deg, #17212b 0%, #304050 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(23,33,43,.14);
}
.nav-link.active .nav-link-meta { color: rgba(255,255,255,.78); }
.sidebar-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  padding: 15px;
  border-radius: 18px;
  border: 1px solid rgba(217,224,231,.9);
}
.topbar { margin-bottom: 18px; }
.topbar h1 { margin: 0 0 6px; font-size: 34px; letter-spacing: -.03em; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(23,33,43,.08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover, button.btn:hover { transform: translateY(-1px); }
.card {
  overflow: hidden;
}
.card-pad { padding: 20px; }
.table-wrap { overflow: auto; }
table { min-width: 100%; }
tr.row-link { cursor: pointer; transition: background .16s ease; }
tr.row-link:hover { background: #f8fafc; }
tr.row-link td:first-child strong,
tr.row-link td:first-child .table-link-title { color: #111c28; }
.table-link-title { font-weight: 800; }
.table-meta { color: var(--muted); font-size: 12px; margin-top: 3px; }
.table-arrow {
  color: var(--muted);
  font-weight: 800;
  width: 24px;
  text-align: right;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.summary-card {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}
.summary-card .label-lite { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.summary-card .value-lite { font-size: 28px; font-weight: 800; margin-top: 8px; }
.summary-card .meta-lite { color: var(--muted); font-size: 12px; margin-top: 6px; }
.detail-hero { margin-bottom: 16px; }
.detail-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-text);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid var(--border);
}
.back-link:hover { background: #fff; }
.detail-title { margin: 0 0 6px; font-size: 30px; letter-spacing: -.03em; }
.detail-subtitle { margin: 0; color: var(--muted); }
.detail-hero-main { align-items: flex-end; }
.info-list { display: grid; gap: 12px; }
.info-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.info-value { font-weight: 600; }
.empty-state {
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--muted);
  background: #fafcff;
}
.inline-list { display:flex; gap:8px; flex-wrap:wrap; }
.stat-link-card { display:block; }
.stat-link-card:hover .card { transform: translateY(-1px); }
.card.soft-card { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.section-stack { display:grid; gap:16px; }
.two-col-detail { display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; }
@media (max-width: 1100px) {
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .two-col-detail { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .brand { margin-bottom: 18px; }
  .summary-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; }
  .detail-hero-top, .detail-hero-main { flex-direction: column; align-items: flex-start; }
}


:root {
  --bg: #f7fbff;
  --card: #ffffff;
  --border: #dbe9f4;
  --text: #17324d;
  --muted: #6b7c90;
  --primary: #41b6ff;
  --primary-2: #1697e6;
  --success: #e7f8ee;
  --success-text: #0d7a3f;
  --warning: #fff6de;
  --warning-text: #9a6a00;
  --danger: #fdebec;
  --danger-text: #b42318;
  --info: #ebf7ff;
  --info-text: #0e7490;
  --violet: #eef5ff;
  --violet-text: #3167ba;
  --gray: #f4f8fb;
  --gray-text: #4e6277;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(27, 83, 133, 0.06);
}

body { font-size: 14px; line-height: 1.45; }
.app-shell { grid-template-columns: 232px 1fr; }
.sidebar { background:#f8fafc; padding:16px 14px; }
.brand { margin-bottom: 18px; }
.brand-mark { width:40px; height:40px; border-radius:10px; background:linear-gradient(180deg, #20354a 0%, #1a2430 100%); display:grid; place-items:center; position:relative; overflow:hidden; }
.brand-mark-core { color:#fff; font-size:13px; font-weight:800; letter-spacing:.08em; position:relative; z-index:1; }
.brand-mark-glow { position:absolute; inset:auto -12px -18px auto; width:34px; height:34px; background:rgba(255,255,255,.08); border-radius:999px; }
.brand-title { font-size:14px; }
.brand-sub,.topbar-sub,.muted,.table-meta,.meta-lite,.help { font-size:12px; }
.nav-group-label { color:#667085; font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; margin:14px 8px 8px; }
.nav-link { padding:10px 11px; border-radius:8px; display:grid; gap:2px; }
.nav-link.active { background:#1d2c3d; color:#fff; }
.nav-link-meta { font-size:11px; opacity:.72; }
.main { padding:18px; }
.topbar { margin-bottom:16px; }
.topbar h1 { font-size:26px; margin-bottom:4px; }
.btn, button.btn { border-radius:8px; padding:10px 14px; font-size:13px; box-shadow:none; }
.btn-secondary { background:#fff; }
.card { border-radius:10px; box-shadow: var(--shadow); }
.card-pad { padding:14px; }
.grid, .form-grid, .form-grid-3, .panel-grid, .summary-grid, .two-col-detail, .section-stack { gap:12px; }
.summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.summary-card { background:#fff; border:1px solid var(--border); border-radius:10px; padding:12px; }
.label-lite { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.05em; font-weight:700; }
.value-lite { font-size:24px; font-weight:800; margin-top:6px; }
.meta-lite { margin-top:4px; color:var(--muted); }
.two-col-detail { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr); gap:12px; }
.section-stack { display:grid; gap:12px; }
.info-list { display:grid; gap:10px; }
.info-row { display:grid; grid-template-columns:140px 1fr; gap:10px; padding:8px 0; border-bottom:1px solid var(--border); }
.info-row:last-child { border-bottom:0; padding-bottom:0; }
.info-label { color:var(--muted); font-size:12px; font-weight:600; }
.info-value { font-weight:600; }
.detail-hero .card-pad { padding:14px; }
.detail-title { margin:8px 0 4px; font-size:24px; }
.detail-subtitle { margin:0; color:var(--muted); }
.back-link { color:#344054; font-weight:700; font-size:13px; }
.table-wrap { border:1px solid var(--border); border-radius:8px; overflow:auto; }
table { background:#fff; }
th, td { padding:10px 10px; }
th { font-size:11px; }
tr.row-link { cursor:pointer; }
tr.row-link:hover td { background:#f8fafc; }
.table-link-title { font-weight:700; }
.table-arrow { width:24px; color:#98a2b3; }
.input, select, textarea { border-radius:8px; padding:10px 12px; }
textarea { min-height:96px; }
.badge { border-radius:999px; padding:5px 9px; font-size:11px; }
.check-item { border-radius:8px; padding:10px; }
.check-item-rich:hover { transform:none; box-shadow:none; }
.checklist-progress-badge { background:#f2f4f7; border:1px solid var(--border); border-radius:999px; padding:7px 10px; font-size:12px; font-weight:700; }
.section-flow { display:flex; flex-wrap:wrap; gap:8px; }
.flow-chip { background:#eef2f6; border:1px solid var(--border); border-radius:999px; padding:6px 10px; font-size:11px; font-weight:700; color:#475467; }
.checklist-stage { border-top:1px solid var(--border); padding-top:14px; margin-top:14px; }
.compact-checklist { grid-template-columns:1fr 1fr; gap:8px; }
.checklist-tile { background:#fff; transition:background .15s ease, border-color .15s ease; }
.checklist-tile.is-complete { background:#f0fdf4; border-color:#b7dfc8; }
.stack-badges { display:flex; flex-wrap:wrap; gap:6px; }
.empty-state { padding:18px; text-align:center; color:var(--muted); }
.stat-link-card .card:hover { border-color:#c7d1db; }
.pricing-card { background:#fff; }
.pricing-total { font-size:30px; }
.pricing-secondary-value { font-size:17px; }
.soft-card { background:#fcfcfd; }
@media (max-width: 1100px){ .summary-grid, .two-col-detail { grid-template-columns:1fr 1fr; } }
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){ .summary-grid, .two-col-detail, .compact-checklist { grid-template-columns:1fr; } .app-shell{grid-template-columns:1fr;} .sidebar{height:auto; position:static;} }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar-actions-stack{align-items:flex-end;display:flex;flex-direction:column;gap:10px}
.language-select-wrap{position:relative;display:flex;align-items:center;background:#fff;border:1px solid var(--border);border-radius:8px;padding:0 10px;min-width:170px}
.language-icon{font-size:14px;color:var(--muted);margin-right:6px}
.language-select{appearance:none;border:0;background:transparent;padding:9px 22px 9px 0;font:inherit;font-weight:700;color:var(--text);min-width:0;width:100%}
.language-select:focus{outline:none}
.card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.card-actions .btn{min-width:104px}
.section-note{padding:10px 12px;border:1px solid var(--border);background:#f8fafc;border-radius:8px;color:var(--muted);font-size:12px}
.wizard-shell{display:grid;gap:14px}
.wizard-progress{display:grid;gap:10px}
.wizard-progress-track{height:8px;background:#edf2f7;border-radius:999px;overflow:hidden}
.wizard-progress-fill{height:100%;background:#20354a;width:0;transition:width .2s ease}
.wizard-nav{display:flex;flex-wrap:wrap;gap:8px}
.wizard-chip{background:#f5f7fa;border:1px solid var(--border);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;color:#475467;cursor:pointer}
.wizard-chip.active{background:#1d2c3d;color:#fff;border-color:#1d2c3d}
.wizard-step-card{border:1px solid var(--border);border-radius:10px;background:#fff}
.wizard-step-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}
.wizard-step-title{margin:0;font-size:18px}
.wizard-step-sub{margin:4px 0 0;color:var(--muted);font-size:12px}
.metric-inline{display:flex;gap:8px;flex-wrap:wrap}
.metric-pill{padding:6px 9px;border-radius:999px;background:#eef2f6;border:1px solid var(--border);font-size:11px;font-weight:700;color:#475467}
.checklist-grid-detailed{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.checklist-tile{padding:10px;border:1px solid var(--border);border-radius:8px;background:#fff;display:flex;gap:10px}
.checklist-tile input{margin-top:2px}
.checklist-tile .check-title{font-size:13px}
.checklist-tile .check-meta{font-size:11px}
.checklist-tile.is-complete{background:#f0fdf4;border-color:#b7dfc8}
.inline-kv{display:grid;grid-template-columns:160px 1fr;gap:8px 10px;font-size:13px}
.inline-kv .k{color:var(--muted);font-weight:600}
.inline-kv .v{font-weight:700}
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){.topbar-actions-stack{align-items:stretch}.language-select-wrap{width:100%}.checklist-grid-detailed{grid-template-columns:1fr}.card-actions{flex-direction:column-reverse}.card-actions .btn{width:100%}}
.actions-inline:last-child{justify-content:flex-end}
.login-body{background:#f5f7fb;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-shell{width:min(460px,100%)}.sidebar-user{margin:14px 0;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff}.restock-list{display:grid;gap:10px}.restock-stepper{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff}.stepper-controls{display:flex;align-items:center;gap:8px}.stepper-btn{min-width:38px;padding:8px 0}.stepper-qty{min-width:20px;text-align:center;font-weight:700}.toggle-inline{display:flex;align-items:center;gap:8px;font-size:14px}.subtle-panel{background:#fbfcff}.compact{padding:12px}


.cleaner-job-layout{display:grid;grid-template-columns:minmax(0,1.3fr) 320px;gap:16px;align-items:start}
.cleaner-top-card{background:linear-gradient(180deg,#ffffff 0%,#f7fafc 100%)}
.cleaner-top-grid{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.cleaner-job-name{margin:0 0 6px;font-size:30px}
.earnings-pill{background:var(--success);color:var(--success-text);padding:14px 18px;border-radius:16px;font-weight:800;min-width:180px;text-align:center}
.cleaner-meta-strip{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px;color:var(--gray-text);font-weight:600}
.cleaner-access-box{margin-top:16px;padding:14px;border-radius:16px;background:#fff;border:1px solid var(--border)}
.cleaner-access-box p{margin:8px 0 0}
.cleaner-side-stack{display:grid;gap:16px}
.arrival-confirm-box{padding:18px;border:1px dashed #bfd2e5;border-radius:18px;background:#f9fbfd}
.upload-dropzone{display:grid;gap:6px;padding:18px;border:1px dashed #bfd2e5;border-radius:18px;background:#f9fbfd;cursor:pointer}
.upload-dropzone input{margin-top:8px}
.upload-dropzone-title{font-weight:800}
.upload-dropzone-sub{font-size:13px;color:var(--muted)}
.cleaning-section-block+.cleaning-section-block{margin-top:14px}
.cleaning-section-title{font-weight:800;margin-bottom:10px}
.issue-mini+.issue-mini{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.issue-mini p{margin:4px 0 0;color:var(--muted);font-size:13px}
.success-orb,.fail-orb{width:72px;height:72px;border-radius:999px;display:grid;place-items:center;font-weight:900;font-size:34px;margin:0 auto}
.success-orb{background:var(--success);color:var(--success-text)}
.fail-orb{background:var(--danger);color:var(--danger-text)}
@media (max-width: 1100px){.cleaner-job-layout{grid-template-columns:1fr}}

.segmented-tabs{display:inline-flex;gap:6px;padding:6px;border:1px solid var(--border);border-radius:999px;background:#f8fafc}
.segmented-tab{border:none;background:transparent;padding:10px 16px;border-radius:999px;font-weight:800;color:#667085;cursor:pointer}
.segmented-tab.active{background:#182230;color:#fff}
.cleaner-jobs-panel{display:none;margin-top:18px}.cleaner-jobs-panel.active{display:block}
.job-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.cleaner-job-card{border:1px solid var(--border);border-radius:18px;background:#fff;padding:18px;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.cleaner-job-card-completed{background:#fcfcfd}.job-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.job-card-title{font-size:18px;font-weight:800;line-height:1.2}.job-card-meta{color:var(--muted);font-size:13px;margin-top:4px}.job-card-details{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.job-card-details div{padding:12px;border:1px solid var(--border);border-radius:14px;background:#fbfcfe}.job-card-details strong{display:block;font-size:12px;color:#667085;margin-bottom:4px}.job-card-actions{margin-top:16px}.job-card-actions .btn{width:100%;justify-content:center}.job-card-actions.two-up{display:grid;grid-template-columns:1fr 1fr;gap:10px}.job-card-actions.two-up form{margin:0}.cleaner-empty-state{padding:24px;border:1px dashed var(--border);border-radius:18px;background:#fbfcfe;text-align:center}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){.job-card-actions.two-up,.job-card-details{grid-template-columns:1fr}.segmented-tabs{display:flex;width:100%}.segmented-tab{flex:1}}


/* === V9.1 clean redesign overrides === */
:root {
  --bg: #f7fbff;
  --card: #ffffff;
  --border: #dbe9f4;
  --text: #17324d;
  --muted: #6b7c90;
  --primary: #41b6ff;
  --primary-2: #1697e6;
  --success: #e7f8ee;
  --success-text: #0d7a3f;
  --warning: #fff6de;
  --warning-text: #9a6a00;
  --danger: #fdebec;
  --danger-text: #b42318;
  --info: #ebf7ff;
  --info-text: #0e7490;
  --violet: #eef5ff;
  --violet-text: #3167ba;
  --gray: #f4f8fb;
  --gray-text: #4e6277;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(27, 83, 133, 0.06);
}

html { background: var(--bg); }
body {
  background:
    radial-gradient(circle at top right, rgba(70,184,244,.08), transparent 22%),
    radial-gradient(circle at top left, rgba(70,184,244,.05), transparent 18%),
    var(--bg);
  color: var(--text);
  letter-spacing: -0.01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 12%, rgba(255,255,255,.65) 0 2px, transparent 3px),
    radial-gradient(circle at 64% 82%, rgba(255,255,255,.55) 0 1px, transparent 2px);
  opacity: .8;
}
.sidebar {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  border-right: 1px solid rgba(217,234,243,.95);
}
.brand {
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(245,252,255,.9) 100%);
  border: 1px solid rgba(217,234,243,.95);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.brand-mark-core {
  background: linear-gradient(135deg, #47baf5 0%, #7ad3ff 100%);
  box-shadow: 0 8px 20px rgba(70,184,244,.18);
}
.brand-mark-glow {
  border-color: rgba(255,255,255,.42);
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent);
}
.brand-title { font-size: 15px; letter-spacing: -.015em; }
.brand-sub, .topbar-sub, .muted, .table-meta, .meta-lite, .help { color: var(--muted); }
.nav-group-label { color: #7f93a1; }
.nav-link {
  color: #42586b;
  border-radius: 14px;
}
.nav-link:hover {
  background: #f4fbff;
  border-color: #d5eaf4;
  transform: none;
}
.nav-link.active {
  background: linear-gradient(135deg, #48baf5 0%, #79d3ff 100%);
  box-shadow: 0 8px 18px rgba(70,184,244,.16);
}
.nav-link.active .nav-link-meta { color: rgba(255,255,255,.9); }
.sidebar-note,
.section-note,
.language-select-wrap,
.sidebar-user {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(244,251,255,.94) 100%);
  border-color: var(--border);
}
.main { padding: 24px; }
.page-kicker {
  color: var(--primary-deep);
  letter-spacing: .12em;
}
.topbar h1, .detail-title {
  color: #123046;
  letter-spacing: -.035em;
}
.topbar-sub { max-width: 780px; line-height: 1.55; }
.btn, button.btn {
  background: linear-gradient(135deg, #46b8f4 0%, #6bcfff 100%);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(70,184,244,.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
}
.btn:hover, button.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(70,184,244,.16);
  filter: saturate(1.02);
}
.btn:active, button.btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(70,184,244,.12); }
.btn-secondary {
  background: #fff;
  color: #1f4961;
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-secondary:hover { background: #f6fcff; box-shadow: 0 4px 10px rgba(41,115,153,.06); color: var(--primary); }
.btn-danger { background: linear-gradient(135deg, #f26b87 0%, #f59aad 100%); box-shadow: 0 6px 16px rgba(242,107,135,.12); }
.card,
.summary-card,
.wizard-step-card,
.cleaner-job-card,
.pricing-card,
.cleaner-top-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,252,255,.98) 100%);
  border: 1px solid rgba(217,234,243,.95);
  box-shadow: var(--shadow);
}
.card { border-radius: 18px; }
.card-pad { padding: 18px; }
.summary-card,
.summary-grid .card,
.stat-link-card .card {
  position: relative;
  overflow: hidden;
}
.summary-card::after,
.summary-grid .card::after,
.stat-link-card .card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -48px;
  bottom: -54px;
  background: radial-gradient(circle, rgba(70,184,244,.13) 0%, rgba(70,184,244,0) 72%);
  pointer-events: none;
}
.stat-label,.label-lite { color: #6f899a; }
.stat-value,.value-lite { color: #123046; }
.input, select, textarea {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #94d7f7;
  box-shadow: 0 0 0 4px rgba(70,184,244,.12);
  background: #fff;
}
.table-wrap {
  border-radius: 16px;
  border: 1px solid rgba(217,234,243,.95);
}
table { background: rgba(255,255,255,.92); }
th {
  background: #fbfeff;
  color: #7d93a1;
  letter-spacing: .08em;
}
tr.row-link:hover td { background: #f5fbfe; }
.badge {
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}
.badge-blue { background: #eaf8ff; color: #137ebf; }
.badge-amber { background: #fff7e6; color: #9f7310; }
.badge-green { background: #edfbf4; color: #1a7e4f; }
.badge-red { background: #fff0f4; color: #bc4a64; }
.badge-violet { background: #f3f1ff; color: #6d59c9; }
.badge-gray { background: #f2f8fb; color: #5d7386; }
.empty-state,
.cleaner-empty-state {
  position: relative;
  background: linear-gradient(180deg, #fbfeff 0%, #f4fbff 100%);
  border: 1px dashed #cfe5ef;
  border-radius: 20px;
  padding: 26px 22px 22px;
  color: #5f7889;
}
.empty-state::before,
.cleaner-empty-state::before {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect x='8' y='10' width='48' height='44' rx='16' fill='%23EAF8FF'/%3E%3Cpath d='M23 37c2.7-6.7 5.8-10 9.3-10 3.3 0 6 2.2 8.1 6.7l2 4.3' stroke='%2346B8F4' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M24 22h16' stroke='%2379D3FF' stroke-width='3.4' stroke-linecap='round'/%3E%3Ccircle cx='45' cy='23' r='4' fill='%2379D3FF'/%3E%3Cpath d='M19 42h26' stroke='%2394D7F7' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.back-link {
  background: #f5fbff;
  color: #34556b;
  border-radius: 14px;
}
.detail-hero,
.detail-hero .card-pad,
.pricing-card,
.cleaner-top-card {
  position: relative;
}
.detail-hero::after,
.cleaner-top-card::after,
.pricing-card::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -42px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(70,184,244,.12) 0%, rgba(70,184,244,0) 68%);
  pointer-events: none;
}
.language-select-wrap,
.sidebar-user,
.section-note {
  border-radius: 14px;
}
.wizard-progress-track { background: #e7f5fd; }
.wizard-progress-fill { background: linear-gradient(90deg, #46b8f4 0%, #79d3ff 100%); }
.wizard-chip,
.flow-chip,
.metric-pill,
.checklist-progress-badge,
.mini-chip,
.segmented-tabs {
  background: #f2fbff;
  border-color: #d7ebf5;
  color: #446375;
}
.wizard-chip.active,
.segmented-tab.active {
  background: linear-gradient(135deg, #46b8f4 0%, #79d3ff 100%);
  color: #fff;
  border-color: transparent;
}
.segmented-tab { color: #5b7384; }
.segmented-tabs { padding: 5px; }
.checklist-tile,
.check-item,
.job-card-details div,
.cleaner-access-box,
.arrival-confirm-box,
.upload-dropzone,
.restock-stepper {
  border-radius: 16px;
  border-color: #d9eaf3;
  background: linear-gradient(180deg, #fff 0%, #fbfeff 100%);
}
.checklist-tile.is-complete { background: #eefbf4; border-color: #c9ead8; }
.upload-dropzone,
.arrival-confirm-box {
  background: linear-gradient(180deg, #fbfeff 0%, #f3fbff 100%);
  border-style: dashed;
}
.success-orb,
.fail-orb {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 18px rgba(41,115,153,.08);
}
.earnings-pill {
  background: linear-gradient(135deg, #eefbf4 0%, #ddf7ea 100%);
  color: #18784d;
  border: 1px solid #cbe9d8;
}
.cleaner-meta-strip { color: #4e6778; }
.login-body {
  background:
    radial-gradient(circle at top right, rgba(70,184,244,.12), transparent 26%),
    linear-gradient(180deg, #f8fcff 0%, #f2f9fd 100%);
}
.login-card {
  position: relative;
  overflow: hidden;
}
.login-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(70,184,244,.16) 0%, rgba(70,184,244,0) 70%);
}
.dashboard-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr);
  gap: 18px;
  margin-bottom: 16px;
}
.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, rgba(70,184,244,.16), transparent 26%),
    radial-gradient(circle at 92% 86%, rgba(121,211,255,.16), transparent 18%);
  pointer-events: none;
}
.dashboard-hero-copy { position: relative; z-index: 1; }
.dashboard-hero-title { margin: 0 0 10px; font-size: 36px; line-height: 1.04; letter-spacing: -.04em; color: #113047; }
.dashboard-hero-text { margin: 0; color: #5e7788; max-width: 640px; line-height: 1.65; }
.dashboard-hero-points { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.dashboard-hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.86);
  border: 1px solid #d9eaf3;
  border-radius: 999px;
  padding: 9px 12px;
  color: #406171;
  font-size: 12px;
  font-weight: 700;
}
.dashboard-hero-point .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #46b8f4 0%, #79d3ff 100%);
  box-shadow: 0 0 0 4px rgba(70,184,244,.12);
}
.dashboard-hero-visual {
  position: relative;
  min-height: 220px;
  z-index: 1;
}
.dashboard-visual-card,
.illustration-bubble,
.illustration-ring,
.illustration-spray,
.illustration-spark,
.illustration-spark-two {
  position: absolute;
}
.dashboard-visual-card {
  width: 190px;
  right: 18px;
  top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid #d9eaf3;
  box-shadow: 0 16px 30px rgba(41,115,153,.08);
}
.dashboard-visual-card .mini-title { font-size: 12px; color: #7190a3; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.dashboard-visual-card .mini-value { font-size: 34px; margin-top: 6px; font-weight: 800; color: #123046; }
.dashboard-visual-card .mini-copy { margin-top: 4px; color: #668293; font-size: 13px; }
.illustration-bubble {
  width: 150px;
  height: 150px;
  left: 24px;
  bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(70,184,244,.22), rgba(121,211,255,.08));
}
.illustration-ring {
  width: 104px;
  height: 104px;
  left: 70px;
  bottom: 56px;
  border: 14px solid rgba(255,255,255,.82);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(41,115,153,.08);
}
.illustration-spray {
  width: 110px;
  height: 134px;
  right: 136px;
  bottom: 26px;
  border-radius: 28px 28px 32px 32px;
  background: linear-gradient(180deg, #8bddff 0%, #46b8f4 100%);
  transform: rotate(-16deg);
  box-shadow: 0 18px 26px rgba(70,184,244,.18);
}
.illustration-spray::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 34px;
  top: -16px;
  left: 30px;
  border-radius: 12px 12px 10px 10px;
  background: #dff3fb;
}
.illustration-spray::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 14px;
  top: -24px;
  right: 14px;
  border-radius: 10px;
  background: #57c6fb;
}
.illustration-spark,
.illustration-spark-two {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(121,211,255,.42);
  transform: rotate(45deg);
}
.illustration-spark { right: 112px; top: 56px; }
.illustration-spark-two { left: 148px; top: 28px; }
.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246,251,255,.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity .38s ease, visibility .38s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.page-loader-card {
  width: 148px;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid #d9eaf3;
  box-shadow: 0 20px 40px rgba(41,115,153,.08);
}
.page-loader-copy { font-size: 13px; color: #618093; font-weight: 700; }
.loader-orbit {
  width: 54px;
  height: 54px;
  position: relative;
  border-radius: 999px;
  border: 3px solid rgba(70,184,244,.14);
  animation: loader-spin 1s cubic-bezier(.5,.2,.2,1) infinite;
}
.loader-orbit::before,
.loader-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}
.loader-orbit::before {
  inset: 8px;
  border: 3px solid rgba(70,184,244,.3);
  border-top-color: rgba(70,184,244,.88);
}
.loader-orbit::after {
  width: 12px;
  height: 12px;
  top: 3px;
  left: 19px;
  background: linear-gradient(135deg, #46b8f4 0%, #79d3ff 100%);
  box-shadow: 0 0 0 5px rgba(70,184,244,.14);
}
body.is-page-entering .page-loader { opacity: 1; visibility: visible; }
body:not(.page-ready) .app-shell,
body:not(.page-ready) .login-shell { opacity: 0; transform: translateY(8px); }
.app-shell,
.login-shell {
  transition: opacity .32s ease, transform .32s ease;
}
body.page-ready .app-shell,
body.page-ready .login-shell { opacity: 1; transform: translateY(0); }
@keyframes loader-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (max-width: 1100px) {
  .dashboard-hero { grid-template-columns: 1fr; }
  .dashboard-hero-visual { min-height: 180px; }
}
@media (max-width: 820px) {
  .main { padding: 16px; }
  .topbar h1 { font-size: 28px; }
  .dashboard-hero-title { font-size: 30px; }
  .dashboard-hero-visual { min-height: 170px; }
  .dashboard-visual-card { width: 168px; right: 0; top: 6px; }
  .illustration-spray { right: 110px; width: 92px; height: 118px; }
  .illustration-bubble { width: 120px; height: 120px; left: 10px; }
  .illustration-ring { width: 88px; height: 88px; left: 38px; bottom: 48px; }
}

.sidebar-footer{margin-top:auto;display:grid;gap:12px}
.sidebar-user-bottom{display:flex;align-items:center;gap:12px;padding:12px}
.sidebar-user-avatar{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#e6f7ff 0%, #bfe8ff 100%);color:#0f5d85;font-weight:800}
.sidebar-note-soft{background:linear-gradient(180deg,#f8fcff 0%,#f2f9ff 100%);font-size:12px;line-height:1.45}
.quick-add{position:relative}
.quick-add-plus{font-size:20px;line-height:1;margin-right:2px}
.quick-add-menu{position:absolute;top:calc(100% + 10px);right:0;min-width:280px;padding:10px;display:none;z-index:30;border-radius:18px}
.quick-add.open .quick-add-menu{display:grid;gap:6px;animation:fadeUp .18s ease}
.quick-add-menu a{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:14px;border:1px solid transparent}
.quick-add-menu a:hover{background:#f7fbff;border-color:var(--border);color:inherit}
.quick-add-menu strong{display:block;font-size:14px;margin-bottom:2px}
.quick-add-menu small{display:block;color:var(--muted);font-size:12px}
.quick-add-icon{width:36px;height:36px;border-radius:12px;background:#eef8ff;display:grid;place-items:center;font-size:16px;flex:0 0 auto}
.table-cell-title{font-weight:700;color:var(--text)}
.table-meta-tight{font-size:12px;color:var(--muted);margin-top:4px}
.stack-badges{display:flex;flex-wrap:wrap;gap:6px}
.table-actions-link{font-weight:700;color:#1083ca}
.issue-dot{display:inline-flex;align-items:center;gap:6px;color:var(--danger-text);font-weight:700;font-size:12px}
.status-cluster{display:grid;gap:8px}
.cleaner-inline-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}
.issue-shortcut{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;border:1px solid #ffd6d6;background:#fff7f7;color:#b42318;font-weight:700}
.cleaner-mini-note{padding:14px;border:1px solid var(--border);border-radius:16px;background:#fbfdff}
@keyframes fadeUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){.quick-add-menu{left:0;right:auto;min-width:250px}.sidebar-footer{margin-top:10px}}

.brand-logo-image{width:115px;height:115px;object-fit:contain;display:block}
.brand-link-compact{padding:10px 0 18px;display:flex;justify-content:center}
.login-brand-logo{width:90px;height:90px;object-fit:contain;display:block;margin-bottom:10px}
.kv{display:grid;grid-template-columns:160px 1fr;gap:10px 16px}.kv>div:nth-child(odd){font-weight:700;color:#667085}
.issue-list{display:grid;gap:12px}.issue-card{border:1px solid #dbe9f4;border-radius:16px;padding:14px;background:#fff}.issue-card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.photo-grid img{width:100%;height:180px;object-fit:cover;border-radius:14px}.section-copy{color:#667085;margin:0 0 14px}.filter-bar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:16px}.filter-bar .field{display:flex;flex-direction:column;gap:6px}.pagination{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin-top:16px}.pagination .btn[aria-disabled="true"]{pointer-events:none;opacity:.45}.settings-stack{display:grid;gap:16px}.mini-form-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.mini-form-grid textarea,.mini-form-grid input,.mini-form-grid select{width:100%}.mini-form-grid .wide{grid-column:span 2}.muted-small{font-size:12px;color:#667085}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.photo-frame{border:1px solid #dbe9f4;border-radius:18px;overflow:hidden;background:#fff}.photo-frame img{width:100%;height:180px;object-fit:cover;display:block}.photo-frame .meta{padding:10px 12px;font-size:12px;color:#667085}.info-split{display:grid;grid-template-columns:1fr 1fr;gap:16px}.table-meta-tight{font-size:12px;color:#667085}.detail-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:16px}.user-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.badge{white-space:nowrap}
@media (max-width: 960px){.filter-bar,.mini-form-grid,.detail-grid,.info-split,.user-grid{grid-template-columns:1fr}.kv{grid-template-columns:1fr}.brand-logo-image{width:64px;height:64px}}


/* v12 dashboard refresh */
.dashboard-hero-compact {
  min-height: 0;
  margin-bottom: 18px;
}
.dashboard-hero-shell {
  position: relative;
  padding: 22px 24px 24px;
  z-index: 1;
}
.dashboard-hero-mainline {
  display: grid;
  grid-template-columns: minmax(0,1fr) 220px;
  gap: 18px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.dashboard-hero-title-tight {
  margin: 0;
  font-size: 42px;
}
.dashboard-hero-text-tight {
  margin-top: 8px;
  max-width: 720px;
}
.dashboard-hero-readiness {
  justify-self: end;
  width: 100%;
  max-width: 220px;
  min-height: 150px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  border: 1px solid #d9eaf3;
  box-shadow: 0 16px 30px rgba(41,115,153,.08);
  position: relative;
  z-index: 3;
}
.dashboard-hero-readiness .mini-title { font-size: 12px; color: #7190a3; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.dashboard-hero-readiness .mini-value { font-size: 42px; line-height: 1; margin-top: 6px; font-weight: 800; color: #123046; }
.dashboard-hero-readiness .mini-copy { margin-top: 8px; color: #668293; font-size: 13px; line-height: 1.45; }
.dashboard-stat-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}
.dashboard-stat-chip {
  display: block;
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid #d9eaf3;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 24px rgba(41,115,153,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dashboard-stat-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(41,115,153,.08);
  border-color: #c7e4f3;
}
.stat-chip-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7190a3;
}
.stat-chip-value {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #123046;
}
.stat-chip-meta {
  display: block;
  margin-top: 8px;
  color: #668293;
  font-size: 12px;
}
.dashboard-hero-visual-inline {
  position: absolute;
  inset: 0;
  min-height: 0;
  pointer-events: none;
}
.dashboard-hero-visual-inline .illustration-bubble {
  width: 180px;
  height: 180px;
  left: auto;
  right: 360px;
  bottom: 14px;
  opacity: .8;
}
.dashboard-hero-visual-inline .illustration-ring {
  left: auto;
  right: 402px;
  bottom: 58px;
}
.dashboard-hero-visual-inline .illustration-spray {
  right: 250px;
  bottom: 22px;
  width: 92px;
  height: 118px;
  opacity: .88;
}
.dashboard-hero-visual-inline .illustration-spark {
  right: 224px;
  top: 34px;
}
.dashboard-hero-visual-inline .illustration-spark-two {
  left: auto;
  right: 470px;
  top: 68px;
}
.brand-link-compact {
  padding: 16px 0 22px;
}
.brand-logo-image {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(41,115,153,.12));
}
@media (max-width: 1280px) {
  .dashboard-stat-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .dashboard-hero-mainline { grid-template-columns: 1fr; }
  .dashboard-hero-readiness { justify-self: start; max-width: 240px; }
  .dashboard-stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-hero-visual-inline .illustration-bubble,
  .dashboard-hero-visual-inline .illustration-ring,
  .dashboard-hero-visual-inline .illustration-spray,
  .dashboard-hero-visual-inline .illustration-spark,
  .dashboard-hero-visual-inline .illustration-spark-two { display: none; }
}
@media (max-width: 640px) {
  .dashboard-hero-shell { padding: 18px; }
  .dashboard-hero-title-tight { font-size: 34px; }
  .dashboard-stat-strip { grid-template-columns: 1fr; }
}


/* V12.1 dashboard and sidebar refinements */
.page-dashboard.page-index .topbar > div:first-child{display:none}
.page-dashboard.page-index .topbar{justify-content:flex-end;margin-bottom:14px}
.page-dashboard.page-index .main{padding-top:18px}

.sidebar{padding:20px 14px}
.brand-link-compact{
  width:110px;
  height:110px;
  padding:0;
  border-radius:24px;
  margin:0 auto 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  box-shadow:none;
}
.brand-logo-image{
  width:96px;
  height:96px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 8px 18px rgba(17,48,71,.10));
}
.nav-group-label{padding-left:14px}
.sidebar .nav-link{padding:14px 14px}

.dashboard-hero-full{
  grid-template-columns: 1fr;
}
.dashboard-hero-full .card-pad{
  position:relative;
  min-height:250px;
}
.dashboard-hero-mainline-single{
  position:relative;
  z-index:2;
  max-width:none;
  margin-bottom:22px;
}
.dashboard-hero-title-tight{
  font-size:52px;
  line-height:1;
  margin-bottom:10px;
}
.dashboard-hero-text-tight{
  max-width:760px;
  font-size:16px;
}
.dashboard-stat-strip-with-readiness{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(7, minmax(0,1fr));
  gap:12px;
}
.dashboard-stat-chip-readiness{
  background:linear-gradient(180deg,#ffffff 0%, #f7fbff 100%);
}
.dashboard-hero-visual-corner{
  position:absolute;
  inset:0;
  min-height:0;
  pointer-events:none;
}
.dashboard-hero-visual-corner .illustration-bubble{
  right:180px;
  top:28px;
  width:220px;
  height:220px;
  opacity:.45;
}
.dashboard-hero-visual-corner .illustration-ring{
  right:210px;
  top:56px;
  width:112px;
  height:112px;
  opacity:.78;
}
.dashboard-hero-visual-corner .illustration-spray{
  right:34px;
  top:24px;
  width:110px;
  height:160px;
  opacity:.22;
  transform:rotate(18deg);
}
.dashboard-hero-visual-corner .illustration-spark{
  right:150px;
  top:30px;
}
.dashboard-hero-visual-corner .illustration-spark-two{
  right:26px;
  top:170px;
}
@media (max-width: 1400px){
  .dashboard-stat-strip-with-readiness{grid-template-columns:repeat(4, minmax(0,1fr))}
}
@media (max-width: 1024px){
  .brand-link-compact{width:88px;height:88px}
  .brand-logo-image{width:76px;height:76px}
  .dashboard-hero-title-tight{font-size:40px}
  .dashboard-stat-strip-with-readiness{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width: 720px){
  .page-dashboard.page-index .topbar > div:first-child{display:block}
  .dashboard-stat-strip-with-readiness{grid-template-columns:1fr}
  .dashboard-hero-title-tight{font-size:34px}
  .brand-link-compact{width:74px;height:74px}
  .brand-logo-image{width:62px;height:62px}
}


/* ===== V13 operations refresh ===== */
:root{
  --radius: 10px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.app-shell{grid-template-columns:220px minmax(0,1fr);}
.sidebar{
  padding:18px 12px;
  overflow:auto;
}
.brand-link-compact{
  width:100%;
  height:auto;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:10px 8px 18px;
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
}
.brand-logo-image{
  width:72px;
  height:72px;
  object-fit:contain;
  display:block;
}
.nav-groups{display:grid; gap:12px;}
.nav-group-label{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#7b8ea3;
  margin:0 8px 2px;
  font-weight:800;
}
.nav{display:grid; gap:4px;}
.nav-link{
  grid-template-columns:18px 1fr;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:8px;
  font-size:14px;
}
.nav-link-icon{
  display:grid;
  place-items:center;
  width:18px;
  color:#6f8194;
  font-size:13px;
  font-weight:800;
}
.nav-link:hover .nav-link-icon,
.nav-link.active .nav-link-icon{color:inherit;}
.nav-link-meta{display:none;}
.sidebar-footer{margin-top:14px;}
.sidebar-user-bottom{margin:0;}
.topbar.topbar-compact{
  margin-bottom:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.topbar-actions-inline{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.quick-menu-panel{min-width:240px;}
.quick-menu-language{display:grid; gap:8px; margin-bottom:8px;}
.quick-menu-trigger{min-width:84px;}
.dashboard-hero{overflow:hidden;}
.dashboard-hero-shell{
  position:relative;
  display:grid;
  gap:18px;
}
.dashboard-stat-strip-ops{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
  position:relative;
  z-index:2;
}
.dashboard-stat-chip{
  min-height:108px;
  border-radius:10px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  text-decoration:none;
}
.dashboard-hero-visual{
  opacity:.6;
  pointer-events:none;
}
.dashboard-hero-visual-corner{
  position:absolute;
  right:-14px;
  top:-10px;
  width:340px;
  height:240px;
}
.dashboard-hero-title{margin:4px 0 8px; font-size:54px;}
.dashboard-hero-text{max-width:640px;}
.page-section-stack{display:grid; gap:16px;}
.settings-header,
.users-header-row{display:flex; align-items:flex-start; justify-content:space-between; gap:16px;}
.settings-summary-chips{display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end;}
.settings-layout{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.settings-side-nav{position:sticky; top:16px;}
.settings-side-nav .card-pad{display:grid; gap:8px;}
.settings-nav-link{
  display:grid;
  gap:4px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:8px;
  text-decoration:none;
  color:inherit;
  background:#fff;
}
.settings-nav-link span{font-size:12px; color:var(--muted);}
.settings-nav-link.active{
  border-color:#b8d6ee;
  background:#f7fbff;
  box-shadow:inset 0 0 0 1px #d8ebfa;
}
.settings-main-stack{display:grid; gap:16px;}
.settings-form-stack{display:grid; gap:16px;}
.section-header-inline{display:flex; align-items:flex-start; justify-content:space-between; gap:12px;}
.form-grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}
.user-overview-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
.user-layout{
  display:grid;
  grid-template-columns:minmax(300px, .9fr) minmax(0, 1.6fr);
  gap:16px;
  align-items:start;
}
.segment-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  color:#475467;
  text-decoration:none;
  font-weight:700;
}
.segment-link.active{
  background:#fff;
  color:#1d2c3d;
  border:1px solid var(--border);
}
.segment-count{
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eef2f6;
  font-size:11px;
}
.btn, button.btn, .btn.btn-secondary, .card, .card-inline, .input, select, textarea, .table-wrap, .summary-card, .wizard-step-card, .checklist-tile, .restock-stepper, .sidebar-user, .upload-dropzone, .arrival-confirm-box, .cleaner-access-box{
  border-radius:8px !important;
}
.badge, .tag, .metric-pill, .flow-chip, .wizard-chip, .checklist-progress-badge, .segment-link{
  border-radius:999px !important;
}
.table-wrap table th{white-space:nowrap;}
.empty-state{
  padding:18px;
  text-align:center;
  color:var(--muted);
}
@media (max-width: 1180px){
  .dashboard-stat-strip-ops{grid-template-columns:repeat(2, minmax(0,1fr));}
  .settings-layout,
  .user-layout{grid-template-columns:1fr;}
  .settings-side-nav{position:static;}
}
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){
  .app-shell{grid-template-columns:1fr;}
  .sidebar{position:static; height:auto;}
  .brand-link-compact{padding-bottom:10px;}
  .topbar.topbar-compact{flex-direction:column; align-items:stretch;}
  .topbar-actions-inline{width:100%; justify-content:flex-end;}
  .settings-header,
  .users-header-row{flex-direction:column;}
  .form-grid-2,
  .user-overview-grid,
  .dashboard-stat-strip-ops{grid-template-columns:1fr;}
}

/* V17 cleaner flow and consistency overrides */
.brand-link-compact{
  width:100%;
  min-height:96px;
  padding:14px 0 16px !important;
  justify-content:center;
  background:linear-gradient(180deg,#fff 0%,#f7fbff 100%);
}
.brand-logo-image{
  width:180px !important;
  max-width:100%;
  height:auto !important;
  object-fit:contain;
}
.topbar-actions-inline .btn,
.topbar-actions-inline button.btn,
.quick-add-trigger,
.quick-menu-trigger,
.cleaner-table-actions .btn,
.cleaner-table-actions button.btn,
.cleaner-table-actions form .btn{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.cleaner-grid-filters{
  display:grid;
  grid-template-columns:2fr 1fr auto;
  gap:12px;
  align-items:end;
  margin-top:16px;
}
.cleaner-grid-filter-actions{
  display:flex;
  gap:10px;
  align-items:end;
}
.cleaner-table-wrap table td{vertical-align:middle;}
.cleaner-jobs-table tr.is-today{background:#f8fcff;}
.cleaner-jobs-table tr.is-tomorrow{background:#fbfdff;}
.cleaner-table-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.cleaner-table-actions form{margin:0;}
.cleaner-table-actions .btn,
.cleaner-table-actions form .btn{min-width:112px}
.quick-add-menu a,
.quick-add-menu button{min-height:44px}
@media (max-width: 960px){
  .cleaner-grid-filters{grid-template-columns:1fr;}
  .cleaner-grid-filter-actions{justify-content:flex-start;}
}
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){
  .brand-link-compact{min-height:84px;}
  .brand-logo-image{width:115px !important;height:115px !important;}
}


.profile-hero{
  display:flex;
  gap:16px;
  align-items:center;
}
.profile-avatar{
  width:88px;
  height:88px;
  border-radius:24px;
  object-fit:cover;
  display:block;
  border:1px solid var(--border);
  background:#f3f7fb;
}
.profile-avatar-fallback{
  width:88px;
  height:88px;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:800;
  color:#26435b;
  background:linear-gradient(180deg,#eef6fd 0%, #e0f0ff 100%);
  border:1px solid var(--border);
}
.profile-edit-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}
.profile-photo-card .help{margin-top:10px}
.profile-photo-card img{width:100%;max-width:180px;aspect-ratio:1/1;object-fit:cover;border-radius:24px;border:1px solid var(--border);background:#f6f9fc}
.profile-photo-actions{display:grid;gap:12px}
.form-section-title{font-size:16px;font-weight:800;margin:0 0 14px}
@media (max-width: 900px){
  .profile-edit-grid{grid-template-columns:1fr}
}

.photo-grid-cleaner{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,110px)) !important;gap:12px;align-content:start}
.photo-frame-cleaner{aspect-ratio:1 / 1;display:block;border-radius:14px;overflow:hidden;border:1px solid #dbe9f4;background:#f7fbff}
.photo-frame-cleaner img{width:100%;height:100%;object-fit:cover;display:block}
.photo-frame-cleaner .meta{display:none}
.cleaner-table-wrap .table-meta,.cleaner-table-wrap .table-meta-tight{display:none}



/* ===== V19.1 UI FIX PATCH ===== */
.brand-link-compact{
  padding: 12px 0 16px !important;
  justify-content: center !important;
  background: transparent !important;
}
.brand-logo-image{
  width: 115px !important;
  height: auto !important;
  max-width: 115px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 14px rgba(17,48,71,.08)) !important;
}
@media (max-width: 1024px){
  .brand-logo-image{
    width: 92px !important;
    max-width: 92px !important;
  }
}
@media (max-width: 720px){
  .brand-logo-image{
    width: 78px !important;
    max-width: 78px !important;
  }
}

.gallery-grid{
  display:grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 150px)) !important;
  gap: 14px !important;
  align-items: start !important;
}
.photo-frame{
  display:block !important;
  width:150px !important;
  min-width:150px !important;
  max-width:150px !important;
  border:1px solid #dbe9f4 !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:#fff !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
.photo-frame img{
  display:block !important;
  width:150px !important;
  height:150px !important;
  min-height:150px !important;
  object-fit:cover !important;
  background:#eef4f8 !important;
}
.photo-frame .meta{
  padding:8px 10px !important;
  font-size:11px !important;
  line-height:1.35 !important;
  color:#667085 !important;
  background:#fff !important;
}
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){
  .gallery-grid{
    grid-template-columns: repeat(auto-fill, minmax(120px, 120px)) !important;
  }
  .photo-frame,
  .photo-frame img{
    width:120px !important;
    min-width:120px !important;
    max-width:120px !important;
    height:120px !important;
    min-height:120px !important;
  }
}

/* consistent button hover readability */
.btn:hover,
button.btn:hover,
.quick-add-trigger:hover,
.quick-menu-trigger:hover{
  color:#fff !important;
}
.btn-secondary:hover{
  color: var(--primary) !important;
  background:#f8fbff !important;
}

/* v25 cleaner + menu polish */
.quick-menu-trigger:hover,
.quick-menu-trigger:focus,
.quick-add-trigger.quick-menu-trigger:hover,
.quick-add-trigger.quick-menu-trigger:focus{
  color: var(--primary) !important;
  background: #f8fbff !important;
  box-shadow: 0 4px 10px rgba(41,115,153,.06) !important;
}


.cleaner-profile-layout {
  grid-template-columns: 1fr;
}
.cleaner-profile-layout .stats-stack {
  display:none;
}
body.modal-open {
  overflow: hidden;
}
.clickable-step {
  display:block;
  text-decoration:none;
}
.clickable-step.locked {
  pointer-events:none;
  opacity:.72;
}
.cleaner-card-stack {
  display:grid;
  gap:16px;
}
@media (min-width: 1101px) {
  .cleaner-dashboard-grid {
    grid-template-columns: 1fr;
  }
}


.brand-link-compact{width:64px;height:64px;border-radius:16px;padding:8px;}
.brand-logo-image{width:100%;height:100%;object-fit:contain;display:block;}
.nav-link{display:flex;align-items:center;gap:10px;min-height:44px;}
.nav-link-icon{width:20px;text-align:center;opacity:.88;}
.nav-link-text{line-height:1.2;}
.sidebar-footer{margin-top:auto;}
.cleaner-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px;}
.cleaner-focus-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);gap:16px;margin-top:16px;align-items:start;}
.cleaner-focus-card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);}
.cleaner-focus-card .card-pad{padding:18px;}
.cleaner-job-list{display:grid;gap:12px;margin-top:14px;}
.cleaner-job-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--border);border-radius:14px;background:#fbfdff;}
.cleaner-job-row-main{display:grid;gap:8px;min-width:0;}
.cleaner-job-row-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
.cleaner-job-row-title{font-weight:800;font-size:16px;}
.cleaner-job-row-meta,.table-meta-tight,.table-meta{color:var(--muted);font-size:12px;}
.cleaner-mini-stack{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.cleaner-side-stack{display:grid;gap:16px;}
.metric-card{padding:16px;border:1px solid var(--border);border-radius:14px;background:#fbfdff;}
.metric-card .value{font-size:28px;font-weight:800;margin-top:6px;}
.metric-card .meta{font-size:12px;color:var(--muted);margin-top:6px;}
.cleaner-page-table th:last-child,.cleaner-page-table td:last-child{text-align:right;}
.cleaner-page-table .table-cell-title{font-weight:700;}
@media (max-width: 1100px){.cleaner-kpi-grid,.cleaner-focus-layout{grid-template-columns:1fr 1fr;}}
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){.cleaner-kpi-grid,.cleaner-focus-layout{grid-template-columns:1fr;}.cleaner-job-row{grid-template-columns:1fr;}}

/* === v28 cleaner polish overrides === */
:root{
  --radius-sm:8px;
  --radius-md:10px;
  --radius-lg:12px;
  --shadow:0 6px 18px rgba(27,83,133,.05);
}
.main{padding:16px 18px 18px;}
.page-dashboard .topbar{
  position:absolute;
  top:20px;
  right:18px;
  left:250px;
  z-index:5;
  margin:0;
  justify-content:flex-end;
  pointer-events:none;
}
.page-dashboard .topbar > div:first-child{display:none;}
.page-dashboard .topbar .topbar-actions{pointer-events:auto;}
.page-dashboard .dashboard-hero{margin-top:0;}
.nav-link,
.btn,
button.btn,
.input,select,textarea,
.table-wrap,
.card,
.card-inline,
.summary-card,
.cleaner-focus-card,
.cleaner-job-row,
.metric-card,
.cleaner-job-meta,
.issue-card,
.checklist-section,
.checklist-item,
.cleaner-stage-card,
.cleaner-access-box,
.arrival-confirm-box,
.upload-dropzone,
.task-modal,
.task-modal-close,
.choice-tile,
.sidebar-user,
.empty-state,
.photo-slot-card,
.photo-frame-cleaner,
.back-link{
  border-radius:var(--radius-md) !important;
}
.badge,.tag,.flow-chip,.wizard-chip,.checklist-progress-badge,.metric-pill,.segment-link,.file-pill{
  border-radius:999px !important;
}
.brand-link-compact{border-radius:16px !important;}
.nav-link{border-radius:8px !important;}
.btn,button.btn,.btn-secondary,.input,select,textarea{border-radius:var(--radius-sm) !important;}
.summary-card{padding:14px;}
.cleaner-focus-card .card-pad,.card-pad{padding:16px;}
.cleaner-focus-layout{grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:14px;}
.cleaner-side-stack{gap:14px;}
.two-col-detail{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);}
.cleaner-job-row{background:#fff;}
.page-cleaner_job .main,
.page-cleaner_view .main{max-width:none;}
.page-cleaner_job .cleaner-overview-banner{grid-template-columns:repeat(4,minmax(0,1fr));}
.page-cleaner_job .cleaner-top-note,
.page-cleaner_job .cleaner-focus-card,
.page-cleaner_job .cleaner-stage-card{width:100%;}
.page-cleaner_job .cleaner-flow-layout{grid-template-columns:minmax(0,1fr);}
.page-cleaner_job .task-overlay{align-items:flex-start;}
.page-cleaner_job .task-modal{animation:modalLift .22s ease;}
.page-cleaner_job .task-modal-body::-webkit-scrollbar{width:10px;}
.page-cleaner_job .task-modal-body::-webkit-scrollbar-thumb{background:#cfe0ee;border-radius:999px;}
@keyframes modalLift{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.profile-hero{display:flex;gap:14px;align-items:center;}
.profile-avatar,.profile-avatar-fallback{width:72px;height:72px;border-radius:12px;object-fit:cover;display:grid;place-items:center;background:#eef5fb;font-weight:800;font-size:24px;color:#30506b;border:1px solid var(--border);}
.cleaner-page-table td,.cleaner-page-table th{white-space:normal;}
@media (max-width:1100px){
  .cleaner-focus-layout,
  .two-col-detail{grid-template-columns:1fr;}
  .page-dashboard .topbar{
    position:static;
    left:auto;
    right:auto;
    pointer-events:auto;
    justify-content:flex-end;
    margin-bottom:12px;
  }
  .page-dashboard .topbar .topbar-actions{pointer-events:auto;}
}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .main{padding:14px;}
  .page-cleaner_job .cleaner-overview-banner{grid-template-columns:1fr;}
  .page-cleaner_job .task-overlay{padding:10px;}
  .page-cleaner_job .task-modal{width:min(100vw - 20px,760px);}
}

/* === v29 shared page header + cleaner payout hierarchy === */
.topbar.topbar-compact{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin:0 0 14px;
  padding:14px 16px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow);
}
.topbar.topbar-dashboard{
  justify-content:flex-end;
}
.topbar-copy.is-hidden{display:none;}
.page-header-card{margin:0 0 14px;}
.page-header-main{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;}
.page-header-title{margin:4px 0 6px;font-size:28px;letter-spacing:-.03em;}
.page-header-subtitle{margin:0;color:var(--muted);max-width:760px;line-height:1.55;}
.page-header-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end;}
.cleaner-jobs-head-compact{justify-content:flex-end;margin-bottom:14px;}
.cleaner-payout-cell{min-width:150px;}
.cleaner-payout-hero{font-size:28px;font-weight:900;letter-spacing:-.04em;line-height:1;color:#182230;}
.cleaner-jobs-table th:first-child,.cleaner-jobs-table td:first-child{padding-left:18px;}
.cleaner-jobs-table td{vertical-align:middle;}
.cleaner-jobs-table .table-cell-title{font-size:15px;}
.cleaner-table-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.page-cleaner_job .page-header-card .page-header-title,
.page-cleaner_view .page-header-card .page-header-title{font-size:30px;}
.page-cleaner_job .summary-grid.cleaner-overview-banner{margin-top:0;}
.page-cleaner_job .cleaner-focus-pad{padding:20px;}
.page-cleaner_job .cleaner-job-title{font-size:30px;}
.page-cleaner_job .cleaner-overview-actions{margin-top:14px;}
.page-cleaner_job .task-overlay{padding:10px 16px 16px;align-items:flex-start;}
.page-cleaner_job .task-modal{margin-top:0;transform:translateY(0);max-height:calc(100vh - 20px);}
.page-cleaner_job .task-modal-body{max-height:calc(100vh - 142px);}
.page-jobs .card > .card-pad > .row-between:first-child,
.page-payments .card > .card-pad > .row-between:first-child,
.page-cleaners .card > .card-pad > .row-between:first-child,
.page-clients .card > .card-pad > .row-between:first-child,
.page-properties .card > .card-pad > .row-between:first-child,
.page-reports .card > .card-pad > .row-between:first-child{margin-bottom:0;}
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){
  .topbar.topbar-compact,
  .page-header-main{flex-direction:column;align-items:stretch;}
  .topbar-actions-inline,
  .page-header-actions{justify-content:flex-start;}
  .cleaner-jobs-table{min-width:760px;}
  .page-header-title{font-size:24px;}
  .cleaner-payout-hero{font-size:24px;}
}

/* === v30 clean pass === */
.topbar.topbar-compact{display:none !important;}
.page-dashboard .topbar{display:none !important;}
.main{padding:14px 18px 18px;}
.page-header-card,
.detail-hero{margin:0 0 12px;}
.page-header-card .card-pad,
.detail-hero .card-pad{padding:14px 16px;}
.page-header-main,
.detail-hero-top,
.detail-hero-main{gap:12px;}
.page-header-title,.detail-title{margin:2px 0 4px; font-size:24px; line-height:1.1; letter-spacing:-.03em;}
.page-header-subtitle,.detail-subtitle{font-size:13px; line-height:1.5; color:var(--muted); max-width:760px; margin:0;}
.page-header-actions,
.detail-hero-actions,
.workspace-actions-inline{display:flex; gap:8px; flex-wrap:wrap; align-items:center; justify-content:flex-end;}
.workspace-actions-inline .quick-add-menu{right:0; left:auto;}
.cleaner-kpi-grid-v30{margin-bottom:12px;}
.cleaner-focus-card-full{margin-top:0;}
.cleaner-section-head{margin-bottom:12px;}
.cleaner-job-list-v30{display:grid; gap:10px;}
.cleaner-job-row-v30{display:grid; grid-template-columns:160px minmax(0,1fr) auto; gap:14px; align-items:center; padding:14px 16px; border:1px solid var(--border); background:#fff;}
.cleaner-job-row-pay{display:grid; gap:3px; align-content:start;}
.cleaner-job-row-v30 .cleaner-job-row-main{gap:4px;}
.cleaner-job-row-v30 .cleaner-job-row-title{font-size:18px;}
.cleaner-job-row-side{display:grid; gap:10px; justify-items:end; align-content:center;}
.cleaner-grid-filters{grid-template-columns:minmax(0,1.3fr) minmax(180px,.65fr) auto; gap:10px; align-items:end;}
.cleaner-grid-filters .label{margin-bottom:4px;}
.cleaner-grid-filters .input,
.cleaner-grid-filters select{min-height:42px; padding:10px 12px;}
.cleaner-grid-filter-actions{display:flex; gap:8px; align-items:end;}
.cleaner-grid-filter-actions .btn{min-height:42px; padding:10px 14px;}
.segmented-tabs{padding:4px; border-radius:999px;}
.segmented-tab{padding:10px 16px; border-radius:999px;}
.cleaner-jobs-table th,
.cleaner-jobs-table td{padding-top:10px; padding-bottom:10px;}
.cleaner-page-table .badge{font-size:11px; padding:6px 10px;}
.summary-card .value-lite{font-size:24px;}
.summary-card.summary-card-hero .value-lite{font-size:26px;}
@media (max-width:1100px){
  .cleaner-job-row-v30{grid-template-columns:130px minmax(0,1fr) auto;}
}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .main{padding:12px;}
  .page-header-main,
  .detail-hero-top,
  .detail-hero-main{flex-direction:column; align-items:stretch;}
  .page-header-actions,
  .detail-hero-actions,
  .workspace-actions-inline,
  .cleaner-job-row-side{justify-content:flex-start; justify-items:start;}
  .cleaner-job-row-v30{grid-template-columns:1fr;}
  .cleaner-grid-filters{grid-template-columns:1fr;}
}


/* === v31 cleaner queue polish === */
.page-header-card,
.detail-hero,
.quick-add,
.page-header-actions,
.detail-hero-actions,
.workspace-actions-inline,
.topbar,
.topbar-actions,
.topbar-actions-inline{overflow:visible !important;}
.quick-add-menu{z-index:9999 !important; box-shadow:0 16px 40px rgba(23,50,77,.16);}
.card.page-header-card,
.page-header-card .card-pad,
.detail-hero,
.detail-hero .card-pad{overflow:visible !important;}

.payout-display{display:inline-flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid #d9e8f3;border-radius:12px;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);min-width:118px;box-shadow:0 4px 14px rgba(27,83,133,.05);}
.payout-amount{display:flex;align-items:flex-end;line-height:1;letter-spacing:-.04em;color:#182230;font-weight:900;}
.payout-currency{font-size:14px;line-height:1.2;margin-right:1px;color:#4b6178;font-weight:800;}
.payout-whole{font-size:28px;}
.payout-decimal{font-size:14px;padding-bottom:2px;color:#5f7286;font-weight:800;}
.payout-label{font-size:11px;font-weight:700;color:#71859a;letter-spacing:.02em;}
.cleaner-payout-cell .payout-display{min-width:126px;}
.cleaner-job-row-pay .payout-display{min-width:132px;}

.cleaner-job-row-side-inline{display:flex !important;align-items:center;justify-content:flex-end;gap:10px;}
.cleaner-job-row-side-inline .badge{white-space:nowrap;}
.cleaner-job-row-side-inline .btn{min-width:110px;}
.cleaner-job-row-v30{grid-template-columns:150px minmax(0,1fr) auto;}
.cleaner-job-row-v30 .cleaner-job-row-main{display:grid;gap:4px;}
.cleaner-job-row-v30 .cleaner-job-row-title{font-size:17px;font-weight:800;}
.cleaner-job-row-v30 .table-meta-tight{font-size:12px;}

.cleaner-jobs-table td{vertical-align:middle;}
.cleaner-jobs-table .cleaner-payout-cell{width:160px;}
.cleaner-jobs-table .table-cell-title{font-weight:800;color:#182230;}
.cleaner-jobs-table .cleaner-table-actions{justify-content:flex-start;}
.cleaner-jobs-table .badge{white-space:nowrap;}
.cleaner-grid-filters{margin-top:10px;}
.segmented-tabs-compact{display:inline-flex;background:#f3f7fb;border:1px solid var(--border);}
.segmented-tab{font-weight:700;}

.payout-summary-card .payout-display{min-width:unset;width:100%;align-items:flex-start;}
.task-progress-meta{margin-top:6px;font-size:12px;font-weight:700;color:var(--muted);}
.task-progress-bar{height:7px;border-radius:999px;background:#e7eef5;margin-top:10px;overflow:hidden;}
.task-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary) 0%, var(--primary-2) 100%);}
.task-modal{margin-top:0 !important;max-height:calc(100vh - 24px) !important;}
.task-modal-body{max-height:calc(100vh - 180px) !important;overflow-y:auto;}
.task-overlay{padding-top:12px !important;align-items:flex-start !important;}

@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .cleaner-job-row-side-inline{justify-content:flex-start;}
  .payout-whole{font-size:24px;}
  .cleaner-jobs-table .cleaner-payout-cell{width:auto;}
}


/* === v32 cleaner refinement === */
.cleaner-job-row-v30 .cleaner-job-row-title,
.cleaner-jobs-table .table-cell-title{font-weight:500;color:#24384d;}
.cleaner-jobs-table .table-cell-title{font-size:15px;}
.cleaner-jobs-table .cleaner-payout-hero{font-size:30px;}
.cleaner-jobs-table .payout-decimal{font-size:13px;}
.page-cleaner_job .task-modal{width:min(680px, calc(100vw - 32px)) !important;}
.page-cleaner_job .task-modal-body{max-width:640px;margin:0 auto; width:100%;}
select, .job-select{padding-right:42px;}
.cleaner-jobs-table select{padding-right:42px;}
.issue-card .btn.btn-secondary{min-height:38px;padding:8px 12px;}


/* V34 calendar workspace */
.calendar-toolbar { margin-bottom: 16px; }
.calendar-toolbar-main { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.calendar-title { margin-top:4px; }
.calendar-nav-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.calendar-filters { display:grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap:12px; align-items:end; margin-top:18px; }
.calendar-filter-actions { display:flex; flex-direction:row; gap:8px; align-items:end; justify-content:flex-end; }
.calendar-summary-grid { margin-bottom:16px; }
.calendar-card { overflow:hidden; margin-bottom:16px; }
.calendar-grid { display:grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { background:rgba(62,83,110,.06); border-bottom:1px solid var(--border); color:var(--muted); font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.calendar-weekdays > div { padding:12px 14px; border-right:1px solid var(--border); }
.calendar-weekdays > div:last-child { border-right:0; }
.calendar-month-grid { background:var(--card); }
.calendar-day { min-height:156px; padding:10px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.86)); }
.calendar-day:nth-child(7n) { border-right:0; }
.calendar-day.is-muted-month { background:rgba(248,250,252,.55); color:var(--muted); }
.calendar-day.is-today { box-shadow: inset 0 0 0 2px rgba(62,83,110,.28); background:#fff; }
.calendar-day-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:8px; }
.calendar-day-number { font-weight:900; font-size:16px; color:var(--text); }
.calendar-day-name { margin-left:6px; color:var(--muted); font-size:12px; font-weight:700; }
.calendar-add { display:inline-flex; width:26px; height:26px; align-items:center; justify-content:center; border-radius:999px; text-decoration:none; background:rgba(62,83,110,.10); color:var(--text); font-weight:900; }
.calendar-add:hover { background:rgba(62,83,110,.18); }
.calendar-job-stack { display:flex; flex-direction:column; gap:7px; }
.calendar-job { display:block; text-decoration:none; color:var(--text); border:1px solid var(--border); border-left:4px solid rgba(62,83,110,.55); background:#fff; border-radius:14px; padding:8px; box-shadow:0 6px 14px rgba(15,23,42,.05); }
.calendar-job:hover { transform:translateY(-1px); box-shadow:0 10px 18px rgba(15,23,42,.08); }
.calendar-job-title { display:block; font-size:12px; line-height:1.2; font-weight:900; }
.calendar-job-meta, .calendar-job-money { display:block; margin-top:3px; font-size:11px; line-height:1.2; color:var(--muted); }
.calendar-job-money { font-weight:800; color:var(--text); }
.calendar-job-completed { border-left-color:#22c55e; }
.calendar-job-in_progress { border-left-color:#8b5cf6; }
.calendar-job-issue_reported, .calendar-job-cancelled { border-left-color:#ef4444; }
.calendar-job-draft { border-left-color:#94a3b8; }
.calendar-empty-day { font-size:12px; color:var(--muted); padding:10px 2px; }
.calendar-agenda { margin-bottom:20px; }
@media (max-width: 1100px) { .calendar-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calendar-day { min-height:132px; } }
@media (max-width: 760px) { .calendar-grid { grid-template-columns: 1fr; } .calendar-weekdays { display:none; } .calendar-day { min-height:auto; border-right:0; } .calendar-day.is-muted-month { display:none; } .calendar-filters { grid-template-columns: 1fr; } .calendar-filter-actions, .calendar-nav-actions { justify-content:flex-start; } }

/* V36 Airbnb-style booking bars: bookings are background context, jobs remain primary */
.calendar-card { overflow:hidden; }
.calendar-legend { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:10px 14px; border-bottom:1px solid var(--border); font-size:12px; font-weight:800; color:var(--text); background:#fff; }
.calendar-legend i { display:inline-block; width:22px; height:9px; border-radius:999px; margin-right:6px; vertical-align:middle; }
.legend-booking { background:rgba(62,83,110,.22); border:1px solid rgba(62,83,110,.18); }
.legend-job { background:#fff; border:1px solid var(--border); border-left:4px solid rgba(62,83,110,.65); }
.calendar-week { border-bottom:1px solid var(--border); }
.calendar-week:last-child { border-bottom:0; }
.calendar-week-days .calendar-day { border-bottom:0; }
.calendar-booking-lanes { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); grid-template-rows:repeat(var(--booking-lanes), 28px); gap:4px 0; padding:8px 10px 2px; background:linear-gradient(180deg, rgba(248,251,255,.88), rgba(255,255,255,.96)); border-bottom:1px dashed rgba(148,163,184,.35); }
.booking-span { align-self:center; min-width:0; height:24px; display:flex; align-items:center; gap:8px; padding:0 10px; margin:0 1px; border:1px solid rgba(62,83,110,.16); border-radius:7px; background:rgba(62,83,110,.12); color:rgba(15,23,42,.74); box-shadow:none; overflow:hidden; white-space:nowrap; font-size:11px; line-height:1; }
.booking-span-start { border-top-left-radius:999px; border-bottom-left-radius:999px; }
.booking-span-end { border-top-right-radius:999px; border-bottom-right-radius:999px; }
.booking-span-property { overflow:hidden; text-overflow:ellipsis; font-weight:900; }
.booking-span-meta { color:var(--muted); font-weight:800; flex:0 0 auto; }
.calendar-job { position:relative; z-index:2; border-left-width:5px; }
.calendar-job-title { font-size:13px; }
.calendar-empty-day { opacity:.72; }
@media (max-width: 760px) { .calendar-booking-lanes { display:block; padding:8px 10px; } .booking-span { margin:4px 0; border-radius:999px; } }

/* v38 cleaner-first calendar refinements */
.calendar-week-cleaning-only { margin-top:0; }
.calendar-job { border-left-color: var(--property-color, rgba(62,83,110,.55)); }
.calendar-job-title { display:flex; align-items:center; gap:7px; }
.property-dot { width:10px; height:10px; border-radius:999px; flex:0 0 auto; box-shadow:0 0 0 3px rgba(15,23,42,.06); }
.turnover-badge { display:inline-flex; align-items:center; margin-top:6px; padding:4px 7px; border-radius:999px; background:#fff7ed; border:1px solid #fed7aa; color:#9a3412; font-size:10px; font-weight:900; letter-spacing:.01em; }
.property-colour-chip { display:inline-flex; align-items:center; gap:8px; font-weight:800; }
.property-colour-chip span { width:16px; height:16px; border-radius:999px; background:var(--property-color); box-shadow:0 0 0 3px rgba(15,23,42,.08); }

.table-link-title .property-dot { display:inline-block; vertical-align:middle; margin-right:7px; }

/* v48 polished job tooltips */
.calendar-card,
.calendar-month-grid,
.calendar-week,
.calendar-week-days,
.calendar-day,
.calendar-job-stack { overflow: visible; }
.calendar-job { position:relative; }
.job-tooltip-card{
  position:absolute;
  left:12px;
  bottom:calc(100% + 10px);
  width:275px;
  max-width:calc(100vw - 32px);
  display:block;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(6px) scale(.98);
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
  background:#fff;
  border:1px solid rgba(203,213,225,.95);
  border-radius:18px;
  box-shadow:0 20px 45px rgba(15,23,42,.18);
  padding:14px;
  z-index:80;
  color:var(--text);
}
.job-tooltip-card:after{
  content:"";
  position:absolute;
  left:24px;
  top:100%;
  width:14px;
  height:14px;
  background:#fff;
  border-right:1px solid rgba(203,213,225,.95);
  border-bottom:1px solid rgba(203,213,225,.95);
  transform:rotate(45deg);
  margin-top:-7px;
}
.calendar-job:hover .job-tooltip-card,
.calendar-job:focus .job-tooltip-card,
.calendar-job:focus-visible .job-tooltip-card{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}
.tooltip-topline{display:block;height:5px;border-radius:999px;margin:-2px -2px 10px;}
.tooltip-title{display:block;font-size:15px;font-weight:950;line-height:1.2;color:#14243a;}
.tooltip-subtitle{display:inline-flex;margin-top:6px;padding:4px 8px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-size:11px;font-weight:900;}
.tooltip-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px;}
.tooltip-grid span{display:block;padding:9px;border-radius:12px;background:#f8fafc;border:1px solid #edf2f7;min-width:0;}
.tooltip-grid b{display:block;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin-bottom:4px;}
.tooltip-grid em{display:block;font-style:normal;font-size:12px;font-weight:850;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tooltip-grid span:nth-child(1), .tooltip-grid span:nth-child(5){grid-column:1 / -1;}
.tooltip-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #eef2f7;font-size:12px;font-weight:900;color:#475569;}
.tooltip-footer strong{color:#0f172a;}
.calendar-day:nth-child(7n) .job-tooltip-card,
.calendar-day:nth-child(6n) .job-tooltip-card{left:auto;right:12px;}
.calendar-day:nth-child(7n) .job-tooltip-card:after,
.calendar-day:nth-child(6n) .job-tooltip-card:after{left:auto;right:24px;}
@media (max-width:760px){
  .job-tooltip-card{display:none;}
}

/* v51 calendar polish + live property override pricing */
.calendar-card{border-radius:22px;box-shadow:0 14px 34px rgba(27,83,133,.06);}
.calendar-legend{background:linear-gradient(180deg,#ffffff 0%,#f8fcff 100%);padding:12px 16px;}
.calendar-day{min-height:170px;padding:12px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);transition:background .15s ease, box-shadow .15s ease;}
.calendar-day:hover{background:#fff;box-shadow:inset 0 0 0 1px rgba(65,182,255,.18);}
.calendar-day-head{margin-bottom:10px;}
.calendar-day-number{font-size:17px;}
.calendar-add{background:#eef6fc;color:#17324d;box-shadow:0 3px 10px rgba(15,23,42,.04);}
.calendar-job{padding:10px 10px 9px;border-radius:16px;border-left-width:6px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 7px 18px rgba(15,23,42,.06);transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;}
.calendar-job:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,23,42,.10);border-color:#cfe0ee;}
.calendar-job-main{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;}
.calendar-job-title{font-size:13px;min-width:0;}
.calendar-price-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 7px;border-radius:999px;background:#eff6ff;color:#1d4ed8;border:1px solid #dbeafe;font-size:11px;font-weight:950;white-space:nowrap;}
.calendar-job-meta{font-size:11px;color:#6b7c90;}
.calendar-guest-line{color:#42586b;font-weight:650;}
.calendar-context-row{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px;}
.calendar-context-row span{display:inline-flex;padding:3px 6px;border-radius:999px;background:#f7fafc;border:1px solid #e7eef6;color:#53677a;font-size:10px;font-weight:850;}
.calendar-empty-day{padding:14px 4px;color:#9aaabd;}
.turnover-badge{font-size:10px;padding:4px 8px;margin-top:7px;background:#fff7ed;border-color:#fdba74;color:#9a3412;}
.job-tooltip-card{width:310px;border-radius:20px;padding:15px;box-shadow:0 24px 55px rgba(15,23,42,.22);}
.tooltip-title{font-size:16px;}
.tooltip-subtitle{background:#eef6ff;color:#3167ba;border-color:#dbeafe;}
.tooltip-grid{gap:10px;}
.tooltip-grid span{background:#fbfdff;border-color:#e7eef6;}
.tooltip-grid span:nth-child(7),.tooltip-grid span:nth-child(8){grid-column:auto;}
.tooltip-footer{background:#f8fafc;margin:12px -2px -2px;padding:10px 12px;border-radius:14px;border:1px solid #edf2f7;}
.pricing-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.pricing-insight-grid div{border:1px solid var(--border);background:#fbfdff;border-radius:14px;padding:12px;}
.pricing-insight-grid span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:850;margin-bottom:6px;}
.pricing-insight-grid strong{font-size:18px;color:var(--text);}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){.pricing-insight-grid{grid-template-columns:1fr}.calendar-day{min-height:auto}.calendar-job-main{align-items:center}.job-tooltip-card{display:none}}
.calendar-price-detail{font-weight:700;color:#0f2742;margin-top:2px}.calendar-price-pill{white-space:nowrap}


/* v57 mobile cleaner experience */
.mobile-calendar-list{display:none;margin-bottom:16px;}
.mobile-job-days{display:grid;gap:14px;margin-top:14px;}
.mobile-job-day{border:1px solid var(--border);border-radius:18px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);overflow:hidden;}
.mobile-job-day.is-today{box-shadow:0 0 0 2px rgba(65,182,255,.18);}
.mobile-job-date{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;background:#f8fbff;border-bottom:1px solid var(--border);}
.mobile-job-date strong{font-size:15px;}
.mobile-job-date span{font-size:12px;color:var(--muted);font-weight:800;}
.mobile-job-card-stack{display:grid;gap:10px;padding:12px;}
.mobile-job-card{display:block;border:1px solid #e4edf5;border-left:7px solid var(--property-color,#3b82f6);border-radius:18px;background:#fff;padding:13px;box-shadow:0 8px 20px rgba(15,23,42,.06);}
.mobile-job-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.mobile-job-property{display:flex;align-items:center;gap:8px;font-weight:950;color:#14243a;font-size:15px;line-height:1.2;}
.mobile-pay-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;color:#1d4ed8;font-size:13px;font-weight:950;padding:5px 9px;white-space:nowrap;}
.mobile-job-meta-line{display:block;margin-top:5px;color:#617386;font-size:12px;font-weight:700;}
.mobile-context-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
.mobile-context-chips span{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f8fafc;border:1px solid #e7eef6;color:#53677a;font-size:11px;font-weight:900;}
.mobile-context-chips .is-urgent{background:#fff7ed;border-color:#fdba74;color:#9a3412;}

@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){
  body{background:#f4f9fd;}
  .main{padding:14px 12px 86px;}
  .sidebar{display:none;}
  .topbar{margin-bottom:12px;}
  .topbar-actions{width:100%;}
  .topbar-actions .btn,.topbar-actions .quick-add{flex:1;}
  .topbar-actions .quick-add-trigger{width:100%;}
  .page-header-card{border-radius:20px;}
  .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .summary-card{padding:14px;border-radius:16px;}
  .value-lite{font-size:24px;}
  .mobile-calendar-list{display:block;}
  .calendar-card{display:none;}
  .calendar-agenda{display:none;}
  .calendar-toolbar .card-pad{padding:14px;}
  .calendar-toolbar-main{gap:10px;}
  .calendar-nav-actions{display:grid;grid-template-columns:1fr 1fr 1fr;width:100%;gap:8px;}
  .calendar-nav-actions .btn{padding:10px 8px;min-height:42px;font-size:13px;}
  .calendar-filters{display:none;}
  .calendar-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .calendar-legend{display:none;}
  .mobile-list-head{align-items:center;}
}

@media (max-width: 720px){
  .page-cleaner_job .main{padding-left:10px;padding-right:10px;padding-bottom:98px;}
  .cleaner-focus-pad,.cleaner-stage-card .card-pad{padding:16px;}
  .cleaner-job-title{font-size:26px;line-height:1.05;}
  .cleaner-job-subgrid{grid-template-columns:1fr;gap:9px;}
  .cleaner-job-meta{padding:12px;border-radius:14px;}
  .cleaner-flow-track{display:flex;gap:8px;overflow-x:auto;padding:2px 0 8px;margin-bottom:12px;scroll-snap-type:x mandatory;}
  .cleaner-flow-chip{min-width:116px;white-space:nowrap;scroll-snap-align:start;padding:10px 12px;}
  .checklist-section{padding:14px;border-radius:18px;}
  .checklist-section h3{font-size:17px;}
  .checklist-item{padding:14px;border-radius:16px;align-items:center;}
  .checklist-item input[type="checkbox"], .choice-tile input[type="radio"]{width:24px;height:24px;flex:0 0 auto;accent-color:#1697e6;}
  .choice-tile{padding:15px;border-radius:17px;}
  .photo-slot-grid{grid-template-columns:1fr;}
  .photo-slot-card,.photo-slot-card .slot-inner{min-height:150px;}
  .photo-slot-card.completed img{height:150px;}
  .wizard-actions{position:sticky;bottom:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1px solid #e6eef6;padding:12px;margin:18px -16px -16px;box-shadow:0 -10px 25px rgba(15,23,42,.08);}
  .wizard-actions .btn,.wizard-actions form,.wizard-actions form .btn{width:100%;}
  .task-overlay{padding:0;background:#fff;}
  .task-modal{width:100% !important;max-height:100vh !important;border-radius:0 !important;border:0 !important;box-shadow:none !important;}
  .cleaner-modal-head{padding:14px 16px;position:sticky;top:0;z-index:5;}
  .task-modal-body{padding:16px;max-height:calc(100vh - 74px) !important;}
}

/* === v58 iPhone cleaner mobile layout fixes === */
html, body { width:100%; max-width:100%; overflow-x:hidden; }
* { box-sizing:border-box; }
@supports (-webkit-touch-callout: none) {
  input, select, textarea, button { font-size:16px; }
}
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){
  html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
  body { min-width:0; }
  .app-shell{display:block; width:100%; max-width:100vw; overflow-x:hidden;}
  .main{width:100%; max-width:100vw; overflow-x:hidden; padding:12px 10px 88px;}
  .topbar{position:relative; width:100%; max-width:100%; overflow:visible !important; border-radius:18px; padding:10px;}
  .topbar-actions{display:flex; gap:8px; width:100%; max-width:100%; min-width:0;}
  .topbar-actions .quick-add{position:static; min-width:0; flex:1 1 0;}
  .topbar-actions .quick-add-trigger{width:100%; min-width:0; padding-left:10px; padding-right:10px;}
  .quick-add-menu,
  .quick-menu-panel{position:absolute !important; left:10px !important; right:10px !important; top:calc(100% + 8px) !important; width:auto !important; min-width:0 !important; max-width:calc(100vw - 20px) !important; padding:8px !important; border-radius:18px !important; overflow:hidden;}
  .quick-add-menu a,
  .quick-add-menu button{padding:11px 12px; min-height:44px;}
  .quick-add-menu small{display:none;}
  .quick-menu-language{padding:8px;}
  .language-select, select, input, textarea{font-size:16px !important;}
  .page-header-card,
  .cleaner-focus-card,
  .summary-card,
  .card{max-width:100%;}
}

@media (max-width: 600px){
  .cleaner-kpi-grid-v30{grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:10px;}
  .cleaner-kpi-grid-v30 .summary-card{padding:12px; border-radius:16px; min-width:0;}
  .cleaner-kpi-grid-v30 .label-lite{font-size:11px;}
  .cleaner-kpi-grid-v30 .value-lite,
  .summary-card.summary-card-hero .value-lite{font-size:19px !important; line-height:1.1; overflow-wrap:anywhere;}
  .cleaner-kpi-grid-v30 .meta-lite{font-size:11px; line-height:1.25;}
  .cleaner-focus-card .card-pad{padding:13px;}
  .cleaner-section-head{display:flex; align-items:center; gap:8px; margin-bottom:10px;}
  .cleaner-section-head .muted{display:none;}
  .cleaner-section-head .section-title{font-size:18px; margin:0;}
  .cleaner-section-head .btn{padding:8px 10px; min-height:38px; font-size:13px;}
  .cleaner-job-list-v30{gap:8px;}
  .cleaner-job-row-v30{display:grid; grid-template-columns:1fr auto; grid-template-areas:'main pay' 'actions actions'; gap:8px 10px; padding:12px; border-radius:16px; align-items:start;}
  .cleaner-job-row-pay{grid-area:pay; justify-self:end;}
  .cleaner-job-row-main{grid-area:main; min-width:0;}
  .cleaner-job-row-side-inline{grid-area:actions; display:flex !important; width:100%; justify-content:space-between !important; align-items:center; gap:8px; padding-top:6px; border-top:1px solid #edf3f8;}
  .cleaner-job-row-v30 .cleaner-job-row-title{font-size:15px; line-height:1.2; white-space:normal; overflow-wrap:anywhere;}
  .cleaner-job-row-v30 .cleaner-job-row-meta{font-size:12px;}
  .cleaner-job-row-v30 .table-meta-tight{display:none;}
  .cleaner-job-row-side-inline .btn{min-width:0; padding:9px 12px; min-height:40px; font-size:13px;}
  .cleaner-job-row-side-inline .badge{font-size:11px; padding:6px 8px;}
  .cleaner-job-row-pay .payout-display{min-width:0; padding:7px 9px; border-radius:12px; align-items:flex-end;}
  .cleaner-job-row-pay .payout-label{display:none;}
  .cleaner-job-row-pay .payout-whole{font-size:22px;}
  .cleaner-job-row-pay .payout-currency{font-size:12px;}
  .cleaner-job-row-pay .payout-decimal{font-size:11px;}
}

/* === v59 iPhone full mobile menu fix === */
@media (max-width: 820px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  .topbar-actions-inline,
  .topbar-actions,
  .quick-add,
  .quick-menu {
    position: static !important;
    overflow: visible !important;
  }

  .quick-menu.open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 52, .34);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
  }

  .quick-menu-panel {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    top: auto !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: calc(100vh - 42px) !important;
    overflow-y: auto !important;
    padding: 14px !important;
    border-radius: 24px !important;
    z-index: 9999 !important;
    box-shadow: 0 24px 70px rgba(15, 35, 52, .28) !important;
  }

  .quick-menu.open .quick-menu-panel {
    display: grid !important;
    gap: 10px !important;
  }

  .quick-menu-panel a,
  .quick-menu-panel .quick-menu-language {
    width: 100% !important;
    min-height: 58px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    background: #f8fbff !important;
    border: 1px solid var(--border) !important;
  }

  .quick-menu-panel a {
    display: flex !important;
    align-items: center !important;
  }

  .quick-menu-panel strong {
    font-size: 16px !important;
  }

  .quick-menu-panel small {
    font-size: 13px !important;
  }

  .quick-menu-panel .language-select-wrap,
  .quick-menu-panel .language-select {
    width: 100% !important;
  }

  .quick-menu-panel .language-select {
    min-height: 48px !important;
    font-size: 16px !important;
  }

  .quick-menu-trigger {
    min-width: 96px !important;
  }

  body:has(.quick-menu.open) {
    overflow: hidden;
  }
}

/* === v60 fixed full-screen mobile navigation === */
.mobile-menu-head,
.mobile-menu-links{display:none;}
@media (max-width: 820px) {
  .quick-menu.open::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(15,35,52,.42);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
    z-index:9998;
  }
  .quick-menu-panel{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:100vw !important;
    max-width:100vw !important;
    height:100dvh !important;
    max-height:100dvh !important;
    min-width:0 !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
    padding:calc(14px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom)) !important;
    border-radius:0 !important;
    z-index:9999 !important;
    box-shadow:none !important;
    background:#ffffff !important;
  }
  .quick-menu.open .quick-menu-panel{
    display:block !important;
  }
  .mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 14px;margin-bottom:10px;border-bottom:1px solid #e8f0f7;}
  .mobile-menu-head strong{font-size:22px;line-height:1.1;display:block;color:#0f2334;}
  .mobile-menu-head small{font-size:13px;color:var(--muted);display:block;margin-top:3px;}
  .mobile-menu-close{width:46px;height:46px;border-radius:16px;border:1px solid #d9e6f0;background:#f8fbff;color:#102a43;font-size:30px;line-height:1;display:grid;place-items:center;padding:0;}
  .mobile-menu-links{display:grid;gap:14px;margin-bottom:14px;}
  .mobile-menu-group{display:grid;gap:7px;}
  .mobile-menu-group-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6b7c8f;font-weight:800;margin:6px 4px 2px;}
  .quick-menu-panel .mobile-menu-link{display:flex !important;align-items:center !important;gap:12px;width:100% !important;min-height:58px !important;padding:12px !important;border-radius:18px !important;background:#f8fbff !important;border:1px solid #e3edf5 !important;text-decoration:none;color:#102a43 !important;}
  .quick-menu-panel .mobile-menu-link.active{background:#eef8ff !important;border-color:#bfe3fb !important;box-shadow:0 10px 20px rgba(27,126,180,.08);}
  .quick-menu-panel .mobile-menu-link strong{font-size:16px !important;line-height:1.15;}
  .quick-menu-panel .mobile-menu-link small{display:block !important;font-size:12px !important;line-height:1.25;color:#6b7c8f;margin-top:3px;}
  .quick-menu-panel > a:not(.mobile-menu-link),
  .quick-menu-panel .quick-menu-language{width:100% !important;min-height:auto !important;padding:12px !important;border-radius:18px !important;background:#f8fbff !important;border:1px solid #e3edf5 !important;margin-top:8px;}
  .quick-menu-panel > a:not(.mobile-menu-link){display:flex !important;align-items:center !important;gap:12px;text-decoration:none;color:#102a43 !important;}
  .quick-menu-panel > a:not(.mobile-menu-link) small{display:block !important;}
  body:has(.quick-menu.open){overflow:hidden !important;}
}

/* === v61 Mobile bottom navigation === */
.mobile-bottom-nav{display:none;}
@media (max-width: 820px), (orientation: landscape) and (max-height: 500px){
  :root{--mobile-bottom-nav-height:78px;}
  html{min-width:0; overflow-x:hidden;}
  body{
    overflow-x:hidden;
    padding-bottom:calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 14px) !important;
    -webkit-text-size-adjust:100%;
  }
  .app-shell{min-width:0;}
  .main{
    padding-bottom:calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 26px) !important;
    min-width:0;
  }
  .topbar-actions-inline .quick-menu{display:none !important;}
  .workspace-actions-inline .quick-menu{display:none !important;}
  .mobile-bottom-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:calc(8px + env(safe-area-inset-bottom));
    height:var(--mobile-bottom-nav-height);
    z-index:10050;
    display:grid;
    grid-template-columns:repeat(var(--mbn-cols,4),minmax(0,1fr));
    grid-auto-rows:100%;
    grid-auto-flow:column;
    gap:6px;
    padding:8px;
    border:1px solid rgba(202,220,235,.95);
    border-radius:26px;
    background:rgba(255,255,255,.96);
    box-shadow:0 18px 45px rgba(15, 41, 65, .18), 0 2px 10px rgba(15, 41, 65, .08);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  .mobile-bottom-nav-item{
    min-width:0;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    border-radius:20px;
    text-decoration:none;
    color:#60748a;
    font-weight:850;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
  .mobile-bottom-nav-item.active{
    color:#16324a;
    background:linear-gradient(180deg,#eef7ff 0%, #e6f3ff 100%);
    box-shadow:inset 0 0 0 1px rgba(101,176,230,.28), 0 8px 18px rgba(58,130,190,.10);
  }
  .mobile-bottom-nav-icon{
    display:grid;
    place-items:center;
    width:28px;
    height:25px;
    font-size:20px;
    line-height:1;
  }
  .mobile-bottom-nav-label{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
    line-height:1.1;
    letter-spacing:-.01em;
  }
  .page-header-card,
  .detail-hero,
  .calendar-card,
  .card{max-width:100%;}
  .calendar-day:last-child,
  .calendar-card,
  .cleaner-job-card,
  .checklist-card,
  .wizard-step-card{scroll-margin-bottom:calc(var(--mobile-bottom-nav-height) + 28px);}
  .wizard-actions,
  .checklist-actions,
  .job-card-actions,
  .cleaner-job-actions,
  .card-actions{
    margin-bottom:10px;
  }
}
@media (max-width: 380px){
  .mobile-bottom-nav{left:7px; right:7px; gap:4px; padding:7px; border-radius:23px;}
  .mobile-bottom-nav-label{font-size:10px;}
  .mobile-bottom-nav-icon{font-size:18px;}
}

/* v66: fixed desktop navigation - content scrolls, sidebar does not move */
@media (min-width: 821px){
  .app-shell{
    display:block !important;
    min-height:100vh;
  }
  .sidebar{
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:220px !important;
    height:100vh !important;
    max-height:100vh !important;
    z-index:50;
    overflow:hidden !important;
  }
  .sidebar .nav-groups{
    min-height:0;
    flex:1 1 auto;
    overflow-y:auto;
    padding-right:2px;
    align-content:start;
  }
  .sidebar-footer{
    flex:0 0 auto;
    margin-top:14px !important;
  }
  .main{
    margin-left:220px !important;
    width:calc(100% - 220px) !important;
  }
}


/* === v67: true fixed desktop shell + premium pricing UI === */
@media (min-width: 821px){
  html, body{height:100%; overflow:hidden;}
  .app-shell{display:block !important; min-height:100vh; height:100vh;}
  .sidebar{
    position:fixed !important;
    inset:0 auto 0 0 !important;
    width:240px !important;
    height:100vh !important;
    max-height:100vh !important;
    overflow:hidden !important;
    display:flex !important;
    flex-direction:column !important;
    z-index:100 !important;
  }
  .sidebar .nav-groups{flex:1 1 auto; min-height:0; overflow-y:auto; padding-right:4px; align-content:start;}
  .sidebar-footer{margin-top:auto !important; flex:0 0 auto; padding-top:12px;}
  .main{
    margin-left:240px !important;
    width:calc(100vw - 240px) !important;
    height:100vh !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding-bottom:48px !important;
  }
}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){html,body{height:auto; overflow:auto}.main{height:auto;overflow:visible}}

.money-flow-card{border:1px solid rgba(217,234,243,.95);border-radius:22px;background:linear-gradient(180deg,#fff 0%,#f8fcff 100%);box-shadow:0 10px 28px rgba(27,83,133,.07);overflow:hidden}
.money-flow-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 18px 0}.money-flow-title{font-size:20px;font-weight:900;color:#123046}.money-flow-sub{font-size:13px;color:var(--muted);margin-top:4px}.money-flow-margin{display:grid;text-align:right;gap:4px}.money-flow-margin span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#6f899a}.money-flow-margin strong{font-size:22px;color:#0d7a3f}.money-flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px}.money-node{position:relative;border:1px solid var(--border);border-radius:18px;background:#fff;padding:16px;min-height:116px}.money-node::after{content:"";position:absolute;right:-18px;top:50%;width:24px;height:2px;background:#dbe9f4}.money-node:last-child::after{display:none}.money-node-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.money-node-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;font-weight:900}.money-node-client .money-node-icon{background:#e7f8ee;color:#0d7a3f}.money-node-manager .money-node-icon{background:#eef5ff;color:#3167ba}.money-node-cleaner .money-node-icon{background:#ebf7ff;color:#0e7490}.money-node-profit .money-node-icon{background:#fff6de;color:#9a6a00}.money-node-label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#6f899a;margin-top:14px}.money-node-value{font-size:28px;font-weight:950;color:#123046;margin-top:4px}.money-node-help{font-size:12px;color:var(--muted);margin-top:4px}.money-breakdown{display:grid;gap:9px;border-top:1px solid var(--border);padding:16px 18px;background:rgba(248,252,255,.65)}.money-breakdown-row{display:flex;justify-content:space-between;gap:12px;font-size:14px}.money-breakdown-row span{color:var(--muted)}.money-breakdown-row strong{color:#123046}.money-breakdown-row.profit strong{color:#0d7a3f}.money-breakdown-row.loss strong{color:#b42318}.money-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.money-edit-field{border:1px solid var(--border);border-radius:18px;background:#fff;padding:14px}.money-edit-field .input{font-size:24px;font-weight:900;color:#123046;padding:10px 12px}.money-edit-field .label{font-weight:900;text-transform:uppercase;letter-spacing:.06em}.money-mini-note{padding:0 18px 18px;color:var(--muted);font-size:13px}.money-flow-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.money-node-profit::after{display:none}
@media (max-width:1100px){.money-flow-grid,.money-flow-grid.four{grid-template-columns:1fr 1fr}.money-node::after{display:none}}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){.money-flow-head{flex-direction:column}.money-flow-grid,.money-flow-grid.four,.money-edit-grid{grid-template-columns:1fr}.money-node{min-height:auto}.money-node-value{font-size:24px}}

/* v68 compact calendar + money flow refinements */
.money-edit-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));}
@media (max-width:980px){.money-edit-grid-three{grid-template-columns:1fr}.money-flow-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));}.money-node::after{display:none}}
@media (max-width:640px){.money-flow-grid.four{grid-template-columns:1fr}}

.calendar-day{min-height:118px;padding:8px;}
.calendar-day-head{margin-bottom:6px;}
.calendar-job-stack{gap:5px;}
.calendar-job{padding:6px 8px;border-radius:12px;border-left-width:4px;box-shadow:none;background:#fff;}
.calendar-job:hover{transform:none;box-shadow:0 8px 18px rgba(15,23,42,.08);}
.calendar-job-main{align-items:center;}
.calendar-job-title{font-size:12px;line-height:1.15;display:flex;align-items:center;gap:6px;min-width:0;}
.calendar-property-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;min-width:0;}
.calendar-compact-meta{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;}
.calendar-complete-tick{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#dcfce7;color:#15803d;font-weight:950;font-size:12px;flex:0 0 auto;}
.calendar-unassigned-dot{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#ffedd5;color:#c2410c;font-weight:950;font-size:12px;flex:0 0 auto;}
.calendar-job-completed{opacity:.58;background:#f8fafc;border-left-color:#cbd5e1!important;}
.calendar-job-completed .calendar-property-name,.calendar-job-completed .calendar-compact-meta{color:#94a3b8;}
.calendar-empty-day{display:none;}

@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .mobile-calendar-list{display:none!important;}
  .calendar-card{display:block!important;overflow-x:hidden;border-radius:20px;}
  .calendar-weekdays{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));font-size:10px;padding:8px 4px;}
  .calendar-week-days{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));}
  .calendar-day{min-height:68px;padding:5px;border-right:1px solid #e9f0f6;border-bottom:1px solid #e9f0f6;}
  .calendar-day-head{margin-bottom:4px;}
  .calendar-day-name,.calendar-add,.calendar-legend{display:none!important;}
  .calendar-day-number{font-size:12px;font-weight:900;}
  .calendar-day.is-today .calendar-day-number{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#15324d;color:#fff;}
  .calendar-job-stack{display:flex;flex-wrap:wrap;gap:3px;align-content:flex-start;}
  .calendar-job{display:inline-flex;width:9px;height:9px;min-width:9px;min-height:9px;padding:0;border:0!important;border-radius:999px;background:var(--property-color,#3b82f6)!important;box-shadow:none;overflow:hidden;}
  .calendar-job-completed{background:#cbd5e1!important;opacity:1;}
  .calendar-job-main,.calendar-compact-meta,.job-tooltip-card{display:none!important;}
  .calendar-job:nth-of-type(n+5){display:none;}
  .calendar-day:has(.calendar-job:nth-of-type(5)) .calendar-job-stack::after{content:'+';font-size:9px;line-height:9px;font-weight:900;color:#64748b;}
  .calendar-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* v70 UX tightening: cleaner calendar density, today emphasis, completed tooltip clarity */
.calendar-job{
  border-radius:7px !important;
  padding:6px 7px !important;
  box-shadow:none !important;
  border-color:#d9e8f3 !important;
}
.calendar-job:hover{box-shadow:0 6px 14px rgba(15,23,42,.08)!important;}
.calendar-day{border-radius:0!important;}
.calendar-day.is-today{box-shadow:inset 0 0 0 2px rgba(34,132,211,.45)!important;background:#f8fcff!important;}
.calendar-day.is-today .calendar-day-number{
  display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#15324d;color:#fff;font-weight:950;
}
.calendar-job-completed{opacity:1!important;background:#f8fafc!important;border-left-color:#cbd5e1!important;}
.calendar-job-completed .calendar-job-main,
.calendar-job-completed .calendar-compact-meta{opacity:.48;}
.calendar-job-completed .job-tooltip-card{opacity:0;}
.calendar-job-completed:hover .job-tooltip-card,
.calendar-job-completed:focus .job-tooltip-card,
.calendar-job-completed:focus-visible .job-tooltip-card{opacity:1!important;visibility:visible!important;transform:translateY(0) scale(1)!important;}
.calendar-complete-tick{background:#dcfce7;color:#15803d;}
.calendar-compact-meta{font-size:10px!important;}
.table-actions-cell{white-space:nowrap;}
.btn-small{min-height:34px;padding:7px 10px;font-size:12px;}
.compact-tabs .segment-link{padding:7px 11px;font-size:12px;}

@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .calendar-day.is-today .calendar-day-number{min-width:22px;height:22px;padding:0;border-radius:999px;background:#15324d;color:#fff;}
  .calendar-job{border-radius:999px!important;width:9px!important;height:9px!important;min-width:9px!important;min-height:9px!important;padding:0!important;background:var(--property-color,#3b82f6)!important;}
  .calendar-job-completed{background:#cbd5e1!important;}
  .calendar-complete-tick{display:none!important;}
}


.notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--border);border-radius:14px;background:#fff;text-decoration:none;color:var(--ink);box-shadow:var(--shadow-soft)}
.notification-bell strong{position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;line-height:20px;text-align:center;border:2px solid #fff}
.notification-list{display:grid;gap:10px}.notification-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--border);border-radius:16px;background:#fff;text-decoration:none;color:inherit}.notification-row.is-unread{border-color:#93c5fd;background:#eff6ff}.notification-dot{width:10px;height:10px;border-radius:999px;background:#94a3b8}.notification-row.is-unread .notification-dot{background:#2563eb}.notification-copy{display:grid;gap:3px}.notification-copy span,.notification-copy small{color:var(--muted)}.attention-queue{display:grid;gap:10px}.attention-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid #fed7aa;background:#fff7ed;border-radius:14px}.attention-item strong{display:block}.attention-item small{color:var(--muted)}.conflict-warning{border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:14px;padding:12px;margin:12px 0}

/* v73 Hodders Cleaning premium operations calendar */
.ops-calendar-page{display:grid;gap:18px;}
.ops-calendar-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;}
.ops-calendar-topbar h1{margin:2px 0 0;font-size:34px;letter-spacing:-.04em;color:#0f1e33;}
.ops-calendar-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.view-toggle{display:flex;align-items:center;gap:4px;padding:5px;border:1px solid #dbe7f3;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.05);}
.view-toggle span{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:10px;color:#52657b;font-size:13px;font-weight:900;white-space:nowrap;}
.view-toggle .active{background:#eef5ff;color:#2563eb;box-shadow:inset 0 0 0 1px #dbeafe;}
.month-switcher{display:flex;align-items:center;gap:8px;padding:5px 8px;border:1px solid #dbe7f3;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.05);}
.month-switcher a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;text-decoration:none;color:#19324f;font-size:22px;font-weight:800;background:#f8fbff;}
.month-switcher a:hover{background:#eef5ff;}
.month-switcher strong{min-width:122px;text-align:center;font-size:15px;color:#0f1e33;}
.ops-kpi-row{display:grid;grid-template-columns:repeat(7,minmax(135px,1fr));gap:12px;}
.ops-kpi-card{display:flex;align-items:center;gap:13px;min-height:88px;padding:16px;border:1px solid #e3edf7;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 12px 28px rgba(15,23,42,.06);}
.ops-kpi-card strong{display:block;font-size:23px;line-height:1;color:#0f1e33;letter-spacing:-.03em;}
.ops-kpi-card small{display:block;margin-top:6px;color:#30445f;font-weight:800;font-size:12px;}
.ops-kpi-card em{display:block;margin-top:7px;color:#16a34a;font-style:normal;font-size:11px;font-weight:900;}
.kpi-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:999px;font-size:18px;font-weight:950;flex:0 0 auto;}
.kpi-icon.blue{background:#eef5ff;color:#2563eb}.kpi-icon.green{background:#ecfdf5;color:#16a34a}.kpi-icon.orange{background:#fff7ed;color:#f97316}.kpi-icon.purple{background:#f5f3ff;color:#7c3aed}
.ops-filter-drawer{border:1px solid #e3edf7;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04);overflow:hidden;}
.ops-filter-drawer summary{cursor:pointer;padding:14px 16px;font-weight:900;color:#19324f;}
.ops-filter-form{padding:0 16px 16px;margin:0;}
.ops-calendar-workspace{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;align-items:start;}
.ops-month-card,.ops-panel-card{border:1px solid #e3edf7;border-radius:20px;background:#fff;box-shadow:0 18px 40px rgba(15,23,42,.07);overflow:hidden;}
.ops-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#fbfdff;border-bottom:1px solid #e3edf7;}
.ops-weekdays div{padding:13px 12px;text-align:center;color:#47566c;font-size:12px;font-weight:950;border-right:1px solid #edf3f9;}
.ops-weekdays div:last-child{border-right:0;}
.ops-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));}
.ops-day{position:relative;min-height:150px;padding:11px;border-right:1px solid #e7eef6;border-bottom:1px solid #e7eef6;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);transition:box-shadow .16s ease,transform .16s ease,background .16s ease;}
.ops-day:nth-child(7n){border-right:0;}
.ops-day:hover{z-index:3;background:#fff;box-shadow:inset 0 0 0 1px rgba(37,99,235,.13),0 16px 32px rgba(15,23,42,.08);}
.ops-day.muted-month{background:#f8fafc;color:#95a3b5;}
.ops-day.today{background:linear-gradient(180deg,#fffdf9 0%,#fff9ed 100%);}
.ops-day.selected{z-index:4;box-shadow:inset 0 0 0 2px #fb923c;background:linear-gradient(180deg,#fffaf2 0%,#fff7ed 100%);}
.ops-day-link{text-decoration:none;color:inherit;display:block;}
.ops-day-head{display:flex;align-items:center;gap:8px;justify-content:space-between;min-height:24px;}
.ops-day-link{display:flex;align-items:center;gap:8px;min-width:0;flex:1;}
.ops-day-add{position:relative;z-index:6;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 26px;border:1px solid #cbdbea;border-radius:50%;background:#f4f8fc;color:#173f8f;font-size:18px;font-weight:700;line-height:1;text-decoration:none;transition:background .14s ease,border-color .14s ease,color .14s ease;}
.ops-day-add:hover,.ops-day-add:focus-visible{border-color:#93b4d7;background:#eaf3ff;color:#123476;outline:none;}
.ops-day-head strong{font-size:17px;color:#0f1e33;font-weight:950;}
.ops-day-head em{display:inline-flex;padding:4px 7px;border-radius:999px;background:#ffedd5;color:#f97316;font-style:normal;font-size:9px;text-transform:uppercase;font-weight:950;letter-spacing:.04em;}
.ops-day-jobs{display:grid;gap:7px;margin-top:9px;}
.ops-mini-job{display:block;text-decoration:none;border:1px solid #dfeaf5;border-radius:10px;background:#fff;padding:8px 9px;box-shadow:0 5px 12px rgba(15,23,42,.04);transition:transform .14s ease,box-shadow .14s ease;}
.ops-mini-job:hover{transform:translateY(-1px);box-shadow:0 10px 18px rgba(15,23,42,.08);}
.ops-mini-job span{display:flex;align-items:center;gap:7px;min-width:0;color:#14243a;font-size:12px;font-weight:950;line-height:1.15;}
.ops-mini-job span i,.side-job-body strong i,.ops-calendar-legend i{width:9px;height:9px;border-radius:999px;background:var(--property-color,#3b82f6);flex:0 0 auto;box-shadow:0 0 0 3px rgba(15,23,42,.05);}
.ops-mini-job small{display:block;margin-top:5px;color:#51657c;font-size:11px;font-weight:750;}
.ops-mini-job.completed{opacity:.58;background:#f8fafc;}.ops-mini-job.issue_reported,.ops-mini-job.cancelled{border-color:#fecaca;background:#fff7f7;}
.ops-more-jobs{font-size:12px;font-weight:950;color:#2563eb;text-decoration:none;padding:3px 2px;}
.ops-day-total{position:absolute;left:12px;right:12px;bottom:8px;font-size:10px;color:#64748b;font-weight:900;}
.ops-empty-selected{display:grid;place-items:center;text-align:center;gap:3px;margin-top:10px;color:#6b7c90;}
.ops-empty-selected span{font-size:26px;color:#f97316}.ops-empty-selected strong{font-size:13px;color:#14243a}.ops-empty-selected small{font-size:11px;}
.ops-calendar-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid #e3edf7;background:#fbfdff;color:#30445f;font-size:12px;font-weight:850;}
.ops-calendar-legend span{display:inline-flex;align-items:center;gap:7px;}.ops-calendar-legend .legend-completed{background:#86efac}.ops-calendar-legend .legend-problem{background:#ef4444}
.ops-side-panel{display:grid;gap:16px;position:sticky;top:18px;}
.ops-panel-card{padding:0;}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 18px 12px;}
.panel-head h2{margin:0;color:#0f1e33;font-size:18px;letter-spacing:-.02em;}.panel-head p{margin:5px 0 0;color:#64748b;font-size:12px;font-weight:700;}.panel-head a{color:#2563eb;text-decoration:none;font-weight:900;font-size:12px;white-space:nowrap;}
.selected-day-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0 18px 16px;border:1px solid #e7eef6;border-radius:14px;background:#fbfdff;overflow:hidden;}
.selected-day-stats div{padding:12px;text-align:center;border-right:1px solid #e7eef6;}.selected-day-stats div:last-child{border-right:0;}.selected-day-stats strong{display:block;color:#0f1e33;font-size:16px;}.selected-day-stats span{display:block;margin-top:4px;color:#64748b;font-size:11px;font-weight:800;}
.no-jobs-hero{margin:0 18px 18px;padding:28px 18px;text-align:center;border-radius:16px;background:linear-gradient(180deg,#fffaf0 0%,#fff7ed 100%);border:1px solid #ffedd5;}.no-jobs-hero span{font-size:36px;color:#f97316}.no-jobs-hero h3{margin:10px 0 4px;color:#0f1e33}.no-jobs-hero p{margin:0 0 16px;color:#64748b;font-size:13px;}
.side-job-list{display:grid;gap:0;padding:0 18px 18px;}.side-job-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #edf3f9;text-decoration:none;color:#17263c;}.side-job-list .side-job-card:first-child{border-top:0;}.side-thumb{width:54px;height:46px;border-radius:12px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(14,165,233,.10));border:1px solid #e3edf7;display:flex;align-items:center;justify-content:center;}.side-thumb i{width:30px;height:22px;border-radius:7px;background:linear-gradient(135deg,var(--property-color),#dbeafe);opacity:.8;}.side-job-body{display:block;min-width:0;}.side-job-body strong{display:flex;align-items:center;gap:7px;font-size:14px;line-height:1.2;color:#0f1e33;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.side-job-body small{display:block;margin-top:5px;color:#64748b;font-size:12px;font-weight:750;}.side-job-body em{display:inline-flex;margin-top:7px;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-style:normal;font-size:11px;font-weight:850;}.side-job-card b{color:#059669;font-size:13px;white-space:nowrap;}.side-job-card:hover .side-job-body strong{color:#2563eb;}
.activity-feed-card{padding-bottom:8px}.activity-feed-list{list-style:none;margin:0;padding:0 18px 16px;display:grid;gap:9px}.activity-feed-list li{display:grid;grid-template-columns:42px 10px 1fr;align-items:center;gap:9px;font-size:12px;font-weight:800;color:#475569}.activity-feed-list time{color:#64748b;font-weight:850}.activity-feed-list span{width:8px;height:8px;border-radius:999px}.blue-dot{background:#3b82f6}.green-dot{background:#22c55e}.purple-dot{background:#8b5cf6}

@media (max-width:1380px){.ops-kpi-row{grid-template-columns:repeat(4,minmax(150px,1fr));}.ops-calendar-workspace{grid-template-columns:minmax(0,1fr) 350px;}.ops-day{min-height:138px;padding:9px}.ops-mini-job span{font-size:11px}}
@media (max-width:1100px){.ops-calendar-workspace{grid-template-columns:1fr}.ops-side-panel{position:static;grid-template-columns:repeat(2,minmax(0,1fr));}.selected-day-panel{grid-column:1/-1}.ops-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){.ops-calendar-topbar{align-items:flex-start}.ops-calendar-controls{width:100%;}.view-toggle{order:3;width:100%;overflow:auto;justify-content:space-between}.view-toggle span{flex:1}.month-switcher{flex:1;justify-content:space-between}.ops-calendar-controls .btn{flex:1}.ops-kpi-row{display:flex;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x mandatory}.ops-kpi-card{min-width:180px;scroll-snap-align:start}.ops-weekdays{display:none}.ops-month-grid{display:grid;grid-template-columns:1fr;gap:12px;padding:12px;background:#f6faff}.ops-day{min-height:auto;border:1px solid #e3edf7!important;border-radius:18px;box-shadow:0 8px 20px rgba(15,23,42,.04)}.ops-day.muted-month{display:none}.ops-day-total{position:static;margin-top:8px}.ops-side-panel{grid-template-columns:1fr}.selected-day-stats{grid-template-columns:repeat(3,1fr)}.ops-calendar-legend{gap:10px}.ops-calendar-topbar h1{font-size:29px}.panel-head{padding:16px}.side-job-list{padding:0 16px 16px}.no-jobs-hero{margin:0 16px 16px}.ops-filter-form{grid-template-columns:1fr!important}.calendar-filters{grid-template-columns:1fr!important}}
@media (max-width:520px){.ops-calendar-page{gap:14px}.ops-calendar-controls{gap:8px}.month-switcher strong{min-width:auto}.ops-calendar-controls .btn{width:100%;flex-basis:100%}.selected-day-stats{grid-template-columns:1fr}.selected-day-stats div{border-right:0;border-bottom:1px solid #e7eef6}.selected-day-stats div:last-child{border-bottom:0}.side-job-card{grid-template-columns:minmax(0,1fr) auto}.side-thumb{display:none}.ops-panel-card,.ops-month-card{border-radius:18px}.ops-day{border-radius:16px}.ops-kpi-card{min-width:165px}.ops-calendar-topbar h1{font-size:26px}}

/* V74: sharper Hodders Cleaning UI + dense calendar day handling */
:root{
  --hc-radius-xs:4px;
  --hc-radius-sm:6px;
  --hc-radius-md:8px;
  --hc-radius-lg:10px;
  --hc-border:#dbe6f2;
  --hc-soft:#f7faff;
  --hc-ink:#0f1e33;
  --hc-blue:#2563eb;
}
body{background:#f5f8fc;color:var(--hc-ink);}
.card,.summary-card,.dashboard-stat-chip,.table-card,.form-card,.quick-add-menu,.modal-card,
.cleaner-focus-card,.cleaner-job-row,.empty-state,.notice,.stat-card,.payment-card,
.sidebar-user,.topbar,.quick-add-trigger,.btn,input,select,textarea{border-radius:var(--hc-radius-md)!important;}
.sidebar{border-right:1px solid var(--hc-border);background:#fff;box-shadow:none;}
.nav-link{border-radius:var(--hc-radius-sm)!important;}
.nav-link.active{background:#eef5ff;border-left:3px solid var(--hc-blue);box-shadow:none;}
.btn{box-shadow:none!important;font-weight:850;}
.btn-primary,.ops-calendar-controls .btn-primary{background:#2563eb;border-color:#2563eb;color:#fff;}
.card,.summary-card,.dashboard-stat-chip,.ops-kpi-card,.ops-month-card,.ops-panel-card,.ops-filter-drawer{box-shadow:none!important;border-color:var(--hc-border)!important;}

/* Sharper premium calendar */
.view-toggle,.month-switcher,.ops-kpi-card,.ops-filter-drawer,.ops-month-card,.ops-panel-card,
.selected-day-stats,.no-jobs-hero,.side-thumb,.ops-mini-job,.side-job-body em{border-radius:var(--hc-radius-sm)!important;box-shadow:none!important;}
.view-toggle{padding:0;border-radius:var(--hc-radius-sm)!important;overflow:hidden;}
.view-toggle span{border-radius:0!important;min-height:40px;border-right:1px solid var(--hc-border);}
.view-toggle span:last-child{border-right:0;}
.view-toggle .active{background:#2563eb;color:#fff;box-shadow:none;}
.month-switcher{padding:0;overflow:hidden;}
.month-switcher a{border-radius:0!important;height:40px;background:#fff;border-right:1px solid var(--hc-border);}
.month-switcher a:last-child{border-right:0;border-left:1px solid var(--hc-border);}
.month-switcher strong{padding:0 16px;}
.ops-kpi-row{gap:10px;}
.ops-kpi-card{min-height:86px;background:#fff;}
.kpi-icon{border-radius:var(--hc-radius-sm)!important;}
.ops-calendar-workspace{grid-template-columns:minmax(0,1fr) 380px;gap:14px;}
.ops-month-card{overflow:hidden;background:#fff;}
.ops-weekdays div{padding:13px 10px;background:#fbfdff;}
.ops-day{min-height:166px;padding:10px;background:#fff;display:flex;flex-direction:column;gap:6px;overflow:hidden;}
.ops-day:hover{box-shadow:inset 0 0 0 1px rgba(37,99,235,.22)!important;transform:none;background:#fbfdff;}
.ops-day.selected{box-shadow:inset 0 0 0 2px #fb923c!important;background:#fffaf2;}
.ops-day-head strong{font-size:16px;}
.ops-day-head em{border-radius:var(--hc-radius-xs)!important;padding:3px 6px;}
.ops-day-jobs{display:flex;flex-direction:column;gap:5px;margin-top:4px;min-height:0;}
.ops-mini-job{padding:6px 7px;border-color:#dce7f2;background:#fff;box-shadow:none!important;min-height:34px;}
.ops-mini-job:hover{transform:none;background:#f8fbff;border-color:#bfd5ee;}
.ops-mini-job span{font-size:11px;line-height:1.12;display:flex;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ops-mini-job span i{width:7px;height:7px;box-shadow:none;}
.ops-mini-job small{font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ops-more-jobs{display:block;margin-top:1px;font-size:11px;color:#2563eb;font-weight:950;}
.ops-day-total{position:static;margin-top:auto;padding-top:3px;font-size:10px;line-height:1.1;color:#475569;}
.ops-calendar-legend{background:#fff;border-top:1px solid var(--hc-border);}
.panel-head{padding:16px 16px 10px;}
.selected-day-stats{margin:0 16px 14px;}
.no-jobs-hero{margin:0 16px 16px;}
.side-job-list{padding:0 16px 16px;}
.side-job-card{padding:12px 0;}
.side-thumb{width:50px;height:42px;}

/* When a day has many jobs, keep the month readable and use the right panel for full details. */
.ops-day:has(.ops-more-jobs) .ops-mini-job{padding-top:5px;padding-bottom:5px;}
.ops-day:has(.ops-more-jobs) .ops-mini-job small{display:none;}

@media (max-width:1380px){
  .ops-day{min-height:154px;padding:8px;}
  .ops-mini-job{padding:5px 6px;}
  .ops-mini-job span{font-size:10px;}
  .ops-mini-job small{font-size:9px;}
}
@media (max-width:1100px){
  .ops-calendar-workspace{grid-template-columns:1fr;}
  .ops-side-panel{position:static;}
}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .ops-month-grid{background:#f5f8fc!important;gap:10px!important;padding:10px!important;}
  .ops-day{border-radius:var(--hc-radius-sm)!important;min-height:auto!important;border:1px solid var(--hc-border)!important;}
  .ops-day-jobs{display:grid;grid-template-columns:1fr;}
  .ops-mini-job small{display:block;}
  .ops-kpi-card{border-radius:var(--hc-radius-sm)!important;}
}
@media (max-width:520px){
  .ops-panel-card,.ops-month-card,.ops-day,.card,.summary-card{border-radius:var(--hc-radius-sm)!important;}
}

/* === V75 full UI polish: sharp layout, readable navigation, responsive month calendar === */
:root{
  --hc-radius-xs:3px;
  --hc-radius-sm:5px;
  --hc-radius-md:7px;
  --hc-blue:#2563eb;
  --hc-blue-dark:#1d4ed8;
  --hc-border:#dbe6f2;
  --hc-ink:#0f1e33;
  --hc-muted:#64748b;
}

/* Brand/sidebar now matches the mockup: compact mark + wordmark, no oversized logo. */
.sidebar{background:#fff!important;border-right:1px solid var(--hc-border)!important;box-shadow:none!important;}
.hc-brand-lockup,
.brand-link-compact.hc-brand-lockup{
  width:auto!important;height:auto!important;min-height:auto!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
  padding:18px 16px!important;margin:0 0 18px!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;text-decoration:none!important;
}
.hc-brand-lockup .brand-logo-image{width:36px!important;height:36px!important;object-fit:contain!important;flex:0 0 36px!important;}
.hc-brand-copy{display:grid;gap:1px;line-height:1;letter-spacing:.08em;color:#0f1e33;}
.hc-brand-copy strong{font-size:16px;font-weight:950;letter-spacing:.08em;}
.hc-brand-copy small{font-size:11px;font-weight:850;letter-spacing:.18em;color:#334155;}
.nav-group-label{color:#7c8ca0!important;font-size:11px!important;letter-spacing:.12em!important;font-weight:900!important;}
.nav-link{color:#21344d!important;border:1px solid transparent!important;border-radius:var(--hc-radius-sm)!important;font-weight:850!important;}
.nav-link:hover{background:#f4f8ff!important;border-color:#e1ecf8!important;color:#0f1e33!important;}
.nav-link.active{
  background:#eef5ff!important;color:#1454d8!important;border-color:#d7e7ff!important;border-left:4px solid var(--hc-blue)!important;
  box-shadow:none!important;font-weight:950!important;
}
.nav-link.active .nav-link-icon,.nav-link.active .nav-link-text{color:#1454d8!important;opacity:1!important;}
.sidebar-user{border-radius:var(--hc-radius-sm)!important;border-color:var(--hc-border)!important;box-shadow:none!important;}

/* Sharper cards, buttons and form surfaces across the whole app. */
.card,.summary-card,.dashboard-stat-chip,.table-card,.form-card,.detail-card,.info-card,.payment-card,
.ops-kpi-card,.ops-panel-card,.ops-month-card,.ops-filter-drawer,.quick-add-menu,.modal-card,.alert,
input,select,textarea,.btn,.quick-add-trigger,.notification-bell{border-radius:var(--hc-radius-sm)!important;box-shadow:none!important;}
.btn-primary,.ops-calendar-controls .btn-primary{background:linear-gradient(180deg,#3169f4 0%,#1d4ed8 100%)!important;border-color:#1d4ed8!important;color:#fff!important;}
.btn-secondary{background:#fff!important;border-color:var(--hc-border)!important;color:#21344d!important;}
.main{background:#f5f8fc!important;}

/* Calendar desktop alignment and density. */
.ops-calendar-page{gap:16px!important;}
.ops-calendar-topbar{align-items:center!important;}
.ops-calendar-topbar h1{font-size:32px!important;color:#0f1e33!important;}
.ops-calendar-controls{gap:12px!important;}
.view-toggle,.month-switcher{border:1px solid var(--hc-border)!important;background:#fff!important;border-radius:var(--hc-radius-sm)!important;box-shadow:none!important;}
.view-toggle span,.month-switcher a{border-radius:0!important;}
.view-toggle .active{background:var(--hc-blue)!important;color:#fff!important;}
.ops-kpi-row{gap:10px!important;}
.ops-kpi-card{border:1px solid var(--hc-border)!important;background:#fff!important;min-height:92px!important;}
.kpi-icon{border-radius:var(--hc-radius-sm)!important;}
.ops-filter-drawer{border:1px solid var(--hc-border)!important;background:#fff!important;}
.ops-calendar-workspace{grid-template-columns:minmax(0,1fr) 370px!important;gap:14px!important;align-items:start!important;}
.ops-month-card,.ops-panel-card{border:1px solid var(--hc-border)!important;background:#fff!important;}
.ops-month-card{overflow:hidden!important;}
.ops-weekdays{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;}
.ops-weekdays div{background:#fbfdff!important;border-bottom:1px solid var(--hc-border)!important;color:#405168!important;font-weight:950!important;}
.ops-month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;background:#fff!important;padding:0!important;gap:0!important;}
.ops-day{border:0!important;border-right:1px solid #e5edf6!important;border-bottom:1px solid #e5edf6!important;border-radius:0!important;min-height:158px!important;background:#fff!important;overflow:hidden!important;}
.ops-day.selected{box-shadow:inset 0 0 0 2px #fb923c!important;background:#fffaf2!important;}
.ops-day.today:not(.selected){background:#fffdf8!important;}
.ops-mini-job{border-radius:var(--hc-radius-sm)!important;border:1px solid #dce7f2!important;padding:5px 6px!important;min-height:32px!important;background:#fff!important;}
.ops-mini-job span{font-size:10.5px!important;max-width:100%!important;}
.ops-mini-job small{font-size:9.5px!important;color:#51657c!important;}
.ops-more-jobs{font-size:11px!important;color:var(--hc-blue)!important;padding-top:2px!important;}
.ops-day-total{position:static!important;margin-top:auto!important;color:#475569!important;font-size:10px!important;}
.ops-side-panel{position:sticky!important;top:16px!important;gap:14px!important;}
.no-jobs-hero{border-radius:var(--hc-radius-sm)!important;}
.selected-day-stats{border-radius:var(--hc-radius-sm)!important;}
.side-job-card{border-top:1px solid #edf3f9!important;}
.side-job-body em{border-radius:var(--hc-radius-xs)!important;}

/* Keep 5+ jobs usable: show max 3 compact rows, then +more; never overlap. */
.ops-day-jobs{display:flex!important;flex-direction:column!important;gap:4px!important;min-height:0!important;}
.ops-day:has(.ops-more-jobs) .ops-mini-job{min-height:28px!important;padding-top:4px!important;padding-bottom:4px!important;}
.ops-day:has(.ops-more-jobs) .ops-mini-job small{display:none!important;}

/* Tablet: side panel drops below calendar, still keeps real month grid. */
@media (max-width:1100px){
  .ops-calendar-workspace{grid-template-columns:1fr!important;}
  .ops-side-panel{position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .selected-day-panel{grid-column:1/-1!important;}
}

/* Mobile calendar: keep a proper month calendar, not a long list. */
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .hc-brand-copy{display:none!important;}
  .hc-brand-lockup .brand-logo-image{width:34px!important;height:34px!important;}
  .main{padding-left:12px!important;padding-right:12px!important;}
  .ops-calendar-topbar{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .ops-calendar-topbar h1{font-size:28px!important;}
  .ops-calendar-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;}
  .view-toggle{grid-column:1/-1!important;width:100%!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;overflow:hidden!important;}
  .view-toggle span{font-size:12px!important;min-height:38px!important;padding:0 8px!important;display:grid!important;place-items:center!important;}
  .month-switcher{grid-column:1/-1!important;width:100%!important;display:grid!important;grid-template-columns:44px 1fr 44px!important;}
  .month-switcher strong{text-align:center!important;min-width:0!important;font-size:14px!important;}
  .ops-calendar-controls .btn{grid-column:1/-1!important;width:100%!important;}
  .ops-kpi-row{display:flex!important;overflow-x:auto!important;gap:8px!important;padding-bottom:8px!important;scroll-snap-type:x mandatory!important;}
  .ops-kpi-card{min-width:168px!important;min-height:78px!important;scroll-snap-align:start!important;padding:12px!important;}
  .ops-kpi-card strong{font-size:18px!important;}
  .ops-kpi-card small,.ops-kpi-card em{font-size:10px!important;}
  .ops-filter-drawer{display:none!important;}
  .ops-calendar-workspace{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .ops-month-card{border-radius:var(--hc-radius-sm)!important;overflow:hidden!important;}
  .ops-weekdays{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;}
  .ops-weekdays div{font-size:10px!important;padding:9px 0!important;text-align:center!important;}
  .ops-month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:0!important;padding:0!important;background:#fff!important;}
  .ops-day{display:block!important;min-height:62px!important;padding:5px!important;border-radius:0!important;border:0!important;border-right:1px solid #e5edf6!important;border-bottom:1px solid #e5edf6!important;box-shadow:none!important;background:#fff!important;}
  .ops-day.muted-month{display:block!important;background:#f8fafc!important;color:#94a3b8!important;}
  .ops-day.selected{box-shadow:inset 0 0 0 2px #fb923c!important;background:#fffaf2!important;}
  .ops-day-head{min-height:18px!important;display:flex!important;justify-content:center!important;}
  .ops-day-head strong{font-size:12px!important;font-weight:950!important;}
  .ops-day-head em{display:none!important;}
  .ops-day.today .ops-day-head strong{display:grid!important;place-items:center!important;width:22px!important;height:22px!important;border-radius:999px!important;background:#fb923c!important;color:#fff!important;}
  .ops-day-jobs{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;gap:3px!important;margin-top:7px!important;}
  .ops-mini-job{display:inline-block!important;width:7px!important;height:7px!important;min-width:7px!important;min-height:7px!important;padding:0!important;border:0!important;border-radius:999px!important;background:var(--property-color,#2563eb)!important;overflow:hidden!important;}
  .ops-mini-job span,.ops-mini-job small{display:none!important;}
  .ops-more-jobs{font-size:9px!important;line-height:9px!important;padding:0!important;color:#64748b!important;text-decoration:none!important;}
  .ops-day-total,.ops-empty-selected{display:none!important;}
  .ops-calendar-legend{display:none!important;}
  .ops-side-panel{display:grid!important;grid-template-columns:1fr!important;position:static!important;gap:12px!important;}
  .selected-day-stats{grid-template-columns:repeat(3,1fr)!important;margin:0 12px 12px!important;}
  .selected-day-stats strong{font-size:13px!important;}
  .selected-day-stats span{font-size:9px!important;}
  .panel-head{padding:14px 14px 10px!important;}
  .panel-head h2{font-size:17px!important;}
  .side-job-list{padding:0 14px 14px!important;}
  .no-jobs-hero{margin:0 14px 14px!important;padding:22px 12px!important;}
}

@media (max-width:430px){
  .main{padding-left:8px!important;padding-right:8px!important;}
  .ops-day{min-height:54px!important;padding:4px 2px!important;}
  .ops-weekdays div{font-size:9px!important;}
  .ops-mini-job{width:6px!important;height:6px!important;min-width:6px!important;min-height:6px!important;}
  .ops-kpi-card{min-width:150px!important;}
  .side-job-card{grid-template-columns:minmax(0,1fr) auto!important;}
  .side-thumb{display:none!important;}
}


/* === V76 full UI polish: one design system across Hodders Cleaning === */
:root{
  --hc-bg:#f5f8fc;
  --hc-card:#ffffff;
  --hc-text:#10243a;
  --hc-muted:#64758a;
  --hc-border:#dfe8f2;
  --hc-blue:#2563eb;
  --hc-blue-soft:#eef5ff;
  --hc-green:#0f9f62;
  --hc-orange:#f97316;
  --hc-red:#ef4444;
  --hc-yellow:#f59e0b;
  --hc-radius:8px;
  --hc-radius-sm:6px;
  --hc-shadow:0 8px 22px rgba(16,36,58,.045);
  --radius:8px;
  --shadow:var(--hc-shadow);
  --border:var(--hc-border);
  --text:var(--hc-text);
  --muted:var(--hc-muted);
  --primary:var(--hc-blue);
  --primary-2:#1d4ed8;
}
html,body{background:var(--hc-bg)!important;color:var(--hc-text)!important;font-weight:500!important;letter-spacing:-.006em!important;}
body{background:var(--hc-bg)!important;}
body::before{display:none!important;}
strong,b,.nav-link,.btn,button.btn,.section-title,.card h1,.card h2,.card h3{font-weight:700!important;}
h1{font-weight:760!important;letter-spacing:-.035em!important;}
h2,h3{font-weight:720!important;letter-spacing:-.02em!important;}
.page-kicker,.nav-group-label,th{font-weight:700!important;letter-spacing:.12em!important;color:#718299!important;}
.main{background:var(--hc-bg)!important;padding:22px!important;}
.sidebar{background:#fff!important;border-right:1px solid var(--hc-border)!important;backdrop-filter:none!important;box-shadow:none!important;}
.brand,.hc-brand-lockup{border-radius:var(--hc-radius)!important;border:1px solid var(--hc-border)!important;box-shadow:none!important;background:#fff!important;padding:12px!important;}
.brand-logo-image{border-radius:var(--hc-radius-sm)!important;box-shadow:none!important;}
.hc-brand-copy strong{font-weight:760!important;letter-spacing:.08em!important;}.hc-brand-copy small{letter-spacing:.16em!important;}
.nav-link{display:flex!important;align-items:center!important;gap:11px!important;border-radius:var(--hc-radius-sm)!important;padding:11px 12px!important;color:#243b55!important;border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;}
.nav-link:hover{background:#f6f9fc!important;border-color:#e6eef6!important;transform:none!important;color:#10243a!important;}
.nav-link.active{background:var(--hc-blue-soft)!important;color:var(--hc-blue)!important;border-color:#cfe0ff!important;box-shadow:none!important;position:relative!important;}
.nav-link.active::before{content:"";position:absolute;left:-13px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--hc-blue);}
.nav-link-icon{width:18px!important;height:18px!important;display:inline-grid!important;place-items:center!important;color:#667892!important;opacity:1!important;flex:0 0 auto!important;}
.nav-link.active .nav-link-icon{color:var(--hc-blue)!important;}
.hc-svg-icon,.hc-svg-icon svg{display:block;width:18px;height:18px;fill:currentColor;}
.mobile-bottom-nav-icon .hc-svg-icon,.mobile-bottom-nav-icon svg{width:20px;height:20px;}
.card,.card-inline,.summary-card,.ops-kpi-card,.ops-filter-drawer,.ops-month-card,.ops-panel-card,.wizard-step-card,.cleaner-job-card,.pricing-card,.cleaner-top-card,.sidebar-user,.money-flow-card,.issue-card,.photo-frame,.selected-day-stats,.no-jobs-hero,.side-job-card,.table-wrap{border-radius:var(--hc-radius)!important;background:#fff!important;border:1px solid var(--hc-border)!important;box-shadow:none!important;}
.card-pad{padding:18px!important;}
.btn,button.btn,.btn-primary,.ops-calendar-controls .btn-primary{border-radius:var(--hc-radius-sm)!important;background:var(--hc-blue)!important;border:1px solid var(--hc-blue)!important;color:#fff!important;box-shadow:none!important;font-weight:700!important;min-height:40px!important;padding:9px 14px!important;}
.btn:hover,button.btn:hover{transform:none!important;filter:none!important;background:#1d4ed8!important;box-shadow:none!important;}
.btn-secondary,button.btn-secondary{background:#fff!important;color:#18344f!important;border:1px solid var(--hc-border)!important;}
.btn-secondary:hover,button.btn-secondary:hover{background:#f7faff!important;color:var(--hc-blue)!important;}
.input,select,textarea{border-radius:var(--hc-radius-sm)!important;border:1px solid var(--hc-border)!important;background:#fff!important;box-shadow:none!important;}
.badge,.tag,.mini-chip,.metric-pill{border-radius:var(--hc-radius-sm)!important;font-weight:700!important;}
table{background:#fff!important;}th,td{font-weight:500!important;}th{font-size:11px!important;color:#6b7c90!important;}
/* Header controls */
.topbar,.ops-calendar-topbar{margin-bottom:16px!important;}
.ops-calendar-topbar h1{font-size:32px!important;font-weight:760!important;}
.ops-calendar-controls{gap:12px!important;}
.view-toggle,.month-switcher{border-radius:var(--hc-radius-sm)!important;border:1px solid var(--hc-border)!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;}
.view-toggle{padding:0!important;}
.view-toggle span{border-radius:0!important;min-height:40px!important;padding:0 18px!important;font-size:13px!important;font-weight:650!important;color:#31465c!important;border-right:1px solid var(--hc-border)!important;}
.view-toggle span:last-child{border-right:0!important;}
.view-toggle .active{background:var(--hc-blue)!important;color:#fff!important;box-shadow:none!important;}
.month-switcher a{border-radius:0!important;color:#18344f!important;background:#fff!important;}
.month-switcher strong{font-weight:700!important;}
/* KPI cards */
.ops-kpi-row{gap:12px!important;}
.ops-kpi-card{padding:16px!important;min-height:92px!important;}
.ops-kpi-card strong{font-size:22px!important;font-weight:760!important;color:#10243a!important;}
.ops-kpi-card small{font-weight:650!important;color:#243b55!important;}
.ops-kpi-card em{font-weight:650!important;color:#10894f!important;}
.kpi-icon{width:36px!important;height:36px!important;border-radius:var(--hc-radius-sm)!important;font-size:15px!important;font-weight:760!important;}
/* Calendar month grid */
.ops-calendar-workspace{grid-template-columns:minmax(0,1fr) 372px!important;gap:14px!important;}
.ops-month-card{overflow:hidden!important;}
.ops-weekdays{background:#f9fbfd!important;border-bottom:1px solid var(--hc-border)!important;color:#52657b!important;font-weight:650!important;}
.ops-weekdays>div{padding:12px!important;border-right:1px solid var(--hc-border)!important;}
.ops-day{min-height:158px!important;padding:10px!important;border-radius:0!important;background:#fff!important;border-right:1px solid #e5edf6!important;border-bottom:1px solid #e5edf6!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;gap:6px!important;overflow:hidden!important;}
.ops-day:hover{background:#fbfdff!important;box-shadow:inset 0 0 0 1px rgba(37,99,235,.18)!important;transform:none!important;}
.ops-day.selected{background:#fffaf2!important;box-shadow:inset 0 0 0 2px #fb923c!important;}
.ops-day.today:not(.selected){background:#fffdf7!important;}
.ops-day-head strong{font-size:16px!important;font-weight:760!important;color:#10243a!important;}
.ops-day-head em{border-radius:var(--hc-radius-sm)!important;font-weight:700!important;background:#ffedd5!important;color:#ea580c!important;}
.ops-day-jobs{display:flex!important;flex-direction:column!important;gap:4px!important;margin-top:3px!important;min-height:0!important;}
.ops-mini-job{border-radius:var(--hc-radius-sm)!important;border:1px solid #dce7f2!important;padding:5px 6px!important;min-height:30px!important;background:#fff!important;box-shadow:none!important;}
.ops-mini-job:hover{background:#f8fbff!important;transform:none!important;box-shadow:none!important;border-color:#bcd4ee!important;}
.ops-mini-job span{font-size:10.5px!important;font-weight:700!important;line-height:1.12!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.ops-mini-job span i,.side-job-body strong i,.ops-calendar-legend i{width:7px!important;height:7px!important;box-shadow:none!important;}
.ops-mini-job small{font-size:9.5px!important;font-weight:550!important;color:#5f7083!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.ops-mini-job.completed{opacity:1!important;background:#f8fafc!important;}.ops-mini-job.completed span,.ops-mini-job.completed small{color:#94a3b8!important;}
/* Inventory add/edit form (v98) */
.inv-add > summary{display:inline-flex;cursor:pointer;list-style:none;}
.inv-add > summary::-webkit-details-marker{display:none;}
.inv-add-panel{margin-top:14px;padding:18px;border:1px solid #e8edf4;border-radius:16px;background:#fbfcff;}
.inv-add-panel h4{margin:0 0 4px;font-size:15px;}
.inv-add-panel .inv-intro{margin:0 0 14px;font-size:13px;color:#667085;}
.inv-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;max-width:580px;}
.inv-field{display:flex;flex-direction:column;gap:5px;min-width:0;}
.inv-field-wide{grid-column:1 / -1;}
.inv-field label{font-size:13px;font-weight:700;color:#344054;}
.inv-field input{width:100%;padding:11px 12px;border:1px solid #d6deea;border-radius:10px;font:inherit;background:#fff;}
.inv-field input:focus{outline:none;border-color:#41B6FF;box-shadow:0 0 0 3px rgba(65,182,255,.15);}
.inv-hint{font-size:11.5px;color:#8a94a6;}
.inv-opt{font-size:10.5px;font-weight:700;color:#98a2b3;background:#f1f4f9;padding:1px 7px;border-radius:999px;margin-left:5px;text-transform:uppercase;letter-spacing:.03em;}
.inv-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;}
.inv-stock-num{font-size:18px;font-weight:800;color:#1e293b;}
.inv-stock-unit{font-size:12px;color:#8a94a6;}
.inv-list{display:grid;gap:12px;margin-top:16px;}
.inv-card{border:1px solid #e8edf4;border-radius:16px;background:#fff;padding:16px;}
.inv-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
.inv-card-main{min-width:0;}
.inv-card-name{font-size:16px;font-weight:700;color:#1e293b;}
.inv-card-meta{font-size:12.5px;color:#8a94a6;margin-top:3px;}
.inv-card-stock{display:flex;align-items:baseline;gap:5px;justify-content:flex-end;}
.inv-card-stock .num{font-size:26px;font-weight:800;color:#1e293b;line-height:1;}
.inv-card-stock .unit{font-size:12px;color:#8a94a6;}
.inv-status{display:inline-block;margin-top:6px;padding:3px 11px;border-radius:999px;font-size:11.5px;font-weight:700;}
.inv-status.low{background:#fff3e6;color:#b54708;}
.inv-status.ok{background:#e7f6ec;color:#067647;}
.inv-status.none{background:#eef1f6;color:#667085;}
.inv-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;}
.inv-adjust{display:flex;align-items:center;gap:6px;margin:0;}
.inv-adjust input[type=number]{width:58px;padding:9px;border:1px solid #d6deea;border-radius:9px;font:inherit;}
.inv-spacer{flex:1;}
.inv-edit{position:relative;}
.inv-edit > summary{display:inline-flex;cursor:pointer;list-style:none;}
.inv-edit > summary::-webkit-details-marker{display:none;}
.inv-edit-panel{margin-top:14px;border-top:1px solid #eef1f6;padding-top:16px;}
@media (max-width:600px){.inv-form{grid-template-columns:1fr;}.inv-card-actions{align-items:stretch;}.inv-adjust{justify-content:space-between;}.inv-spacer{display:none;}}
.ops-mini-job.issue_reported,.ops-mini-job.cancelled{border-color:#fed7aa!important;background:#fff7ed!important;}
.ops-mini-job.issue_reported span::after,.ops-mini-job.cancelled span::after{content:"⚠";color:var(--hc-yellow);margin-left:auto;font-size:10px;}
.ops-more-jobs{font-size:10px!important;font-weight:700!important;color:var(--hc-blue)!important;text-decoration:none!important;padding:2px 0!important;}
.ops-day-total{position:static!important;margin-top:auto!important;font-size:10px!important;font-weight:650!important;color:#52657b!important;}
.ops-calendar-legend{background:#fff!important;border-top:1px solid var(--hc-border)!important;gap:16px!important;font-weight:600!important;color:#42566d!important;}
.ops-calendar-legend .legend-completed{background:#86efac!important;border-radius:3px!important;}
.ops-calendar-legend .legend-problem{position:relative!important;width:0!important;height:0!important;border-left:6px solid transparent!important;border-right:6px solid transparent!important;border-bottom:11px solid var(--hc-yellow)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;}
.ops-calendar-legend .legend-warning::after{content:"!";font-size:7px;font-weight:900;color:#fff;margin-left:-27px;margin-right:8px;z-index:1;position:relative;top:-1px;}
/* Right side panels */
.panel-head h2,.ops-panel-card h2,.side-job-body strong{font-weight:720!important;}
.selected-day-stats div strong{font-weight:760!important;}
.side-job-card{border-radius:var(--hc-radius-sm)!important;background:#fff!important;}
.side-thumb{border-radius:var(--hc-radius-sm)!important;}
.no-jobs-hero{background:#fffaf2!important;border-color:#fde6c5!important;}
.no-jobs-hero span{color:var(--hc-orange)!important;}
/* Dashboard + other pages consistency */
.page-dashboard .page-kicker,.page-index .page-kicker{color:#10243a!important;}
.summary-grid,.grid,.stats{gap:12px!important;}
.stat-value,.value-lite,.money-node-value,.pricing-total{font-weight:760!important;}
.stat-label,.label-lite,.pricing-eyebrow,.money-node-label{font-weight:650!important;}
/* Mobile: actual compact month calendar plus selected day details, not only a list */
@media (max-width:1100px){.ops-calendar-workspace{grid-template-columns:1fr!important}.ops-side-panel{position:static!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.selected-day-panel{grid-column:1/-1!important}}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .main{padding:14px!important;padding-bottom:calc(82px + env(safe-area-inset-bottom))!important;}
  .sidebar{display:none!important;}
  .app-shell{display:block!important;height:auto!important;min-height:100vh!important;}
  .main{margin-left:0!important;width:100%!important;height:auto!important;overflow:visible!important;}
  .ops-calendar-topbar{display:grid!important;gap:12px!important;}
  .ops-calendar-controls{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:8px!important;}
  .view-toggle{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:100%!important;}
  .month-switcher{grid-column:1/-1!important;display:grid!important;grid-template-columns:42px 1fr 42px!important;}
  .ops-calendar-controls .btn{grid-column:1/-1!important;width:100%!important;}
  .ops-kpi-row{display:flex!important;overflow-x:auto!important;padding-bottom:8px!important;}
  .ops-kpi-card{min-width:170px!important;}
  .ops-weekdays{display:grid!important;grid-template-columns:repeat(7,1fr)!important;font-size:10px!important;}
  .ops-weekdays>div{padding:8px 2px!important;text-align:center!important;}
  .ops-month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:0!important;background:#fff!important;padding:0!important;}
  .ops-day{display:block!important;min-height:62px!important;padding:5px 3px!important;border-radius:0!important;border-right:1px solid #e8f0f7!important;border-bottom:1px solid #e8f0f7!important;background:#fff!important;}
  .ops-day.muted-month{display:block!important;background:#f8fafc!important;color:#94a3b8!important;}
  .ops-day-head{justify-content:center!important;min-height:18px!important;}
  .ops-day-head strong{font-size:12px!important;font-weight:760!important;}
  .ops-day-head em{display:none!important;}
  .ops-day.today .ops-day-head strong{display:grid!important;place-items:center!important;width:22px!important;height:22px!important;border-radius:50%!important;background:#fb923c!important;color:#fff!important;}
  .ops-day.selected{box-shadow:inset 0 0 0 2px #fb923c!important;background:#fffaf2!important;}
  .ops-day-jobs{display:flex!important;flex-flow:row wrap!important;justify-content:center!important;gap:3px!important;margin-top:7px!important;}
  .ops-mini-job{display:inline-block!important;width:7px!important;height:7px!important;min-width:7px!important;min-height:7px!important;padding:0!important;border:0!important;border-radius:50%!important;background:var(--property-color,#2563eb)!important;overflow:hidden!important;}
  .ops-mini-job span,.ops-mini-job small,.ops-more-jobs,.ops-day-total,.ops-empty-selected{display:none!important;}
  .ops-calendar-legend{display:flex!important;overflow:auto!important;white-space:nowrap!important;padding:10px!important;font-size:11px!important;}
  .ops-side-panel{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .mobile-bottom-nav{border-radius:12px 12px 0 0!important;box-shadow:0 -8px 22px rgba(15,23,42,.08)!important;border-color:#dfe8f2!important;}
  .mobile-bottom-nav-item{border-radius:8px!important;}
  .mobile-bottom-nav-item.active{background:var(--hc-blue-soft)!important;color:var(--hc-blue)!important;}
}
@media (max-width:520px){.ops-calendar-topbar h1{font-size:26px!important}.ops-kpi-card{min-width:155px!important}.ops-day{min-height:55px!important}.ops-mini-job{width:6px!important;height:6px!important;min-width:6px!important;min-height:6px!important}.ops-panel-card,.ops-month-card{border-radius:var(--hc-radius)!important}}

/* v77: Sharper, cleaner global button/control polish */
:root{
  --hc-radius: 8px !important;
  --hc-radius-sm: 5px !important;
  --radius: 8px !important;
  --control-radius: 6px;
  --control-border: #d8e3ef;
  --control-border-strong: #c4d3e3;
  --control-shadow: 0 1px 2px rgba(15,23,42,.04);
  --control-shadow-hover: 0 4px 10px rgba(15,23,42,.07);
}

/* Make text less heavy across controls */
.btn,
button.btn,
.view-toggle a,
.view-toggle button,
.month-switcher a,
.month-switcher button,
.month-switcher strong,
.filter-toggle,
.nav-link,
.mobile-bottom-nav-item,
.table th,
.ops-kpi-card small,
.ops-kpi-card em,
.ops-mini-job span,
.side-job-body strong,
.badge,
.tag{
  font-weight: 600 !important;
}

/* Primary + secondary buttons */
.btn,
button.btn{
  border-radius: var(--control-radius) !important;
  min-height: 42px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  box-shadow: var(--control-shadow) !important;
  border: 1px solid transparent !important;
  background: #2563eb !important;
  color: #fff !important;
  font-weight: 650 !important;
}
.btn:hover,
button.btn:hover{
  transform: translateY(-1px) !important;
  box-shadow: var(--control-shadow-hover) !important;
  background: #1d4ed8 !important;
}
.btn:active,
button.btn:active{
  transform: translateY(0) !important;
  box-shadow: var(--control-shadow) !important;
}
.btn-secondary,
button.btn-secondary{
  background: #fff !important;
  color: #172b43 !important;
  border-color: var(--control-border) !important;
  box-shadow: var(--control-shadow) !important;
}
.btn-secondary:hover,
button.btn-secondary:hover{
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: var(--control-border-strong) !important;
}
.btn-danger,
button.btn-danger{
  background:#dc2626 !important;
  color:#fff !important;
}

/* Segmented controls: Month / Week / Day */
.view-toggle,
.segmented-tabs{
  display:inline-flex !important;
  gap:0 !important;
  padding:0 !important;
  border:1px solid var(--control-border) !important;
  border-radius: var(--control-radius) !important;
  background:#fff !important;
  overflow:hidden !important;
  box-shadow: var(--control-shadow) !important;
}
.view-toggle a,
.view-toggle button,
.segmented-tab{
  border:0 !important;
  border-right:1px solid var(--control-border) !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#172b43 !important;
  min-height:42px !important;
  padding:0 18px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:14px !important;
  box-shadow:none !important;
}
.view-toggle a:last-child,
.view-toggle button:last-child,
.segmented-tab:last-child{border-right:0 !important;}
.view-toggle a.active,
.view-toggle button.active,
.view-toggle .active,
.segmented-tab.active{
  background:#2563eb !important;
  color:#fff !important;
  font-weight:650 !important;
}

/* Month switcher */
.month-switcher{
  display:inline-flex !important;
  align-items:center !important;
  gap:0 !important;
  border:1px solid var(--control-border) !important;
  border-radius: var(--control-radius) !important;
  background:#fff !important;
  overflow:hidden !important;
  box-shadow: var(--control-shadow) !important;
}
.month-switcher a,
.month-switcher button,
.month-switcher strong{
  min-height:42px !important;
  border:0 !important;
  border-right:1px solid var(--control-border) !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#172b43 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 16px !important;
  box-shadow:none !important;
}
.month-switcher strong{min-width:150px !important;}
.month-switcher a:last-child,
.month-switcher button:last-child{border-right:0 !important;}
.month-switcher a:hover,
.month-switcher button:hover{background:#f8fafc !important;}

/* Filter and utility controls */
.filter-toggle,
.filters-toggle,
summary.filter-toggle{
  border-radius: var(--control-radius) !important;
  border:1px solid var(--control-border) !important;
  background:#fff !important;
  box-shadow:var(--control-shadow) !important;
  min-height:42px !important;
  padding:10px 14px !important;
}
.input, select, textarea,
.language-select-wrap{
  border-radius: var(--control-radius) !important;
  border-color:var(--control-border) !important;
  box-shadow:none !important;
}

/* Cards and panels should share one cleaner shape */
.card,
.summary-card,
.ops-kpi-card,
.ops-month-card,
.ops-panel-card,
.table-wrap,
.side-job-card,
.cleaner-job-card,
.wizard-step-card,
.sidebar-user,
.no-jobs-hero,
.card-inline,
.stat-card,
.kpi-card{
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.035) !important;
}

/* Tiny cards inside calendar: less pill-like */
.ops-mini-job{
  border-radius: 4px !important;
  padding:5px 6px !important;
}

/* Sidebar active state, readable and consistent */
.nav-link{
  border-radius:6px !important;
  color:#263a50 !important;
  font-size:14px !important;
}
.nav-link.active,
.sidebar .active,
a.nav-link.active{
  background:#eef4ff !important;
  color:#2563eb !important;
  border-left:3px solid #2563eb !important;
}
.nav-link.active *,
.sidebar .active *,
a.nav-link.active *{
  color:#2563eb !important;
  opacity:1 !important;
}

/* Badges and pills: smaller radius, not bubbles */
.badge,
.tag,
.status-badge,
.metric-pill,
.wizard-chip,
.flow-chip,
.checklist-progress-badge{
  border-radius:5px !important;
}

/* Warning/problem icon: yellow triangle with ! */
.legend-problem,
.problem-icon,
.status-problem-icon{
  position:relative !important;
  width:0 !important;
  height:0 !important;
  border-left:7px solid transparent !important;
  border-right:7px solid transparent !important;
  border-bottom:13px solid #f59e0b !important;
  background:transparent !important;
  border-radius:0 !important;
}
.legend-problem::after,
.problem-icon::after,
.status-problem-icon::after{
  content:'!' !important;
  position:absolute !important;
  left:-2px !important;
  top:3px !important;
  color:#fff !important;
  font-size:8px !important;
  font-weight:800 !important;
}

@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .view-toggle{display:grid !important; grid-template-columns:repeat(3,1fr) !important; width:100% !important;}
  .view-toggle a,.view-toggle button{padding:0 10px !important;}
  .month-switcher{display:grid !important; grid-template-columns:42px 1fr 42px !important; width:100% !important;}
  .month-switcher strong{min-width:0 !important;}
  .btn,button.btn{width:auto;}
}

/* === V78 premium design-system pass: sharper controls, consistent icons, cleaner typography === */
:root{
  --hc-bg:#f4f7fb !important;
  --hc-surface:#ffffff !important;
  --hc-surface-2:#f8fafc !important;
  --hc-text:#0f2237 !important;
  --hc-muted:#66788d !important;
  --hc-border:#d9e4ef !important;
  --hc-border-strong:#bfd0e2 !important;
  --hc-blue:#245eea !important;
  --hc-blue-hover:#1e4fc8 !important;
  --hc-blue-soft:#edf4ff !important;
  --hc-green:#10a36a !important;
  --hc-orange:#f97316 !important;
  --hc-yellow:#f59e0b !important;
  --hc-red:#ef4444 !important;
  --hc-radius:7px !important;
  --hc-radius-sm:4px !important;
  --hc-shadow:0 1px 2px rgba(15,23,42,.035) !important;
  --control-radius:4px !important;
  --control-border:#d6e1ec !important;
  --control-border-strong:#b9cadb !important;
}
html,body{
  font-weight:400 !important;
  color:var(--hc-text)!important;
  background:var(--hc-bg)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body, input, select, textarea, button{font-weight:400!important;}
strong,b{font-weight:650!important;}
h1{font-weight:700!important;letter-spacing:-.035em!important;}
h2,h3,.section-title{font-weight:650!important;letter-spacing:-.02em!important;}
.muted,.topbar-sub,.help,.table-meta,.meta-lite{font-weight:400!important;color:var(--hc-muted)!important;}
.page-kicker,.nav-group-label,th,.label-lite,.pricing-eyebrow{font-weight:650!important;letter-spacing:.12em!important;color:#6f8095!important;}

/* Layout tone */
.main{background:var(--hc-bg)!important;padding:24px!important;}
.card,.summary-card,.ops-kpi-card,.ops-month-card,.ops-panel-card,.table-wrap,.side-job-card,.cleaner-job-card,.wizard-step-card,.sidebar-user,.no-jobs-hero,.card-inline,.stat-card,.kpi-card,.money-flow-card,.issue-card,.photo-frame,.selected-day-stats{
  border-radius:var(--hc-radius)!important;
  border:1px solid var(--hc-border)!important;
  background:var(--hc-surface)!important;
  box-shadow:var(--hc-shadow)!important;
}
.card-pad{padding:18px!important;}

/* Logo / sidebar */
.sidebar{background:#fff!important;border-right:1px solid var(--hc-border)!important;box-shadow:none!important;}
.brand,.hc-brand-lockup{border:0!important;background:transparent!important;padding:8px 2px!important;border-radius:0!important;box-shadow:none!important;margin-bottom:26px!important;}
.brand-logo-image{width:42px!important;height:42px!important;border-radius:8px!important;box-shadow:0 1px 2px rgba(15,23,42,.08)!important;}
.hc-brand-copy strong{font-weight:700!important;letter-spacing:.11em!important;color:#0f2237!important;}
.hc-brand-copy small{font-weight:600!important;color:#0f2237!important;letter-spacing:.18em!important;}
.nav-groups{gap:22px!important;}
.nav-group{gap:7px!important;}
.nav-group-label{margin:0 8px 7px!important;font-size:10px!important;}
.nav-link{
  display:flex!important;align-items:center!important;gap:10px!important;
  min-height:38px!important;padding:9px 10px!important;
  border-radius:5px!important;border:1px solid transparent!important;
  color:#293f56!important;background:transparent!important;
  font-size:13px!important;font-weight:500!important;line-height:1!important;
  box-shadow:none!important;transform:none!important;
}
.nav-link:hover{background:#f5f8fc!important;border-color:#e7eef6!important;color:#0f2237!important;}
.nav-link.active,.sidebar .nav-link.active,a.nav-link.active{
  background:#eef4ff!important;color:var(--hc-blue)!important;border:1px solid #cfddfb!important;border-left:3px solid var(--hc-blue)!important;
}
.nav-link.active::before{display:none!important;}
.nav-link *{color:inherit!important;}
.nav-link-icon{width:18px!important;height:18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#617388!important;opacity:1!important;flex:0 0 18px!important;}
.nav-link.active .nav-link-icon{color:var(--hc-blue)!important;}
.hc-svg-icon{display:inline-flex!important;width:18px!important;height:18px!important;color:inherit!important;}
.hc-svg-icon svg{display:block!important;width:18px!important;height:18px!important;fill:currentColor!important;stroke:none!important;}
.nav-link-text{font-weight:500!important;}
.sidebar-user{border-radius:6px!important;padding:10px!important;}
.sidebar-user strong{font-weight:600!important;}

/* Buttons and segmented controls */
.btn,button.btn,.btn-primary,.ops-calendar-controls .btn-primary{
  border-radius:var(--control-radius)!important;
  min-height:40px!important;
  padding:0 15px!important;
  border:1px solid var(--hc-blue)!important;
  background:var(--hc-blue)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
}
.btn:hover,button.btn:hover,.btn-primary:hover{background:var(--hc-blue-hover)!important;border-color:var(--hc-blue-hover)!important;transform:none!important;box-shadow:none!important;}
.btn-secondary,button.btn-secondary{
  background:#fff!important;color:#20364d!important;border:1px solid var(--control-border)!important;box-shadow:none!important;
}
.btn-secondary:hover,button.btn-secondary:hover{background:#f7fafc!important;border-color:var(--control-border-strong)!important;color:#0f2237!important;}
.btn-danger,button.btn-danger{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;}

.view-toggle,.segmented-tabs{
  display:inline-flex!important;gap:0!important;padding:0!important;
  border:1px solid var(--control-border)!important;border-radius:var(--control-radius)!important;
  overflow:hidden!important;background:#fff!important;box-shadow:none!important;height:40px!important;
}
.view-toggle span,.view-toggle a,.view-toggle button,.segmented-tab{
  min-height:38px!important;height:38px!important;padding:0 18px!important;border:0!important;border-right:1px solid var(--control-border)!important;
  border-radius:0!important;background:#fff!important;color:#23384f!important;
  font-size:13px!important;font-weight:500!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important;
}
.view-toggle span:last-child,.view-toggle a:last-child,.view-toggle button:last-child,.segmented-tab:last-child{border-right:0!important;}
.view-toggle .active,.view-toggle span.active,.view-toggle a.active,.view-toggle button.active,.segmented-tab.active{
  background:var(--hc-blue)!important;color:#fff!important;font-weight:600!important;
}
.month-switcher{
  display:inline-flex!important;align-items:center!important;height:40px!important;gap:0!important;
  border:1px solid var(--control-border)!important;border-radius:var(--control-radius)!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important;
}
.month-switcher a,.month-switcher button,.month-switcher strong{
  min-height:38px!important;height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:0!important;border-right:1px solid var(--control-border)!important;background:#fff!important;color:#20364d!important;border-radius:0!important;padding:0 14px!important;font-size:13px!important;box-shadow:none!important;
}
.month-switcher strong{min-width:150px!important;font-weight:600!important;color:#0f2237!important;}
.month-switcher a:last-child,.month-switcher button:last-child{border-right:0!important;}
.month-switcher a:hover,.month-switcher button:hover{background:#f7fafc!important;color:var(--hc-blue)!important;}
.filter-toggle,.filters-toggle,summary.filter-toggle,.ops-filter-drawer summary{
  border-radius:var(--control-radius)!important;border:1px solid var(--control-border)!important;background:#fff!important;box-shadow:none!important;min-height:40px!important;padding:10px 13px!important;font-weight:500!important;color:#20364d!important;
}
.input,select,textarea,.language-select-wrap{border-radius:var(--control-radius)!important;border-color:var(--control-border)!important;box-shadow:none!important;font-weight:400!important;}

/* Calendar polish */
.ops-calendar-topbar h1{font-size:32px!important;font-weight:700!important;}
.ops-calendar-controls{gap:10px!important;}
.ops-kpi-row{gap:12px!important;}
.ops-kpi-card{padding:15px!important;min-height:88px!important;}
.ops-kpi-card strong{font-size:21px!important;font-weight:700!important;color:#0f2237!important;}
.ops-kpi-card small{font-size:12px!important;font-weight:500!important;color:#2b4057!important;}
.ops-kpi-card em{font-size:11px!important;font-weight:500!important;color:#148a55!important;}
.kpi-icon{width:36px!important;height:36px!important;border-radius:5px!important;font-size:15px!important;font-weight:600!important;}
.ops-month-card{border-radius:7px!important;overflow:hidden!important;}
.ops-weekdays{background:#f9fbfd!important;border-bottom:1px solid var(--hc-border)!important;}
.ops-weekdays>div{padding:11px 8px!important;font-size:12px!important;font-weight:600!important;color:#53667c!important;border-right:1px solid var(--hc-border)!important;}
.ops-day{min-height:156px!important;padding:10px!important;border-radius:0!important;border-right:1px solid #e5edf5!important;border-bottom:1px solid #e5edf5!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;}
.ops-day:hover{background:#fbfdff!important;box-shadow:inset 0 0 0 1px rgba(36,94,234,.16)!important;}
.ops-day.selected{background:#fffaf3!important;box-shadow:inset 0 0 0 2px #fb923c!important;}
.ops-day-head strong{font-size:16px!important;font-weight:650!important;}
.ops-day-head em{border-radius:3px!important;font-size:10px!important;font-weight:600!important;background:#ffedd5!important;color:#ea580c!important;padding:2px 5px!important;}
.ops-day-jobs{gap:4px!important;}
.ops-mini-job{border-radius:3px!important;border:1px solid #dbe6f1!important;background:#fff!important;box-shadow:none!important;padding:5px 6px!important;min-height:30px!important;}
.ops-mini-job:hover{border-color:#b9cde1!important;background:#f8fbff!important;}
.ops-mini-job span{font-size:10.5px!important;line-height:1.12!important;font-weight:600!important;color:#0f2237!important;}
.ops-mini-job small{font-size:9.5px!important;font-weight:400!important;color:#5e7187!important;}
.ops-mini-job span i,.side-job-body strong i,.ops-calendar-legend i{width:7px!important;height:7px!important;border-radius:50%!important;box-shadow:none!important;}
.ops-mini-job.issue_reported,.ops-mini-job.cancelled{background:#fff8ed!important;border-color:#ffd7a3!important;}
.ops-mini-job.issue_reported span::after,.ops-mini-job.cancelled span::after{content:'⚠'!important;color:var(--hc-yellow)!important;margin-left:4px!important;font-size:10px!important;}
.ops-more-jobs{font-size:10px!important;font-weight:600!important;color:var(--hc-blue)!important;}
.ops-day-total{font-size:10px!important;font-weight:500!important;color:#52677d!important;}
.ops-calendar-legend{font-weight:500!important;font-size:12px!important;background:#fff!important;border-top:1px solid var(--hc-border)!important;}
.ops-calendar-legend .legend-completed{border-radius:2px!important;background:#86efac!important;}
.ops-calendar-legend .legend-problem{position:relative!important;width:0!important;height:0!important;border-left:7px solid transparent!important;border-right:7px solid transparent!important;border-bottom:13px solid var(--hc-yellow)!important;background:transparent!important;border-radius:0!important;}
.ops-calendar-legend .legend-problem::after{content:'!'!important;position:absolute!important;left:-2px!important;top:3px!important;color:#fff!important;font-size:8px!important;font-weight:700!important;}

/* Tables, badges, forms */
.table-wrap{border-radius:7px!important;}
th,td{font-weight:400!important;padding:11px 10px!important;}
th{font-weight:600!important;font-size:11px!important;color:#73839a!important;}
.table-link-title{font-weight:600!important;}
.badge,.tag,.status-badge,.metric-pill,.wizard-chip,.flow-chip,.checklist-progress-badge{border-radius:4px!important;font-weight:500!important;}
.alert{border-radius:6px!important;font-weight:500!important;}

/* Right panels */
.panel-head h2,.ops-panel-card h2{font-weight:650!important;}
.selected-day-stats div strong{font-weight:650!important;}
.side-job-card{border-radius:5px!important;}
.side-job-body strong{font-weight:600!important;}
.no-jobs-hero{border-radius:7px!important;background:#fffaf2!important;border-color:#fde5c5!important;}

/* Mobile still shows calendar grid, with polished controls */
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .main{padding:14px!important;padding-bottom:calc(82px + env(safe-area-inset-bottom))!important;}
  .ops-calendar-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;}
  .view-toggle{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:100%!important;height:40px!important;}
  .view-toggle span,.view-toggle a,.view-toggle button{padding:0 8px!important;font-size:12px!important;}
  .month-switcher{grid-column:1/-1!important;display:grid!important;grid-template-columns:42px 1fr 42px!important;width:100%!important;height:40px!important;}
  .month-switcher strong{min-width:0!important;}
  .ops-calendar-controls .btn{grid-column:1/-1!important;width:100%!important;}
  .ops-weekdays{display:grid!important;grid-template-columns:repeat(7,1fr)!important;}
  .ops-month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;}
  .ops-day{min-height:62px!important;padding:5px 3px!important;}
  .ops-day-head strong{font-size:12px!important;}
  .ops-mini-job{width:7px!important;height:7px!important;min-width:7px!important;min-height:7px!important;border-radius:50%!important;padding:0!important;border:0!important;background:var(--property-color,#245eea)!important;}
  .ops-mini-job span,.ops-mini-job small,.ops-more-jobs,.ops-day-total,.ops-empty-selected{display:none!important;}
  .mobile-bottom-nav-item{font-weight:500!important;}
}

/* V79 premium header, controls and working calendar view polish */
:root{
  --hc-blue:#173f8f !important;
  --hc-blue-hover:#123476 !important;
  --hc-blue-soft:#edf3ff !important;
  --hc-navy:#0f2237 !important;
  --control-radius:5px !important;
  --control-border:#cfdae7 !important;
  --control-border-strong:#aebfd2 !important;
  --hc-yellow:#f59e0b !important;
}
.ops-calendar-topbar{align-items:center!important;margin-bottom:2px!important;}
.page-breadcrumb-wrap{display:flex;align-items:center;min-height:40px;}
.page-breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:#748399;letter-spacing:0;text-transform:none;}
.page-breadcrumb a{color:#607087;text-decoration:none;}
.page-breadcrumb a:hover{color:var(--hc-blue)!important;}
.page-breadcrumb strong{font-weight:600;color:#17283b;}
.page-breadcrumb span{color:#a8b5c5;}
.ops-calendar-topbar h1,.page-kicker{display:none!important;}
.btn,button.btn,.btn-primary,.ops-calendar-controls .btn-primary{
  background:var(--hc-blue)!important;border-color:var(--hc-blue)!important;border-radius:var(--control-radius)!important;
  min-height:38px!important;padding:0 15px!important;font-size:13px!important;font-weight:600!important;
  box-shadow:0 1px 0 rgba(15,34,55,.04)!important;
}
.btn:hover,button.btn:hover,.btn-primary:hover,.ops-calendar-controls .btn-primary:hover{background:var(--hc-blue-hover)!important;border-color:var(--hc-blue-hover)!important;}
.btn-secondary,button.btn-secondary{background:#fff!important;color:#1c324a!important;border-color:var(--control-border)!important;}
.view-toggle,.month-switcher{
  height:38px!important;border-radius:var(--control-radius)!important;border-color:var(--control-border)!important;background:#fff!important;
  box-shadow:0 1px 2px rgba(15,34,55,.035)!important;
}
.view-toggle a,.view-toggle span,.view-toggle button,
.month-switcher a,.month-switcher strong,.month-switcher button{
  height:36px!important;min-height:36px!important;font-size:13px!important;font-weight:500!important;border-color:var(--control-border)!important;
}
.view-toggle a,.view-toggle span,.view-toggle button{padding:0 17px!important;color:#24384f!important;text-decoration:none!important;}
.view-toggle a.active,.view-toggle .active,.view-toggle button.active{background:var(--hc-blue)!important;color:#fff!important;font-weight:600!important;}
.month-switcher strong{min-width:142px!important;font-weight:600!important;color:#17283b!important;}
.month-switcher a{color:#21384f!important;text-decoration:none!important;width:38px!important;padding:0!important;}
.month-switcher a:hover{background:#f6f9fc!important;color:var(--hc-blue)!important;}
.ops-filter-drawer{border-radius:var(--control-radius)!important;}
.ops-filter-drawer summary{font-size:13px!important;font-weight:500!important;}
.ops-kpi-card,.ops-panel-card,.ops-month-card,.ops-alt-calendar-card{border-radius:7px!important;}
.ops-mini-job,.side-job-card,.ops-alt-job{border-radius:4px!important;}
.ops-calendar-legend .legend-problem{border-bottom-color:var(--hc-yellow)!important;}

.ops-alt-calendar-card{background:#fff;border:1px solid var(--hc-border);overflow:hidden;box-shadow:none;}
.ops-alt-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--hc-border);background:#fbfdff;gap:12px;}
.ops-alt-head span{display:block;font-size:11px;color:#68788d;font-weight:600;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px;}
.ops-alt-head strong{font-size:18px;color:#10233a;font-weight:650;}
.ops-alt-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));}
.day-view .ops-alt-days{grid-template-columns:1fr;}
.ops-alt-day{min-height:520px;border-right:1px solid #e5edf5;background:#fff;}
.ops-alt-day:last-child{border-right:0;}
.ops-alt-day.today{background:#fffaf4;}
.ops-alt-day header{padding:12px 12px 10px;border-bottom:1px solid #e5edf5;display:grid;gap:2px;}
.ops-alt-day header span{font-size:11px;color:#67778a;font-weight:600;text-transform:uppercase;letter-spacing:.04em;}
.ops-alt-day header strong{font-size:15px;color:#10233a;font-weight:650;}
.ops-alt-day header em{font-style:normal;font-size:11px;color:#6b7b8e;font-weight:500;}
.ops-alt-job-list{display:grid;gap:8px;padding:10px;}
.ops-alt-job{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #dbe6f1;background:#fff;color:#10233a;text-decoration:none;padding:9px 10px;min-height:52px;}
.ops-alt-job:hover{border-color:#b9cce1;background:#f9fbff;}
.ops-alt-job .alt-dot{width:7px;height:7px;border-radius:50%;background:var(--property-color,#3b82f6);}
.ops-alt-job strong{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ops-alt-job small{display:block;font-size:11px;color:#617388;font-weight:400;margin-top:2px;}
.ops-alt-job em{font-style:normal;font-size:12px;font-weight:600;color:#148a55;}
.ops-alt-job.issue_reported,.ops-alt-job.cancelled{border-color:#ffd7a3;background:#fff8ed;}
.ops-alt-job.issue_reported::after,.ops-alt-job.cancelled::after{content:'⚠';color:var(--hc-yellow);font-size:13px;}
.ops-alt-empty{border:1px dashed #d8e3ef;background:#fbfdff;color:#75859a;font-size:12px;padding:16px;text-align:center;border-radius:4px;}

@media (max-width:1100px){.ops-alt-days{grid-template-columns:1fr}.ops-alt-day{min-height:auto;border-right:0;border-bottom:1px solid #e5edf5}.ops-alt-day:last-child{border-bottom:0}}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .page-breadcrumb-wrap{width:100%;}
  .page-breadcrumb{font-size:12px;}
  .view-toggle a,.view-toggle span,.view-toggle button{padding:0 8px!important;}
  .ops-alt-head{padding:12px;}
  .ops-alt-days{grid-template-columns:1fr!important;}
  .ops-alt-day{min-height:auto!important;}
}

/* v80 notification settings */
.toggle-card{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:14px;
    border:1px solid var(--border, #d9e2ef);
    background:#fff;
    border-radius:8px;
    min-height:92px;
    cursor:pointer;
}
.toggle-card input{margin-top:3px; accent-color:var(--primary, #1e40af);}
.toggle-card strong{display:block;font-weight:600;color:var(--text, #172033);margin-bottom:4px;}
.toggle-card small{display:block;color:var(--muted, #667085);line-height:1.35;font-weight:400;}
.toggle-card:has(input:checked){border-color:rgba(30,64,175,.36);background:rgba(30,64,175,.045);}

/* V81 platform polish: premium controls, sharper surfaces, hierarchy UI */
:root{
  --primary:#1E40AF!important;
  --primary-2:#163A8A!important;
  --primary-deep:#102A6B!important;
  --accent:#F59E0B!important;
  --radius:8px!important;
  --radius-xs:4px;
  --radius-sm:6px;
  --radius-md:8px;
  --radius-lg:10px;
  --shadow:0 8px 24px rgba(15,23,42,.055)!important;
}
body{font-weight:400!important;color:#172033!important;}
h1,h2,h3,.section-title,.table-link-title,.table-cell-title{font-weight:600!important;letter-spacing:-.01em;}
strong{font-weight:600;}
.card,.page-header-card,.detail-hero,.ops-panel-card,.summary-card,.cleaner-job-card,.money-flow-card{border-radius:var(--radius-md)!important;box-shadow:var(--shadow)!important;background:#fff!important;border-color:#E2E8F0!important;}
.card-pad{padding:18px!important;}
.btn,button.btn,a.btn{border-radius:var(--radius-sm)!important;min-height:38px!important;padding:8px 13px!important;font-weight:600!important;font-size:13px!important;box-shadow:none!important;background:#1E40AF!important;border:1px solid #1E40AF!important;color:#fff!important;gap:8px;}
.btn:hover,button.btn:hover,a.btn:hover{background:#163A8A!important;border-color:#163A8A!important;transform:none!important;box-shadow:0 5px 14px rgba(30,64,175,.13)!important;}
.btn-secondary,a.btn-secondary,button.btn-secondary{background:#fff!important;color:#1E40AF!important;border:1px solid #CBD5E1!important;}
.btn-secondary:hover,a.btn-secondary:hover,button.btn-secondary:hover{background:#F8FAFC!important;color:#163A8A!important;border-color:#94A3B8!important;box-shadow:none!important;}
.btn-danger,button.btn-danger{background:#B42318!important;border-color:#B42318!important;color:#fff!important;}
.input,select,textarea{border-radius:var(--radius-sm)!important;border-color:#CBD5E1!important;box-shadow:none!important;font-weight:400!important;}
.input:focus,select:focus,textarea:focus{border-color:#1E40AF!important;box-shadow:0 0 0 3px rgba(30,64,175,.11)!important;outline:none!important;}
.badge{border-radius:999px!important;padding:5px 9px!important;font-weight:600!important;font-size:11px!important;}
.badge-red::before{content:'⚠ ';}.badge-red{background:#FEF3C7!important;color:#92400E!important;border-color:#FDE68A!important;}
.nav-group{margin-top:14px!important;}.nav-group:first-child{margin-top:6px!important;}
.nav-group-label{margin:0 0 5px!important;font-size:10px!important;letter-spacing:.11em!important;color:#94A3B8!important;font-weight:700!important;}
.nav{gap:3px!important;}.nav-link{border-radius:var(--radius-sm)!important;padding:8px 10px!important;font-weight:500!important;color:#475569!important;}
.nav-link.active{background:#EEF4FF!important;color:#1E40AF!important;box-shadow:inset 3px 0 0 #1E40AF!important;border:1px solid #DBEAFE!important;}
.nav-link.active .hc-svg-icon svg{fill:#1E40AF!important;}.nav-link-icon{opacity:.95;}
.hc-svg-icon svg{width:17px!important;height:17px!important;fill:currentColor!important;}
.topbar{min-height:58px!important;padding:14px 20px!important;}.topbar-sub,.page-kicker,.page-header-title,.detail-title{display:none!important;}
.breadcrumb{display:flex;align-items:center;gap:8px;color:#64748B;font-size:13px;font-weight:500;}
.breadcrumb a{color:#64748B;text-decoration:none;}.breadcrumb a:hover{color:#1E40AF;}.breadcrumb span{color:#CBD5E1;}.breadcrumb strong{color:#172033;font-weight:600;}
.breadcrumb-card{margin-bottom:4px;}.page-header-subtitle,.detail-subtitle{font-size:13px!important;color:#64748B!important;margin:4px 0 0!important;max-width:820px;}
.page-header-card{margin-bottom:14px!important;}.page-header-main{align-items:center!important;}
.quick-add-menu{border-radius:var(--radius-md)!important;padding:8px!important;}.quick-add-menu a{border-radius:var(--radius-sm)!important;padding:10px!important;}.quick-add-icon{border-radius:var(--radius-sm)!important;background:#EEF4FF!important;color:#1E40AF!important;}
.segmented-tabs,.view-switch{border-radius:var(--radius-sm)!important;padding:3px!important;background:#F8FAFC!important;border:1px solid #CBD5E1!important;gap:2px!important;}
.segmented-tab,.view-switch a,.ops-calendar-controls .btn{border-radius:var(--radius-xs)!important;min-height:34px!important;padding:7px 12px!important;font-weight:600!important;}
.segmented-tab.active,.view-switch a.active,.ops-calendar-controls .btn-primary{background:#1E40AF!important;color:#fff!important;border-color:#1E40AF!important;}
.table-wrap{border-radius:var(--radius-md)!important;border-color:#E2E8F0!important;}table th{font-size:11px!important;font-weight:600!important;color:#64748B!important;background:#F8FAFC!important;}table td{font-weight:400!important;}
.person-cell{display:flex;align-items:center;gap:10px;min-width:0}.avatar-initials{width:34px;height:34px;border-radius:var(--radius-sm);display:grid;place-items:center;background:#EEF4FF;color:#1E40AF;border:1px solid #DBEAFE;font-size:12px;font-weight:700;flex:0 0 auto;}
.sidebar-user-avatar,.side-thumb{background:#EEF4FF!important;color:#1E40AF!important;border-radius:var(--radius-sm)!important;}
.side-job-list{padding:8px 18px 18px!important;gap:4px!important;}.side-job-card{padding:14px 0!important;}.side-thumb i{background:#EEF4FF!important;color:#1E40AF!important;opacity:1!important;display:grid;place-items:center;}.side-thumb i::before{content:attr(data-initials);}
.side-job-card.warning .side-thumb{background:#FEF3C7!important;border-color:#FDE68A!important;color:#92400E!important;}.side-job-card.warning .side-thumb::before{content:'⚠';font-weight:800;}
.ops-kpi-card{border-radius:var(--radius-md)!important;box-shadow:var(--shadow)!important;}.kpi-icon{border-radius:var(--radius-sm)!important;}.kpi-icon.orange{background:#FEF3C7!important;color:#92400E!important;}.kpi-icon.blue{background:#EEF4FF!important;color:#1E40AF!important;}
.ops-day{border-radius:0!important;background:#fff!important;}.calendar-job,.ops-job-chip{border-radius:var(--radius-xs)!important;box-shadow:none!important;}.ops-job-chip.issue,.calendar-job.issue{background:#FEF3C7!important;border-color:#FDE68A!important;color:#92400E!important;}
.mobile-bottom-nav{border-radius:12px 12px 0 0!important;}.mobile-bottom-nav-item.active{color:#1E40AF!important;}
.operations-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;margin-top:16px}.timeline-list{display:grid;gap:0}.timeline-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 0;border-top:1px solid #E2E8F0;color:#172033;text-decoration:none}.timeline-item:first-child{border-top:0}.timeline-item small{display:block;margin-top:4px;color:#64748B;font-size:12px}.timeline-item b{font-size:13px;color:#059669}.timeline-icon{width:30px;height:30px;border-radius:var(--radius-sm);display:grid;place-items:center;background:#ECFDF3;color:#067647;border:1px solid #ABEFC6;font-weight:800}.timeline-icon.warning,.queue-warning{background:#FEF3C7!important;color:#92400E!important;border-color:#FDE68A!important}.action-queue{display:grid;gap:8px}.action-queue a{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;padding:11px;border:1px solid #E2E8F0;border-radius:var(--radius-sm);text-decoration:none;color:#172033;background:#fff}.action-queue a>span{width:30px;height:30px;border-radius:var(--radius-sm);display:grid;place-items:center;background:#F1F5F9}.action-queue small{display:block;color:#64748B;font-size:12px;margin-top:2px}.action-queue a:hover{border-color:#BFDBFE;background:#F8FAFC}.stack-badges{gap:6px!important;}
@media(max-width:900px){.operations-grid{grid-template-columns:1fr}.topbar{padding:12px 14px!important}.card-pad{padding:14px!important}.ops-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-header-main{align-items:flex-start!important}.breadcrumb{font-size:12px}.btn,button.btn,a.btn{min-height:36px!important;padding:7px 11px!important}.table-wrap{overflow:auto}.person-cell{min-width:180px}}

/* v82: activity engine + calendar tooltip/panel polish */
.side-job-list.compact{padding-left:16px!important;padding-right:16px!important;padding-bottom:16px!important;gap:10px!important;}
.side-job-list.compact .side-job-card{padding:12px!important;border:1px solid var(--hc-border,#d8e4f2)!important;border-radius:6px!important;}
.side-job-list.compact .side-job-card + .side-job-card{margin-top:0!important;}
.side-job-card{transition:background .15s ease,border-color .15s ease;}
.side-job-card:hover{background:#f8fbff!important;border-color:#bcd4ee!important;}
.side-thumb{font-weight:650;color:#1e3a5f;background:#eff6ff!important;border-radius:6px!important;}
.side-thumb i{display:none!important;}
.side-job-body em{border-radius:4px!important;font-weight:600!important;padding:4px 7px!important;}
.activity-feed-list a{color:inherit;text-decoration:none;}
.activity-feed-list a:hover{color:var(--hc-primary,#1e40af);text-decoration:underline;}
.activity-feed-list .amber-dot{background:#f59e0b;}
.activity-feed-list .slate-dot{background:#94a3b8;}
.activity-feed-list .activity-empty{color:#64748b;font-weight:500;}
.ops-mini-job{position:relative;}
.ops-mini-job[data-tooltip]:hover::after{content:attr(data-tooltip);white-space:pre-line;position:absolute;left:0;bottom:calc(100% + 8px);z-index:30;width:230px;padding:10px 12px;border:1px solid #cbd8e8;border-radius:6px;background:#0f172a;color:#fff;font-size:11px;line-height:1.45;font-weight:500;box-shadow:0 12px 28px rgba(15,23,42,.18);pointer-events:none;}
.ops-mini-job[data-tooltip]:hover::before{content:"";position:absolute;left:18px;bottom:calc(100% + 3px);z-index:31;border:5px solid transparent;border-top-color:#0f172a;pointer-events:none;}
.ops-panel-card .panel-head{padding-left:16px!important;padding-right:16px!important;}
@media (max-width:900px){.ops-mini-job[data-tooltip]:hover::after,.ops-mini-job[data-tooltip]:hover::before{display:none!important;}.side-job-list.compact{padding-left:12px!important;padding-right:12px!important;}}

/* v84 global notification bell + nav unread badge */
.notification-bell-global{
  min-width:86px;
  height:40px;
  gap:8px;
  padding:0 12px;
  border-radius:var(--hc-radius-sm, 6px)!important;
  border:1px solid var(--border, #d7e2f0);
  background:#fff;
  color:var(--ink, #10233f);
  font-weight:600;
}
.notification-bell-global:hover{
  border-color:var(--primary, #1e40af);
  color:var(--primary, #1e40af);
  background:#f8fbff;
}
.notification-bell-icon{font-size:15px;line-height:1;}
.notification-bell-label{font-size:13px;letter-spacing:-.01em;}
.notification-bell-global strong{top:-7px;right:-7px;}
.nav-unread-badge{
  margin-left:auto;
  min-width:22px;
  height:22px;
  padding:0 7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#e24b4a;
  color:#fff !important;
  font-size:12.5px;
  line-height:1;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  letter-spacing:0;
}
.nav-link{gap:10px;}
@media (max-width: 760px){
  .notification-bell-label{display:none;}
  .notification-bell-global{min-width:40px;width:40px;padding:0;}
}

/* v85 operations experience polish */
.notification-menu{position:relative;display:inline-flex;align-items:center;}
.notification-menu .notification-bell{border:1px solid var(--border);background:#fff;border-radius:var(--radius-sm);height:38px;min-width:42px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--text);box-shadow:none;cursor:pointer;}
.notification-menu .notification-bell:hover{border-color:#b8c7dc;background:#f8fafc;}
.notification-menu .notification-bell strong{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--primary);color:#fff;font-size:11px;font-weight:700;line-height:1;}
.notification-bell-label{display:none!important;}
.notification-bell-icon{font-size:15px;line-height:1;}
.notification-dropdown{position:absolute;right:0;top:calc(100% + 10px);z-index:2000;width:min(360px,calc(100vw - 28px));padding:0;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;box-shadow:0 18px 45px rgba(15,23,42,.16);border-radius:var(--radius-md);overflow:hidden;}
.notification-menu.open .notification-dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.notification-dropdown-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid var(--border);background:#fff;}
.notification-dropdown-head strong{display:block;font-size:14px;font-weight:650;color:var(--text);}
.notification-dropdown-head small{display:block;margin-top:3px;font-size:12px;color:var(--muted);font-weight:450;}
.notification-dropdown-head a{font-size:12px;font-weight:650;color:var(--primary);text-decoration:none;white-space:nowrap;}
.notification-dropdown-list{max-height:350px;overflow:auto;background:#fff;}
.notification-dropdown-item{display:grid;grid-template-columns:8px 1fr;gap:10px;padding:12px 15px;text-decoration:none;color:var(--text);border-bottom:1px solid #eef2f7;}
.notification-dropdown-item:hover{background:#f8fafc;}
.notification-dropdown-item strong{display:block;font-size:13px;font-weight:650;line-height:1.25;color:var(--text);}
.notification-dropdown-item small{display:block;margin-top:4px;font-size:12px;line-height:1.35;color:var(--muted);font-weight:420;}
.notification-dropdown-dot{width:7px;height:7px;border-radius:999px;background:#cbd5e1;margin-top:5px;}
.notification-dropdown-item.is-unread .notification-dropdown-dot{background:var(--primary);}
.notification-dropdown-item.is-unread{background:#f8fbff;}
.notification-dropdown-empty{padding:18px 15px;color:var(--muted);font-size:13px;}

.ops-month-card,.ops-month-grid,.ops-day,.ops-day-jobs{overflow:visible!important;}
.ops-day{position:relative;}
.ops-day:has(.ops-mini-job:hover){z-index:50;}
.ops-mini-job[data-tooltip]{position:relative;}
.mini-done-flag{display:none;}
.ops-mini-job[data-tooltip]:hover::after{content:attr(data-tooltip);white-space:pre-line;position:absolute;left:0;right:auto;top:auto;bottom:calc(100% + 10px);z-index:9999;width:248px;padding:13px 15px;border:1px solid #e6ebf2;border-radius:12px;background:#fff;color:#1f2937;font-size:12px;line-height:1.55;font-weight:450;box-shadow:0 20px 48px -12px rgba(15,23,42,.30),0 4px 12px rgba(15,23,42,.08);pointer-events:none;}
.ops-mini-job[data-tooltip]:hover::before{content:"";position:absolute;left:18px;bottom:calc(100% + 5px);z-index:10000;border:6px solid transparent;border-top-color:#fff;filter:drop-shadow(0 2px 1px rgba(15,23,42,.10));pointer-events:none;}
.ops-day:nth-child(7n) .ops-mini-job[data-tooltip]:hover::after,.ops-day:nth-child(6n) .ops-mini-job[data-tooltip]:hover::after{left:auto;right:0;}
.ops-day:nth-child(7n) .ops-mini-job[data-tooltip]:hover::before,.ops-day:nth-child(6n) .ops-mini-job[data-tooltip]:hover::before{left:auto;right:22px;}
.side-job-list,.side-job-list.compact{padding-left:14px!important;padding-right:14px!important;}
.side-job-card{padding-left:14px!important;padding-right:14px!important;}

.job-drawer-backdrop{position:fixed;inset:0;z-index:2500;background:rgba(15,23,42,.32);opacity:0;transition:opacity .18s ease;}
.job-drawer-backdrop.open{opacity:1;}
.job-drawer{position:fixed;top:0;right:0;bottom:0;z-index:2600;width:min(430px,100vw);background:#fff;border-left:1px solid var(--border);box-shadow:-20px 0 55px rgba(15,23,42,.18);padding:22px;transform:translateX(102%);transition:transform .2s ease;overflow:auto;}
.job-drawer.open{transform:translateX(0);}
.job-drawer-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;}
.job-drawer-close:hover{background:#f8fafc;color:var(--text);}
.job-drawer-head{padding-right:42px;border-bottom:1px solid var(--border);padding-bottom:16px;margin-bottom:16px;}
.job-drawer-kicker{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:650;color:var(--muted);margin-bottom:6px;}
.job-drawer-head h2{font-size:22px;line-height:1.15;margin:0 0 10px;font-weight:650;color:var(--text);}
.drawer-status{display:inline-flex;width:max-content;}
.job-drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px;}
.job-drawer-grid div{border:1px solid var(--border);background:#f8fafc;border-radius:var(--radius-sm);padding:11px;min-width:0;}
.job-drawer-grid small{display:block;color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;}
.job-drawer-grid strong{display:block;color:var(--text);font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.job-drawer-section{border-top:1px solid var(--border);padding-top:16px;margin-top:6px;}
.job-drawer-section h3{font-size:14px;font-weight:650;margin:0 0 12px;color:var(--text);}
.job-drawer-timeline{display:grid;gap:10px;}
.job-drawer-timeline span{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px;font-weight:500;}
.job-drawer-timeline i{display:block;width:9px;height:9px;border-radius:999px;background:var(--primary);box-shadow:0 0 0 4px rgba(29,78,216,.10);}
.job-drawer-actions{position:sticky;bottom:-22px;background:linear-gradient(180deg,rgba(255,255,255,.82),#fff 35%);display:flex;gap:10px;padding-top:16px;margin-top:18px;}
.job-drawer-actions .btn{flex:1;justify-content:center;}

@media (max-width:900px){
  .notification-dropdown{right:-48px;}
  .job-drawer{width:100vw;padding:18px;}
  .job-drawer-grid{grid-template-columns:1fr;}
  .ops-mini-job[data-tooltip]:hover::after,.ops-mini-job[data-tooltip]:hover::before{display:none!important;}
}
.panel-actions-inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.panel-actions-inline a{font-size:13px;font-weight:650;color:var(--primary);text-decoration:none;}

/* v86 bug fix layer: unclipped calendar tooltips, stronger drawer, mobile bottom sheet */
.calendar-grid,.calendar-month,.calendar-day,.calendar-day-body,.calendar-job{overflow:visible!important;}
.job-tooltip-card{position:absolute!important;z-index:9999!important;pointer-events:none;}
.calendar-job:hover,.calendar-job:focus,.calendar-job:focus-visible{z-index:50;}
.notification-menu{position:relative;}
.notification-dropdown{position:absolute;right:0;top:calc(100% + 10px);z-index:10000;min-width:320px;max-width:min(92vw,380px);display:none;}
.notification-menu.open .notification-dropdown{display:block;}
.job-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:9990;opacity:0;transition:opacity .18s ease;}
.job-drawer-backdrop.open{opacity:1;}
.job-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(460px,94vw);background:#fff;z-index:9991;box-shadow:-28px 0 60px rgba(15,23,42,.22);padding:24px;overflow:auto;transform:translateX(105%);transition:transform .22s ease;border-left:1px solid #e2e8f0;}
.job-drawer.open{transform:translateX(0);}
.job-drawer-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:24px;line-height:1;cursor:pointer;}
.job-drawer-head{padding-right:48px;margin-bottom:18px;}.job-drawer-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:900;}.job-drawer-head h2{margin:6px 0 10px;font-size:26px;line-height:1.1;}
.job-drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0;}.job-drawer-grid div{border:1px solid #e8eef5;background:#f8fafc;border-radius:14px;padding:12px;}.job-drawer-grid small{display:block;color:#64748b;font-weight:800;margin-bottom:4px;}.job-drawer-grid strong{display:block;color:#14243a;overflow:hidden;text-overflow:ellipsis;}
.job-drawer-section{border-top:1px solid #edf2f7;padding-top:16px;margin-top:16px;}.job-drawer-section h3{margin:0 0 10px;font-size:15px;}.job-drawer-note{margin:0;color:#475569;background:#f8fafc;border:1px solid #edf2f7;border-radius:14px;padding:12px;}
.job-drawer-timeline{display:grid;gap:10px;}.job-drawer-timeline span{display:flex;gap:10px;align-items:flex-start;color:#334155;font-weight:750;}.job-drawer-timeline i{width:10px;height:10px;border-radius:999px;background:#3e536e;margin-top:5px;box-shadow:0 0 0 4px rgba(62,83,110,.12);flex:0 0 auto;}.job-drawer-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
@media (max-width:720px){.job-drawer{top:auto;bottom:0;right:0;left:0;width:100%;height:min(82dvh,720px);border-radius:24px 24px 0 0;transform:translateY(105%);border-left:0;}.job-drawer.open{transform:translateY(0);}.job-drawer-grid{grid-template-columns:1fr;}.notification-dropdown{position:fixed;right:12px;left:12px;top:72px;min-width:0;max-width:none;}}

/* v86.3 hard drawer visibility fix */
body.job-drawer-is-open{overflow:hidden;}
.job-drawer-backdrop.open{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
.job-drawer.open{display:block!important;visibility:visible!important;opacity:1!important;transform:translateX(0)!important;pointer-events:auto!important;}
[data-job-drawer="1"]{cursor:pointer;}
@media (max-width:720px){
  .job-drawer{top:auto!important;left:0!important;right:0!important;width:100vw!important;max-height:86vh!important;border-left:0!important;border-top:1px solid var(--border)!important;border-radius:22px 22px 0 0!important;transform:translateY(105%)!important;}
  .job-drawer.open{transform:translateY(0)!important;}
}

/* v86.3 hard drawer visibility fix */
body.job-drawer-is-open{overflow:hidden;}
.job-drawer-backdrop.open{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
.job-drawer.open{display:block!important;visibility:visible!important;opacity:1!important;transform:translateX(0)!important;pointer-events:auto!important;}
[data-job-drawer="1"]{cursor:pointer;}
@media (max-width:720px){
  .job-drawer{top:auto!important;left:0!important;right:0!important;width:100vw!important;max-height:86vh!important;border-left:0!important;border-top:1px solid var(--border)!important;border-radius:22px 22px 0 0!important;transform:translateY(105%)!important;}
  .job-drawer.open{transform:translateY(0)!important;}
}


/* === v86.5 premium calendar job drawer === */
[data-calendar-job-card="1"]{cursor:pointer;}
.css-job-drawer-backdrop{display:none;position:fixed;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(2px);z-index:12000;text-decoration:none;}
.css-job-drawer{position:fixed;top:0;right:0;bottom:0;width:min(680px,46vw);min-width:560px;background:#fff;z-index:12001;box-shadow:-30px 0 80px rgba(15,23,42,.24);padding:32px 34px 0;overflow:auto;transform:translateX(105%);transition:transform .2s ease;border-left:1px solid #e2e8f0;visibility:hidden;pointer-events:none;}
.css-job-drawer:target{transform:translateX(0);visibility:visible;pointer-events:auto;}
.css-job-drawer:target + .css-job-drawer-backdrop,
.css-job-drawer-backdrop:has(+ .css-job-drawer:target){display:block;}
.css-job-drawer-close{position:absolute;top:28px;right:28px;width:40px;height:40px;border-radius:999px;border:0;background:#fff;color:#0f172a;font-size:30px;line-height:36px;text-align:center;text-decoration:none;box-shadow:none;}
.css-job-drawer-close:hover{background:#f8fafc;}
.job-drawer-head{position:relative;padding:0 56px 22px 78px;border-bottom:0;margin-bottom:18px;min-height:70px;}
.job-drawer-head:before{content:"";position:absolute;left:0;top:4px;width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,#2939c8,#455cff);box-shadow:0 16px 28px rgba(41,57,200,.23);}
.job-drawer-head:after{content:"🧰";position:absolute;left:15px;top:17px;font-size:24px;filter:grayscale(1) brightness(0) invert(1);}
.job-drawer-kicker{display:inline-block;text-transform:uppercase;letter-spacing:.08em;font-size:12px;line-height:1;font-weight:900;color:#64748b;background:#f3f6ff;border-radius:999px;padding:6px 10px;margin-bottom:7px;}
.job-drawer-head h2{font-size:27px;line-height:1.1;margin:0 0 11px;font-weight:850;color:#0f172a;letter-spacing:-.03em;}
.drawer-status{display:inline-flex;align-items:center;border:0;background:#dcfce7!important;color:#15803d!important;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:850;}
.job-drawer-head .drawer-code-inline{position:absolute;right:0;bottom:26px;color:#475569;font-size:13px;font-weight:750;}
.job-drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 22px;}
.job-drawer-grid div{position:relative;border:1px solid #e5eaf2;background:#fff;border-radius:14px;padding:17px 16px 17px 62px;min-height:58px;box-shadow:0 10px 24px rgba(15,23,42,.035);}
.job-drawer-grid div:before{content:"";position:absolute;left:16px;top:18px;width:38px;height:38px;border-radius:10px;background:#eef2ff;}
.job-drawer-grid div:after{position:absolute;left:27px;top:27px;font-size:16px;color:#2939c8;line-height:1;}
.job-drawer-grid div:nth-child(1):after{content:"👥"}.job-drawer-grid div:nth-child(2):after{content:"👤"}.job-drawer-grid div:nth-child(3):after{content:"📅"}.job-drawer-grid div:nth-child(4):after{content:"🕘"}.job-drawer-grid div:nth-child(5):after{content:"↪"}.job-drawer-grid div:nth-child(6):after{content:"↩"}.job-drawer-grid div:nth-child(7):after{content:"£";font-weight:900}.job-drawer-grid div:nth-child(8):after{content:"▥"}
.job-drawer-grid small{display:block;color:#475569;font-size:12px;font-weight:800;margin-bottom:6px;text-transform:none;letter-spacing:0;}
.job-drawer-grid strong{display:block;color:#0f172a;font-size:14px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.job-drawer-section{border-top:1px solid #e8edf4;padding-top:18px;margin-top:18px;}
.job-drawer-section h3{font-size:16px;font-weight:850;margin:0 0 12px;color:#0f172a;}
.job-drawer-note{margin:0;color:#475569;background:#f8fafc;border:1px solid #e5eaf2;border-radius:14px;padding:15px 16px;font-size:14px;}
.job-drawer-timeline{display:grid;gap:0;}
.job-drawer-timeline span{position:relative;display:grid;grid-template-columns:18px 1fr auto;gap:12px;align-items:start;color:#0f172a;font-size:14px;font-weight:800;padding:0 0 18px;}
.job-drawer-timeline span:after{content:"just now";grid-column:3;color:#64748b;font-size:12px;font-weight:600;}
.job-drawer-timeline span:not(:last-child):before{content:"";position:absolute;left:8px;top:18px;bottom:0;width:2px;background:#dbe4f0;}
.job-drawer-timeline i{position:relative;z-index:1;width:10px;height:10px;margin-top:4px;border-radius:999px;background:#3f51d8;box-shadow:0 0 0 5px #eef2ff;}
.job-drawer-actions{position:sticky;bottom:0;margin:30px -34px 0;padding:28px 34px 34px;background:rgba(255,255,255,.96);border-top:1px solid #e8edf4;display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:12px;backdrop-filter:blur(10px);}
.job-drawer-actions:before{content:"Quick actions";grid-column:1/-1;font-size:16px;font-weight:900;color:#0f172a;margin-bottom:6px;}
.job-drawer-actions .btn{min-height:58px;border-radius:12px;justify-content:center;text-align:center;font-weight:850;box-shadow:none;}
.job-drawer-actions .btn-primary{background:#2f3dcc;color:#fff;border-color:#2f3dcc;}
.job-drawer-actions .btn-secondary{background:#fff;border:1px solid #e1e7f0;color:#1d4ed8;}
@media (max-width:1100px){.css-job-drawer{width:min(640px,72vw);min-width:0;}}
@media (max-width:720px){.css-job-drawer{top:auto;left:0;right:0;bottom:0;width:100vw;min-width:0;height:min(88dvh,760px);border-radius:24px 24px 0 0;border-left:0;border-top:1px solid #e2e8f0;transform:translateY(105%);padding:26px 20px 0;}.css-job-drawer:target{transform:translateY(0);}.job-drawer-head{padding-left:0;padding-top:70px;padding-right:44px;}.job-drawer-head:before{top:0}.job-drawer-head:after{top:13px}.job-drawer-grid{grid-template-columns:1fr;}.job-drawer-actions{margin-left:-20px;margin-right:-20px;padding:22px 20px 28px;grid-template-columns:1fr;}.css-job-drawer-close{top:18px;right:18px;}}


/* === v86.6 premium drawer refinement + mobile bottom sheet === */
.css-job-drawer-backdrop{
  background:rgba(15,23,42,.24)!important;
  backdrop-filter:blur(2px)!important;
}
.css-job-drawer{
  width:min(650px,92vw)!important;
  min-width:0!important;
  padding:34px 36px 0!important;
  border-radius:18px 0 0 18px!important;
  box-shadow:-24px 0 70px rgba(15,23,42,.18)!important;
}
.css-job-drawer:target{animation:drawerSlideIn .18s ease-out;}
@keyframes drawerSlideIn{from{transform:translateX(104%)}to{transform:translateX(0)}}
.css-job-drawer .job-drawer-head{padding-left:78px!important;padding-right:60px!important;margin-bottom:20px!important;}
.css-job-drawer .job-drawer-head h2{font-size:28px!important;letter-spacing:-.035em!important;}
.css-job-drawer .drawer-code-inline{right:0!important;bottom:30px!important;font-size:14px!important;}
.css-job-drawer .job-drawer-grid{gap:14px!important;margin:22px 0 24px!important;}
.css-job-drawer .job-drawer-grid div{border-radius:15px!important;padding:18px 16px 18px 66px!important;min-height:72px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
.css-job-drawer .job-drawer-note{min-height:48px;display:flex;align-items:center;}
.css-job-drawer .job-drawer-timeline span{grid-template-columns:18px 1fr auto!important;}
.css-job-drawer .job-drawer-actions.premium-action-grid{
  position:sticky!important;
  bottom:0!important;
  margin:30px -36px 0!important;
  padding:26px 36px 34px!important;
  border-top:1px solid #e8edf4!important;
  background:rgba(255,255,255,.97)!important;
  backdrop-filter:blur(12px)!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
}
.job-drawer-actions.premium-action-grid:before{
  content:"Quick actions"!important;
  grid-column:1/-1!important;
  font-size:16px!important;
  font-weight:900!important;
  color:#0f172a!important;
  margin-bottom:4px!important;
}
.drawer-action-card{
  min-height:78px!important;
  border:1px solid #dfe7f2!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#1d4ed8!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  text-align:center!important;
  text-decoration:none!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:850!important;
  box-shadow:0 8px 18px rgba(15,23,42,.035)!important;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease!important;
}
.drawer-action-card:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.07)!important;border-color:#cbd7e8!important;}
.drawer-action-icon{font-size:22px!important;line-height:1!important;font-weight:900!important;}
.drawer-action-primary{background:linear-gradient(135deg,#1d4ed8,#343fc8)!important;border-color:#263bc8!important;color:#fff!important;box-shadow:0 14px 28px rgba(37,60,200,.23)!important;}
.drawer-action-complete{color:#166534!important;border-color:#bbf7d0!important;background:#fbfffc!important;}
.drawer-action-danger{color:#ef1f2d!important;border-color:#fecaca!important;background:#fff!important;}
.drawer-action-danger:hover{border-color:#f87171!important;}

/* hide older btn styling inside premium action grid */
.premium-action-grid .btn{display:none!important;}

@media (max-width:900px){
  .css-job-drawer{width:min(620px,96vw)!important;}
  .css-job-drawer .job-drawer-actions.premium-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:720px){
  .css-job-drawer-backdrop{background:rgba(15,23,42,.34)!important;}
  .css-job-drawer{
    top:auto!important;left:0!important;right:0!important;bottom:0!important;
    width:100vw!important;height:min(90dvh,780px)!important;
    border-radius:26px 26px 0 0!important;
    padding:22px 18px 0!important;
    transform:translateY(105%)!important;
  }
  .css-job-drawer:target{transform:translateY(0)!important;animation:drawerSheetIn .2s ease-out;}
  @keyframes drawerSheetIn{from{transform:translateY(104%)}to{transform:translateY(0)}}
  .css-job-drawer:before{content:"";position:sticky;top:0;display:block;width:46px;height:5px;background:#d8e1ee;border-radius:999px;margin:0 auto 16px;z-index:2;}
  .css-job-drawer .job-drawer-close{top:18px!important;right:18px!important;width:38px!important;height:38px!important;font-size:28px!important;}
  .css-job-drawer .job-drawer-head{padding-left:0!important;padding-top:66px!important;padding-right:46px!important;min-height:0!important;}
  .css-job-drawer .job-drawer-head:before{top:8px!important;width:50px!important;height:50px!important;}
  .css-job-drawer .job-drawer-head:after{top:20px!important;left:13px!important;}
  .css-job-drawer .job-drawer-head h2{font-size:24px!important;}
  .css-job-drawer .drawer-code-inline{position:static!important;display:block!important;margin-top:10px!important;}
  .css-job-drawer .job-drawer-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .css-job-drawer .job-drawer-grid div{min-height:62px!important;padding:14px 14px 14px 60px!important;}
  .css-job-drawer .job-drawer-grid div:before{left:14px!important;top:15px!important;width:34px!important;height:34px!important;}
  .css-job-drawer .job-drawer-grid div:after{left:24px!important;top:24px!important;}
  .css-job-drawer .job-drawer-actions.premium-action-grid{
    margin:24px -18px 0!important;
    padding:20px 18px 26px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .drawer-action-card{min-height:72px!important;font-size:12px!important;}
  .drawer-action-primary{grid-column:1/-1!important;}
}
@media (max-width:390px){
  .css-job-drawer .job-drawer-actions.premium-action-grid{grid-template-columns:1fr!important;}
  .drawer-action-card{min-height:60px!important;flex-direction:row!important;gap:10px!important;}
  .drawer-action-primary{grid-column:auto!important;}
}

/* === v86.7 drawer viewport docking fix ===
   Fixes large blank gap on wide screens caused by fixed drawer being positioned
   against the calendar/content wrapper instead of the browser viewport. */
@media (min-width:721px){
  .css-job-drawer-backdrop{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:auto!important;
    bottom:auto!important;
    width:100vw!important;
    height:100dvh!important;
    z-index:12000!important;
  }
  .css-job-drawer{
    position:fixed!important;
    top:0!important;
    bottom:auto!important;
    right:auto!important;
    left:calc(100vw - min(680px, 44vw))!important;
    width:min(680px, 44vw)!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:18px 0 0 18px!important;
    z-index:12001!important;
  }
}
@media (min-width:721px) and (max-width:1400px){
  .css-job-drawer{
    left:calc(100vw - min(640px, 56vw))!important;
    width:min(640px, 56vw)!important;
  }
}
@media (min-width:721px) and (max-width:1100px){
  .css-job-drawer{
    left:calc(100vw - min(620px, 72vw))!important;
    width:min(620px, 72vw)!important;
  }
}

/* === v86.8 premium mobile drawer rebuild ===
   Fixes mobile drawer feeling cramped, bottom nav overlap, oversized action cards,
   and improves sheet spacing on phones while keeping desktop drawer intact. */
body:has(.css-job-drawer:target) .mobile-bottom-nav{
  transform:translateY(calc(100% + env(safe-area-inset-bottom) + 18px))!important;
  opacity:0!important;
  pointer-events:none!important;
}
body:has(.css-job-drawer:target){overflow:hidden!important;}

@media (max-width:720px){
  .css-job-drawer-backdrop{
    background:rgba(15,23,42,.28)!important;
    backdrop-filter:blur(2px)!important;
  }
  .css-job-drawer{
    top:auto!important;
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    width:auto!important;
    max-width:none!important;
    height:min(92dvh,760px)!important;
    max-height:min(92dvh,760px)!important;
    border-radius:22px!important;
    padding:16px 16px 0!important;
    overflow:auto!important;
    overscroll-behavior:contain!important;
    box-shadow:0 -18px 60px rgba(15,23,42,.28)!important;
  }
  .css-job-drawer:before{
    content:""!important;
    position:sticky!important;
    top:0!important;
    display:block!important;
    width:44px!important;
    height:5px!important;
    background:#d7e0ec!important;
    border-radius:999px!important;
    margin:0 auto 14px!important;
    z-index:4!important;
  }
  .css-job-drawer .job-drawer-close{
    top:16px!important;
    right:16px!important;
    width:38px!important;
    height:38px!important;
    border:1px solid #dfe7f2!important;
    background:#fff!important;
    box-shadow:0 8px 18px rgba(15,23,42,.06)!important;
    z-index:5!important;
  }
  .css-job-drawer .job-drawer-head{
    padding:0 48px 12px 58px!important;
    margin:0 0 12px!important;
    min-height:54px!important;
    border-bottom:0!important;
  }
  .css-job-drawer .job-drawer-head:before{
    width:46px!important;
    height:46px!important;
    top:0!important;
    left:0!important;
    border-radius:13px!important;
  }
  .css-job-drawer .job-drawer-head:after{
    top:11px!important;
    left:12px!important;
    font-size:21px!important;
  }
  .css-job-drawer .job-drawer-kicker{
    font-size:10px!important;
    padding:5px 8px!important;
    margin-bottom:6px!important;
    letter-spacing:.07em!important;
  }
  .css-job-drawer .job-drawer-head h2{
    font-size:22px!important;
    line-height:1.08!important;
    margin:0 0 8px!important;
    letter-spacing:-.03em!important;
  }
  .css-job-drawer .drawer-status{
    padding:6px 10px!important;
    font-size:11px!important;
  }
  .css-job-drawer .drawer-code-inline{
    position:static!important;
    display:block!important;
    margin-top:8px!important;
    font-size:12px!important;
    color:#475569!important;
  }
  .css-job-drawer .job-drawer-grid{
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin:14px 0 14px!important;
  }
  .css-job-drawer .job-drawer-grid div{
    min-height:50px!important;
    border-radius:13px!important;
    padding:11px 12px 11px 52px!important;
    box-shadow:none!important;
  }
  .css-job-drawer .job-drawer-grid div:before{
    width:32px!important;
    height:32px!important;
    left:12px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    border-radius:9px!important;
  }
  .css-job-drawer .job-drawer-grid div:after{
    left:21px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    font-size:14px!important;
  }
  .css-job-drawer .job-drawer-grid small{
    font-size:11px!important;
    margin-bottom:3px!important;
  }
  .css-job-drawer .job-drawer-grid strong{
    font-size:13px!important;
  }
  .css-job-drawer .job-drawer-section{
    margin-top:12px!important;
    padding-top:12px!important;
  }
  .css-job-drawer .job-drawer-section h3{
    font-size:14px!important;
    margin-bottom:8px!important;
  }
  .css-job-drawer .job-drawer-note{
    padding:12px!important;
    min-height:42px!important;
    font-size:13px!important;
    border-radius:12px!important;
  }
  .css-job-drawer .job-drawer-timeline span{
    grid-template-columns:16px 1fr!important;
    gap:9px!important;
    padding-bottom:12px!important;
    font-size:13px!important;
  }
  .css-job-drawer .job-drawer-timeline span:after{display:none!important;}
  .css-job-drawer .job-drawer-timeline span:not(:last-child):before{
    left:7px!important;
    top:17px!important;
  }
  .css-job-drawer .job-drawer-timeline i{
    width:9px!important;
    height:9px!important;
    box-shadow:0 0 0 4px #eef2ff!important;
  }
  .css-job-drawer .job-drawer-actions.premium-action-grid{
    position:static!important;
    margin:16px -16px 0!important;
    padding:16px 16px calc(18px + env(safe-area-inset-bottom))!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    border-top:1px solid #e8edf4!important;
    background:#fff!important;
    backdrop-filter:none!important;
  }
  .css-job-drawer .job-drawer-actions.premium-action-grid:before{
    font-size:15px!important;
    margin-bottom:2px!important;
  }
  .css-job-drawer .drawer-action-card{
    min-height:58px!important;
    border-radius:12px!important;
    gap:6px!important;
    font-size:11px!important;
    box-shadow:none!important;
  }
  .css-job-drawer .drawer-action-icon{
    font-size:18px!important;
  }
  .css-job-drawer .drawer-action-primary{
    grid-column:1/-1!important;
    min-height:60px!important;
  }
}

@media (max-width:390px){
  .css-job-drawer{
    left:6px!important;
    right:6px!important;
    bottom:6px!important;
    height:94dvh!important;
    border-radius:18px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .css-job-drawer .job-drawer-head h2{font-size:20px!important;}
  .css-job-drawer .job-drawer-actions.premium-action-grid{
    margin-left:-14px!important;
    margin-right:-14px!important;
    padding-left:14px!important;
    padding-right:14px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .css-job-drawer .drawer-action-card{
    min-height:54px!important;
    flex-direction:column!important;
  }
  .css-job-drawer .drawer-action-primary{grid-column:1/-1!important;}
}

/* === v86.9 drawer rebuild: true right dock + cleaner mobile sheet ===
   This overrides previous drawer layers. The old drawer was being positioned
   relative to the app/content wrapper, which caused the large blank gap on
   the right of wide screens. */
@media (min-width:721px){
  body:has(.css-job-drawer:target){overflow:hidden!important;}
  .css-job-drawer-backdrop{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    background:rgba(15,23,42,.30)!important;
    backdrop-filter:blur(2px)!important;
    z-index:12000!important;
  }
  .css-job-drawer{
    position:fixed!important;
    top:0!important;
    bottom:0!important;
    left:auto!important;
    /* If a transformed parent makes fixed positioning relative to the app wrapper,
       this negative right value pushes the drawer flush to the real viewport edge. */
    right:calc((100vw - 100%) * -1)!important;
    width:min(720px,42vw)!important;
    min-width:640px!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
    padding:40px 42px 0!important;
    transform:translateX(105%)!important;
    box-shadow:-34px 0 90px rgba(15,23,42,.26)!important;
    overflow-y:auto!important;
  }
  .css-job-drawer:target{transform:translateX(0)!important;}
  .css-job-drawer .job-drawer-close{top:28px!important;right:30px!important;}
  .css-job-drawer .job-drawer-head{padding:0 170px 24px 78px!important;margin-bottom:22px!important;min-height:78px!important;}
  .css-job-drawer .job-drawer-head h2{font-size:30px!important;line-height:1.08!important;margin-bottom:10px!important;}
  .css-job-drawer .drawer-code-inline{position:absolute!important;right:0!important;bottom:34px!important;white-space:nowrap!important;}
  .css-job-drawer .job-drawer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:24px 0 26px!important;}
  .css-job-drawer .job-drawer-grid div{min-height:76px!important;border-radius:16px!important;padding:18px 18px 18px 68px!important;}
  .css-job-drawer .job-drawer-section{margin-top:20px!important;padding-top:20px!important;}
  .css-job-drawer .job-drawer-timeline{position:relative!important;display:grid!important;gap:0!important;margin-top:4px!important;}
  .css-job-drawer .job-drawer-timeline span{display:grid!important;grid-template-columns:18px 1fr auto!important;align-items:start!important;gap:12px!important;padding:0 0 16px!important;position:relative!important;}
  .css-job-drawer .job-drawer-timeline span:after{content:'just now'!important;display:block!important;color:#64748b!important;font-size:12px!important;font-weight:650!important;}
  .css-job-drawer .job-drawer-timeline span:not(:last-child):before{content:''!important;position:absolute!important;left:8px!important;top:18px!important;bottom:0!important;width:2px!important;background:#dce5f2!important;}
  .css-job-drawer .job-drawer-timeline i{width:10px!important;height:10px!important;margin-top:4px!important;border-radius:999px!important;background:#3154d4!important;box-shadow:0 0 0 5px #eef2ff!important;}
  .css-job-drawer .job-drawer-actions.premium-action-grid{position:sticky!important;bottom:0!important;margin:30px -42px 0!important;padding:26px 42px 34px!important;grid-template-columns:1.1fr repeat(4,1fr)!important;gap:12px!important;background:rgba(255,255,255,.96)!important;border-top:1px solid #e8edf4!important;box-shadow:0 -18px 34px rgba(15,23,42,.05)!important;}
  .css-job-drawer .drawer-action-card{min-height:82px!important;border-radius:14px!important;font-size:12px!important;gap:8px!important;}
  .css-job-drawer .drawer-action-icon{font-size:23px!important;}
}
@media (min-width:721px) and (max-width:1450px){
  .css-job-drawer{width:min(680px,54vw)!important;min-width:600px!important;}
  .css-job-drawer .job-drawer-actions.premium-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .css-job-drawer .drawer-action-primary{grid-column:span 1!important;}
}
@media (min-width:721px) and (max-width:1080px){
  .css-job-drawer{width:min(620px,82vw)!important;min-width:0!important;}
}

/* Mobile is not a squeezed desktop drawer. It becomes a clean full-height bottom sheet. */
@media (max-width:720px){
  body:has(.css-job-drawer:target){overflow:hidden!important;}
  body:has(.css-job-drawer:target) .mobile-bottom-nav{display:none!important;}
  .css-job-drawer-backdrop{background:rgba(15,23,42,.32)!important;backdrop-filter:blur(2px)!important;}
  .css-job-drawer{
    position:fixed!important;
    top:auto!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    height:94dvh!important;
    max-height:94dvh!important;
    border-radius:24px 24px 0 0!important;
    padding:14px 16px 0!important;
    transform:translateY(105%)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    box-shadow:0 -24px 70px rgba(15,23,42,.30)!important;
  }
  .css-job-drawer:target{transform:translateY(0)!important;}
  .css-job-drawer:before{content:''!important;display:block!important;position:sticky!important;top:0!important;width:46px!important;height:5px!important;background:#d7e0ec!important;border-radius:999px!important;margin:0 auto 12px!important;z-index:10!important;}
  .css-job-drawer .job-drawer-close{top:14px!important;right:14px!important;width:36px!important;height:36px!important;font-size:26px!important;line-height:32px!important;z-index:11!important;}
  .css-job-drawer .job-drawer-head{
    padding:0 44px 10px 54px!important;
    margin:0 0 10px!important;
    min-height:52px!important;
  }
  .css-job-drawer .job-drawer-head:before{width:42px!important;height:42px!important;left:0!important;top:1px!important;border-radius:12px!important;}
  .css-job-drawer .job-drawer-head:after{left:10px!important;top:10px!important;font-size:20px!important;}
  .css-job-drawer .job-drawer-kicker{font-size:10px!important;padding:5px 8px!important;margin-bottom:5px!important;}
  .css-job-drawer .job-drawer-head h2{font-size:21px!important;line-height:1.08!important;margin:0 0 6px!important;}
  .css-job-drawer .drawer-status{padding:5px 9px!important;font-size:11px!important;margin-right:8px!important;}
  .css-job-drawer .drawer-code-inline{position:static!important;display:inline!important;font-size:11px!important;white-space:normal!important;}
  .css-job-drawer .job-drawer-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:12px 0!important;
  }
  .css-job-drawer .job-drawer-grid div{min-height:58px!important;border-radius:13px!important;padding:10px 10px 10px 46px!important;box-shadow:none!important;}
  .css-job-drawer .job-drawer-grid div:before{width:28px!important;height:28px!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;border-radius:8px!important;}
  .css-job-drawer .job-drawer-grid div:after{left:18px!important;top:50%!important;transform:translateY(-50%)!important;font-size:13px!important;}
  .css-job-drawer .job-drawer-grid small{font-size:10.5px!important;margin-bottom:2px!important;}
  .css-job-drawer .job-drawer-grid strong{font-size:12px!important;white-space:normal!important;line-height:1.25!important;}
  .css-job-drawer .job-drawer-section{margin-top:10px!important;padding-top:10px!important;}
  .css-job-drawer .job-drawer-section h3{font-size:14px!important;margin-bottom:8px!important;}
  .css-job-drawer .job-drawer-note{padding:10px 12px!important;min-height:38px!important;font-size:12.5px!important;border-radius:12px!important;}
  .css-job-drawer .job-drawer-timeline span{display:grid!important;grid-template-columns:15px 1fr!important;gap:8px!important;padding-bottom:10px!important;font-size:12.5px!important;}
  .css-job-drawer .job-drawer-timeline span:after{display:none!important;content:none!important;}
  .css-job-drawer .job-drawer-timeline span:not(:last-child):before{left:7px!important;top:16px!important;bottom:0!important;}
  .css-job-drawer .job-drawer-timeline i{width:8px!important;height:8px!important;margin-top:4px!important;box-shadow:0 0 0 4px #eef2ff!important;}
  .css-job-drawer .job-drawer-actions.premium-action-grid{
    position:sticky!important;
    bottom:0!important;
    margin:12px -16px 0!important;
    padding:12px 16px calc(14px + env(safe-area-inset-bottom))!important;
    background:#fff!important;
    border-top:1px solid #e8edf4!important;
    box-shadow:0 -12px 24px rgba(15,23,42,.06)!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .css-job-drawer .job-drawer-actions.premium-action-grid:before{font-size:14px!important;margin:0 0 2px!important;}
  .css-job-drawer .drawer-action-card{min-height:54px!important;border-radius:12px!important;gap:5px!important;font-size:11px!important;}
  .css-job-drawer .drawer-action-icon{font-size:17px!important;}
  .css-job-drawer .drawer-action-primary{grid-column:1/-1!important;min-height:56px!important;}
}
@media (max-width:380px){
  .css-job-drawer{height:96dvh!important;padding-left:12px!important;padding-right:12px!important;}
  .css-job-drawer .job-drawer-grid{grid-template-columns:1fr!important;}
  .css-job-drawer .job-drawer-actions.premium-action-grid{margin-left:-12px!important;margin-right:-12px!important;padding-left:12px!important;padding-right:12px!important;}
}

/* === v87 role-aware premium job workspace drawer === */
.css-job-drawer.v87-job-workspace{
  width:min(720px,92vw)!important;
  min-width:0!important;
  max-width:none!important;
  padding:0!important;
  background:#f8fafc!important;
  border-radius:22px 0 0 22px!important;
  overflow:auto!important;
  color:#0f172a!important;
}
.v87-job-workspace .job-drawer-close{
  position:fixed!important;top:22px!important;right:22px!important;z-index:3!important;
  width:38px!important;height:38px!important;border-radius:999px!important;background:#fff!important;
  box-shadow:0 10px 24px rgba(15,23,42,.10)!important;font-size:26px!important;color:#64748b!important;text-decoration:none!important;
}
.v87-drawer-hero{display:grid;grid-template-columns:1fr 190px;gap:22px;padding:34px 34px 24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);border-bottom:1px solid #e7edf5;}
.v87-kicker{display:inline-flex;text-transform:uppercase;letter-spacing:.09em;font-size:11px;font-weight:900;color:#475569;background:#eef2ff;border-radius:999px;padding:7px 10px;margin-bottom:12px;}
.v87-hero-main h2{font-size:34px;line-height:1.02;margin:0 50px 8px 0;letter-spacing:-.045em;font-weight:900;color:#0f172a;}
.v87-hero-main p{margin:0;color:#64748b;font-size:14px;font-weight:650;}
.v87-hero-badges{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px;}
.v87-status-pill,.v87-code-pill{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;line-height:1;}
.v87-status-pill{background:#e0f2fe;color:#075985;}.v87-status-pill.status-draft{background:#f1f5f9;color:#475569}.v87-status-pill.status-assigned{background:#dbeafe;color:#1d4ed8}.v87-status-pill.status-in_progress{background:#fef3c7;color:#92400e}.v87-status-pill.status-completed{background:#dcfce7;color:#166534}.v87-status-pill.status-cancelled{background:#fee2e2;color:#991b1b}
.v87-code-pill{background:#fff;border:1px solid #e2e8f0;color:#334155;}
.v87-cleaner-mini{align-self:start;background:#fff;border:1px solid #e5ebf3;border-radius:18px;padding:16px;display:grid;justify-items:center;text-align:center;gap:6px;box-shadow:0 18px 40px rgba(15,23,42,.06);}
.v87-avatar{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#1d4ed8,#4f46e5);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:950;font-size:18px;box-shadow:0 12px 24px rgba(29,78,216,.22);}
.v87-avatar.small{width:42px;height:42px;border-radius:13px;font-size:14px;box-shadow:none;}
.v87-cleaner-mini strong{font-size:14px;font-weight:900}.v87-cleaner-mini small,.v87-cleaner-mini em{font-style:normal;color:#64748b;font-size:12px;font-weight:700;}
.v87-summary-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 34px 0;padding:14px;background:#fff;border:1px solid #e5ebf3;border-radius:18px;box-shadow:0 18px 38px rgba(15,23,42,.045);}
.v87-summary-strip div{display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center;padding:10px 12px;border-radius:13px;background:#f8fafc;}
.v87-summary-strip span{grid-row:1/3;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#eef2ff;}
.v87-summary-strip small{font-size:11px;font-weight:850;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.v87-summary-strip strong{font-size:14px;font-weight:950;color:#0f172a;}
.v87-progress-card,.v87-info-card,.v87-notes-card,.v87-timeline-card,.v87-financials{margin:16px 34px 0;background:#fff;border:1px solid #e5ebf3;border-radius:18px;padding:18px;box-shadow:0 16px 36px rgba(15,23,42,.04);}
.v87-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}.v87-section-title span,.v87-card-head h3{font-size:16px;font-weight:950;color:#0f172a;margin:0;}.v87-section-title a{font-size:12px;font-weight:900;color:#1d4ed8;text-decoration:none;background:#eef2ff;padding:8px 10px;border-radius:999px;}
.v87-progress-row{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}.v87-progress-row strong{font-size:26px;font-weight:950;color:#0f172a}.v87-progress-row small{color:#64748b;font-weight:800}.v87-progress-row em{margin-left:auto;font-style:normal;color:#1d4ed8;font-weight:950;}
.v87-progress-track{height:12px;background:#e9eef6;border-radius:999px;overflow:hidden}.v87-progress-track i{display:block;height:100%;background:linear-gradient(90deg,#1d4ed8,#4f46e5);border-radius:999px;}
.v87-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 34px;}.v87-card-grid .v87-info-card{margin:16px 0 0;}
.v87-card-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.v87-card-head span{width:34px;height:34px;border-radius:11px;background:#eef2ff;display:inline-flex;align-items:center;justify-content:center;}.v87-info-card>strong{display:block;font-size:18px;font-weight:950;color:#0f172a;margin-bottom:6px}.v87-info-card p{margin:0 0 10px;color:#64748b;font-size:14px;font-weight:700}.v87-info-card small{color:#64748b;font-weight:750;}
.v87-person-line{display:flex;gap:12px;align-items:center}.v87-person-line strong{display:block;font-size:15px;font-weight:950}.v87-person-line small{display:block;color:#64748b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px;}
.v87-mini-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.v87-mini-actions a{font-size:12px;font-weight:900;color:#1d4ed8;text-decoration:none;border:1px solid #dbe5f2;background:#fff;border-radius:999px;padding:8px 11px;}
.v87-notes-card p{margin:0;color:#475569;background:#f8fafc;border:1px solid #e8edf4;border-radius:14px;padding:14px;font-weight:650;line-height:1.45;}
.v87-financials{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.v87-financials.compact{grid-template-columns:1fr}.v87-financials div{background:#f8fafc;border:1px solid #e8edf4;border-radius:14px;padding:14px}.v87-financials small{display:block;color:#64748b;font-size:12px;font-weight:850;margin-bottom:5px}.v87-financials strong{font-size:18px;font-weight:950;color:#0f172a;}
.v87-timeline{position:relative;display:grid;gap:0}.v87-timeline div{position:relative;display:grid;grid-template-columns:20px 1fr;column-gap:12px;padding:0 0 18px}.v87-timeline div:not(:last-child)::before{content:"";position:absolute;left:9px;top:18px;bottom:0;width:2px;background:#dbe5f2}.v87-timeline i{position:relative;z-index:1;width:12px;height:12px;margin-top:3px;border-radius:999px;background:#1d4ed8;box-shadow:0 0 0 5px #eef2ff}.v87-timeline strong{font-size:14px;font-weight:950;color:#0f172a}.v87-timeline small{grid-column:2;color:#64748b;font-size:12px;font-weight:750;margin-top:3px;}
.v87-action-bar{position:sticky;bottom:0;margin:24px 0 0;padding:18px 34px 26px;background:rgba(255,255,255,.96);border-top:1px solid #e5ebf3;backdrop-filter:blur(14px);z-index:2}.v87-action-bar>span{display:block;font-size:15px;font-weight:950;color:#0f172a;margin-bottom:12px}.v87-action-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.v87-action{min-height:72px;border:1px solid #dfe7f2;border-radius:14px;background:#fff;color:#1d4ed8;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-weight:950;box-shadow:0 8px 18px rgba(15,23,42,.035)}.v87-action b{font-size:22px;line-height:1}.v87-action small{font-size:12px;font-weight:950}.v87-action.primary{background:linear-gradient(135deg,#1d4ed8,#3b41c7);color:#fff;border-color:#2939c8;box-shadow:0 14px 28px rgba(29,78,216,.22)}.v87-action.success{color:#166534;border-color:#bbf7d0;background:#fbfffc}.v87-action.danger{color:#dc2626;border-color:#fecaca;background:#fff;}
.v87-job-workspace.role-cleaner .v87-drawer-hero{grid-template-columns:1fr}.v87-job-workspace.role-cleaner .v87-card-grid{grid-template-columns:1fr}.v87-job-workspace.role-cleaner .v87-cleaner-mini{display:none;}
@media (max-width:720px){
  body:has(.css-job-drawer:target) .bottom-nav, body:has(.css-job-drawer:target) .mobile-bottom-nav{display:none!important;}
  .css-job-drawer.v87-job-workspace{top:auto!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:min(90dvh,780px)!important;border-radius:26px 26px 0 0!important;transform:translateY(105%)!important;}
  .css-job-drawer.v87-job-workspace:target{transform:translateY(0)!important;}
  .v87-job-workspace .job-drawer-close{top:14px!important;right:16px!important;width:34px!important;height:34px!important;font-size:23px!important;}
  .v87-drawer-hero{grid-template-columns:1fr!important;padding:24px 18px 16px!important;gap:12px!important;}
  .v87-kicker{font-size:10px;padding:6px 9px;margin-bottom:9px}.v87-hero-main h2{font-size:24px!important;margin-right:40px!important;margin-bottom:5px!important}.v87-hero-main p{font-size:12px!important;}.v87-hero-badges{margin-top:11px}.v87-cleaner-mini{display:none!important;}
  .v87-summary-strip{margin:12px 18px 0!important;grid-template-columns:1fr!important;padding:10px!important;gap:8px!important}.v87-summary-strip div{padding:8px 10px!important}.v87-summary-strip span{width:30px;height:30px}.v87-summary-strip strong{font-size:13px!important;}
  .v87-progress-card,.v87-info-card,.v87-notes-card,.v87-timeline-card,.v87-financials{margin:12px 18px 0!important;border-radius:16px!important;padding:14px!important}.v87-progress-row strong{font-size:22px!important}.v87-card-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin:0!important}.v87-card-grid .v87-info-card{margin:12px 18px 0!important}.v87-financials{grid-template-columns:1fr!important}.v87-section-title span,.v87-card-head h3{font-size:15px!important}.v87-info-card>strong{font-size:16px!important}.v87-person-line small{max-width:230px;}
  .v87-timeline-card{margin-bottom:96px!important}.v87-action-bar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;margin:0!important;padding:10px 14px calc(12px + env(safe-area-inset-bottom))!important;border-radius:18px 18px 0 0!important}.v87-action-bar>span{display:none!important}.v87-action-grid{grid-template-columns:repeat(4,1fr)!important;gap:8px!important}.v87-action{min-height:58px!important;border-radius:12px!important;gap:5px!important}.v87-action b{font-size:18px!important}.v87-action small{font-size:11px!important}.v87-action.danger{grid-column:auto!important;}
}
@media (max-width:390px){.v87-action-grid{grid-template-columns:repeat(2,1fr)!important}.v87-timeline-card{margin-bottom:158px!important}}


/* === v87.1 compact role-aware workspace polish ===
   Goal: make the drawer feel like the rest of the app: tighter, calmer, less clunky.
   Also rebuild mobile as a clean bottom sheet without the action bar covering content. */
.css-job-drawer.v87-job-workspace{
  width:min(660px,90vw)!important;
  background:#ffffff!important;
  border-left:1px solid #e6edf5!important;
  box-shadow:-24px 0 70px rgba(15,23,42,.22)!important;
}
.v87-job-workspace .job-drawer-close{
  top:18px!important;
  right:20px!important;
  width:34px!important;
  height:34px!important;
  line-height:30px!important;
  font-size:22px!important;
  border:1px solid #dbe5f0!important;
  box-shadow:none!important;
}
.v87-drawer-hero{
  grid-template-columns:1fr 164px!important;
  gap:16px!important;
  padding:28px 30px 20px!important;
  background:#fff!important;
}
.v87-kicker{
  font-size:10px!important;
  padding:6px 9px!important;
  margin-bottom:8px!important;
}
.v87-hero-main h2{
  font-size:28px!important;
  line-height:1.08!important;
  margin:0 44px 6px 0!important;
}
.v87-hero-main p{
  font-size:13px!important;
  line-height:1.35!important;
}
.v87-hero-badges{margin-top:12px!important;gap:7px!important;}
.v87-status-pill,.v87-code-pill{padding:7px 10px!important;font-size:11px!important;}
.v87-cleaner-mini{
  padding:12px!important;
  border-radius:15px!important;
  gap:4px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
}
.v87-avatar{width:46px!important;height:46px!important;border-radius:14px!important;font-size:15px!important;}
.v87-avatar.small{width:36px!important;height:36px!important;border-radius:11px!important;font-size:12px!important;}
.v87-cleaner-mini strong{font-size:13px!important;}
.v87-cleaner-mini small,.v87-cleaner-mini em{font-size:11px!important;}
.v87-summary-strip{
  margin:16px 30px 0!important;
  padding:10px!important;
  gap:8px!important;
  border-radius:16px!important;
  box-shadow:none!important;
}
.v87-summary-strip div{
  grid-template-columns:30px 1fr!important;
  column-gap:9px!important;
  padding:9px 10px!important;
  border-radius:12px!important;
}
.v87-summary-strip span{width:30px!important;height:30px!important;border-radius:9px!important;font-size:14px!important;}
.v87-summary-strip small{font-size:10px!important;}
.v87-summary-strip strong{font-size:13px!important;}
.v87-progress-card,.v87-info-card,.v87-notes-card,.v87-timeline-card,.v87-financials{
  margin:14px 30px 0!important;
  padding:15px!important;
  border-radius:16px!important;
  box-shadow:none!important;
}
.v87-card-grid{gap:12px!important;margin:0 30px!important;}
.v87-card-grid .v87-info-card{margin:14px 0 0!important;}
.v87-section-title{margin-bottom:10px!important;}
.v87-section-title span,.v87-card-head h3{font-size:14px!important;}
.v87-section-title a{font-size:11px!important;padding:7px 9px!important;}
.v87-progress-row strong{font-size:23px!important;}
.v87-progress-track{height:9px!important;}
.v87-card-head{gap:8px!important;margin-bottom:10px!important;}
.v87-card-head span{width:30px!important;height:30px!important;border-radius:10px!important;font-size:14px!important;}
.v87-info-card>strong{font-size:15px!important;margin-bottom:4px!important;}
.v87-info-card p{font-size:13px!important;margin-bottom:7px!important;}
.v87-person-line strong{font-size:13px!important;}
.v87-person-line small{font-size:11.5px!important;}
.v87-mini-actions{margin-top:10px!important;}
.v87-mini-actions a{font-size:11px!important;padding:7px 10px!important;}
.v87-notes-card p{font-size:13px!important;padding:11px!important;}
.v87-timeline div{grid-template-columns:17px 1fr!important;column-gap:10px!important;padding-bottom:12px!important;}
.v87-timeline i{width:9px!important;height:9px!important;box-shadow:0 0 0 4px #eef2ff!important;}
.v87-timeline div:not(:last-child)::before{left:7px!important;top:15px!important;}
.v87-timeline strong{font-size:13px!important;}
.v87-timeline small{font-size:11.5px!important;}
.v87-action-bar{
  margin-top:18px!important;
  padding:14px 30px 18px!important;
  background:#fff!important;
  box-shadow:0 -10px 24px rgba(15,23,42,.035)!important;
}
.v87-action-bar>span{font-size:13px!important;margin-bottom:9px!important;}
.v87-action-grid{gap:8px!important;}
.v87-action{
  min-height:56px!important;
  border-radius:12px!important;
  gap:5px!important;
  box-shadow:none!important;
}
.v87-action b{font-size:17px!important;}
.v87-action small{font-size:11px!important;}
.v87-action.primary{box-shadow:0 10px 22px rgba(29,78,216,.18)!important;}

@media (max-width:720px){
  body:has(.css-job-drawer:target){overflow:hidden!important;}
  body:has(.css-job-drawer:target) .bottom-nav,
  body:has(.css-job-drawer:target) .mobile-bottom-nav{display:none!important;}
  .css-job-drawer.v87-job-workspace{
    top:auto!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:92dvh!important;
    max-height:92dvh!important;
    border-radius:22px 22px 0 0!important;
    overflow-y:auto!important;
    padding-bottom:18px!important;
    box-shadow:0 -20px 55px rgba(15,23,42,.28)!important;
  }
  .css-job-drawer.v87-job-workspace:before{
    content:""!important;
    display:block!important;
    position:sticky!important;
    top:0!important;
    width:42px!important;
    height:4px!important;
    margin:8px auto 0!important;
    background:#d9e2ee!important;
    border-radius:999px!important;
    z-index:5!important;
  }
  .v87-job-workspace .job-drawer-close{
    top:14px!important;
    right:14px!important;
    width:32px!important;
    height:32px!important;
    line-height:28px!important;
    font-size:20px!important;
    background:#fff!important;
  }
  .v87-drawer-hero{
    display:block!important;
    padding:18px 18px 12px!important;
    border-bottom:0!important;
  }
  .v87-kicker{display:none!important;}
  .v87-hero-main h2{
    font-size:22px!important;
    line-height:1.12!important;
    margin:0 42px 5px 0!important;
    letter-spacing:-.035em!important;
  }
  .v87-hero-main p{
    font-size:12px!important;
    max-width:86%!important;
  }
  .v87-hero-badges{margin-top:9px!important;gap:6px!important;}
  .v87-status-pill,.v87-code-pill{font-size:10.5px!important;padding:6px 8px!important;}
  .v87-cleaner-mini{display:none!important;}
  .v87-summary-strip{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    margin:8px 18px 0!important;
    padding:8px!important;
    gap:6px!important;
    border-radius:15px!important;
  }
  .v87-summary-strip div{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    text-align:center!important;
    padding:8px 5px!important;
    min-height:66px!important;
  }
  .v87-summary-strip span{width:28px!important;height:28px!important;font-size:13px!important;}
  .v87-summary-strip small{font-size:9.5px!important;line-height:1!important;}
  .v87-summary-strip strong{font-size:11.5px!important;line-height:1.15!important;}
  .v87-progress-card,.v87-info-card,.v87-notes-card,.v87-timeline-card,.v87-financials{
    margin:10px 18px 0!important;
    padding:13px!important;
    border-radius:15px!important;
  }
  .v87-section-title{margin-bottom:8px!important;}
  .v87-section-title span,.v87-card-head h3{font-size:13.5px!important;}
  .v87-section-title a{font-size:10.5px!important;padding:6px 8px!important;}
  .v87-progress-row{margin-bottom:7px!important;gap:5px!important;}
  .v87-progress-row strong{font-size:20px!important;}
  .v87-progress-row small,.v87-progress-row em{font-size:11px!important;}
  .v87-progress-track{height:8px!important;}
  .v87-card-grid{grid-template-columns:1fr!important;margin:0!important;gap:0!important;}
  .v87-card-grid .v87-info-card{margin:10px 18px 0!important;}
  .v87-card-head{margin-bottom:8px!important;}
  .v87-card-head span{width:28px!important;height:28px!important;font-size:13px!important;}
  .v87-info-card>strong{font-size:14px!important;}
  .v87-info-card p{font-size:12px!important;line-height:1.35!important;}
  .v87-person-line{gap:9px!important;}
  .v87-avatar.small{width:34px!important;height:34px!important;}
  .v87-mini-actions a{font-size:10.5px!important;padding:6px 9px!important;}
  .v87-timeline-card{margin-bottom:0!important;}
  .v87-timeline div{padding-bottom:9px!important;}
  .v87-timeline strong{font-size:12.5px!important;}
  .v87-timeline small{font-size:11px!important;}
  .v87-action-bar{
    position:static!important;
    margin:12px 18px 18px!important;
    padding:0!important;
    background:transparent!important;
    border-top:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    border-radius:0!important;
  }
  .v87-action-bar>span{
    display:block!important;
    font-size:13px!important;
    margin:0 0 8px!important;
  }
  .v87-action-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .v87-action{
    min-height:48px!important;
    border-radius:12px!important;
    display:flex!important;
    flex-direction:row!important;
    gap:7px!important;
  }
  .v87-action b{font-size:15px!important;}
  .v87-action small{font-size:11px!important;}
  .v87-action.danger{
    grid-column:1/-1!important;
    color:#dc2626!important;
    border-color:#fecaca!important;
    background:#fffafa!important;
  }
}
@media (max-width:380px){
  .v87-summary-strip{grid-template-columns:1fr!important;}
  .v87-summary-strip div{min-height:48px!important;flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;padding:8px 10px!important;}
}

/* v88 Messaging & Notifications */
.v88-comms-shell,.v88-chat-layout{max-width:1100px;margin:0 auto 40px;}
.v88-comms-card,.v88-chat-card{overflow:hidden;}
.v88-comms-head{align-items:flex-start;gap:16px;}
.v88-pill{display:inline-flex;align-items:center;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;}
.v88-thread-list{display:flex;flex-direction:column;gap:10px;margin-top:18px;}
.v88-thread-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;text-decoration:none;color:#0f172a;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;}
.v88-thread-row:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(15,23,42,.08);border-color:#bfdbfe;}
.v88-thread-avatar,.v88-message-avatar{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,#1d4ed8,#60a5fa);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px;box-shadow:0 10px 22px rgba(37,99,235,.18);}
.v88-thread-main{display:flex;flex-direction:column;gap:4px;min-width:0;}
.v88-thread-main strong{font-size:15px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.v88-thread-main small{color:#64748b;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.v88-thread-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;color:#64748b;}
.v88-thread-meta b{font-size:12px;color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;padding:4px 8px;}
.v88-thread-meta small{font-size:11px;}
.v88-thread-meta em{font-style:normal;font-size:11px;background:#0f172a;color:#fff;border-radius:999px;min-width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-weight:800;}
.v88-chat-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px 24px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#f8fbff,#fff);}
.v88-kicker{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:900;color:#2563eb;margin-bottom:6px;}
.v88-chat-header h2{margin:0;font-size:28px;line-height:1.1;letter-spacing:-.04em;color:#0f172a;}
.v88-chat-header p{margin:7px 0 0;color:#64748b;}
.v88-chat-status{display:flex;flex-direction:column;align-items:flex-end;gap:8px;white-space:nowrap;}
.v88-chat-status small{color:#64748b;font-weight:700;}
.v88-message-list{padding:22px 24px;display:flex;flex-direction:column;gap:14px;min-height:280px;background:#fbfdff;}
.v88-message{display:flex;gap:12px;max-width:78%;align-self:flex-start;}
.v88-message.mine{align-self:flex-end;flex-direction:row-reverse;}
.v88-message.mine .v88-message-avatar{background:linear-gradient(135deg,#0f172a,#475569);}
.v88-message-bubble{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:12px 14px;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.v88-message.mine .v88-message-bubble{background:#eff6ff;border-color:#bfdbfe;}
.v88-message-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:6px;}
.v88-message-meta strong{font-size:13px;color:#0f172a;}
.v88-message-meta span{font-size:11px;color:#64748b;font-weight:700;}
.v88-message-bubble p{margin:0;color:#1f2937;line-height:1.45;font-size:14px;}
.v88-message-form{padding:18px 24px 22px;border-top:1px solid #e5e7eb;background:#fff;}
.v88-message-form textarea{width:100%;border:1px solid #dbe3ef;border-radius:16px;padding:13px 14px;font:inherit;resize:vertical;min-height:86px;background:#f8fafc;}
.v88-message-form textarea:focus{outline:none;border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.12);background:#fff;}
.v88-message-actions{margin-top:12px;gap:12px;align-items:center;}
.checkbox-row{display:inline-flex;align-items:center;gap:8px;color:#64748b;font-size:13px;font-weight:700;}
.notification-row{border-radius:16px;}
.notification-row.is-unread{background:#eff6ff;border-color:#bfdbfe;}
.notification-dot{width:9px;height:9px;border-radius:999px;background:#cbd5e1;}
.notification-row.is-unread .notification-dot{background:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12);}
@media(max-width:760px){
  .v88-comms-shell,.v88-chat-layout{margin:0 0 24px;}
  .v88-thread-row{grid-template-columns:38px minmax(0,1fr);padding:12px;border-radius:15px;}
  .v88-thread-avatar{width:38px;height:38px;border-radius:13px;font-size:12px;}
  .v88-thread-meta{grid-column:2;align-items:flex-start;flex-direction:row;gap:7px;flex-wrap:wrap;}
  .v88-chat-header{padding:16px;flex-direction:column;gap:12px;}
  .v88-chat-header h2{font-size:22px;}
  .v88-chat-status{align-items:flex-start;}
  .v88-message-list{padding:16px;gap:12px;min-height:220px;}
  .v88-message{max-width:96%;gap:9px;}
  .v88-message-avatar{width:34px;height:34px;border-radius:12px;font-size:11px;}
  .v88-message-bubble{border-radius:15px;padding:10px 12px;}
  .v88-message-form{padding:14px 16px 18px;}
  .v88-message-actions{align-items:stretch;flex-direction:column;}
  .v88-message-actions .btn{width:100%;}
}

.v88-last-message-time{color:#64748b;font-weight:600;}

/* === v88.2 workflow actions polish === */
.v87-action-form{margin:0;display:block;min-width:0;}
.v87-action-form .v87-action-button{width:100%;font-family:inherit;cursor:pointer;appearance:none;-webkit-appearance:none;}
.v87-action-button{border:1px solid #dfe7f2;}
.v87-action.danger b{font-size:18px!important;font-weight:950;}
.v87-action.danger{color:#b91c1c!important;border-color:#fecaca!important;background:#fff7f7!important;}
.ops-mini-job.cancelled,.ops-alt-job.cancelled,.side-job-card.cancelled{opacity:.68!important;filter:grayscale(.1);background:#f8fafc!important;border-color:#e2e8f0!important;color:#64748b!important;}
.ops-mini-job.cancelled::before,.ops-alt-job.cancelled::before{background:#94a3b8!important;}
.status-cancelled,.v87-status-pill.status-cancelled{background:#f1f5f9!important;color:#64748b!important;border-color:#cbd5e1!important;}
.status-completed,.v87-status-pill.status-completed{background:#ecfdf5!important;color:#166534!important;border-color:#bbf7d0!important;}
.status-assigned,.v87-status-pill.status-assigned{background:#eff6ff!important;color:#1d4ed8!important;border-color:#bfdbfe!important;}
.status-in_progress,.v87-status-pill.status-in_progress{background:#fffbeb!important;color:#b45309!important;border-color:#fde68a!important;}
.status-issue_reported,.v87-status-pill.status-issue_reported{background:#fff7ed!important;color:#c2410c!important;border-color:#fed7aa!important;}
@media (max-width:720px){
  .v87-action-form{min-width:0!important;}
  .v87-action-form .v87-action{min-height:52px!important;}
}

/* v89 Finance Centre */
.finance-hero-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.finance-kpi-card .card-pad{display:flex;flex-direction:column;gap:6px}.finance-kpi-card strong{font-size:30px;letter-spacing:-.04em;color:#0f172a}.finance-kpi-card small{color:#64748b}.finance-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.finance-job-list{display:flex;flex-direction:column;gap:14px;margin-top:16px}.finance-job-card{border:1px solid rgba(148,163,184,.22);border-radius:22px;padding:16px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 14px 34px rgba(15,23,42,.06)}.finance-job-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}.finance-job-head strong{display:block;font-size:17px;color:#0f172a}.finance-job-head span{display:block;color:#64748b;font-size:13px;margin-top:3px}.money-flow-widget{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:10px;align-items:center}.money-node{border:1px solid rgba(148,163,184,.25);background:#fff;border-radius:18px;padding:14px;min-height:78px;display:flex;flex-direction:column;justify-content:center}.money-node.primary{background:linear-gradient(135deg,#eef6ff,#fff);border-color:rgba(37,99,235,.22)}.money-node span{font-size:12px;color:#64748b;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.money-node strong{font-size:24px;color:#0f172a;letter-spacing:-.03em;margin-top:4px}.money-arrow{font-weight:900;color:#94a3b8}.finance-split-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.finance-split-grid.manager-view{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-split-grid>div{border:1px solid rgba(148,163,184,.2);background:#fff;border-radius:16px;padding:12px}.finance-split-grid span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.finance-split-grid strong{display:block;font-size:22px;color:#0f172a;margin-top:4px}.finance-split-grid small{display:block;color:#94a3b8;margin-top:2px}.finance-edit-panel{margin-top:12px;border-top:1px solid rgba(148,163,184,.2);padding-top:10px}.finance-edit-panel summary{cursor:pointer;font-weight:800;color:#334155}.finance-edit-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px;align-items:end}.finance-edit-form label{font-size:12px;color:#64748b;font-weight:800}.finance-edit-form .checkline{grid-column:1/-1;display:flex;gap:8px;align-items:center;color:#b45309}.finance-payable-list{display:flex;flex-direction:column;gap:8px;margin:10px 0 16px}.finance-payable-list>div{display:grid;grid-template-columns:1fr auto;gap:4px;border:1px solid rgba(148,163,184,.18);border-radius:14px;padding:10px;background:#fff}.finance-payable-list span{font-weight:800;color:#0f172a}.finance-payable-list strong{font-weight:900;color:#0f172a}.finance-payable-list small{grid-column:1/-1;color:#64748b}.mini-heading{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin:18px 0 8px}.finance-rule-list{margin:12px 0 0;padding-left:18px;color:#475569}.finance-rule-list li{margin:8px 0}.page-finance .status-badge{white-space:nowrap}@media(max-width:1100px){.finance-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-layout{grid-template-columns:1fr}.money-flow-widget{grid-template-columns:1fr}.money-arrow{transform:rotate(90deg);text-align:center}.finance-edit-form{grid-template-columns:1fr 1fr}}@media(max-width:720px){.finance-hero-grid{grid-template-columns:1fr 1fr;gap:10px}.finance-kpi-card strong{font-size:22px}.finance-job-card{border-radius:18px;padding:12px}.finance-job-head{flex-direction:column}.money-node{min-height:auto;padding:12px}.money-node strong{font-size:20px}.finance-split-grid,.finance-split-grid.manager-view{grid-template-columns:1fr}.finance-edit-form{grid-template-columns:1fr}.finance-layout{gap:12px}}
.v87-financials.money-flow-mini{grid-template-columns:repeat(3,1fr)}.v87-financials.money-flow-mini a{color:#2563eb;text-decoration:none;font-size:14px}@media(max-width:720px){.v87-financials.money-flow-mini{grid-template-columns:1fr!important}}

/* v89.1 Finance Centre: spreadsheet/grid view */
.finance-hero-grid-compact{margin-bottom:14px}.finance-hero-grid-compact .card-pad{padding:16px!important}.finance-hero-grid-compact .finance-kpi-card strong{font-size:24px}.finance-grid-layout{display:flex;flex-direction:column;gap:16px}.finance-grid-card{overflow:hidden}.finance-grid-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 18px 12px;border-bottom:1px solid rgba(148,163,184,.18);background:linear-gradient(180deg,#fff,#f8fafc)}.finance-grid-toolbar .section-title{margin:0 0 4px}.finance-grid-tools{display:flex;align-items:center;gap:10px}.finance-search{width:300px;max-width:40vw;height:38px}.finance-table-wrap{overflow:auto;max-height:calc(100vh - 310px);min-height:440px;background:#fff}.finance-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1450px;font-size:13px}.finance-table th{position:sticky;top:0;z-index:4;background:#f8fafc;color:#475569;text-align:left;text-transform:uppercase;letter-spacing:.055em;font-size:11px;font-weight:900;border-bottom:1px solid rgba(148,163,184,.28);padding:11px 10px;white-space:nowrap}.finance-table td{border-bottom:1px solid rgba(226,232,240,.95);padding:10px;vertical-align:middle;color:#334155;background:#fff;white-space:nowrap}.finance-table tbody tr:hover td{background:#f8fbff}.finance-table .sticky-col{position:sticky;left:0;z-index:3;background:inherit;box-shadow:1px 0 0 rgba(226,232,240,.9)}.finance-table th.sticky-col{z-index:5;background:#f8fafc}.finance-table tfoot td{position:sticky;bottom:0;z-index:3;background:#f1f5f9;font-weight:900;color:#0f172a;border-top:1px solid rgba(148,163,184,.32);border-bottom:none}.finance-table tfoot .sticky-col{background:#f1f5f9}.finance-job-link{font-weight:900;color:#2563eb;text-decoration:none}.finance-job-link:hover{text-decoration:underline}.money-col{text-align:right;font-variant-numeric:tabular-nums}.revenue-cell{color:#0f172a;font-weight:900}.allocation-cell{color:#1d4ed8;font-weight:800}.cost-cell{color:#b45309;font-weight:800}.profit-cell{color:#047857;font-weight:900}.company-cell{color:#0f766e}.finance-lock{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.finance-lock.is-locked{background:#dcfce7;color:#166534}.finance-route-pill{display:inline-flex;align-items:center;border:1px solid rgba(148,163,184,.25);background:#f8fafc;border-radius:999px;padding:5px 10px;font-weight:900;color:#334155;font-variant-numeric:tabular-nums}.btn-mini{min-height:30px!important;padding:6px 10px!important;border-radius:10px!important;font-size:12px!important}.finance-edit-row td{background:#f8fafc!important;padding:14px!important}.finance-inline-edit{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr)) minmax(220px,1.4fr) auto;gap:10px;align-items:end}.finance-inline-edit label{display:flex;flex-direction:column;gap:5px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:900}.finance-inline-edit .checkline{grid-column:1/-1;flex-direction:row;align-items:center;color:#b45309;text-transform:none;letter-spacing:0;font-size:13px}.finance-bottom-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr);gap:16px}.finance-payables-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.finance-payable-list.compact{margin-bottom:0}.finance-rule-list-compact li{margin:6px 0}.page-finance .status-badge{font-size:11px;height:24px;padding:0 8px}
@media(max-width:1100px){.finance-grid-toolbar{flex-direction:column}.finance-search{max-width:none;width:100%}.finance-grid-tools{width:100%;align-items:stretch}.finance-table-wrap{max-height:none;min-height:0}.finance-bottom-grid{grid-template-columns:1fr}.finance-inline-edit{grid-template-columns:1fr 1fr}.finance-inline-edit .finance-reason{grid-column:1/-1}}
@media(max-width:720px){.finance-hero-grid-compact{grid-template-columns:1fr 1fr}.finance-hero-grid-compact .card-pad{padding:12px!important}.finance-hero-grid-compact .finance-kpi-card strong{font-size:20px}.finance-grid-toolbar{padding:14px}.finance-grid-tools{flex-direction:column}.finance-table{min-width:1180px;font-size:12px}.finance-table th,.finance-table td{padding:8px}.finance-payables-two-col{grid-template-columns:1fr}.finance-inline-edit{grid-template-columns:1fr}.finance-table-wrap{border-top:1px solid rgba(226,232,240,.9)}.finance-grid-card{border-radius:18px}.finance-route-pill{padding:4px 8px}}

/* v89.2 finance grid polish: solid frozen columns, filters and compact rows */
.finance-filter-bar{
  display:grid;
  grid-template-columns:repeat(7,minmax(130px,1fr)) auto;
  gap:8px;
  align-items:end;
  padding:10px 14px;
  border-bottom:1px solid rgba(226,232,240,.95);
  background:#fff;
}
.finance-filter-bar label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:10px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:uppercase;
  color:#64748b;
}
.finance-filter-bar .input{
  height:32px;
  min-height:32px;
  padding:5px 8px;
  border-radius:9px;
  font-size:12px;
  background:#fff;
}
.finance-table-wrap{
  background:#fff;
  border-radius:0 0 18px 18px;
}
.finance-table{
  table-layout:fixed;
  min-width:1720px;
  font-size:12px;
  line-height:1.25;
}
.finance-table th,
.finance-table td{
  padding:6px 9px;
  height:34px;
  max-height:34px;
  overflow:hidden;
  text-overflow:ellipsis;
  background-clip:padding-box;
}
.finance-table th{height:36px;background:#f8fafc!important;}
.finance-table td{background:#fff!important;}
.finance-table tbody tr:hover td{background:#f8fbff!important;}
.finance-table .sticky-col{
  left:0;
  width:118px;
  min-width:118px;
  max-width:118px;
  background:#fff!important;
  z-index:8;
  box-shadow:2px 0 0 rgba(226,232,240,.95);
}
.finance-table .sticky-col-2{
  position:sticky;
  left:118px;
  width:132px;
  min-width:132px;
  max-width:132px;
  background:#fff!important;
  z-index:7;
  box-shadow:2px 0 0 rgba(226,232,240,.95);
}
.finance-table th.sticky-col{z-index:12;background:#f8fafc!important;}
.finance-table th.sticky-col-2{z-index:11;background:#f8fafc!important;}
.finance-table tbody tr:hover .sticky-col,
.finance-table tbody tr:hover .sticky-col-2{background:#f8fbff!important;}
.finance-table tfoot td{background:#f1f5f9!important;height:36px;}
.finance-table tfoot .sticky-col,
.finance-table tfoot .sticky-col-2{background:#f1f5f9!important;}
.finance-table th:nth-child(3),.finance-table td:nth-child(3){width:190px;max-width:190px;}
.finance-table th:nth-child(4),.finance-table td:nth-child(4){width:160px;max-width:160px;}
.finance-table th:nth-child(5),.finance-table td:nth-child(5),
.finance-table th:nth-child(6),.finance-table td:nth-child(6){width:150px;max-width:150px;}
.finance-table .status-badge{height:22px;font-size:10px;padding:0 8px;}
.finance-route-pill{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 8px;font-size:11px;}
.finance-job-link{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.finance-grid-toolbar{padding:14px 14px 10px;}
.finance-search{height:34px;}
@media(max-width:1300px){
  .finance-filter-bar{grid-template-columns:repeat(4,minmax(130px,1fr));}
}
@media(max-width:720px){
  .finance-filter-bar{grid-template-columns:1fr 1fr;padding:10px;}
  .finance-filter-bar [data-finance-clear]{grid-column:1/-1;}
  .finance-table{min-width:1580px;font-size:11px;}
  .finance-table th,.finance-table td{height:32px;padding:5px 7px;}
  .finance-table .sticky-col{width:104px;min-width:104px;max-width:104px;}
  .finance-table .sticky-col-2{left:104px;width:118px;min-width:118px;max-width:118px;}
}

/* v188 — mobile-first operational workflows */
.job-kind-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px;padding:6px;border:1px solid #dce5ee;border-radius:16px;background:#f5f8fb}
.job-kind-switch a{display:grid;gap:3px;padding:13px 15px;border-radius:11px;color:#5a6f83;text-decoration:none}.job-kind-switch a span{font-size:12px}.job-kind-switch a.is-active,.job-kind-switch a:hover{background:#fff;color:#16324b;box-shadow:0 4px 14px rgba(19,50,75,.08)}
.one-off-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.one-off-main{min-width:0}.one-off-summary{position:sticky;top:18px}.one-off-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:14px}.one-off-steps button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px;border:1px solid #dce5ee;border-radius:12px;background:#f7fafc;color:#6a7d90;font:700 12px/1.2 inherit}.one-off-steps button span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e8eef4}.one-off-steps button.is-active{border-color:#2e70d1;background:#edf5ff;color:#174e9c}.one-off-steps button.is-active span{background:#2458d6;color:#fff}.one-off-steps button.is-done{color:#17764b}.one-off-steps button.is-done span{background:#1da36a;color:#fff}
.wizard-panel{display:none}.wizard-panel.is-active{display:block}.wizard-panel h2{margin:7px 0 5px;font-size:24px}.choice-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 14px}.choice-tabs label{cursor:pointer}.choice-tabs input{position:absolute;opacity:0}.choice-tabs span{display:block;padding:13px;border:1px solid #d9e3ed;border-radius:12px;text-align:center;font-weight:800;color:#64778a}.choice-tabs input:checked+span{border-color:#2e70d1;background:#edf5ff;color:#174e9c;box-shadow:inset 0 0 0 1px #2e70d1}.one-off-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.one-off-review>div{display:grid;gap:5px;padding:16px;border:1px solid #e0e8ef;border-radius:13px;background:#f9fbfd}.one-off-review span{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7d8c9b}.one-off-review strong{font-size:16px;color:#173149}
.assignment-response-card{margin-bottom:16px;border-color:#9bc4f2;background:linear-gradient(135deg,#f5faff,#fff)}.assignment-response-card .card-pad{display:flex;align-items:center;justify-content:space-between;gap:18px}.assignment-response-actions{display:flex;gap:9px;flex:0 0 auto;align-items:flex-start}.assignment-decline{min-width:230px}.assignment-decline>summary{list-style:none}.assignment-decline>summary::-webkit-details-marker{display:none}.assignment-decline[open]>summary{display:none}.assignment-decline form{display:grid;gap:8px;padding:12px;border:1px solid #f1c7c7;border-radius:12px;background:#fff}.assignment-decline textarea{min-height:72px}
.attention-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.attention-stat{display:flex;align-items:center;justify-content:space-between;padding:18px;border:1px solid #dce5ed;border-radius:15px;background:#fff;color:#5f7285;text-decoration:none}.attention-stat strong{font-size:26px;color:#173149}.attention-stat.is-active{border-color:#2f71d0;background:#f0f7ff;box-shadow:inset 0 0 0 1px #2f71d0}.attention-list{display:grid;gap:10px}.attention-row{display:grid;grid-template-columns:5px minmax(0,1fr) auto;gap:14px;padding:15px;border:1px solid #e2e9f0;border-radius:14px;background:#fff}.attention-marker{border-radius:99px;background:#71a5d0}.attention-critical .attention-marker{background:#e5484d}.attention-warning .attention-marker{background:#d99a22}.attention-row-head{display:flex;align-items:center;gap:8px}.attention-row-head small{color:#8a98a7}.attention-copy h3{margin:8px 0 3px;font-size:16px}.attention-copy p{margin:0;color:#627487}.attention-actions{display:flex;align-items:center;gap:7px}.attention-actions form{margin:0}
.video-upload-card{margin-top:16px;padding:16px;border:1px solid #dce5ed;border-radius:15px;background:#f9fbfd}.video-pick{display:inline-flex;margin-top:12px}.video-pick input{position:absolute;opacity:0}.video-pick span{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:1px solid #cbd8e4;border-radius:10px;background:#fff;color:#255b89;font-weight:800;cursor:pointer}.video-upload-list{display:grid;gap:7px;margin-top:10px}.video-upload-row{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;background:#eef5fb;color:#31536d}.video-upload-row.is-done{background:#eaf8f0;color:#17683f}.video-upload-row.is-error{background:#fff0f0;color:#a52929}.video-evidence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.video-evidence-grid video{width:100%;max-height:260px;border-radius:11px;background:#0f172a}

@media(max-width:980px){.one-off-layout{grid-template-columns:1fr}.one-off-summary{position:relative;top:auto;order:-1}.one-off-summary .pricing-breakdown{display:grid;grid-template-columns:repeat(2,1fr);gap:0 12px}.one-off-summary .pricing-total{font-size:28px}}
@media(max-width:720px){.job-kind-switch{grid-template-columns:1fr}.one-off-steps{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.one-off-steps button{flex:0 0 150px;scroll-snap-align:start}.one-off-review{grid-template-columns:1fr}.assignment-response-card .card-pad,.assignment-response-actions{align-items:stretch;flex-direction:column}.assignment-response-actions .btn{width:100%}.attention-summary{grid-template-columns:1fr}.attention-row{grid-template-columns:5px minmax(0,1fr)}.attention-actions{grid-column:2;flex-wrap:wrap}.attention-actions .btn{width:100%}.one-off-summary .pricing-breakdown{grid-template-columns:1fr 1fr}.one-off-wizard .catalogue-layout{grid-template-columns:1fr}.one-off-wizard .catalogue-picker{max-height:300px}.one-off-wizard .room-plan-item{grid-template-columns:1fr auto}.one-off-wizard .room-plan-item>input{grid-column:1/-1}.video-evidence-grid{grid-template-columns:1fr}}

/* v90 Communications basics */
.comms-table-wrap{max-height:68vh;overflow:auto;background:#fff;}
.comms-table td,.comms-table th{font-size:12px;padding:8px 10px;vertical-align:top;white-space:nowrap;background:#fff;}
.comms-table td:nth-child(7){min-width:280px;white-space:normal;}
.settings-matrix-wrap{overflow:auto;background:#fff;border-radius:14px;border:1px solid var(--border,#e5e7eb);}
.settings-matrix{width:100%;border-collapse:separate;border-spacing:0;}
.settings-matrix th,.settings-matrix td{padding:10px 12px;border-bottom:1px solid var(--border,#e5e7eb);background:#fff;text-align:left;}
.settings-matrix th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;}
.mini-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#334155;}
.mini-toggle input{width:16px;height:16px;accent-color:#2563eb;}
.text-danger{color:#b91c1c!important;}
.badge-amber{background:#fef3c7;color:#92400e;border-color:#fde68a;}
@media(max-width:760px){
  .comms-table td,.comms-table th{font-size:11px;padding:7px 8px;}
  .settings-matrix th,.settings-matrix td{padding:8px;}
}

/* ============================================================
   v92: Reusable table filter bar (matches the Finance bar look)
   ============================================================ */
.tf-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:6px;margin-bottom:10px;flex-wrap:wrap;}
.tf-tools .tf-search{width:300px;max-width:48vw;height:38px;}
.tf-filters{display:flex;flex-wrap:wrap;align-items:end;gap:8px;padding:12px;border:1px solid var(--border);border-radius:14px;background:#fff;margin-bottom:14px;}
.tf-filters label{display:flex;flex-direction:column;gap:4px;font-size:10px;line-height:1.1;font-weight:900;letter-spacing:.055em;text-transform:uppercase;color:#64748b;}
.tf-filters .input{height:32px;min-height:32px;padding:5px 8px;border-radius:9px;font-size:12px;background:#fff;min-width:150px;}
.tf-filters .tf-clear{align-self:end;}
@media(max-width:760px){.tf-tools .tf-search{width:100%;max-width:none;}.tf-filters .input{flex:1 1 140px;min-width:0;}}

/* v92: make the existing server-side .filter-bar (Jobs, Issues) match the compact look */
.filter-bar{display:flex !important;flex-wrap:wrap;align-items:end;gap:8px;grid-template-columns:none !important;padding:12px;border:1px solid var(--border);border-radius:14px;background:#fff;}
.filter-bar .field{flex:1 1 160px;gap:4px;}
.filter-bar .field .label{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:#64748b;font-weight:900;}
.filter-bar .field .input,.filter-bar .field select{height:32px;min-height:32px;padding:5px 8px;border-radius:9px;font-size:12px;}

/* ============================================================
   v101 — Calendar: make COMPLETED jobs obviously completed
   (a green ✓ + soft green card), without recolouring the
   property dot (so green "completed" no longer clashes with a
   green property). Legend updated to match with a ✓.
   Desktop-only tint so the mobile dot view keeps property colours.
   ============================================================ */
@media (min-width:821px){
  .ops-mini-job.completed,.ops-alt-job.completed{background:#f0fdf4!important;border-color:#bbf7d0!important;}
  .ops-mini-job.completed{position:relative;}
  .ops-mini-job.completed span,.ops-mini-job.completed strong,.ops-alt-job.completed strong{color:#15803d!important;}
  .ops-mini-job.completed small,.ops-alt-job.completed small,.ops-alt-job.completed em{color:#4d7c5f!important;}
  .ops-mini-job.completed .mini-done-flag{display:block;position:absolute;top:3px;right:6px;color:#16a34a;font-weight:900;font-size:11px;line-height:1;pointer-events:none;}
  .ops-alt-job.completed::after{content:'✓';color:#16a34a;font-weight:900;font-size:14px;justify-self:end;}
  .ops-mini-job.completed span i,.ops-alt-job.completed .alt-dot{opacity:.5;}
}
/* Legend: ✓ Completed (matches the grid), no green circle */
.ops-calendar-legend .legend-done-item{color:#15803d!important;font-weight:850!important;}

/* ============================================================
   v101 — Inventory UI polish + mobile usability
   ============================================================ */
.inv-card{transition:border-color .14s ease, box-shadow .14s ease;}
.inv-card:hover{border-color:#d4def0;box-shadow:0 6px 18px rgba(15,23,42,.05);}
/* low-stock cards get a clear left accent so they read at a glance */
.inv-card:has(.inv-status.low){border-left:3px solid #f79009;}
.inv-card-name{display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
.inv-card-actions{border-top:1px solid #f1f4f9;padding-top:12px;}
.inv-adjust .job-select{height:42px;border:1px solid #d6deea;border-radius:9px;padding:0 8px;font:inherit;background:#fff;}
.inv-adjust .btn{white-space:nowrap;}
/* the restock-plan hint line reads as a soft callout */
.inv-card .inv-card-meta[style*="b45309"]{background:#fffaf0;border:1px solid #fde4bf;border-radius:9px;padding:6px 10px;display:inline-block;}

@media (max-width:600px){
  .inv-card{padding:14px;}
  .inv-card-actions{flex-direction:column;align-items:stretch;gap:10px;}
  .inv-card-actions form,.inv-card-actions .inv-edit,.inv-card-actions > a{width:100%;}
  .inv-card-actions .btn{width:100%;min-height:46px;display:inline-flex;align-items:center;justify-content:center;}
  .inv-adjust{justify-content:space-between;flex-wrap:nowrap;}
  .inv-adjust input[type=number]{flex:0 0 64px;min-height:46px;}
  .inv-adjust .job-select{flex:1;min-height:46px;}
  .inv-edit > summary{width:100%;justify-content:center;}
  .inv-edit-panel .inv-form{grid-template-columns:1fr;}
  .inv-spacer{display:none;}
  /* add/edit inputs comfortable to tap */
  .inv-field input,.inv-add-panel .job-select{min-height:46px;}
}

/* ============================================================
   v102 — Restocking (grouped by property) + Invoicing
   Mobile-first: everything stacks and stays tappable < 640px.
   ============================================================ */

/* ---- Restocking: property groups ---- */
.rs-prop-list{display:grid;gap:14px;margin-top:6px;}
.rs-prop{border:1px solid #e6ecf4;border-radius:16px;background:#fff;overflow:hidden;}
.rs-prop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;background:#fbfdff;border-bottom:1px solid #eef2f8;flex-wrap:wrap;}
.rs-prop-name{font-size:16px;font-weight:800;color:#16243a;text-decoration:none;}
.rs-prop-name:hover{text-decoration:underline;}
.rs-prop-sub{font-size:12.5px;color:#8a94a6;margin-top:2px;}
.rs-prop-action .btn{white-space:nowrap;}
.rs-item-list{display:grid;}
.rs-item{display:flex;align-items:center;gap:12px;padding:13px 16px;border-top:1px solid #f3f6fa;flex-wrap:wrap;}
.rs-item:first-child{border-top:0;}
.rs-item-main{flex:1;min-width:160px;}
.rs-item-name{font-size:14.5px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.rs-item-meta{font-size:12.5px;margin-top:3px;}
.rs-plan{color:#b45309;background:#fffaf0;border:1px solid #fde4bf;border-radius:8px;padding:3px 9px;display:inline-block;}
.rs-needs-setup{color:#94a3b8;}
.rs-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:0 0 auto;}
.rs-stock strong{font-size:19px;font-weight:800;color:#1e293b;}
.rs-stock{font-size:12px;color:#8a94a6;}
.rs-item-action{margin:0;}

/* ---- Invoice summary cards ---- */
.inv-summary-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px;}
.inv-summary-row .summary-card{background:#fff;border:1px solid #e6ecf4;border-radius:14px;padding:16px;}

/* ---- Invoice list rows ---- */
.inv-rows{display:grid;gap:10px;}
.inv-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #e6ecf4;border-radius:13px;background:#fff;text-decoration:none;color:inherit;transition:border-color .14s,box-shadow .14s;}
.inv-row:hover{border-color:#cfdcec;box-shadow:0 5px 14px rgba(15,23,42,.05);}
.inv-row-main{display:flex;flex-direction:column;gap:2px;min-width:0;}
.inv-row-main strong{font-size:15px;color:#16243a;}
.inv-row-client{font-size:13px;color:#475569;font-weight:600;}
.inv-row-main small{font-size:12px;color:#8a94a6;}
.inv-row-right{display:flex;align-items:center;gap:12px;flex:0 0 auto;}
.inv-amount{font-size:16px;font-weight:800;color:#16243a;}

/* status badges */
.inv-badge-draft{background:#eef1f6;color:#475569;}
.inv-badge-sent{background:#e0f2fe;color:#075985;}
.inv-badge-paid{background:#dcfce7;color:#166534;}
.inv-badge-void{background:#fee2e2;color:#991b1b;}

/* ---- Invoice document ---- */
.invoice-doc .invoice-head{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid #eef2f8;}
.invoice-num{font-size:24px;font-weight:900;letter-spacing:-.02em;color:#0f172a;}
.invoice-meta{display:flex;flex-direction:column;gap:2px;margin-top:8px;font-size:13.5px;color:#475569;}
.invoice-meta strong{font-size:15px;color:#16243a;}
.invoice-head-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:10px;}
.invoice-dates{display:flex;flex-direction:column;gap:6px;font-size:12.5px;}
.invoice-dates div{display:flex;gap:8px;justify-content:flex-end;}
.invoice-dates span{color:#94a3b8;}
.invoice-dates strong{color:#16243a;}
.invoice-lines{margin-top:16px;}
.invoice-line{display:grid;grid-template-columns:1fr 56px 110px;gap:10px;padding:11px 4px;border-bottom:1px solid #f1f4f9;align-items:center;}
.invoice-line-head{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#98a2b3;font-weight:800;border-bottom:1.5px solid #e6ecf4;}
.invoice-line .il-qty{text-align:center;color:#475569;}
.invoice-line .il-amt{text-align:right;font-weight:600;color:#16243a;}
.invoice-line .il-desc{font-size:14px;color:#1e293b;}
.invoice-total{border-bottom:0;border-top:2px solid #e6ecf4;margin-top:4px;font-weight:900;}
.invoice-total .il-desc{font-weight:900;}
.invoice-total .il-amt{font-size:18px;}
.invoice-notes{margin-top:16px;padding:12px 14px;background:#fbfdff;border:1px solid #eef2f8;border-radius:10px;color:#475569;font-size:13.5px;}
.invoice-actions{display:flex;gap:10px;margin-top:20px;align-items:center;flex-wrap:wrap;}
.invoice-actions form{margin:0;}
.invoice-pick{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;align-items:end;}
.inv-field-pick-btn{align-self:end;}

/* ---- Mobile ---- */
@media (max-width:640px){
  .rs-prop-head{flex-direction:column;align-items:stretch;gap:10px;}
  .rs-prop-action,.rs-prop-action .btn{width:100%;}
  .rs-prop-action .btn{min-height:46px;display:flex;align-items:center;justify-content:center;}
  .rs-item{align-items:flex-start;}
  .rs-item-right{flex-direction:row;align-items:center;gap:8px;order:2;}
  .rs-item-action{order:3;width:100%;}
  .rs-item-action .btn{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;}

  .inv-summary-row{grid-template-columns:1fr;gap:10px;}
  .inv-row{flex-direction:column;align-items:flex-start;gap:8px;}
  .inv-row-right{width:100%;justify-content:space-between;}

  .invoice-head{flex-direction:column;}
  .invoice-head-right{align-items:flex-start;text-align:left;}
  .invoice-dates div{justify-content:flex-start;}
  .invoice-line{grid-template-columns:1fr auto;grid-template-areas:"desc amt" "qty amt";row-gap:2px;}
  .invoice-line .il-desc{grid-area:desc;}
  .invoice-line .il-qty{grid-area:qty;text-align:left;font-size:12px;color:#94a3b8;}
  .invoice-line .il-amt{grid-area:amt;align-self:center;}
  .invoice-line-head{display:none;}
  .invoice-actions{flex-direction:column;align-items:stretch;}
  .invoice-actions form,.invoice-actions .btn{width:100%;}
  .invoice-actions .btn{min-height:46px;display:flex;align-items:center;justify-content:center;}
  .invoice-pick{grid-template-columns:1fr;}
  .invoice-pick .btn{width:100%;min-height:46px;}
}

/* ============================================================
   v103 — Invoice / Payout documents (printable, emailable)
   ============================================================ */
.doc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap;}
.doc-toolbar-right{display:flex;align-items:center;gap:10px;}
.doc-toolbar-right .doc-email-form{margin:0;}
.doc-emailed-note{font-size:12.5px;color:#64748b;display:inline-flex;align-items:center;gap:5px;margin-right:4px;}

.doc-sheet{max-width:840px;margin:0 auto;background:#fff;border:1px solid #e6ecf4;border-radius:16px;box-shadow:0 18px 44px rgba(15,23,42,.06);padding:44px 48px;}
.doc-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;flex-wrap:wrap;}
.doc-logo{font-size:21px;font-weight:900;color:#0f172a;letter-spacing:-.02em;}
.doc-logo-img{height:42px;width:auto;display:block;margin-bottom:4px;}
@media print{.doc-logo-img{height:40px;}}
.doc-from-line{font-size:13px;color:#5b6b80;margin-top:3px;line-height:1.5;}
.doc-title-block{text-align:right;}
.doc-title-block h1{font-size:30px;font-weight:900;letter-spacing:.06em;color:#16243a;margin:0;}
.doc-number{font-size:14px;font-weight:800;color:#64748b;margin-top:4px;}

.doc-parties{display:flex;justify-content:space-between;gap:24px;margin-top:34px;flex-wrap:wrap;}
.doc-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#98a2b3;font-weight:800;margin-bottom:5px;}
.doc-billto strong{font-size:16px;color:#16243a;}
.doc-billto div{font-size:13.5px;color:#5b6b80;margin-top:2px;}
.doc-meta{display:grid;gap:7px;min-width:230px;}
.doc-meta div{display:flex;justify-content:space-between;gap:18px;font-size:13.5px;}
.doc-meta span{color:#98a2b3;}
.doc-meta strong{color:#16243a;font-weight:700;}

.doc-table{width:100%;border-collapse:collapse;margin-top:30px;}
.doc-table thead th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#98a2b3;font-weight:800;padding:0 0 9px;border-bottom:2px solid #eef2f8;}
.doc-table tbody td{padding:12px 0;border-bottom:1px solid #f1f4f9;font-size:14px;color:#1e293b;vertical-align:top;}
.doc-table .dt-date{width:96px;color:#5b6b80;white-space:nowrap;}
.doc-table .dt-qty{width:54px;text-align:center;color:#5b6b80;}
.doc-table .dt-amt{width:110px;text-align:right;font-weight:600;white-space:nowrap;}
.doc-table thead .dt-qty{text-align:center;}.doc-table thead .dt-amt{text-align:right;}

.doc-totals{display:flex;justify-content:flex-end;margin-top:18px;}
.doc-totals-box{min-width:280px;}
.dtot-row{display:flex;justify-content:space-between;gap:24px;padding:7px 0;font-size:14px;color:#475569;}
.dtot-grand{border-top:2px solid #e6ecf4;margin-top:4px;padding-top:12px;font-size:18px;font-weight:900;color:#0f172a;}

.doc-foot{margin-top:34px;padding-top:22px;border-top:1px solid #eef2f8;display:grid;gap:16px;}
.doc-foot-block div{font-size:13.5px;color:#475569;line-height:1.55;}
.doc-foot-thanks{font-size:14px;color:#16243a;font-weight:700;}

.doc-actions{max-width:840px;margin:18px auto 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.doc-actions form{margin:0;}
.payout-pay-form{display:flex;gap:8px;align-items:center;}
.payout-pay-form .job-select{height:42px;border:1px solid #d6deea;border-radius:9px;padding:0 8px;font:inherit;background:#fff;}
.payout-pay-form .input{height:42px;min-width:260px;}
.payout-release-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.payout-release-summary>div{display:grid;gap:3px;flex:1 1 220px;}
.payout-release-summary>div span{color:var(--muted);font-size:12px;line-height:1.45;}
.danger-text{color:#b42318;}

/* ---- Mobile ---- */
@media (max-width:640px){
  .doc-sheet{padding:24px 18px;border-radius:14px;}
  .doc-head{flex-direction:column;gap:14px;}
  .doc-title-block{text-align:left;}
  .doc-title-block h1{font-size:26px;}
  .doc-parties{flex-direction:column;gap:18px;}
  .doc-meta{min-width:0;}
  .doc-table .dt-date{width:auto;}
  .doc-table thead{display:none;}
  .doc-table tbody td{display:block;border-bottom:0;padding:2px 0;}
  .doc-table tbody tr{display:block;padding:12px 0;border-bottom:1px solid #f1f4f9;}
  .doc-table .dt-desc{font-weight:700;}
  .doc-table .dt-date{font-size:12px;color:#94a3b8;}
  .doc-table .dt-qty{display:inline-block;width:auto;}
  .doc-table .dt-amt{text-align:left;font-size:15px;margin-top:2px;}
  .doc-totals-box{min-width:0;width:100%;}
  .doc-actions{flex-direction:column;align-items:stretch;}
  .doc-actions form,.doc-actions .btn,.payout-pay-form{width:100%;}
  .payout-pay-form{flex-direction:column;}
  .payout-release-summary{align-items:stretch;}
  .payout-pay-form .job-select,.payout-pay-form .input,.payout-pay-form .btn{width:100%;min-height:46px;}
  .doc-actions .btn{min-height:46px;display:flex;align-items:center;justify-content:center;}
}

/* ---- Print: just the document, no app chrome ---- */
@media print{
  .sidebar,.topbar,.mobile-bottom-nav,.page-loader,.no-print,.doc-actions,.page-header-card{display:none!important;}
  .app-shell,.main{display:block!important;margin:0!important;padding:0!important;background:#fff!important;}
  body{background:#fff!important;}
  .doc-sheet{max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;padding:0;}
  .doc-table tbody td{color:#000;}
  @page{margin:18mm;}
}

/* ============================================================
   v104 — Job drawer redesign: hierarchy-first
   (hero → progress → health → access → cleaner → timeline → actions)
   Lives inside .css-job-drawer.v87-job-workspace (panel/scroll already styled).
   ============================================================ */
.css-job-drawer.v87-job-workspace{padding:0!important;}
.css-job-drawer.v87-job-workspace > *{margin:0;}

/* Hero */
.dr-hero{padding:30px 28px 22px;background:linear-gradient(180deg,#0f1f33 0%,#16304d 100%);color:#fff;}
.dr-kicker{font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#8fb6e6;}
.dr-hero h2{font-size:25px;font-weight:900;letter-spacing:-.02em;margin:7px 0 0;line-height:1.1;color:#fff;}
.dr-hero-when{font-size:14.5px;font-weight:700;color:#c9dcf2;margin-top:6px;}
.dr-hero-badges{display:flex;gap:8px;align-items:center;margin-top:14px;flex-wrap:wrap;}
.dr-hero-badges .v87-status-pill{font-size:11.5px;font-weight:800;padding:5px 11px;border-radius:999px;}
.dr-code{font-size:11px;font-weight:800;letter-spacing:.05em;color:#9fb8d6;background:rgba(255,255,255,.08);padding:5px 10px;border-radius:999px;}
.dr-assigned{margin-top:14px;font-size:13px;color:#a9c2dd;border-top:1px solid rgba(255,255,255,.1);padding-top:12px;}
.dr-assigned strong{color:#fff;font-weight:700;}

/* Progress — first and biggest */
.dr-progress{margin:20px 22px 0;padding:18px 20px;background:#fff;border:1px solid #e6ecf4;border-radius:16px;box-shadow:0 10px 26px rgba(15,23,42,.05);}
.dr-progress-top{display:flex;justify-content:space-between;align-items:center;}
.dr-progress-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;}
.dr-progress-top a{font-size:12.5px;font-weight:700;color:#2563eb;text-decoration:none;}
.dr-progress-figure{display:flex;align-items:baseline;justify-content:space-between;margin-top:8px;}
.dr-progress-figure strong{font-size:40px;font-weight:900;letter-spacing:-.03em;color:#0f172a;line-height:1;}
.dr-progress-figure strong span{font-size:20px;font-weight:800;color:#94a3b8;margin-left:4px;}
.dr-progress-pct{font-size:22px;font-weight:900;color:#16a34a;}
.dr-progress-track{height:9px;border-radius:999px;background:#eef2f7;overflow:hidden;margin-top:14px;}
.dr-progress-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#22c55e,#16a34a);transition:width .3s ease;}
.dr-progress-sub{font-size:12.5px;color:#8a94a6;margin-top:9px;}

/* Job health strip */
.dr-health{margin:16px 22px 0;}
.dr-health-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;}
.dr-health-head span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;}
.dr-health-head em{font-style:normal;font-size:15px;font-weight:900;color:#0f172a;}
.dr-health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;}
.dr-health-chip{display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:13px;border:1px solid #e6ecf4;background:#fff;}
.dr-health-icon{width:24px;height:24px;flex:0 0 auto;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;color:#fff;}
.dr-health-text{min-width:0;display:flex;flex-direction:column;line-height:1.2;}
.dr-health-text strong{font-size:13px;color:#16243a;font-weight:700;}
.dr-health-text small{font-size:11px;color:#8a94a6;}
.dr-health-chip.is-done .dr-health-icon{background:#16a34a;}
.dr-health-chip.is-partial .dr-health-icon{background:#f59e0b;}
.dr-health-chip.is-warn{border-color:#fecaca;background:#fff5f5;}
.dr-health-chip.is-warn .dr-health-icon{background:#dc2626;}
.dr-health-chip.is-pending .dr-health-icon{background:#cbd5e1;}

/* Generic drawer cards */
.dr-card{margin:16px 22px 0;padding:16px 18px;border:1px solid #e6ecf4;border-radius:15px;background:#fff;}
.dr-card-head{display:flex;align-items:center;gap:8px;margin-bottom:10px;}
.dr-card-head span{font-size:15px;}
.dr-card-head h3{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin:0;}

/* Property & access — access made prominent */
.dr-property-addr{font-size:15px;font-weight:700;color:#16243a;}
.dr-property-client{font-size:12.5px;color:#8a94a6;margin-top:3px;}
.dr-access{margin-top:13px;padding:12px 13px;background:#f4f8ff;border:1px solid #dbe8fb;border-radius:11px;}
.dr-access-label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#3f6fb0;margin-bottom:4px;}
.dr-access p{margin:0;font-size:13.5px;color:#28425f;line-height:1.5;}
.dr-booking-ref{margin-top:10px;font-size:11.5px;color:#94a3b8;line-height:1.45;}
.dr-booking-ref span{display:inline-block;font-weight:800;text-transform:uppercase;letter-spacing:.05em;font-size:9.5px;color:#aab6c6;margin-right:6px;}

/* Cleaner — small row, not a big card */
.dr-cleaner-row{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.dr-cleaner-id{display:flex;align-items:center;gap:11px;min-width:0;}
.dr-cleaner-id .v87-avatar.small{width:38px;height:38px;font-size:13px;flex:0 0 auto;}
.dr-cleaner-id strong{font-size:14px;color:#16243a;display:block;}
.dr-cleaner-id small{font-size:12px;color:#8a94a6;}
.dr-cleaner-actions{display:flex;gap:7px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;}
.dr-cleaner-actions a{font-size:12.5px;font-weight:700;color:#2563eb;text-decoration:none;padding:6px 11px;border:1px solid #d6e2f2;border-radius:9px;}
.dr-cleaner-actions a:hover{background:#f4f8ff;}

/* Timeline — real events */
.dr-timeline{display:flex;flex-direction:column;gap:0;}
.dr-tl-item{display:flex;gap:12px;padding-bottom:15px;position:relative;}
.dr-tl-item:last-child{padding-bottom:0;}
.dr-tl-item > i{width:11px;height:11px;border-radius:999px;flex:0 0 auto;margin-top:3px;background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.14);}
.dr-tl-item.is-warn > i{background:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.14);}
.dr-tl-item:not(:last-child)::before{content:'';position:absolute;left:5px;top:16px;bottom:-2px;width:2px;background:#e6ecf4;}
.dr-tl-item div{display:flex;flex-direction:column;line-height:1.25;}
.dr-tl-item strong{font-size:13.5px;color:#16243a;font-weight:700;}
.dr-tl-item small{font-size:11.5px;color:#8a94a6;margin-top:1px;}

/* Financials block spacing inside new drawer */
.css-job-drawer.v87-job-workspace .v87-financials{margin:16px 22px 0;}

/* Action footer — Primary / Secondary / Danger */
.dr-actions{margin:18px 22px 26px;display:flex;flex-direction:column;gap:10px;}
.dr-actions .dr-btn-row{display:flex;gap:8px;}
.dr-btn{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;font-size:14px;font-weight:700;border-radius:12px;padding:13px 16px;border:1px solid transparent;cursor:pointer;font-family:inherit;}
.dr-btn-form{margin:0;}
.dr-btn-form .dr-btn{width:100%;}
.dr-btn-primary{background:#16304d;color:#fff;}
.dr-btn-primary:hover{background:#0f2438;}
.dr-btn-success{background:#16a34a;color:#fff;}
.dr-btn-success:hover{background:#138a3e;}
.dr-btn-ghost{flex:1;background:#fff;border-color:#d9e2ee;color:#28425f;}
.dr-btn-ghost:hover{background:#f6f9fd;border-color:#c3d2e6;}
.dr-btn-danger{background:#fff;border-color:#f3c0bb;color:#b42318;}
.dr-btn-danger:hover{background:#fff5f4;}

/* Mobile: bottom-sheet feel, tappable everything */
@media (max-width:720px){
  .dr-hero{padding:24px 18px 18px;}
  .dr-hero h2{font-size:22px;}
  .dr-progress,.dr-health,.dr-card,.css-job-drawer.v87-job-workspace .v87-financials,.dr-actions{margin-left:16px;margin-right:16px;}
  .dr-progress-figure strong{font-size:34px;}
  .dr-health-grid{grid-template-columns:1fr;}
  .dr-health-chip{padding:12px;}
  .dr-cleaner-row{flex-direction:column;align-items:stretch;gap:10px;}
  .dr-cleaner-actions{justify-content:flex-start;}
  .dr-actions .dr-btn-row{flex-direction:column;}
  .dr-btn{min-height:50px;}
}

/* v104 — close button readable on the dark drawer hero */
.css-job-drawer.v87-job-workspace .job-drawer-close{color:#fff!important;background:rgba(255,255,255,.16)!important;top:22px!important;right:20px!important;width:36px!important;height:36px!important;border-radius:999px!important;line-height:34px!important;}
.css-job-drawer.v87-job-workspace .job-drawer-close:hover{background:rgba(255,255,255,.28)!important;}

/* ============================================================
   v105 — Job drawer: tighter, sharper, more professional
   Smaller radii, less whitespace, flatter surfaces, refined
   buttons + compact financial grid. Overrides v104.
   ============================================================ */
/* Tighter vertical rhythm across sections */
.css-job-drawer.v87-job-workspace .dr-progress,
.css-job-drawer.v87-job-workspace .dr-health,
.css-job-drawer.v87-job-workspace .dr-card,
.css-job-drawer.v87-job-workspace .v87-financials{margin-top:12px;margin-left:20px;margin-right:20px;}

/* Hero — a touch tighter */
.dr-hero{padding:26px 24px 20px;}
.dr-hero h2{font-size:23px;}
.dr-hero-when{font-size:13.5px;margin-top:5px;}
.dr-hero-badges{margin-top:13px;}
.dr-assigned{margin-top:13px;padding-top:11px;font-size:12.5px;}

/* Progress — smaller figure, flat, sharper */
.dr-progress{padding:15px 17px;border-radius:10px;box-shadow:none;}
.dr-progress-figure{margin-top:6px;}
.dr-progress-figure strong{font-size:30px;}
.dr-progress-figure strong span{font-size:16px;}
.dr-progress-pct{font-size:17px;}
.dr-progress-track{height:7px;margin-top:11px;}
.dr-progress-sub{font-size:12px;margin-top:8px;}
.dr-progress-label{font-size:11px;}

/* Health — flatter chips, sharper */
.dr-health{margin-top:13px;}
.dr-health-head{margin-bottom:8px;}
.dr-health-head span{font-size:11px;}
.dr-health-grid{gap:8px;}
.dr-health-chip{padding:10px 11px;border-radius:8px;gap:8px;}
.dr-health-icon{width:19px;height:19px;font-size:11px;}
.dr-health-text strong{font-size:12.5px;}
.dr-health-text small{font-size:10.5px;}

/* Cards — sharper corners, consistent hairline headers */
.dr-card{padding:15px 17px;border-radius:10px;}
.dr-card-head{margin-bottom:9px;}
.dr-card-head h3{font-size:11px;letter-spacing:.06em;}
.dr-property-addr{font-size:14.5px;}
.dr-access{margin-top:12px;padding:11px 13px;border-radius:8px;}
.dr-access-label{font-size:10.5px;letter-spacing:.05em;}
.dr-access p{font-size:13px;}
.dr-cleaner-id .v87-avatar.small{width:36px;height:36px;border-radius:9px;}
.dr-cleaner-actions a{padding:6px 12px;border-radius:8px;font-size:12px;}

/* Timeline — tighter */
.dr-tl-item{padding-bottom:13px;}
.dr-tl-item strong{font-size:13px;}
.dr-tl-item small{font-size:11px;}

/* Financials — compact hairline grid, not chunky boxes */
.css-job-drawer .v87-financials.money-flow-mini{display:grid;grid-template-columns:1fr 1fr;gap:0!important;border:1px solid #e6ecf4;border-radius:10px;overflow:hidden;background:#fff!important;padding:0!important;box-shadow:none!important;}
.css-job-drawer .v87-financials.money-flow-mini > div{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:11px 14px!important;border-bottom:1px solid #f1f4f9!important;border-right:1px solid #f1f4f9!important;margin:0!important;}
.css-job-drawer .v87-financials.money-flow-mini > div:nth-child(2n){border-right:0!important;}
.css-job-drawer .v87-financials.money-flow-mini > div:last-child,
.css-job-drawer .v87-financials.money-flow-mini > div:nth-last-child(2){border-bottom:0!important;}
.css-job-drawer .v87-financials.money-flow-mini > div small{font-size:10.5px!important;color:#8a94a6!important;text-transform:uppercase;letter-spacing:.04em;font-weight:700;}
.css-job-drawer .v87-financials.money-flow-mini > div strong{font-size:15px!important;color:#16243a!important;font-weight:700!important;display:block;margin-top:3px;}

/* Action footer — compact, clear hierarchy, sharper */
.dr-actions{margin:14px 20px 22px;gap:8px;padding-top:14px;border-top:1px solid #eef2f8;}
.dr-actions .dr-btn-row{gap:7px;}
.dr-btn{font-size:13.5px;font-weight:600;border-radius:9px;padding:11px 15px;}
.dr-btn-primary{background:#152d49;}
.dr-btn-primary:hover{background:#0e2034;}
.dr-btn-success{background:#15a046;}
.dr-btn-success:hover{background:#118539;}
.dr-btn-ghost{border-color:#dbe3ee;color:#3c536e;font-weight:600;}
.dr-btn-danger{border:0;background:transparent;color:#b42318;font-weight:600;padding:8px;font-size:12.5px;}
.dr-btn-danger:hover{background:#fdf2f1;border-radius:8px;}

/* Slightly less rounded bottom-sheet on mobile */
@media (max-width:720px){
  .css-job-drawer.v87-job-workspace{border-radius:18px 18px 0 0!important;}
  .css-job-drawer.v87-job-workspace .dr-progress,
  .css-job-drawer.v87-job-workspace .dr-health,
  .css-job-drawer.v87-job-workspace .dr-card,
  .css-job-drawer.v87-job-workspace .v87-financials,
  .dr-actions{margin-left:15px;margin-right:15px;}
}

/* ============================================================
   v106 — Job drawer: editorial polish ("classy")
   Square, flush desktop panel (no rounded left edge), a flatter
   and more refined hero with a hairline accent, quieter type
   (less heavy weights, more letter-spacing on micro-labels),
   one restrained palette, and consistent small radii.
   Scoped to the workspace drawer; mobile bottom-sheet preserved.
   ============================================================ */
@media (min-width:721px){
  /* Architectural side panel: flush to the edge, crisp corners */
  .css-job-drawer.v87-job-workspace{
    border-radius:0!important;
    border-left:1px solid #e2e8f0!important;
    box-shadow:-30px 0 80px -30px rgba(15,23,42,.30)!important;
    width:min(640px,44vw)!important;min-width:540px!important;
  }
}

/* ---- Hero: flatter, deeper, with a hairline accent ---- */
.css-job-drawer.v87-job-workspace .dr-hero{
  background:linear-gradient(165deg,#13263f 0%,#0e1d31 100%);
  padding:30px 30px 22px;
  border-bottom:1px solid rgba(255,255,255,.06);
  position:relative;
}
.css-job-drawer.v87-job-workspace .dr-hero::after{
  content:"";position:absolute;left:30px;right:30px;bottom:-1px;height:1px;
  background:linear-gradient(90deg,#caa86a,rgba(202,168,106,0));opacity:.6;
}
.css-job-drawer.v87-job-workspace .dr-kicker{
  font-size:10.5px;font-weight:700;letter-spacing:.16em;color:#caa86a;text-transform:uppercase;
}
.css-job-drawer.v87-job-workspace .dr-hero h2{
  font-size:23px;font-weight:650;letter-spacing:-.01em;margin:9px 0 0;color:#f5f8fc;line-height:1.15;
}
.css-job-drawer.v87-job-workspace .dr-hero-when{
  font-size:13px;font-weight:500;color:#9fb4cd;margin-top:7px;letter-spacing:.005em;
}
.css-job-drawer.v87-job-workspace .dr-hero-badges{margin-top:16px;gap:7px;}
.css-job-drawer.v87-job-workspace .dr-hero-badges .v87-status-pill{
  font-size:10.5px;font-weight:600;letter-spacing:.04em;padding:5px 12px;border:1px solid rgba(255,255,255,.14);
}
.css-job-drawer.v87-job-workspace .dr-code{
  font-size:10.5px;font-weight:600;letter-spacing:.07em;color:#8ba3c0;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);padding:5px 11px;
}
.css-job-drawer.v87-job-workspace .dr-assigned{
  margin-top:15px;padding-top:13px;font-size:12px;color:#92a8c2;letter-spacing:.01em;
  border-top:1px solid rgba(255,255,255,.08);
}
.css-job-drawer.v87-job-workspace .dr-assigned strong{color:#eef3f9;font-weight:600;}

/* ---- Consistent quiet section rhythm ---- */
.css-job-drawer.v87-job-workspace .dr-progress,
.css-job-drawer.v87-job-workspace .dr-health,
.css-job-drawer.v87-job-workspace .dr-card,
.css-job-drawer.v87-job-workspace .v87-financials{
  margin-left:24px;margin-right:24px;margin-top:16px;border-color:#e9edf3;
}

/* ---- Section micro-labels: light, lettered, muted ---- */
.css-job-drawer.v87-job-workspace .dr-progress-label,
.css-job-drawer.v87-job-workspace .dr-health-head span,
.css-job-drawer.v87-job-workspace .dr-card-head h3,
.css-job-drawer.v87-job-workspace .dr-access-label{
  font-weight:700;letter-spacing:.1em;color:#9aa6b6;text-transform:uppercase;
}

/* ---- Progress: refined figure, muted success ---- */
.css-job-drawer.v87-job-workspace .dr-progress{border-radius:9px;padding:16px 18px;}
.css-job-drawer.v87-job-workspace .dr-progress-figure strong{font-size:30px;font-weight:700;color:#13243a;letter-spacing:-.02em;}
.css-job-drawer.v87-job-workspace .dr-progress-figure strong span{font-weight:600;color:#aab4c2;}
.css-job-drawer.v87-job-workspace .dr-progress-pct{font-size:15px;font-weight:700;color:#3f8f5f;}
.css-job-drawer.v87-job-workspace .dr-progress-track{background:#eceff4;height:6px;}
.css-job-drawer.v87-job-workspace .dr-progress-track i{background:linear-gradient(90deg,#4aa56e,#3f8f5f);}
.css-job-drawer.v87-job-workspace .dr-progress-sub{color:#94a0b0;}

/* ---- Health chips: hairline, calm ---- */
.css-job-drawer.v87-job-workspace .dr-health-chip{border-radius:7px;border-color:#e9edf3;padding:10px 12px;}
.css-job-drawer.v87-job-workspace .dr-health-text strong{font-weight:600;color:#1d2e44;}
.css-job-drawer.v87-job-workspace .dr-health-text small{color:#9aa6b6;}
.css-job-drawer.v87-job-workspace .dr-health-icon{width:18px;height:18px;font-size:10px;}

/* ---- Cards: crisp corners, refined property + access ---- */
.css-job-drawer.v87-job-workspace .dr-card{border-radius:9px;padding:16px 18px;}
.css-job-drawer.v87-job-workspace .dr-property-addr{font-size:14.5px;font-weight:650;color:#14253b;letter-spacing:-.005em;}
.css-job-drawer.v87-job-workspace .dr-property-client{color:#94a0b0;}
.css-job-drawer.v87-job-workspace .dr-access{
  background:#f7f9fc;border:1px solid #e9edf3;border-radius:8px;margin-top:13px;padding:12px 14px;
}
.css-job-drawer.v87-job-workspace .dr-access-label{color:#7d8aa0;}
.css-job-drawer.v87-job-workspace .dr-access p{color:#3a4b62;font-size:13px;}
.css-job-drawer.v87-job-workspace .dr-cleaner-id strong{font-weight:650;color:#1d2e44;}
.css-job-drawer.v87-job-workspace .dr-cleaner-id .v87-avatar.small{border-radius:8px;background:#13263f;font-weight:600;}
.css-job-drawer.v87-job-workspace .dr-cleaner-actions a{
  border-radius:7px;border-color:#e2e8f1;color:#3a5578;font-weight:600;font-size:12px;
}

/* ---- Money mini: refined type ---- */
.css-job-drawer .v87-financials.money-flow-mini{border-radius:9px;border-color:#e9edf3;}
.css-job-drawer .v87-financials.money-flow-mini > div small{color:#9aa6b6!important;letter-spacing:.08em;font-weight:700!important;}
.css-job-drawer .v87-financials.money-flow-mini > div strong{font-weight:650!important;color:#1d2e44!important;}

/* ---- Actions: refined, consistent radii ---- */
.css-job-drawer.v87-job-workspace .dr-actions{margin:16px 24px 24px;}
.css-job-drawer.v87-job-workspace .dr-btn{border-radius:8px;font-weight:600;font-size:13.5px;letter-spacing:.005em;}
.css-job-drawer.v87-job-workspace .dr-btn-primary{background:#13263f;}
.css-job-drawer.v87-job-workspace .dr-btn-primary:hover{background:#0e1d31;}
.css-job-drawer.v87-job-workspace .dr-btn-success{background:#3f8f5f;}
.css-job-drawer.v87-job-workspace .dr-btn-success:hover{background:#357c52;}
.css-job-drawer.v87-job-workspace .dr-btn-ghost{border-color:#e2e8f1;color:#3a5578;}
.css-job-drawer.v87-job-workspace .dr-btn-ghost:hover{background:#f5f8fc;border-color:#d3ddea;}

/* Booking reference stays quiet */
.css-job-drawer.v87-job-workspace .dr-booking-ref span{color:#b3bdca;}

/* ============================================================
   v107 — Settings IA: card home, icon nav, live pricing calc
   ============================================================ */
.settings-breadcrumb{text-decoration:none;color:inherit;opacity:.8;}
.settings-breadcrumb:hover{opacity:1;}

/* Icon side-nav (icon + label + descriptor) */
.settings-nav-link{display:flex;align-items:flex-start;gap:11px;}
.settings-nav-link .settings-nav-text{display:grid;gap:2px;min-width:0;}
.settings-nav-link .settings-nav-text strong{font-size:13.5px;color:#1d2e44;font-weight:650;}
.settings-nav-link .settings-nav-text span{font-size:11.5px;color:var(--muted);line-height:1.35;}
.settings-nav-ico{flex:0 0 auto;width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#f1f5fa;color:#3a5578;border:1px solid #e7edf4;}
.settings-nav-ico svg{width:17px;height:17px;}
.settings-nav-link.active .settings-nav-ico{background:#13263f;color:#fff;border-color:#13263f;}
.settings-nav-home{margin-bottom:4px;}
.settings-nav-home .settings-nav-ico{background:#fff;}

/* Card home */
.settings-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.settings-home-card{display:flex;flex-direction:column;gap:8px;padding:20px 18px 18px;border:1px solid var(--border);border-radius:12px;background:#fff;text-decoration:none;color:inherit;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;}
.settings-home-card:hover{border-color:#cdd9e8;box-shadow:0 14px 30px -18px rgba(15,23,42,.28);transform:translateY(-1px);}
.settings-home-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#13263f;color:#fff;}
.settings-home-icon svg{width:22px;height:22px;}
.settings-home-title{font-size:16px;font-weight:700;color:#13243a;letter-spacing:-.01em;margin-top:4px;}
.settings-home-copy{font-size:12.5px;color:var(--muted);line-height:1.5;}
.settings-home-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;}
.settings-home-tags em{font-style:normal;font-size:11px;font-weight:600;color:#54657d;background:#f3f6fa;border:1px solid #e7edf4;border-radius:999px;padding:3px 9px;}

/* Live pricing calculator */
.pricing-calc .calc-controls{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0 14px;}
.pricing-calc .calc-controls label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#3a4b62;}
.pricing-calc .calc-controls input{width:72px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;font-size:14px;font-family:inherit;}
.pricing-calc .calc-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.calc-tile{border:1px solid #e7edf4;border-radius:10px;padding:13px 14px;background:#fbfcfe;}
.calc-tile small{display:block;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#8a94a6;margin-bottom:5px;}
.calc-tile strong{font-size:23px;font-weight:750;color:#13243a;letter-spacing:-.02em;line-height:1;}
.calc-tile.calc-margin{background:#f1f8f3;border-color:#cfe8d7;}
.calc-tile.calc-margin strong{color:#2f7d4f;}
.calc-tile.calc-margin em{display:block;font-style:normal;font-size:11.5px;font-weight:600;color:#4d8a64;margin-top:4px;}
.calc-tile.calc-margin.is-negative{background:#fdf2f1;border-color:#f3c7c2;}
.calc-tile.calc-margin.is-negative strong,.calc-tile.calc-margin.is-negative em{color:#b42318;}
.muted-link{display:inline-block;margin-top:14px;font-size:12.5px;font-weight:600;color:#2563eb;text-decoration:none;}
.muted-link:hover{text-decoration:underline;}

@media (max-width:900px){
  .settings-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:620px){
  .settings-home-grid{grid-template-columns:1fr;}
  .pricing-calc .calc-results{grid-template-columns:1fr;}
}

/* ============================================================
   v108 — Dashboard "Operations Centre": action hub, charts,
   timeline, activity feed, cleaner workload. Mobile-first.
   ============================================================ */
.ops-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.ops-two-col-uneven{grid-template-columns:minmax(0,5fr) minmax(0,7fr);}
.ops-kpi-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.ops-kpi{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px 18px;}
.ops-kpi-label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#8a94a6;}
.ops-kpi-value{display:block;font-size:28px;font-weight:750;color:#13243a;letter-spacing:-.02em;margin:4px 0 2px;}
.ops-kpi-meta{font-size:11.5px;color:var(--muted);}

/* Action required */
.ops-action-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px;}
.ops-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;}
.ops-action-item{display:flex;flex-direction:column;gap:3px;padding:15px 16px;border-radius:11px;border:1px solid var(--border);background:#fff;text-decoration:none;color:inherit;border-left-width:3px;transition:transform .15s ease,box-shadow .15s ease;}
.ops-action-item:hover{transform:translateY(-1px);box-shadow:0 12px 26px -16px rgba(15,23,42,.3);}
.ops-action-value{font-size:24px;font-weight:750;color:#13243a;letter-spacing:-.02em;line-height:1.1;}
.ops-action-label{font-size:12.5px;color:#54657d;}
.ops-action-cta{font-size:11.5px;font-weight:700;color:#2563eb;margin-top:5px;}
.ops-action-item.tone-amber{border-left-color:#f59e0b;}
.ops-action-item.tone-red{border-left-color:#dc2626;}
.ops-action-item.tone-blue{border-left-color:#3b82f6;}
.ops-action-item.tone-slate{border-left-color:#64748b;}
.ops-allclear{}
.ops-allclear .card-pad{display:flex;align-items:center;gap:13px;}
.ops-allclear-tick{flex:0 0 auto;width:34px;height:34px;border-radius:999px;background:#e7f6ec;color:#2f7d4f;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:17px;}

/* Today: donut + mini KPIs */
.ops-today{display:flex;align-items:center;gap:22px;margin-top:6px;}
.ops-today-donut{flex:0 0 auto;width:130px;}
.donut-svg{width:130px;height:130px;display:block;}
.donut-pct{font-size:26px;font-weight:800;fill:#13243a;}
.donut-sub{font-size:11px;font-weight:600;fill:#8a94a6;text-transform:uppercase;letter-spacing:.08em;}
.ops-today-kpis{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.ops-mini-kpi{display:flex;flex-direction:column;gap:2px;padding:11px 13px;border:1px solid var(--border);border-radius:9px;background:#fbfcfe;text-decoration:none;color:inherit;}
.ops-mini-kpi span{font-size:20px;font-weight:750;color:#13243a;letter-spacing:-.02em;}
.ops-mini-kpi small{font-size:11px;color:var(--muted);}

/* Performance: bar chart + stats */
.ops-perf{display:flex;gap:20px;align-items:flex-end;margin-top:8px;flex-wrap:wrap;}
.ops-perf-chart{flex:1 1 260px;min-width:0;}
.bar-svg{width:100%;height:auto;display:block;overflow:visible;}
.bar-label{font-size:9px;fill:#aab4c2;font-weight:700;}
.ops-perf-caption{font-size:11px;color:#8a94a6;text-align:center;margin-top:4px;letter-spacing:.02em;}
.ops-perf-stats{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:200px;}
.ops-perf-stat{border:1px solid var(--border);border-radius:9px;padding:10px 12px;background:#fbfcfe;}
.ops-perf-stat small{display:block;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#8a94a6;margin-bottom:3px;}
.ops-perf-stat strong{font-size:17px;font-weight:750;color:#13243a;letter-spacing:-.01em;}

/* Timeline */
.ops-timeline{display:flex;flex-direction:column;}
.ops-tl-row{display:grid;grid-template-columns:54px 14px 1fr auto;align-items:center;gap:12px;padding:11px 6px;border-bottom:1px solid #f1f4f9;text-decoration:none;color:inherit;}
.ops-tl-row:last-child{border-bottom:0;}
.ops-tl-row:hover{background:#fafcff;}
.ops-tl-time{font-size:14px;font-weight:750;color:#13243a;line-height:1.1;}
.ops-tl-time small{display:block;font-size:10.5px;font-weight:600;color:#9aa6b6;}
.ops-tl-dot{width:11px;height:11px;border-radius:999px;background:#94a3b8;}
.ops-tl-dot.green-dot{background:#22c55e;}.ops-tl-dot.blue-dot{background:#3b82f6;}.ops-tl-dot.amber-dot{background:#f59e0b;}.ops-tl-dot.slate-dot{background:#94a3b8;}
.ops-tl-body{min-width:0;}
.ops-tl-body strong{display:block;font-size:13.5px;font-weight:650;color:#1d2e44;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ops-tl-body small{font-size:11.5px;color:var(--muted);}
.ops-tl-side{flex:0 0 auto;}

/* Property cards (client) */
.ops-prop-list{display:flex;flex-direction:column;gap:9px;}
.ops-prop-card{display:flex;flex-direction:column;gap:2px;padding:13px 14px;border:1px solid var(--border);border-radius:10px;background:#fff;text-decoration:none;color:inherit;}
.ops-prop-card:hover{border-color:#cdd9e8;}
.ops-prop-card strong{font-size:13.5px;font-weight:650;color:#1d2e44;}
.ops-prop-meta{font-size:11.5px;color:var(--muted);}

/* Activity feed */
.ops-activity{display:flex;flex-direction:column;gap:2px;}
.ops-activity-row{display:grid;grid-template-columns:14px 1fr;align-items:start;gap:11px;padding:9px 4px;border-bottom:1px solid #f4f6fa;}
.ops-activity-row:last-child{border-bottom:0;}
.ops-act-dot{width:9px;height:9px;border-radius:999px;margin-top:5px;background:#94a3b8;}
.ops-act-dot.green-dot{background:#22c55e;}.ops-act-dot.blue-dot{background:#3b82f6;}.ops-act-dot.amber-dot{background:#f59e0b;}.ops-act-dot.purple-dot{background:#8b5cf6;}.ops-act-dot.slate-dot{background:#94a3b8;}
.ops-act-body{min-width:0;}
.ops-act-msg{display:block;font-size:13px;color:#28384d;line-height:1.4;}
.ops-act-meta{font-size:11px;color:#9aa6b6;}

/* Cleaner workload bars */
.ops-workload{display:flex;flex-direction:column;gap:11px;}
.ops-wl-row{display:grid;grid-template-columns:96px 1fr 28px;align-items:center;gap:11px;}
.ops-wl-name{font-size:12.5px;font-weight:600;color:#3a4b62;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ops-wl-bar{height:9px;border-radius:999px;background:#eef2f7;overflow:hidden;}
.ops-wl-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2b4b73,#13263f);}
.ops-wl-count{font-size:13px;font-weight:750;color:#13243a;text-align:right;}

@media (max-width:900px){
  .ops-two-col,.ops-two-col-uneven{grid-template-columns:1fr;}
  .ops-kpi-row{grid-template-columns:1fr 1fr;}
  .ops-perf-stats{flex:1 1 100%;}
}
@media (max-width:560px){
  .ops-today{flex-direction:column;align-items:stretch;gap:16px;}
  .ops-today-donut{align-self:center;}
  .ops-action-grid{grid-template-columns:1fr 1fr;}
  .ops-tl-row{grid-template-columns:48px 12px 1fr;}
  .ops-tl-side{grid-column:3;justify-self:start;margin-top:2px;}
}

/* ============================================================
   v110 — Responsive record sections (tabs ↔ accordion).
   Paired with the rec-tabs controller in app.js. Until JS adds
   .rec-ready, panels render stacked (graceful no-JS fallback).
   ============================================================ */
.rec-tablist{display:none;}
.rec-acc-header{display:none;}

/* Desktop: tab strip + one visible panel */
@media (min-width:821px){
  .rec-tabs.rec-ready .rec-tablist{
    display:flex;gap:2px;flex-wrap:wrap;
    border-bottom:1px solid var(--border);
    margin-bottom:18px;
  }
  .rec-tabs.rec-ready .rec-tab{
    appearance:none;background:none;border:0;border-bottom:2px solid transparent;
    margin-bottom:-1px;padding:10px 15px;border-radius:9px 9px 0 0;
    font-family:inherit;font-size:13.5px;font-weight:600;color:#64748b;cursor:pointer;
    transition:color .12s ease,background .12s ease;
  }
  .rec-tabs.rec-ready .rec-tab:hover{color:#13243a;background:#f6f9fc;}
  .rec-tabs.rec-ready .rec-tab.is-active{color:#13263f;border-bottom-color:#13263f;font-weight:700;}
  .rec-tabs.rec-ready .rec-panel{display:none;}
  .rec-tabs.rec-ready .rec-panel.is-active{display:block;}
  /* tidy first-card top margin inside a panel */
  .rec-tabs.rec-ready .rec-panel-body > .card:first-child{margin-top:0;}
}

/* Mobile: accordion. No horizontal tab row (avoids overflow). */
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  .rec-tabs.rec-ready .rec-tablist{display:none;}
  .rec-tabs.rec-ready .rec-panel{
    display:block;background:#fff;border:1px solid var(--border);
    border-radius:13px;margin-bottom:11px;overflow:hidden;
  }
  .rec-tabs.rec-ready .rec-acc-header{
    display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;
    background:none;border:0;padding:15px 16px;cursor:pointer;font-family:inherit;text-align:left;
    font-size:14.5px;font-weight:700;color:#13243a;
  }
  .rec-tabs.rec-ready .rec-chevron{width:18px;height:18px;color:#9aa6b6;flex:0 0 auto;transition:transform .2s ease;}
  .rec-tabs.rec-ready .rec-panel.is-open .rec-chevron{transform:rotate(180deg);}
  .rec-tabs.rec-ready .rec-panel-body{display:none;padding:0 13px 14px;}
  .rec-tabs.rec-ready .rec-panel.is-open .rec-panel-body{display:block;}
  /* Inner cards lose their own chrome so they sit cleanly inside the accordion shell */
  .rec-tabs.rec-ready .rec-panel-body > .card{border:0;box-shadow:none;background:transparent;border-radius:0;}
  .rec-tabs.rec-ready .rec-panel-body > .card + .card{border-top:1px solid #eef2f7;}
  .rec-tabs.rec-ready .rec-panel-body > .card > .card-pad{padding:6px 2px 10px;}
}

/* ============================================================
   v111 — Mobile "More" bottom sheet + single-scroll fix
   ============================================================ */
.mobile-more-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.42);z-index:10059;opacity:0;transition:opacity .2s ease;backdrop-filter:blur(2px);}
.mobile-more-backdrop.is-open{opacity:1;}
.mobile-more-sheet{
  position:fixed;left:0;right:0;bottom:0;z-index:10060;
  background:#fff;border-radius:22px 22px 0 0;
  padding:10px 16px calc(20px + env(safe-area-inset-bottom));
  box-shadow:0 -18px 50px rgba(15,23,42,.26);
  transform:translateY(100%);transition:transform .24s cubic-bezier(.22,.61,.36,1);
  max-height:80vh;overflow-y:auto;
}
.mobile-more-sheet.is-open{transform:translateY(0);}
.mobile-more-grip{width:38px;height:4px;border-radius:999px;background:#dbe3ee;margin:2px auto 10px;}
.mobile-more-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.mobile-more-head strong{font-size:16px;font-weight:750;color:#13243a;}
.mobile-more-close{width:32px;height:32px;border-radius:999px;border:1px solid var(--border);background:#f6f9fc;color:#475569;font-size:14px;cursor:pointer;line-height:1;}
.mobile-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.mobile-more-item{display:flex;align-items:center;gap:11px;padding:13px 13px;border:1px solid var(--border);border-radius:13px;background:#fff;text-decoration:none;color:inherit;}
.mobile-more-item:active{background:#f6f9fc;}
.mobile-more-item.active{border-color:#13263f;background:#f3f7fc;}
.mobile-more-ico{flex:0 0 auto;width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#f1f5fa;color:#3a5578;border:1px solid #e7edf4;}
.mobile-more-ico .hc-svg-icon,.mobile-more-ico svg{width:18px;height:18px;}
.mobile-more-item.active .mobile-more-ico{background:#13263f;color:#fff;border-color:#13263f;}
.mobile-more-text{min-width:0;display:grid;gap:1px;}
.mobile-more-text strong{font-size:13px;font-weight:650;color:#1d2e44;}
.mobile-more-text small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* Single document scroll on mobile — removes the second scrollbar and the
   phantom empty space the double overflow:auto was producing on tall pages
   like the calendar. */
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){
  html{height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;}
  body{height:auto!important;overflow:visible!important;}
  body.more-sheet-open{overflow:hidden!important;}
}

/* ============================================================
   v112 — Premium collapsible sidebar (dark navy, brass accent).
   Overrides the older light-theme sidebar rules. Desktop only;
   the sidebar is hidden on mobile (bottom nav is used there).
   ============================================================ */
@media (min-width:821px){
  body .sidebar{
    background:linear-gradient(184deg,#16293f 0%,#0e1c2e 64%,#0b1726 100%)!important;
    border-right:1px solid rgba(255,255,255,.07)!important;
    width:252px!important;max-width:252px!important;
    padding:18px 14px 16px!important;
    display:flex!important;flex-direction:column!important;
    transition:width .22s cubic-bezier(.4,0,.2,1)!important;
    overflow:hidden!important;
  }
  body .main{
    margin-left:252px!important;width:calc(100vw - 252px)!important;
    transition:margin-left .22s cubic-bezier(.4,0,.2,1),width .22s cubic-bezier(.4,0,.2,1)!important;
  }

  /* Brand lockup */
  body .sidebar .hc-brand-lockup{margin:2px 4px 18px!important;gap:11px!important;}
  body .sidebar .brand-link-compact{
    width:42px!important;height:42px!important;border-radius:50%!important;flex:0 0 42px!important;
    background:#fff!important;border:1px solid rgba(255,255,255,.6)!important;padding:0!important;overflow:hidden!important;
    box-shadow:0 3px 10px rgba(0,0,0,.22)!important;
  }
  body .sidebar .brand-logo-image{width:40px!important;height:40px!important;border-radius:50%!important;}
  body .sidebar .hc-brand-copy strong{color:#fff!important;letter-spacing:.16em!important;font-size:13px!important;font-weight:750!important;}
  body .sidebar .hc-brand-copy small{color:rgba(174,190,210,.6)!important;letter-spacing:.22em!important;font-size:9.5px!important;}

  /* Nav groups + labels */
  body .sidebar .nav-groups{gap:14px!important;}
  body .sidebar .nav-group{gap:3px!important;}
  body .sidebar .nav-group-label{
    color:rgba(174,190,210,.42)!important;font-size:10px!important;letter-spacing:.13em!important;
    text-transform:uppercase!important;font-weight:700!important;margin:8px 12px 5px!important;
  }

  /* Nav links */
  body .sidebar .nav-link{
    position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:11px!important;
    padding:9px 12px!important;border-radius:10px!important;
    color:#a9bace!important;font-weight:600!important;font-size:13.5px!important;
    background:transparent!important;box-shadow:none!important;
    transition:background .14s ease,color .14s ease!important;
  }
  body .sidebar .nav-link .nav-link-text{color:inherit!important;opacity:1!important;}
  body .sidebar .nav-link-icon,body .sidebar .nav-link .hc-svg-icon{color:#8398b3!important;opacity:1!important;width:19px!important;height:19px!important;flex:0 0 19px!important;}
  body .sidebar .nav-link .hc-svg-icon svg{width:19px!important;height:19px!important;fill:currentColor!important;}
  body .sidebar .nav-link:hover{background:rgba(255,255,255,.06)!important;color:#fff!important;}
  body .sidebar .nav-link:hover .nav-link-icon,body .sidebar .nav-link:hover .hc-svg-icon{color:#dce6f1!important;}
  body .sidebar .nav-link.active{
    background:rgba(255,255,255,.085)!important;color:#fff!important;box-shadow:none!important;
  }
  body .sidebar .nav-link.active::before{
    content:""!important;position:absolute!important;left:-14px!important;top:50%!important;transform:translateY(-50%)!important;
    width:3px!important;height:22px!important;border-radius:0 3px 3px 0!important;background:#4f8ef7!important;
  }
  body .sidebar .nav-link.active .nav-link-icon,body .sidebar .nav-link.active .hc-svg-icon{color:#7fb0fb!important;}
  body .sidebar .nav-link.active .hc-svg-icon svg{fill:currentColor!important;}
  body .sidebar .nav-unread-badge{margin-left:auto!important;background:#caa86a!important;color:#13263f!important;font-weight:800!important;border-radius:999px!important;min-width:18px!important;height:18px!important;display:inline-grid!important;place-items:center!important;font-size:10.5px!important;padding:0 5px!important;}

  /* Footer: collapse button + user */
  body .sidebar .sidebar-footer{margin-top:auto!important;padding-top:12px!important;border-top:1px solid rgba(255,255,255,.07)!important;display:flex!important;flex-direction:column!important;gap:10px!important;}
  body .sidebar .sidebar-collapse-btn{
    display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;
    padding:9px 12px!important;border-radius:10px!important;border:0!important;cursor:pointer!important;
    background:rgba(255,255,255,.04)!important;color:#9fb1c6!important;font-family:inherit!important;font-size:12.5px!important;font-weight:650!important;
    transition:background .14s ease,color .14s ease!important;
  }
  body .sidebar .sidebar-collapse-btn:hover{background:rgba(255,255,255,.09)!important;color:#fff!important;}
  body .sidebar .sidebar-collapse-icon{display:inline-flex!important;}
  body .sidebar .sidebar-collapse-icon svg{width:17px!important;height:17px!important;transition:transform .22s ease!important;}
  body .sidebar .sidebar-user-bottom{
    display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;
    padding:10px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.03)!important;
  }
  body .sidebar .sidebar-user-avatar{
    flex:0 0 34px!important;width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important;
    background:linear-gradient(160deg,#caa86a,#a9844a)!important;color:#13263f!important;font-weight:800!important;font-size:14px!important;
  }
  body .sidebar .sidebar-user-meta strong{color:#eef3f9!important;font-size:13px!important;font-weight:650!important;display:block!important;line-height:1.2!important;}
  body .sidebar .sidebar-user-meta .muted{color:rgba(174,190,210,.6)!important;font-size:11px!important;}

  /* ---- Collapsed rail ---- */
  html.sidebar-collapsed .sidebar{width:78px!important;max-width:78px!important;padding-left:0!important;padding-right:0!important;}
  html.sidebar-collapsed .main{margin-left:78px!important;width:calc(100vw - 78px)!important;}
  html.sidebar-collapsed .sidebar .nav-link-text,
  html.sidebar-collapsed .sidebar .nav-group-label,
  html.sidebar-collapsed .sidebar .hc-brand-copy,
  html.sidebar-collapsed .sidebar .sidebar-collapse-text,
  html.sidebar-collapsed .sidebar .sidebar-user-meta{display:none!important;}
  html.sidebar-collapsed .sidebar .hc-brand-lockup{justify-content:center!important;margin-left:0!important;margin-right:0!important;}
  html.sidebar-collapsed .sidebar .nav-link{justify-content:center!important;padding-left:0!important;padding-right:0!important;gap:0!important;}
  html.sidebar-collapsed .sidebar .nav-link.active::before{left:0!important;}
  html.sidebar-collapsed .sidebar .nav-unread-badge{position:absolute!important;top:3px!important;right:14px!important;margin:0!important;min-width:15px!important;height:15px!important;font-size:9px!important;}
  html.sidebar-collapsed .sidebar .nav-group{border-top:1px solid rgba(255,255,255,.06)!important;padding-top:9px!important;margin-top:2px!important;}
  html.sidebar-collapsed .sidebar .nav-group:first-of-type{border-top:0!important;padding-top:0!important;}
  html.sidebar-collapsed .sidebar .sidebar-collapse-btn{justify-content:center!important;padding-left:0!important;padding-right:0!important;}
  html.sidebar-collapsed .sidebar .sidebar-collapse-icon svg{transform:rotate(180deg)!important;}
  html.sidebar-collapsed .sidebar .sidebar-user-bottom{justify-content:center!important;padding:8px!important;}
}

/* ============================================================
   v114 — Live nav badges, collapsed tooltips, avatar status dot.
   Builds on the v112 sidebar; desktop only.
   ============================================================ */
@media (min-width:821px){
  /* Badges (expanded) */
  body .sidebar .nav-badge{
    margin-left:auto!important;flex:0 0 auto!important;
    min-width:20px!important;height:20px!important;padding:0 6px!important;border-radius:999px!important;
    display:inline-grid!important;place-items:center!important;font-size:11px!important;font-weight:700!important;line-height:1!important;
  }
  body .sidebar .nav-badge.tone-blue{background:#2f6fed!important;color:#fff!important;}
  body .sidebar .nav-badge.tone-red{background:#d8453b!important;color:#fff!important;}
  body .sidebar .nav-badge.tone-amber{background:rgba(202,168,106,.18)!important;color:#e9c993!important;}
  body .sidebar .nav-badge.tone-green{background:rgba(52,211,153,.16)!important;color:#6ee7b7!important;}
  body .sidebar .nav-badge.nav-badge-dot{min-width:0!important;width:8px!important;height:8px!important;padding:0!important;border-radius:50%!important;}
  body .sidebar .nav-badge.nav-badge-dot.tone-blue{background:#4f8ef7!important;}
  body .sidebar .nav-badge.nav-badge-dot.tone-green{background:#34d399!important;}
  body .sidebar .nav-badge.nav-badge-dot.tone-red{background:#f05252!important;}

  /* Avatar online dot */
  body .sidebar .sidebar-user-avatar{position:relative!important;}
  body .sidebar .sidebar-user-avatar::after{content:""!important;position:absolute!important;right:-2px!important;bottom:-2px!important;width:11px!important;height:11px!important;border-radius:50%!important;background:#34d399!important;border:2px solid #11233a!important;}

  /* ---- Collapsed: badge overlays + hover tooltips ---- */
  html.sidebar-collapsed .sidebar{overflow:visible!important;}
  html.sidebar-collapsed .sidebar .nav{overflow:visible!important;}
  html.sidebar-collapsed .nav-link{position:relative!important;}
  html.sidebar-collapsed .nav-badge{position:absolute!important;top:1px!important;right:13px!important;margin:0!important;min-width:16px!important;height:16px!important;padding:0 4px!important;font-size:9px!important;box-shadow:0 0 0 2px #112338!important;}
  html.sidebar-collapsed .nav-badge.nav-badge-dot{top:5px!important;right:16px!important;width:8px!important;height:8px!important;box-shadow:0 0 0 2px #112338!important;}

  /* Tooltips for the icon rail (labels are hidden when collapsed) */
  html.sidebar-collapsed .nav-link::after,
  html.sidebar-collapsed .sidebar-user-bottom::after,
  html.sidebar-collapsed .sidebar-collapse-btn::after{
    content:attr(data-label);position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%);
    background:#0a1623;color:#eef3f9;font-size:12px;font-weight:600;white-space:nowrap;
    padding:6px 11px;border-radius:9px;border:1px solid rgba(255,255,255,.09);
    box-shadow:0 10px 26px rgba(0,0,0,.4);opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .12s ease;z-index:300;
  }
  html.sidebar-collapsed .sidebar-collapse-btn{position:relative!important;}
  html.sidebar-collapsed .sidebar-collapse-btn::after{content:"Expand";}
  html.sidebar-collapsed .sidebar-user-bottom{position:relative!important;}
  html.sidebar-collapsed .nav-link:hover::after,
  html.sidebar-collapsed .sidebar-user-bottom:hover::after,
  html.sidebar-collapsed .sidebar-collapse-btn:hover::after{opacity:1;visibility:visible;}
}

/* ============================================================
   v115 — Premium split sign-in page
   ============================================================ */
.login-body{min-height:100vh;margin:0;background:radial-gradient(1100px 560px at 100% -10%, #e9eef6 0%, #f4f7fb 55%, #eef2f8 100%);}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;}
.login-split{
  display:grid;grid-template-columns:1.04fr .96fr;width:100%;max-width:940px;
  background:#fff;border-radius:22px;overflow:hidden;
  box-shadow:0 30px 80px -30px rgba(15,30,55,.35), 0 2px 8px rgba(15,30,55,.06);
}
.login-brand-panel{
  position:relative;overflow:hidden;color:#fff;padding:42px 38px;min-height:480px;
  background:linear-gradient(165deg,#17304d 0%,#102338 60%,#0c1b2c 100%);
  display:flex;flex-direction:column;justify-content:space-between;gap:26px;
}
.login-brand-panel::after{content:"";position:absolute;width:340px;height:340px;right:-120px;top:-120px;border-radius:50%;background:radial-gradient(circle, rgba(79,142,247,.30), transparent 70%);}
.login-brand-top{display:flex;align-items:center;gap:13px;position:relative;z-index:1;}
.login-brand-chip{width:54px;height:54px;flex:0 0 54px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.25);}
.login-brand-chip-img{width:52px;height:52px;border-radius:50%;}
.login-brand-name{font-size:18px;font-weight:750;letter-spacing:.01em;}
.login-brand-mid{position:relative;z-index:1;}
.login-brand-headline{font-size:27px;line-height:1.18;font-weight:740;margin:0 0 14px;letter-spacing:-.01em;}
.login-brand-copy{font-size:14px;line-height:1.6;color:rgba(208,220,235,.82);margin:0;max-width:34ch;}
.login-brand-foot{position:relative;z-index:1;font-size:12.5px;color:rgba(174,190,210,.62);letter-spacing:.04em;border-top:1px solid rgba(255,255,255,.1);padding-top:18px;}
.login-form-panel{padding:46px 44px;display:flex;flex-direction:column;justify-content:center;}
.login-h1{font-size:26px;font-weight:760;margin:0 0 7px;color:#14233a;letter-spacing:-.01em;}
.login-sub{font-size:14px;color:#5b6b80;margin:0 0 24px;}
.login-form{display:flex;flex-direction:column;gap:16px;}
.login-field{display:flex;flex-direction:column;gap:7px;}
.login-field .input{padding:12px 14px;font-size:14.5px;border-radius:11px;width:100%;}
.login-submit{margin-top:6px;width:100%;justify-content:center;padding:13px;font-size:15px;border-radius:11px;}
.login-form-panel .alert{margin-bottom:18px;}
@media (max-width:760px){
  .login-split{grid-template-columns:1fr;max-width:430px;}
  .login-brand-panel{min-height:0;padding:28px;gap:16px;}
  .login-brand-copy,.login-brand-foot{display:none;}
  .login-brand-headline{font-size:19px;margin:0;}
  .login-form-panel{padding:30px 26px 34px;}
}

/* v116 — House-range catalog room subheaders */
.inv-group-row td{background:#0e1d31;color:#cdd9e8;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;padding:7px 12px!important;}

/* ============================================================
   v117 — Property readiness header + dashboard turnarounds
   ============================================================ */
.readiness-card{border:1px solid #e6ebf2;border-radius:18px;overflow:hidden}
.readiness-card.tone-green{box-shadow:inset 4px 0 0 #1f9d57}
.readiness-card.tone-blue{box-shadow:inset 4px 0 0 #2f6bd0}
.readiness-card.tone-amber{box-shadow:inset 4px 0 0 #d98a16}
.readiness-card.tone-red{box-shadow:inset 4px 0 0 #d23f3f}
.readiness-card.tone-slate{box-shadow:inset 4px 0 0 #94a3b8}
.readiness-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}
.readiness-state{display:inline-flex;align-items:center;gap:9px;font-size:19px;font-weight:800;color:#13263f;letter-spacing:-.01em}
.readiness-dot{width:11px;height:11px;border-radius:50%;background:#94a3b8;display:inline-block;flex:none}
.tone-green .readiness-dot{background:#1f9d57}
.tone-blue .readiness-dot{background:#2f6bd0}
.tone-amber .readiness-dot{background:#d98a16}
.tone-red .readiness-dot{background:#d23f3f}
.tone-slate .readiness-dot{background:#94a3b8}
.readiness-arrival{margin-top:6px;color:#5b6b80;font-size:13px;font-weight:600}
.readiness-flags{display:flex;gap:8px;flex-wrap:wrap}
.readiness-flag{font-size:12px;font-weight:700;padding:5px 10px;border-radius:999px;white-space:nowrap}
.readiness-flag.flag-red{background:#fdecec;color:#b42318}
.readiness-flag.flag-amber{background:#fdf3e2;color:#9a6312}
.readiness-checks{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.readiness-check{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:650;padding:6px 11px;border-radius:10px;background:#f4f7fb;color:#647890}
.readiness-check.is-done{background:#eaf6ef;color:#1c7a45}
.readiness-check-ico{font-weight:800}
.turnaround-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.turnaround-card{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid #e6ebf2;border-radius:16px;background:#fff;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease}
.turnaround-card:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(20,40,70,.08)}
.turnaround-card.tone-green{box-shadow:inset 4px 0 0 #1f9d57}
.turnaround-card.tone-blue{box-shadow:inset 4px 0 0 #2f6bd0}
.turnaround-card.tone-amber{box-shadow:inset 4px 0 0 #d98a16}
.turnaround-card.tone-red{box-shadow:inset 4px 0 0 #d23f3f}
.turnaround-card.tone-slate{box-shadow:inset 4px 0 0 #94a3b8}
.turnaround-state{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#3a4a5e}
.turnaround-prop{font-size:15px;color:#13263f;letter-spacing:-.01em}
.turnaround-meta{color:#7488a0;font-size:12px}
.login-forgot{margin:-6px 0 14px;text-align:right}
.login-forgot a{color:#2f6bd0;font-size:13px;font-weight:600;text-decoration:none}
.login-forgot a:hover{text-decoration:underline}
.btn-tiny{padding:5px 10px;font-size:12px;min-height:0}

/* ============================================================
   v118 — Client report reviews
   ============================================================ */
.review-card{border:1px solid #e6ebf2}
.star-rate{display:inline-flex;flex-direction:row-reverse;gap:4px}
.star-rate input{position:absolute;opacity:0;width:0;height:0}
.star-rate label{font-size:32px;line-height:1;color:#d4dae3;cursor:pointer;transition:color .1s ease}
.star-rate label:hover,.star-rate label:hover ~ label,.star-rate input:checked ~ label{color:#f5a623}
.review-sub{margin-top:18px;font-weight:700;color:#26435b;font-size:13px}
.review-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:10px}
.review-photo{border:1px solid #e6ebf2;border-radius:14px;padding:8px;background:#fff}
.review-photo img{width:100%;height:110px;object-fit:cover;border-radius:9px;display:block}
.review-photo-flags{display:flex;gap:8px;margin:8px 0}
.review-photo-flags label{flex:1;text-align:center;border:1px solid #e0e6ee;border-radius:9px;padding:6px 0;font-size:18px;cursor:pointer;background:#f8fafc}
.review-photo-flags label input{position:absolute;opacity:0}
.review-photo-flags label.rp-good.on{background:#eaf6ef;border-color:#1f9d57}
.review-photo-flags label.rp-bad.on{background:#fdecec;border-color:#d23f3f}
.input-sm{padding:7px 9px;font-size:12.5px}
.review-tasks{margin-top:16px;border:1px solid #eef1f6;border-radius:12px;padding:6px 12px}
.review-tasks summary{cursor:pointer;font-weight:650;color:#3a4a5e;padding:6px 0}
.review-task-list{display:grid;gap:8px;padding:8px 0}
.review-task-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center}
.review-task-row label{display:flex;align-items:center;gap:8px;font-size:13px;color:#33455b}
.review-stars-static{color:#f5a623;font-size:18px;letter-spacing:2px}
.review-flag-list{display:grid;gap:10px}
.review-flag{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:11px;border:1px solid #eef1f6}
.review-flag.flag-good{background:#f3faf5;border-color:#cde8d8}
.review-flag.flag-bad{background:#fdf4f4;border-color:#f3d3d3}
.review-flag .rf-ico{font-size:18px;line-height:1.2}
.review-flag .rf-body strong{display:block;color:#1f3147;font-size:13.5px}
.rf-photo-link{font-size:12px;color:#2f6bd0;text-decoration:none}
@media (max-width:640px){.review-task-row{grid-template-columns:1fr}}

/* ============================================================
   v119 — Shared grid polish: quiet inline inputs, refined tables,
   entity rows with slide-down edit drawers
   ============================================================ */

/* Quiet inline inputs — removes the "spreadsheet of boxes" look */
.table-wrap td > .input,
.table-wrap td > select{border-color:transparent;background:transparent;box-shadow:none;transition:border-color .12s ease,background .12s ease}
.table-wrap tr:hover td > .input,.table-wrap tr:hover td > select{background:#fbfdff}
.table-wrap td > .input:hover,.table-wrap td > select:hover{border-color:#d7dee8}
.table-wrap td > .input:focus,.table-wrap td > select:focus{border-color:#2f6bd0;background:#fff}

/* Base table refinement (every .table-wrap lifts: finance, invoices, payouts, etc.) */
.table-wrap{border:1px solid #e9edf3;border-radius:16px;overflow:auto;background:#fff}
.table-wrap table{border-collapse:separate;border-spacing:0;width:100%}
.table-wrap thead th{position:sticky;top:0;background:#f7f9fc;z-index:1;font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:#7a8aa0;padding:12px 14px;border-bottom:1px solid #e9edf3;text-align:left;white-space:nowrap}
.table-wrap tbody td{padding:11px 14px;border-bottom:1px solid #f0f3f8;vertical-align:middle}
.table-wrap tbody tr:last-child td{border-bottom:none}
.table-wrap tbody tr:hover{background:#fafcff}

/* Inputs / selects — gentle global refinement */
.input,select.input,textarea.input{border:1px solid #dce3ec;border-radius:10px}
.input:focus,select.input:focus,textarea.input:focus,select:focus{outline:none;border-color:#2f6bd0;box-shadow:0 0 0 3px rgba(47,107,208,.12)}

/* Entity list: read row + slide-down edit drawer (Users, Settings tables) */
.entity-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.entity-row{border:1px solid #e9edf3;border-radius:16px;background:#fff;overflow:hidden;transition:box-shadow .12s ease,border-color .12s ease}
.entity-row:hover{box-shadow:0 4px 14px rgba(20,40,70,.06)}
.entity-row-main{display:flex;align-items:center;gap:14px;padding:14px 16px;flex-wrap:wrap}
.entity-avatar{width:38px;height:38px;border-radius:11px;background:#eef3fb;color:#2f6bd0;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:15px;flex:none}
.entity-primary{min-width:150px;flex:1 1 200px}
.entity-name{font-weight:750;color:#13263f;font-size:14.5px;letter-spacing:-.01em}
.entity-sub{color:#6b7c92;font-size:12.5px;margin-top:2px}
.entity-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.entity-linked{font-size:12px;color:#6b7c92}
.entity-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto;align-items:center}
.btn-tiny{padding:6px 11px;font-size:12.5px;min-height:0}
[data-edit-toggle].is-open{background:#13263f;color:#fff;border-color:#13263f}
.entity-edit{border-top:1px solid #eef1f6;background:#fafcff;padding:16px}
.entity-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}
.entity-edit-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;color:#5b6b80}
.entity-edit-actions{grid-column:1 / -1;display:flex;gap:10px;justify-content:flex-end}
.entity-group-label{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#9aa7b8;margin:16px 0 2px;padding-left:4px}

@media (max-width:680px){
  .entity-row-main{align-items:flex-start}
  .entity-actions{margin-left:0;width:100%}
  .entity-edit-grid{grid-template-columns:1fr}
  .table-wrap{border-radius:12px}
}

/* v119 — Finance grid polish (additive; markup unchanged) */
.finance-table thead th{text-transform:uppercase;font-size:10.5px;letter-spacing:.04em;color:#7a8aa0;font-weight:750}
.finance-table tbody tr:hover{background:#f7faff}
.finance-table tbody td{padding:10px 12px}
.finance-route-pill{background:#eef3fb;color:#33486a;border-radius:999px;padding:3px 9px;font-size:11.5px;white-space:nowrap}
.finance-grid-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.finance-grid-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.finance-filter-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}
.finance-filter-bar label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:650;color:#7a8aa0}
@media (max-width:760px){
  .finance-grid-tools{width:100%}
  .finance-search{flex:1}
  .finance-filter-bar > label{flex:1 1 140px}
}

/* v120 — invoice PDF download (list rows) */
.inv-row-wrap{display:flex;gap:8px;align-items:stretch}
.inv-row-wrap .inv-row{flex:1}
.inv-row-pdf{display:flex;align-items:center;gap:5px;padding:0 14px;border:1px solid #e0e6ee;border-radius:12px;background:#fff;color:#2f6bd0;font-size:12.5px;font-weight:650;text-decoration:none;white-space:nowrap;transition:background .12s ease,border-color .12s ease}
.inv-row-pdf:hover{background:#f3f7fd;border-color:#2f6bd0}
@media (max-width:560px){.inv-row-pdf{padding:0 10px}}

/* v122 — Airbnb-style stacked calendar months + lazy load */
.ops-month-scroll{display:block}
.ops-month-block + .ops-month-block{margin-top:24px;padding-top:8px;border-top:1px solid #eef1f6}
.ops-month-block-head{font-size:16px;font-weight:800;color:#13263f;letter-spacing:-.01em;margin:6px 2px 12px}
.ops-cal-sentinel{height:1px;width:100%}
.ops-cal-sentinel.is-loading{height:auto}
.ops-cal-sentinel.is-loading::after{content:"Loading next month\2026";display:block;text-align:center;color:#7488a0;font-size:12.5px;font-weight:600;padding:16px}

/* v122b — calendar month padding cells (no adjacent-month spillover) */
.ops-cal-empty{background:transparent;border:0;box-shadow:none;min-height:0;pointer-events:none}

/* v124 — calendar polish: uniform cells + padded month header */
.ops-month-block-head{padding:6px 4px 12px 8px;font-size:19px;font-weight:800;letter-spacing:-.01em;color:#13263f}
.ops-month-grid .ops-day{min-height:118px}
.ops-month-grid .ops-cal-empty{border:1px solid #eef1f6;border-radius:12px;background:#fafbfc;min-height:118px}

/* v124 — Supplies tabs + Linen board */
.seg-tabs{display:inline-flex;gap:4px;background:#f1f4f9;padding:4px;border-radius:12px}
.seg-tab{padding:8px 16px;border-radius:9px;font-size:13.5px;font-weight:650;color:#5b6b80;text-decoration:none}
.seg-tab.active{background:#fff;color:#13263f;box-shadow:0 1px 3px rgba(20,40,70,.1)}
.linen-prop-list{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.linen-prop{border:1px solid #e9edf3;border-radius:16px;overflow:hidden}
.linen-prop-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 16px;background:#f7f9fc;border-bottom:1px solid #eef1f6}
.linen-prop-stats{display:flex;gap:8px;flex-wrap:wrap}
.linen-pill{font-size:11.5px;font-weight:700;padding:4px 9px;border-radius:999px}
.linen-pill.dirty{background:#fdf3e2;color:#9a6312}
.linen-pill.laundry{background:#eaf0fb;color:#2f6bd0}
.linen-pill.short{background:#fdecec;color:#b42318}
.linen-item-list{display:flex;flex-direction:column}
.linen-item{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid #f3f5f9}
.linen-item:last-child{border-bottom:none}
.linen-item-name{font-weight:700;color:#13263f;font-size:14px}
.linen-counts{display:flex;gap:14px;flex-wrap:wrap;margin-top:5px}
.lc{font-size:12.5px;color:#647890}
.lc strong{color:#13263f;font-size:14px}
.lc-clean strong{color:#1c7a45}
.lc-dirty strong{color:#9a6312}
.lc-laundry strong{color:#2f6bd0}
.lc-par{color:#9aa7b8}
.linen-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.linen-qty{width:64px;padding:7px 8px}
.badge-red{background:#fdecec;color:#b42318}
@media (max-width:640px){.linen-item{align-items:flex-start}.linen-actions{width:100%}}

/* v126 — calendar sidebar scrolls internally on tall/scrolling calendars
   (fixes the Activity feed being unreachable now that months scroll) */
@media (min-width:1101px){
  .ops-side-panel{align-self:start!important;max-height:calc(100vh - 28px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
  .ops-side-panel::-webkit-scrollbar{width:8px}
  .ops-side-panel::-webkit-scrollbar-thumb{background:#d8e1ee;border-radius:8px}
}

/* v127 — sticky month titles (Airbnb-style): each month's header pins while
   that month scrolls, then the next month's header pushes it up. */
.ops-month-card{overflow:visible!important}
.ops-month-scroll{overflow:visible}
.ops-month-block-head{position:sticky;top:8px;z-index:6;background:#fff;box-shadow:0 6px 10px -8px rgba(15,23,42,.18)}

/* v131 — user activation status badges */
.status-badge.act-green{background:#dcfce7;color:#166534}
.status-badge.act-amber{background:#fef3c7;color:#92400e}
.status-badge.act-slate{background:#eef1f6;color:#5b6b80}
.muted-mini{color:#8493a6;font-size:12px}

/* v132 — mobile job drawer: pin the action buttons so they're always reachable */
@media (max-width:720px){
  .job-drawer{ -webkit-overflow-scrolling:touch; }
  .job-drawer .job-drawer-actions,
  .job-drawer .job-drawer-actions.premium-action-grid{
    position:sticky!important; bottom:0!important; left:0; right:0;
    margin:16px -18px 0!important;
    padding:14px 18px calc(14px + env(safe-area-inset-bottom,0px))!important;
    background:#fff!important; border-top:1px solid var(--border)!important;
    grid-template-columns:1fr 1fr!important; gap:10px!important; z-index:6!important;
    box-shadow:0 -14px 26px rgba(15,23,42,.10)!important;
  }
  .job-drawer .job-drawer-actions .drawer-action-primary{ grid-column:1 / -1!important; }
  .job-drawer .drawer-action-card{
    min-height:50px!important; display:flex!important; align-items:center!important;
    justify-content:center!important; gap:8px!important; text-align:center!important;
  }
}

/* v133 — mobile calendar: readable, tappable job bars instead of tiny dots */
@media (max-width:640px){
  .ops-month-grid .ops-day{ min-height:auto!important; padding:8px!important; }
  .ops-day-jobs{ gap:5px!important; }
  .ops-mini-job{
    width:auto!important; height:auto!important; min-width:0!important; min-height:32px!important;
    display:flex!important; align-items:center!important; gap:7px!important;
    padding:6px 9px!important; border-radius:9px!important;
  }
  .ops-mini-job i{ width:9px!important; height:9px!important; min-width:9px!important; min-height:9px!important; border-radius:50%!important; flex:0 0 auto!important; }
  .ops-mini-job span{ font-size:12px!important; font-weight:600!important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .ops-mini-job small{ display:none!important; }
  .ops-more-jobs{ min-height:28px!important; display:flex!important; align-items:center!important; font-size:12px!important; }
}

/* v134 — bulk pricing tool */
.bp-prop-list{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.bp-prop-row{display:grid;grid-template-columns:1.4fr 1.6fr auto;gap:14px;align-items:center;padding:14px;border:1px solid #e9edf3;border-radius:14px;background:#fcfdff}
.bp-prop-name{font-weight:700;color:#13263f}
.bp-inputs{display:flex;gap:10px;flex-wrap:wrap}
.bp-inputs label,.bp-set-bar label{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#5b6b80;font-weight:600}
.bp-inputs .input{width:88px}
.bp-apply{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.bp-check{display:flex;align-items:center;gap:6px;font-size:12px;color:#647890}
.bp-check .input{width:150px;padding:5px 7px}
.bp-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.bp-filters select,.bp-filters .input{padding:8px 10px}
.bp-set-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:12px 14px;background:#eef4ff;border:1px solid #d6e4ff;border-radius:12px;margin-bottom:14px}
.bp-set-bar .input{width:88px}
.bp-jobs-table .num{text-align:right}
@media (max-width:820px), (orientation: landscape) and (max-height: 500px){ .bp-prop-row{grid-template-columns:1fr} }

/* v135 — multi-property Timeline board */
.tl-controls{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.tl-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tl-range{font-weight:700;color:#13263f;margin-left:6px}
.tl-scroll{overflow:auto;max-height:calc(100vh - 250px)}
.tl-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}
.tl-table th,.tl-table td{border-bottom:1px solid #eef1f6;border-right:1px solid #f1f4f9}
.tl-corner,.tl-prop{position:sticky;left:0;z-index:3;background:#fff;text-align:left;min-width:184px;max-width:184px;padding:10px 14px}
.tl-table thead th{position:sticky;top:0;z-index:2;background:#f7f9fc}
.tl-corner{z-index:5;top:0;background:#f7f9fc;font-weight:800;color:#13263f}
.tl-dayhead{min-width:96px;max-width:96px;padding:8px 4px;text-align:center;font-weight:600;color:#5b6b80}
.tl-dayhead .tl-dow{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.tl-dayhead .tl-dnum{display:block;font-size:16px;font-weight:800;color:#13263f}
.tl-dayhead .tl-mon{display:block;font-size:10px;color:#9aa7b8}
.tl-dayhead.is-today{background:#eaf1ff}
.tl-dayhead.is-today .tl-dnum{color:#2f6bd0}
.tl-dayhead.is-wknd{background:#fafbfc}
.tl-prop a{font-weight:700;color:#13263f;text-decoration:none;font-size:13.5px}
.tl-prop-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:middle}
.tl-cell{min-width:96px;max-width:96px;vertical-align:top;padding:5px;height:60px}
.tl-cell.is-today{background:#f5f9ff}
.tl-cell.is-wknd{background:#fcfdfe}
.tl-job{display:flex;flex-direction:column;gap:1px;padding:5px 7px;border-radius:8px;text-decoration:none;font-size:11.5px;line-height:1.25;border-left:3px solid transparent;margin-bottom:4px}
.tl-job-cleaner{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-job-price{font-size:10.5px;opacity:.8}
.tl-job.st-completed{background:#dcfce7;color:#166534;border-left-color:#16a34a}
.tl-job.st-in_progress{background:#fef3c7;color:#92400e;border-left-color:#d97706}
.tl-job.st-assigned{background:#e0edff;color:#1e40af;border-left-color:#3b82f6}
.tl-job.st-draft{background:#eef1f6;color:#475569;border-left-color:#94a3b8}
.tl-job.st-cancelled{background:#fee2e2;color:#991b1b;border-left-color:#ef4444}
.tl-job.st-cancelled .tl-job-cleaner{text-decoration:line-through}
.tl-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:#647890}
.tl-legend i.st-dot{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:middle}
.st-dot.st-completed{background:#16a34a}.st-dot.st-in_progress{background:#d97706}.st-dot.st-assigned{background:#3b82f6}.st-dot.st-draft{background:#94a3b8}.st-dot.st-cancelled{background:#ef4444}
.tl-daytabs{flex-wrap:wrap}
@media (max-width:640px){ .tl-corner,.tl-prop{min-width:132px;max-width:132px} .tl-scroll{max-height:none} }

/* v136 — timeline: more compact & professional */
.tl-corner,.tl-prop{min-width:158px!important;max-width:158px!important;padding:8px 12px!important}
.tl-prop a{font-size:12px!important;font-weight:600!important;line-height:1.25!important;text-transform:none!important;letter-spacing:0!important}
.tl-prop-dot{width:8px!important;height:8px!important;margin-right:6px!important}
.tl-dayhead{min-width:74px!important;max-width:74px!important;padding:6px 3px!important}
.tl-dayhead .tl-dow{font-size:9.5px!important}
.tl-dayhead .tl-dnum{font-size:13.5px!important}
.tl-dayhead .tl-mon{font-size:9px!important}
.tl-cell{min-width:74px!important;max-width:74px!important;height:auto!important;min-height:46px!important;padding:4px!important}
.tl-job{padding:4px 6px!important;font-size:10.5px!important;border-radius:7px!important;margin-bottom:3px!important}
.tl-job-price{font-size:9.5px!important}
@media (max-width:640px){ .tl-corner,.tl-prop{min-width:120px!important;max-width:120px!important} }

/* v137 — timeline: clear, smooth horizontal scrolling */
.tl-scroll{overflow-x:auto!important;overflow-y:auto;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}
.tl-scroll::-webkit-scrollbar{height:11px;width:11px}
.tl-scroll::-webkit-scrollbar-thumb{background:#cdd8e8;border-radius:8px;border:2px solid #f4f7fb}
.tl-scroll::-webkit-scrollbar-thumb:hover{background:#b6c4da}
.tl-scroll::-webkit-scrollbar-track{background:#f4f7fb;border-radius:8px}

/* v138 — timeline: red "today" marker line down the current day's column */
.tl-dayhead.is-today{background:#fff1f2!important;border-left:2px solid #f43f5e!important}
.tl-dayhead.is-today .tl-dnum{color:#e11d48!important}
.tl-cell.is-today{background:#fff6f7!important;border-left:2px solid #f43f5e!important}

/* ============================================================
   v140 — UI polish: sidebar brand, collapsed rail, calendar toolbar, login, people access
   ============================================================ */

/* --- sidebar brand: proper mark + wordmark (expanded) --- */
body .sidebar .brand.hc-brand-lockup{
  width:auto!important;height:auto!important;display:flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:flex-start!important;gap:11px!important;
  border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;
  padding:4px 4px 0!important;margin:2px 2px 22px!important;
}
body .sidebar .hc-brand-lockup .brand-logo-image{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:9px!important;}
body .sidebar .hc-brand-copy{display:grid!important;gap:2px!important;line-height:1!important;text-align:left!important;}
body .sidebar .hc-brand-copy strong{color:#fff!important;font-size:14px!important;font-weight:800!important;letter-spacing:.14em!important;}
body .sidebar .hc-brand-copy small{color:rgba(184,199,219,.66)!important;font-size:9.5px!important;font-weight:700!important;letter-spacing:.22em!important;}

/* --- kill any horizontal scrollbar in the sidebar --- */
.sidebar .nav-groups{overflow-x:hidden!important;}

/* --- collapsed rail: centered mark, no overflow, no clipped tooltips --- */
html.sidebar-collapsed .sidebar .brand.hc-brand-lockup{width:44px!important;height:44px!important;justify-content:center!important;margin:2px auto 18px!important;padding:0!important;}
html.sidebar-collapsed .sidebar .hc-brand-lockup .brand-logo-image{width:30px!important;height:30px!important;flex:0 0 30px!important;}
html.sidebar-collapsed .sidebar .nav-groups{overflow-x:hidden!important;overflow-y:auto!important;}
html.sidebar-collapsed .sidebar .nav-link::after,
html.sidebar-collapsed .sidebar .sidebar-user-bottom::after,
html.sidebar-collapsed .sidebar .sidebar-collapse-btn::after{display:none!important;}
html.sidebar-collapsed .sidebar .sidebar-user-avatar{margin:0 auto!important;}

/* --- calendar toolbar: slimmer view toggle + month switcher --- */
.view-toggle{padding:3px!important;border-radius:11px!important;box-shadow:none!important;gap:2px!important;}
.view-toggle a,.view-toggle span{min-height:30px!important;padding:0 13px!important;font-size:12.5px!important;font-weight:600!important;border-right:0!important;border-radius:8px!important;}
.view-toggle .active{background:#eef5ff!important;color:#2563eb!important;box-shadow:none!important;}
.month-switcher{padding:3px 6px!important;box-shadow:none!important;border-radius:11px!important;gap:4px!important;}
.month-switcher a{width:30px!important;height:30px!important;font-size:18px!important;}
.month-switcher strong{min-width:104px!important;font-size:13.5px!important;}

/* --- login: use full width so the two-panel card isn't cramped --- */
.login-shell{width:100%!important;}

/* --- people: activation/access badges --- */
.acc-badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.4}
.acc-green{background:#dcfce7;color:#166534}
.acc-amber{background:#fef3c7;color:#92400e}
.acc-slate{background:#eef1f6;color:#475569}

/* v144 — mobile shell: stop the bottom nav covering drawers & the cleaner action bar; honour reduced motion */
body:has(.job-drawer.open) .mobile-bottom-nav{display:none!important;}
body.page-cleaner_job .mobile-bottom-nav{display:none!important;}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
}

/* v145 — nav scrollbars hidden, collapsible groups, compact calendar KPIs, side panel no-scroll */
.sidebar .nav-groups{ scrollbar-width:none!important; -ms-overflow-style:none!important; overflow-x:hidden!important; }
.sidebar .nav-groups::-webkit-scrollbar{ width:0!important; height:0!important; display:none!important; }

.nav-group > .nav-group-label{ display:flex!important; align-items:center!important; justify-content:space-between!important; background:transparent!important; border:0!important; cursor:pointer!important; text-align:left!important; }
.nav-group-chevron{ width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform .18s ease; opacity:.55; margin-right:6px; }
html:not(.sidebar-collapsed) .nav-group.is-collapsed .nav{ display:none!important; }
html:not(.sidebar-collapsed) .nav-group.is-collapsed .nav-group-chevron{ transform:rotate(-45deg); }
html.sidebar-collapsed .nav-group .nav{ display:flex!important; flex-direction:column!important; align-items:center!important; gap:4px!important; }
html.sidebar-collapsed .sidebar .nav-link{ width:44px!important; margin-left:auto!important; margin-right:auto!important; }
html.sidebar-collapsed .nav-group-chevron{ display:none!important; }

.ops-kpi-card{ padding:12px 14px!important; gap:10px!important; }
.ops-kpi-card strong{ font-size:20px!important; }
.ops-kpi-card .kpi-icon{ width:34px!important; height:34px!important; font-size:15px!important; }
.ops-kpi-card small{ font-size:12px!important; }
.ops-kpi-card em{ font-size:11px!important; }

.ops-side-panel{ max-height:none!important; overflow:visible!important; }

/* v146 — real fixes (now that fresh CSS actually loads) */
/* login: the split shrinks to content unless told to fill — this was the squash */
.login-split{ width:min(940px,100%)!important; }
/* nav section labels are <button>s — kill native button chrome (the "boxes"/lines) */
.nav-group > .nav-group-label{ -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important; outline:none!important; box-shadow:none!important; border-radius:0!important; padding:0!important; margin:14px 12px 6px!important; }
.nav-group > .nav-group-label:focus-visible{ outline:2px solid #3b82f6!important; outline-offset:2px; border-radius:6px!important; }
/* calendar KPI widgets: genuinely compact (min-height was keeping them tall) */
.ops-kpi-row{ gap:10px!important; }
.ops-kpi-card{ min-height:0!important; padding:11px 13px!important; }
.ops-kpi-card strong{ font-size:19px!important; }
.ops-kpi-card .kpi-icon{ width:32px!important; height:32px!important; }

/* v148 — clean logo mark render + genuinely compact KPI widgets */
.brand-logo-image,.login-brand-chip-img{ border-radius:50%!important; background:transparent!important; object-fit:contain!important; }
.ops-kpi-row{ gap:8px!important; grid-template-columns:repeat(auto-fit,minmax(148px,1fr))!important; }
.ops-kpi-card{ min-height:0!important; padding:10px 12px!important; gap:9px!important; border-radius:12px!important; align-items:center!important; }
.ops-kpi-card strong{ font-size:18px!important; }
.ops-kpi-card small{ margin-top:1px!important; font-size:11px!important; }
.ops-kpi-card em{ margin-top:1px!important; font-size:10px!important; }
.ops-kpi-card .kpi-icon{ width:30px!important; height:30px!important; font-size:14px!important; }

/* v150 — inline "Send setup link" action in People table */
.table-inline-link{ display:inline-block; margin-top:5px; font-size:12px; font-weight:600; color:var(--brand-primary,#185FA5); text-decoration:none; }
.table-inline-link:hover{ text-decoration:underline; }

/* ============================================================
   v153 — compact nav, uniform+polished timeline, calendar panel
   ============================================================ */

/* --- Nav: tighter so it fits without scrolling --- */
.sidebar .nav-groups{ gap:4px!important; }
.sidebar .nav-group{ gap:1px!important; }
.sidebar .nav-group-label{ margin:9px 12px 3px!important; font-size:10px!important; }
.sidebar .nav-link{ padding:8px 12px!important; }

/* --- Timeline: every row the same height + cleaner grid --- */
.tl-cell,.tl-prop{ height:56px!important; box-sizing:border-box!important; }
.tl-prop{ vertical-align:middle!important; }
.tl-cell{ vertical-align:middle!important; }
.tl-table tbody tr:nth-child(even) .tl-cell:not(.is-today){ background:#fbfcfe!important; }
.tl-table tbody tr:hover .tl-cell:not(.is-today){ background:#f4f9ff!important; }
.tl-job{ margin-bottom:0!important; box-shadow:0 1px 2px rgba(15,23,42,.07)!important; }
.tl-prop-dot{ box-shadow:0 0 0 2px #fff!important; }

/* --- Calendar: side panel starts at the top, static on smaller screens --- */
.ops-side-panel{ align-self:start!important; top:14px!important; }
.ops-side-panel .selected-day-panel{ margin-top:0!important; }
@media (max-width:1100px){ .ops-side-panel{ position:static!important; top:auto!important; } }

/* v157 — safety net: never leave the auth panel invisible if the reveal class
   doesn't land (e.g. a page without the loader element, or app.js blocked). */
body:not(.page-ready) .login-shell { animation: hc-auth-reveal .3s ease .6s forwards; }
@keyframes hc-auth-reveal { to { opacity:1; transform:none; } }

/* v165 — brand wordmark to match the "Hodders." logo + dashboard chart sizing */
.hc-brand-copy strong{ text-transform:none !important; letter-spacing:-0.01em; }
.hc-brand-copy .brand-dot{ color:#88c8f8; }
.trend-svg{ width:100%; height:auto; display:block; }

/* v166 — AI briefing card */
.ai-briefing-card .section-title{ display:inline-flex; align-items:center; }
.ai-badge{ display:inline-block; font-size:10px; font-weight:800; letter-spacing:.06em; color:#2f6fb0; background:#eaf3fc; border-radius:6px; padding:2px 7px; vertical-align:middle; margin-left:8px; }
.ai-briefing-body{ margin-top:6px; }
.ai-brief-list{ margin:10px 0 0; padding-left:20px; }
.ai-brief-list li{ margin:7px 0; line-height:1.55; }
.ai-brief-foot{ margin-top:12px; font-size:12px; }

/* v167 — dashboard smart alerts */
.dash-alerts{ display:flex; flex-direction:column; margin-top:8px; }
.dash-alert{ display:flex; align-items:center; gap:12px; padding:13px 8px; text-decoration:none; color:inherit; border-bottom:0.5px solid #eef2f7; border-radius:8px; transition:background .12s ease; }
.dash-alert:last-child{ border-bottom:none; }
.dash-alert:hover{ background:#f6f9fd; }
.dash-alert-dot{ width:9px; height:9px; border-radius:50%; flex:0 0 auto; background:#94a3b8; }
.dash-alert.tone-red .dash-alert-dot{ background:#e24b4a; }
.dash-alert.tone-amber .dash-alert-dot{ background:#ef9f27; }
.dash-alert.tone-blue .dash-alert-dot{ background:#378add; }
.dash-alert-text{ display:flex; flex-direction:column; flex:1; min-width:0; }
.dash-alert-text strong{ font-weight:600; font-size:14px; color:#13263f; line-height:1.35; }
.dash-alert-text small{ color:#64748b; font-size:12.5px; margin-top:1px; }
.dash-alert-arrow{ color:#9aa7b8; font-size:16px; flex:0 0 auto; }

/* v168 — AI draft-from-listing panel */
.ai-listing-panel{ border:1px solid #d9e6f5; background:#f6fafe; border-radius:12px; padding:16px 18px; margin-bottom:18px; }
.ai-listing-head{ font-weight:600; font-size:15px; color:#13263f; }
.ai-listing-sug{ margin-top:12px; }
.ai-sug-card{ background:#fff; border:0.5px solid #e2e8f0; border-radius:10px; padding:12px 14px; font-size:13.5px; color:#334155; }
.ai-sug-line{ margin:6px 0; line-height:1.5; }
.ai-sug-line strong{ color:#13263f; }
.ai-sug-line ul{ margin:6px 0 0; padding-left:18px; }
.ai-sug-line li{ margin:3px 0; }

/* v170 — multiple photos per room (slot thumbnail strip + add tile) */
.photo-slot-card{ display:block; background:#fff; border:1px solid #e2e8f0; padding:12px !important; }
.photo-slot-card.completed{ border-color:#bfe0c8 !important; }
.slot-card-head{ display:flex; align-items:center; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
.slot-card-head .slot-label{ font-weight:600; color:#13263f; font-size:14px; }
.slot-card-head .slot-required{ font-size:11px; font-weight:600; color:#b4531f; background:#fdeee2; padding:2px 7px; border-radius:20px; }
.slot-card-head .photo-slot-hint{ font-size:11px; color:#94a3b8; }
.slot-card-head .slot-count{ margin-left:auto; font-size:12px; color:#1c7a43; font-weight:600; }
.slot-thumbs{ display:flex; flex-wrap:wrap; gap:8px; }
.photo-slot-card .slot-thumb{ position:relative; width:84px; height:84px; min-height:0; border-radius:10px; overflow:hidden; border:0.5px solid #e2e8f0; display:inline-block; }
.photo-slot-card .slot-thumb img{ width:100%; height:100% !important; object-fit:cover; display:block; }
.slot-thumb-del{ position:absolute; top:3px; right:3px; width:22px; height:22px; border:none !important; border-radius:50%; background:rgba(19,38,63,.72); color:#fff; font-size:15px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; }
.slot-thumb-del:hover{ background:#e24b4a; }
.photo-slot-card .slot-add{ width:84px; height:84px; min-height:0; border-radius:10px; border:1.5px dashed #b7c6da; background:#f6fafe; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; cursor:pointer; color:#2f6fb0; }
.slot-add input[type=file]{ display:none; }
.slot-add-plus{ font-size:22px; font-weight:400; line-height:1; }
.slot-add-text{ font-size:11px; font-weight:600; }
.photo-slot-card.is-uploading .slot-add{ opacity:.5; }

/* v179 — timeline sticky layering: dates never overlap the frozen property column */
.tl-table thead th{ z-index:2 !important; }
.tl-corner,.tl-prop{ z-index:4 !important; background:#fff !important; }
.tl-corner{ z-index:6 !important; background:#f7f9fc !important; }
.tl-prop{ box-shadow:1px 0 0 #e6ebf3; }
.tl-corner{ box-shadow:1px 0 0 #e6ebf3; }
.tl-table tbody tr:nth-child(even) .tl-prop{ background:#fff !important; }
.tl-table tbody tr:hover .tl-prop{ background:#f4f9ff !important; }

/* v187 — pricing/property wizard */
.property-wizard{max-width:1180px;margin:0 auto;display:grid;gap:16px;padding-bottom:92px}
.wizard-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;position:sticky;top:8px;z-index:8;padding:9px;background:rgba(247,251,255,.94);border:1px solid var(--border);border-radius:18px;backdrop-filter:blur(14px)}
.wizard-rail-step{border:0;background:transparent;color:var(--muted);border-radius:12px;padding:9px 7px;display:flex;align-items:center;gap:8px;justify-content:center;cursor:pointer;min-width:0}
.wizard-rail-step span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e9f2f8;color:#52718c;font-size:12px;font-weight:800;flex:0 0 auto}
.wizard-rail-step strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wizard-rail-step.is-active{background:#e9f7ff;color:#126ea7}.wizard-rail-step.is-active span{background:var(--primary-2);color:#fff}
.wizard-rail-step.is-complete span{background:#19a466;color:#fff}
.wizard-progress{height:5px;background:#e6f0f6;border-radius:99px;overflow:hidden}.wizard-progress span{display:block;height:100%;width:16.66%;background:linear-gradient(90deg,var(--primary),var(--primary-2));transition:width .25s ease}
.wizard-panel{scroll-margin-top:92px;min-height:390px}.wizard-panel[hidden]{display:none!important}
.wizard-heading{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px}.wizard-heading>span{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#e9f7ff;color:#147ebd;font-weight:850;flex:0 0 auto}.wizard-heading h2{margin:1px 0 4px;font-size:21px}.wizard-heading p{margin:0;color:var(--muted);line-height:1.5}
.wizard-actions{position:fixed;z-index:20;left:calc(232px + 22px);right:22px;bottom:14px;background:rgba(255,255,255,.94);border:1px solid var(--border);box-shadow:0 16px 40px rgba(23,50,77,.14);backdrop-filter:blur(16px);border-radius:18px;padding:10px 12px;display:flex;align-items:center;gap:10px;justify-content:flex-end}.wizard-actions .muted{margin-right:auto}
.catalogue-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(360px,1.15fr);gap:16px;margin-bottom:16px}.catalogue-picker{border:1px solid var(--border);border-radius:16px;padding:8px;background:#f9fcfe;max-height:520px;overflow:auto}.catalogue-picker details+details{border-top:1px solid #e8f0f5}.catalogue-picker summary{padding:12px 10px;font-weight:800;cursor:pointer}.catalogue-options{display:grid;gap:7px;padding:0 6px 10px}.catalogue-option{border:1px solid #d9e8f2;background:#fff;color:var(--text);padding:11px 12px;border-radius:12px;display:flex;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}.catalogue-option:hover{border-color:#8dd4ff;background:#f2faff}.catalogue-option strong{color:#1779b6;font-size:12px;white-space:nowrap}
.room-plan-head{display:flex;justify-content:space-between;align-items:center;margin:2px 0 10px}.room-plan-head span{font-size:12px;color:var(--muted);background:#eef5f9;border-radius:99px;padding:5px 9px}.room-plan-list{display:grid;gap:8px;min-height:120px;border-radius:14px}.room-plan-list:empty:before{content:'Add rooms and tasks from the catalogue';display:grid;place-items:center;min-height:150px;border:1px dashed #bfd4e2;border-radius:14px;color:var(--muted);background:#fbfdff}.room-plan-list.has-error:empty:before{border-color:#dd665f;background:#fff6f5;color:#a63731}.room-plan-item{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(120px,.8fr) minmax(150px,1fr) 38px;gap:8px;align-items:center;border:1px solid #e0ebf2;border-radius:14px;padding:10px;background:#fff}.room-plan-item>div{display:flex;flex-direction:column;min-width:0}.room-plan-item small{color:var(--muted);font-size:11px;margin-top:3px}.room-plan-item .input{min-height:40px}.icon-btn{width:36px;height:36px;border:0;border-radius:11px;background:#f3f7fa;color:#7a8c9e;font-size:20px;cursor:pointer}.icon-btn:hover{background:#fdebec;color:#b42318}
.guide-disclaimer{display:flex;flex-direction:column;gap:4px;border:1px solid #f2cf7f;background:#fff9e9;color:#74520b;padding:15px 16px;border-radius:15px;margin-bottom:16px}.guide-disclaimer span{font-size:13px}.pricing-guide-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pricing-guide-grid .value-lite{font-size:22px}.soft-card>summary{cursor:pointer;padding:14px;font-weight:750}
.money-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.money-preview>div{padding:13px;border-radius:13px;background:#f5f9fc;display:flex;flex-direction:column;gap:4px}.money-preview span{font-size:12px;color:var(--muted)}.money-preview strong{font-size:18px}.money-preview .is-total{background:#eaf7ff;color:#106faa}.money-preview.has-loss .is-total{background:#fdebec;color:#b42318}.check-card{display:flex;gap:11px;align-items:flex-start;border:1px solid var(--border);border-radius:14px;padding:13px;background:#fff;cursor:pointer}.check-card input{margin-top:3px}.check-card span{display:flex;flex-direction:column;gap:3px}.check-card small{color:var(--muted);line-height:1.35}.review-summary{display:grid;gap:1px;border:1px solid var(--border);border-radius:16px;overflow:hidden}.review-summary>div{display:flex;justify-content:space-between;gap:18px;padding:15px 16px;background:#fbfdff}.review-summary>div+div{border-top:1px solid var(--border)}.review-summary span{color:var(--muted)}
@media(max-width:980px){.wizard-rail{grid-template-columns:repeat(3,1fr)}.catalogue-layout{grid-template-columns:1fr}.pricing-guide-grid,.money-preview{grid-template-columns:repeat(2,1fr)}.room-plan-item{grid-template-columns:1fr 1fr 38px}.room-plan-item>div{grid-column:1/-1}.wizard-actions{left:18px}}
@media(max-width:640px){.property-wizard{padding-bottom:104px}.wizard-rail{display:flex;overflow-x:auto;justify-content:flex-start;top:4px}.wizard-rail-step{min-width:58px;padding:7px}.wizard-rail-step strong{display:none}.wizard-panel{min-height:0}.wizard-heading h2{font-size:19px}.wizard-actions{left:10px;right:10px;bottom:9px}.wizard-actions .muted{display:none}.wizard-actions .btn{flex:1}.pricing-guide-grid,.money-preview{grid-template-columns:1fr 1fr}.room-plan-item{grid-template-columns:1fr 38px}.room-plan-item>input{grid-column:1/-1}.room-plan-item .icon-btn{grid-column:2;grid-row:1}.review-summary>div{flex-direction:column;gap:5px}.catalogue-picker{max-height:360px}}

/* v187 — Pricing Centre */
.pricing-status{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border:1px solid #CBD5E1;border-radius:5px;background:#F8FAFC;color:#475569;font-size:11px;font-weight:700;line-height:1.1}.pricing-status-success{border-color:#A7F3D0;background:#ECFDF5;color:#047857}.pricing-status-warning{border-color:#FDE68A;background:#FFFBEB;color:#92400E}.pricing-status-danger{border-color:#FECDD3;background:#FFF1F2;color:#BE123C}.pricing-status-info{border-color:#BFDBFE;background:#EFF6FF;color:#1D4ED8}.pricing-status-neutral{border-color:#E2E8F0;background:#F8FAFC;color:#475569}
.pricing-queue-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 16px}.pricing-queue-card{display:flex;min-height:86px;flex-direction:column;justify-content:space-between;padding:14px;border:1px solid #D8E0EA;border-radius:10px;background:#fff;color:#344054;text-decoration:none;box-shadow:0 1px 2px rgba(15,23,42,.03)}.pricing-queue-card span{font-size:12px;font-weight:650}.pricing-queue-card strong{font-size:26px;line-height:1;color:#0F172A}.pricing-queue-card:hover,.pricing-queue-card.is-active{border-color:#7AA7D8;background:#F2F7FC}.pricing-queue-card.is-active{box-shadow:inset 0 3px 0 #2F6DA8}.focus-return{margin:-4px 0 14px}.focus-return a{font-size:13px;font-weight:650;color:#2F6DA8}.pricing-centre-list{display:grid;gap:14px}.pricing-property-card{overflow:visible}.pricing-property-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.pricing-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pricing-title-line h2{margin:0;font-size:18px}.pricing-property-head p{margin:5px 0 0;color:var(--muted);font-size:13px}.pricing-centre-columns{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr) minmax(220px,.8fr);gap:10px}.pricing-stage-panel{min-width:0;padding:14px;border:1px solid #E2E8F0;border-radius:9px;background:#F8FAFC}.pricing-stage-panel.is-commercial{background:#fff}.pricing-stage-panel.is-actions{background:#F7FAFC}.pricing-stage-label{margin-bottom:11px;color:#64748B;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.055em}.pricing-number-row,.pricing-money-stack>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:5px 0}.pricing-number-row strong{font-size:17px}.pricing-number-row span,.pricing-money-stack span{color:#64748B;font-size:12px}.pricing-stage-panel p{margin:9px 0 0;color:#64748B;font-size:12px;line-height:1.45}.pricing-money-stack strong{font-size:14px}.pricing-money-stack .is-total{margin-top:5px;padding-top:9px;border-top:1px solid #CBD5E1}.pricing-money-stack .is-total strong{font-size:18px;color:#0F766E}.accepted-baseline{margin-top:10px;padding:8px;border-radius:6px;background:#EFF6FF;color:#1E40AF;font-size:11px;line-height:1.4}.compact-action-form{display:grid;gap:9px}.compact-action-form label,.pricing-editor-form label{display:grid;gap:5px;color:#475467;font-size:11px;font-weight:650}.accepted-state{display:grid;gap:4px;margin-bottom:12px}.accepted-state strong{color:#047857}.accepted-state span{font-size:12px;color:#64748B}.pricing-editor{margin-top:12px;border-top:1px solid #E2E8F0}.pricing-editor>summary{cursor:pointer;padding:13px 2px 3px;color:#2F6DA8;font-size:12px;font-weight:700}.pricing-editor-form{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr)) minmax(180px,1.35fr) auto auto;gap:10px;align-items:end;padding-top:11px}.pricing-live-remainder{display:grid;gap:4px;min-width:140px}.pricing-live-remainder span{color:#64748B;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.pricing-live-remainder strong{font-size:18px;color:#0F766E}.pricing-live-remainder strong.is-negative{color:#BE123C}
@media(max-width:1100px){.pricing-queue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pricing-centre-columns{grid-template-columns:1fr 1fr}.pricing-stage-panel.is-actions{grid-column:1/-1}.pricing-editor-form{grid-template-columns:repeat(3,1fr)}.pricing-editor-form .is-wide{grid-column:1/-1}}
@media(max-width:700px){.pricing-queue-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.pricing-queue-card{min-width:142px;scroll-snap-align:start}.pricing-property-head{display:grid}.pricing-property-head .actions-inline{width:100%}.pricing-property-head .actions-inline .btn{flex:1}.pricing-centre-columns{grid-template-columns:1fr}.pricing-stage-panel.is-actions{grid-column:auto}.pricing-editor-form{grid-template-columns:1fr}.pricing-editor-form .is-wide{grid-column:auto}.pricing-editor-form .btn{width:100%}}

/* v189 — discoverable historical pricing repair and restored property steps */
.invoice-snapshot-repair,.pricing-repair-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:15px;padding:15px 16px;border:1px solid #f5c96a;border-radius:11px;background:#fffbeb}.invoice-snapshot-repair>div,.pricing-repair-banner>div{display:grid;gap:4px}.invoice-snapshot-repair strong,.pricing-repair-banner strong{color:#78350f;font-size:14px}.invoice-snapshot-repair span,.pricing-repair-banner p{margin:0;color:#854d0e;font-size:11.5px;line-height:1.45}.invoice-snapshot-repair .btn,.pricing-repair-banner .btn{flex:0 0 auto}.pricing-repair-banner{margin-bottom:14px}.pricing-repair-banner .eyebrow{color:#a16207}
@media(max-width:700px){.invoice-snapshot-repair,.pricing-repair-banner{align-items:stretch;flex-direction:column}.invoice-snapshot-repair .btn,.pricing-repair-banner .btn{width:100%}}

/* v191 — invoice-scoped historical pricing repair */
.invoice-manual-repair{display:grid;gap:10px;margin-top:12px}.invoice-repair-row{display:grid;grid-template-columns:minmax(210px,1fr) minmax(520px,2fr);gap:18px;align-items:end;padding:14px;border:1px solid #dbe4f0;border-radius:11px;background:#fff}.invoice-repair-row.is-unselected{opacity:.58}.invoice-repair-clean{display:flex;align-items:center;gap:10px;min-width:0}.invoice-repair-clean>span{display:grid;gap:3px;min-width:0}.invoice-repair-clean strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.invoice-repair-clean small{color:#64748b;font-size:11.5px}.invoice-repair-fields{display:grid;grid-template-columns:repeat(4,minmax(105px,1fr));gap:10px;align-items:end}.invoice-repair-fields>label,.invoice-repair-manager{display:grid;gap:5px}.invoice-repair-fields>label>span:first-child,.invoice-repair-manager>span{color:#475569;font-size:10.5px;font-weight:700}.money-input,.percent-input{display:flex;align-items:center;min-height:38px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;overflow:hidden}.money-input b,.percent-input b{padding:0 0 0 10px;color:#64748b;font-size:12px}.percent-input b{padding:0 10px 0 0}.money-input input,.percent-input input{width:100%;min-width:0;border:0!important;box-shadow:none!important;padding:8px 9px!important;background:transparent!important}.invoice-repair-manager{padding:0 10px 7px}.invoice-repair-manager strong{font-size:15px}.invoice-repair-row.has-loss .invoice-repair-manager strong{color:#b91c1c}.invoice-repair-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:2px}.invoice-repair-actions>span{max-width:720px;color:#64748b;font-size:11.5px;line-height:1.45}.invoice-repair-actions .btn{flex:0 0 auto}
@media(max-width:980px){.invoice-repair-row{grid-template-columns:1fr}.invoice-repair-fields{grid-template-columns:repeat(2,minmax(120px,1fr))}}@media(max-width:620px){.invoice-repair-fields{grid-template-columns:1fr}.invoice-repair-actions{align-items:stretch;flex-direction:column}.invoice-repair-actions .btn{width:100%}}

/* v187 — property pricing and room-plan view */
.property-plan-pricing-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:16px}.room-timing-list{display:grid;margin-top:14px}.room-timing-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 2px;border-top:1px solid #E2E8F0}.room-timing-row>div{display:grid;gap:3px}.room-timing-row span{color:#64748B;font-size:11px}.room-timing-row b{white-space:nowrap;color:#2F6DA8;font-size:12px}.pricing-money-stack-large{margin-top:14px}.pricing-money-stack-large>div{padding:9px 0}.pricing-money-stack-large strong{font-size:17px}.client-price-offer{display:grid;gap:5px;margin-top:15px;padding:18px;border:1px solid #BFDBFE;border-radius:10px;background:#EFF6FF}.client-price-offer>span{color:#1E40AF;font-size:12px;font-weight:700}.client-price-offer>strong{font-size:31px;color:#172033}.client-price-offer p{margin:2px 0 0;color:#475569;font-size:12px;line-height:1.45}.client-price-offer.is-accepted{border-color:#A7F3D0;background:#ECFDF5}.client-price-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.client-price-actions form{display:grid;align-content:start;gap:8px;padding:12px;border:1px solid #E2E8F0;border-radius:9px;background:#fff}.client-price-actions label{display:grid;gap:6px;color:#475569;font-size:11px;font-weight:650}.admin-guide-box{display:grid;gap:4px;margin:14px 0;padding:12px;border:1px solid #FDE68A;border-radius:8px;background:#FFFBEB}.admin-guide-box span{font-size:11px;font-weight:700;color:#92400E}.admin-guide-box strong{font-size:21px}.admin-guide-box small{color:#64748B;line-height:1.4}.pricing-history-list{display:grid;margin-top:12px}.pricing-history-list>div{display:grid;grid-template-columns:1fr auto;gap:4px 14px;padding:11px 0;border-top:1px solid #E2E8F0}.pricing-history-list small{grid-column:1/-1;color:#64748B}
@media(max-width:850px){.property-plan-pricing-grid{grid-template-columns:1fr}}
@media(max-width:620px){.client-price-actions{grid-template-columns:1fr}.client-price-offer>strong{font-size:27px}}
.settings-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settings-rule-grid>div{display:grid;grid-template-columns:32px 1fr;gap:4px 10px;align-items:start;padding:14px;border:1px solid #E2E8F0;border-radius:9px;background:#F8FAFC}.settings-rule-grid>div>span{grid-row:1/3;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#E0EFFC;color:#185FA5;font-size:12px;font-weight:800}.settings-rule-grid small{color:#64748B;line-height:1.45}.settings-rule-grid strong{font-size:13px}@media(max-width:650px){.settings-rule-grid{grid-template-columns:1fr}}

/* v187 — one shared role-aware pricing summary */
.pricing-summary{margin-bottom:16px;padding:17px 18px;border:1px solid #D8E3ED;border-radius:11px;background:#fff;box-shadow:0 2px 7px rgba(15,23,42,.035)}.pricing-summary-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}.pricing-summary-head>div:first-child{display:grid;gap:4px}.pricing-summary-kicker{color:#64748B;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.055em}.pricing-summary-head>div:first-child>strong{font-size:16px}.pricing-summary-chips{display:flex;gap:6px;flex-wrap:wrap}.pricing-client-total{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:15px;border-radius:9px;background:#EFF6FF;color:#1E3A5F}.pricing-client-total span{font-size:12px;font-weight:650}.pricing-client-total strong{font-size:29px}.pricing-vat-note{margin-top:9px;color:#64748B;font-size:11px;line-height:1.45}.pricing-line-list{display:grid;margin-top:11px;border-top:1px solid #E2E8F0}.pricing-line-list>div{display:flex;justify-content:space-between;gap:12px;padding:8px 1px;border-bottom:1px solid #EDF2F7;font-size:12px}.pricing-line-list span{color:#475569}.pricing-cleaner-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pricing-cleaner-grid>div{display:grid;gap:5px;padding:13px;border-radius:8px;background:#F8FAFC}.pricing-cleaner-grid span{color:#64748B;font-size:11px}.pricing-cleaner-grid strong{font-size:19px}.pricing-cleaner-grid .is-total{background:#ECFDF5;color:#047857}.pricing-snapshot-foot{margin-top:9px;color:#94A3B8;font-size:10px}.pricing-summary-review{display:flex;padding:14px 16px;border-color:#FDE68A;background:#FFFBEB}.pricing-summary-review>div{display:grid;gap:3px}.pricing-summary-review span{color:#92400E;font-size:12px}.pricing-summary.is-compact{padding:13px}.pricing-summary.is-compact .pricing-summary-head{margin-bottom:8px}.pricing-summary.is-compact .pricing-money-stack-large>div{padding:5px 0}
@media(max-width:620px){.pricing-summary{padding:14px}.pricing-summary-head{display:grid}.pricing-cleaner-grid{grid-template-columns:1fr}.pricing-client-total strong{font-size:25px}}
.allocation-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0 10px}.allocation-toolbar>div:first-child{display:grid;gap:3px}.allocation-toolbar span{color:#64748B;font-size:11px}.allocation-list{display:grid;gap:8px}.allocation-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(130px,.45fr) 38px;gap:9px;align-items:end;padding:11px;border:1px solid #E2E8F0;border-radius:9px;background:#F8FAFC}.allocation-row label{display:grid;gap:5px;color:#475569;font-size:11px;font-weight:650}.assignment-balance{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}.assignment-balance>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:12px;border-radius:8px;background:#EFF6FF}.assignment-balance span{color:#64748B;font-size:11px}.assignment-balance strong{font-size:18px}.assignment-balance>[data-preview-message]{grid-column:1/-1;padding:0 2px}.assignment-balance.has-loss>div{background:#FFF1F2;color:#BE123C}@media(max-width:650px){.allocation-toolbar{display:grid}.allocation-toolbar .actions-inline{width:100%}.allocation-toolbar .btn{flex:1}.allocation-row{grid-template-columns:1fr 38px}.allocation-row label{grid-column:1/-1}.allocation-row .icon-btn{grid-column:2;grid-row:1}.assignment-balance{grid-template-columns:1fr}}
.charge-review-list{display:grid;margin-top:15px}.charge-review-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #E2E8F0}.charge-review-row>div:first-child{display:grid;justify-items:start;gap:5px}.charge-review-row small{color:#64748B;font-size:11px;line-height:1.45}.charge-price-form{display:flex;align-items:end;gap:7px;flex-wrap:wrap;justify-content:flex-end}.charge-price-form label{display:grid;gap:4px;color:#64748B;font-size:10px}.charge-price-form .input,.charge-price-form select{min-width:105px;max-width:145px}.charge-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.charge-action-grid details{border:1px solid #E2E8F0;border-radius:9px;background:#F8FAFC}.charge-action-grid summary{cursor:pointer;padding:13px;color:#344054;font-size:12px;font-weight:700}.charge-action-grid form{display:grid;gap:9px;padding:0 13px 13px}.charge-action-grid label{display:grid;gap:5px;color:#475569;font-size:11px;font-weight:650}.charge-action-grid label>span{color:#94A3B8;font-weight:500}.charge-action-grid textarea{min-height:72px}.charge-action-grid .pricing-live-remainder{padding:9px;border-radius:7px;background:#EFF6FF}@media(max-width:900px){.charge-action-grid{grid-template-columns:1fr 1fr}.charge-review-row{grid-template-columns:1fr}.charge-price-form{justify-content:flex-start}}@media(max-width:620px){.charge-action-grid{grid-template-columns:1fr}.charge-price-form{display:grid;grid-template-columns:1fr 1fr}.charge-price-form label{grid-column:1/-1}.charge-price-form .input,.charge-price-form select{max-width:none}.charge-price-form .btn{width:100%}}
.pricing-room-details{margin-top:11px;border-top:1px solid #E2E8F0}.pricing-room-details summary{cursor:pointer;padding:10px 0 2px;color:#2F6DA8;font-size:11px;font-weight:700}.pricing-room-timings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-top:10px}.pricing-room-timings>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #EDF2F7;font-size:11px}.pricing-room-timings span{color:#475569}.pricing-room-timings strong{white-space:nowrap;color:#2F6DA8}@media(max-width:560px){.pricing-room-timings{grid-template-columns:1fr}}

/* v187 — final sidebar brand lockup.
   The mark remains an SVG and the wordmark remains live text, so both render
   sharply at every scale. This deliberately overrides the historical brand
   sizing patches above with one centred, responsive source of truth. */
@media (min-width:821px){
  body .sidebar .brand.hc-brand-lockup{
    box-sizing:border-box!important;
    width:100%!important;
    min-height:64px!important;
    margin:0 0 18px!important;
    padding:8px 6px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body .sidebar .hc-brand-lockup .brand-logo-image{
    width:46px!important;
    height:46px!important;
    flex:0 0 46px!important;
    display:block!important;
    object-fit:contain!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    box-shadow:none!important;
    filter:none!important;
  }
  body .sidebar .hc-brand-copy{
    min-width:0!important;
    display:grid!important;
    gap:5px!important;
    line-height:1!important;
    text-align:left!important;
    transform:translateY(1px);
  }
  body .sidebar .hc-brand-copy strong{
    color:#fff!important;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    font-size:19px!important;
    line-height:.92!important;
    font-weight:800!important;
    letter-spacing:-.035em!important;
    text-transform:none!important;
    white-space:nowrap!important;
  }
  body .sidebar .hc-brand-copy .brand-dot{color:#41b6ff!important;}
  body .sidebar .hc-brand-copy small{
    color:#b9c7d6!important;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:.25em!important;
    text-indent:.02em!important;
    white-space:nowrap!important;
  }
  html.sidebar-collapsed .sidebar .brand.hc-brand-lockup{
    width:48px!important;
    min-height:48px!important;
    height:48px!important;
    margin:2px auto 18px!important;
    padding:0!important;
    justify-content:center!important;
  }
  html.sidebar-collapsed .sidebar .hc-brand-lockup .brand-logo-image{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }
  html.sidebar-collapsed .sidebar .hc-brand-copy{display:none!important;}
}

/* v187 — focused five-step property setup.
   The live plan is the single guide surface: desktop sidebar, compact mobile
   sticky card. Commercial values remain separate and explicitly accepted. */
.property-wizard{
  max-width:1360px;
  grid-template-columns:minmax(0,1fr) 316px;
  align-items:start;
}
.property-wizard .wizard-rail,
.property-wizard .wizard-progress{grid-column:1/-1;}
.property-wizard .wizard-rail{grid-template-columns:repeat(5,minmax(0,1fr));}
.property-wizard .wizard-progress span{width:20%;}
.property-wizard .wizard-panel{grid-column:1;grid-row:3;min-width:0;}
.wizard-live-summary{
  grid-column:2;
  grid-row:3;
  position:sticky;
  top:88px;
  z-index:7;
  padding:18px;
  border:1px solid #d8e3ed;
  border-radius:14px;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.075);
}
.wizard-summary-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:14px;border-bottom:1px solid #e7edf4;}
.wizard-summary-head>div{display:grid;gap:4px;min-width:0;}
.wizard-summary-head>div>span{color:#64748b;font-size:10px;font-weight:750;letter-spacing:.075em;text-transform:uppercase;}
.wizard-summary-head>div>strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wizard-summary-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px;}
.wizard-summary-metrics>div{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid #e5ebf2;border-radius:10px;background:#f8fafc;}
.wizard-summary-metrics>div.is-primary{border-color:#bfdbfe;background:#eff6ff;}
.wizard-summary-metrics span{color:#64748b;font-size:10.5px;font-weight:650;}
.wizard-summary-metrics strong{color:#0f172a;font-size:19px;letter-spacing:-.02em;white-space:nowrap;}
.wizard-summary-metrics strong span{color:inherit;font-size:inherit;font-weight:inherit;}
.wizard-guide-note{margin:12px 0 0;padding:10px 11px;border-radius:8px;background:#fffbeb;color:#854d0e;font-size:11px;line-height:1.45;}
.wizard-guide-note.is-accepted{background:#ecfdf5;color:#047857;}
.wizard-rate-settings{margin-top:10px;border-top:1px solid #e7edf4;}
.wizard-rate-settings summary{padding:11px 0 2px;color:#1d4ed8;font-size:11px;font-weight:700;cursor:pointer;}
.wizard-rate-settings>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:9px;}
.wizard-rate-settings label{display:grid;gap:4px;color:#64748b;font-size:10px;font-weight:650;}
.wizard-rate-settings .input{min-width:0;}
.accepted-price-baseline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:16px;padding:14px;border:1px solid #bfdbfe;border-radius:11px;background:#eff6ff;}
.accepted-price-baseline>div{display:grid;gap:4px;}
.accepted-price-baseline span{color:#475569;font-size:11px;}
.accepted-price-baseline strong{font-size:18px;color:#0f172a;}
.accepted-price-baseline p{grid-column:1/-1;margin:2px 0 0;color:#1e40af;font-size:11px;}
.money-input{position:relative;}
.money-input>span{position:absolute;left:12px;top:50%;z-index:1;transform:translateY(-50%);color:#64748b;font-weight:700;}
.money-input .input{padding-left:28px!important;}
.pricing-decision{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:19px 0 14px;padding:0;border:0;}
.pricing-decision legend{grid-column:1/-1;margin-bottom:8px;color:#172033;font-size:14px;font-weight:700;}
.decision-card{position:relative;display:flex;gap:10px;align-items:flex-start;min-height:105px;padding:14px;border:1px solid #d8e1ec;border-radius:11px;background:#fff;cursor:pointer;}
.decision-card:hover{border-color:#93b4db;background:#f8fbff;}
.decision-card:has(input:checked){border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px rgba(37,99,235,.08);}
.decision-card.is-accept:has(input:checked){border-color:#059669;background:#ecfdf5;box-shadow:0 0 0 2px rgba(5,150,105,.08);}
.decision-card input{margin-top:3px;accent-color:#1e40af;}
.decision-card span{display:grid;gap:5px;}
.decision-card strong{font-size:13px;line-height:1.3;}
.decision-card small{color:#64748b;font-size:11px;line-height:1.4;}
.pricing-final-options{margin-top:10px;}
.pricing-final-options [hidden]{display:none!important;}
.review-summary .is-outcome{background:#ecfdf5;}
.review-summary .is-outcome strong{color:#047857;}
@media(max-width:1120px){
  .property-wizard{grid-template-columns:1fr;}
  .property-wizard .wizard-panel{grid-column:1;grid-row:auto;}
  .wizard-live-summary{grid-column:1;grid-row:auto;top:82px;display:grid;grid-template-columns:minmax(210px,.7fr) minmax(0,1.3fr);gap:12px;}
  .wizard-summary-head{border-bottom:0;border-right:1px solid #e7edf4;padding:2px 14px 2px 0;}
  .wizard-summary-metrics{margin:0;grid-template-columns:repeat(4,minmax(0,1fr));}
  .wizard-guide-note,.wizard-rate-settings{grid-column:1/-1;}
}
@media(max-width:760px){
  .property-wizard .wizard-rail{grid-template-columns:repeat(5,minmax(0,1fr));}
  .wizard-live-summary{top:61px;display:block;padding:11px 12px;border-radius:12px;}
  .wizard-summary-head{display:none;}
  .wizard-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;}
  .wizard-summary-metrics>div{padding:8px 9px;gap:2px;}
  .wizard-summary-metrics strong{font-size:15px;}
  .wizard-summary-metrics span{font-size:9.5px;}
  .wizard-guide-note{display:none;}
  .wizard-rate-settings{margin-top:6px;}
  .accepted-price-baseline{grid-template-columns:1fr 1fr;}
  .accepted-price-baseline>div:last-of-type{grid-column:1/-1;}
  .pricing-decision{grid-template-columns:1fr;}
  .decision-card{min-height:0;}
}
@media(max-width:460px){
  .wizard-live-summary{top:58px;}
  .wizard-summary-metrics{grid-template-columns:1fr 1fr;}
  .accepted-price-baseline{grid-template-columns:1fr;}
  .accepted-price-baseline>div:last-of-type{grid-column:auto;}
}

/* v187 — Pricing Centre clarity pass: one price, four key numbers, one action. */
.pricing-centre-toolbar{display:flex;align-items:center;gap:8px;margin:-4px 0 14px;padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;}
.pricing-centre-toolbar label{flex:1;max-width:520px;}
.pricing-centre-toolbar>span{margin-left:auto;color:#64748b;font-size:12px;font-weight:650;}
.pricing-property-card{border-left:4px solid #cbd5e1!important;}
.pricing-property-card:has(.pricing-status-warning),.pricing-property-card:has(.pricing-status-danger){border-left-color:#f59e0b!important;}
.pricing-property-card:has(.pricing-status-success){border-left-color:#10b981!important;}
.pricing-centre-overview{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(420px,1.5fr) minmax(235px,.8fr);gap:11px;align-items:stretch;}
.pricing-price-focus{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:17px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;}
.pricing-price-focus>span{color:#1d4ed8;font-size:10.5px;font-weight:750;text-transform:uppercase;letter-spacing:.06em;}
.pricing-price-focus>strong{color:#0f172a;font-size:30px;line-height:1.05;letter-spacing:-.035em;}
.pricing-price-focus>small{color:#475569;font-size:11px;line-height:1.35;}
.pricing-price-focus.is-guide{border-color:#fde68a;background:#fffbeb;}
.pricing-price-focus.is-guide>span{color:#92400e;}
.pricing-key-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;}
.pricing-key-numbers>div{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:74px;padding:13px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;}
.pricing-key-numbers span{color:#64748b;font-size:10.5px;font-weight:650;}
.pricing-key-numbers strong{color:#0f172a;font-size:18px;}
.pricing-key-numbers .is-manager{background:#ecfdf5;border-color:#a7f3d0;}
.pricing-key-numbers .is-manager strong{color:#047857;}
.pricing-next-action{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;}
.pricing-next-action p{margin:0;color:#64748b;font-size:12px;line-height:1.45;}
.pricing-next-action .accepted-state{margin:0 0 10px;}
.pricing-next-action .compact-action-form{gap:7px;}
.pricing-next-action .input{min-height:36px;}
.pricing-review-trigger{margin-top:9px;border-top:1px solid #e7edf4;}
.pricing-review-trigger summary{padding:9px 0 0;color:#64748b;font-size:10.5px;font-weight:700;cursor:pointer;}
.pricing-review-trigger form{display:grid;gap:7px;padding-top:8px;}
.pricing-review-trigger label{display:grid;gap:4px;color:#64748b;font-size:10px;font-weight:650;}
.pricing-editor{margin-top:13px;}
.pricing-editor>summary{display:inline-flex;align-items:center;gap:7px;padding:11px 0 3px;}
.pricing-editor>summary:before{content:'+';display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#eff6ff;color:#1d4ed8;font-size:15px;}
.pricing-editor[open]>summary:before{content:'−';}
@media(max-width:1120px){
  .pricing-centre-overview{grid-template-columns:220px 1fr;}
  .pricing-next-action{grid-column:1/-1;}
}
@media(max-width:720px){
  .pricing-centre-toolbar{flex-wrap:wrap;}
  .pricing-centre-toolbar label{flex-basis:100%;max-width:none;}
  .pricing-centre-toolbar>span{margin-left:0;}
  .pricing-centre-overview{grid-template-columns:1fr;}
  .pricing-next-action{grid-column:auto;}
  .pricing-key-numbers{grid-template-columns:1fr 1fr;}
  .pricing-price-focus>strong{font-size:27px;}
}
@media(max-width:430px){.pricing-key-numbers{grid-template-columns:1fr;}.pricing-centre-toolbar .btn{flex:1;}}

/* v187 — multi-cleaner drawer team card */
.dr-team-card .dr-card-head{justify-content:space-between;}
.dr-team-card .dr-card-head>span{width:auto;height:auto;background:transparent;color:#64748b;font-size:11px;font-weight:650;}
.dr-team-list{display:grid;gap:7px;}
.dr-team-member{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #e7edf4;border-radius:8px;background:#f8fafc;}
.dr-team-member>div{min-width:0;display:grid;gap:2px;}
.dr-team-member>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:12.5px;}
.dr-team-member>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:10.5px;}
.dr-team-member>b{color:#047857;font-size:12px;white-space:nowrap;}
.dr-team-member>a,.dr-team-manage{color:#1d4ed8;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap;}
.dr-team-manage{display:inline-flex;margin-top:10px;}
.dr-team-empty{padding:12px;border:1px dashed #cbd5e1;border-radius:8px;color:#64748b;font-size:12px;text-align:center;}
@media(max-width:520px){
  .dr-team-member{grid-template-columns:36px minmax(0,1fr) auto;}
  .dr-team-member>a{grid-column:2;justify-self:start;}
}
.invoice-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start;}
@media(max-width:1180px){.invoice-type-grid{grid-template-columns:1fr 1fr;}.invoice-type-grid>section:first-child{grid-column:1/-1;}}
@media(max-width:720px){.invoice-type-grid{grid-template-columns:1fr;}.invoice-type-grid>section:first-child{grid-column:auto;}}

/* ============================================================
   v187.1 — single responsive calendar job workspace
   ============================================================ */
body.hc-job-drawer-open{overflow:hidden!important;}
.hc-job-drawer-backdrop{position:fixed;inset:0;z-index:19990;background:rgba(19,31,48,.42);opacity:0;transition:opacity .2s ease;}
.hc-job-drawer-backdrop.is-open{opacity:1;}
.hc-job-drawer{position:fixed;z-index:19991;top:0;right:0;bottom:0;width:min(472px,100vw);background:#fff;box-shadow:-18px 0 54px rgba(15,31,50,.2);transform:translateX(102%);transition:transform .22s cubic-bezier(.22,.8,.3,1);overflow:hidden;}
.hc-job-drawer.is-open{transform:translateX(0);}
.hc-job-drawer-panel{height:100%;overflow:auto;overscroll-behavior:contain;background:#f6f8fb;scrollbar-width:thin;}
.hc-job-drawer-close{position:absolute;z-index:5;top:18px;right:18px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #dfe6ee;border-radius:50%;background:#fff;color:#526274;box-shadow:0 4px 14px rgba(20,39,62,.08);cursor:pointer;}
.hc-job-drawer-close:hover{color:#102536;background:#f7f9fc;}
.hc-job-drawer-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;}
.hc-drawer-icon{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.hc-drawer-hero{padding:22px 64px 20px 24px;background:#fff;border-bottom:1px solid #e5ebf2;}
.hc-drawer-eyebrow{margin-bottom:8px;color:#77869a;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;}
.hc-drawer-eyebrow span{padding:0 4px;color:#2caeff;}
.hc-drawer-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.hc-drawer-title-row>div{min-width:0;}
.hc-drawer-title-row h2{margin:0;color:#12263a;font-size:25px;line-height:1.15;letter-spacing:-.035em;}
.hc-drawer-title-row p{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:7px 0 0;color:#6d7d90;font-size:11.5px;line-height:1.4;}
.hc-drawer-title-row p svg{width:14px;height:14px;color:#2caeff;}
.hc-drawer-title-row p span{color:#c3ccd6;}
.hc-drawer-status{display:inline-flex;align-items:center;flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#eef2f7;color:#56677b;font-size:10px;font-weight:800;white-space:nowrap;}
.hc-drawer-status.status-completed{background:#e9f9ef;color:#18854a;}
.hc-drawer-status.status-in_progress{background:#eaf4ff;color:#1269b0;}
.hc-drawer-status.status-issue_reported{background:#fff2e1;color:#ad5d00;}
.hc-drawer-status.status-cancelled{background:#fdecec;color:#b23b3b;}
.hc-drawer-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:19px -64px -20px -24px;border-top:1px solid #edf1f5;background:#fbfcfe;}
.hc-drawer-summary>div{display:flex;align-items:center;gap:9px;min-width:0;padding:13px 12px;border-right:1px solid #e7edf3;}
.hc-drawer-summary>div:last-child{border-right:0;}
.hc-drawer-summary svg{width:17px;height:17px;color:#2b7bbb;}
.hc-drawer-summary span{display:grid;gap:2px;min-width:0;}
.hc-drawer-summary small{color:#8996a5;font-size:9px;font-weight:700;letter-spacing:.04em;white-space:nowrap;}
.hc-drawer-summary strong{overflow:hidden;color:#22364b;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap;}
.hc-drawer-stage{display:grid;grid-template-columns:repeat(5,1fr);padding:14px 20px 12px;background:#fff;border-bottom:1px solid #e5ebf2;}
.hc-drawer-stage>div{position:relative;display:grid;justify-items:center;gap:5px;color:#97a4b3;font-size:9px;font-weight:700;}
.hc-drawer-stage>div:before{content:"";position:absolute;top:10px;left:-50%;width:100%;height:2px;background:#e3e9ef;}
.hc-drawer-stage>div:first-child:before{display:none;}
.hc-drawer-stage i{position:relative;z-index:1;display:grid;place-items:center;width:21px;height:21px;border:2px solid #dce4eb;border-radius:50%;background:#fff;color:#8b99a9;font-style:normal;font-size:9px;}
.hc-drawer-stage i svg{width:12px;height:12px;stroke-width:2.5;}
.hc-drawer-stage .is-complete{color:#288c5a;}
.hc-drawer-stage .is-complete:before{background:#55b77e;}
.hc-drawer-stage .is-complete i{border-color:#37a568;background:#37a568;color:#fff;}
.hc-drawer-stage .is-current{color:#236ca6;}
.hc-drawer-stage .is-current i{border-color:#2caeff;color:#1975b9;box-shadow:0 0 0 4px #e9f6ff;}
.hc-drawer-warning{display:flex;gap:10px;margin:12px 16px 0;padding:11px 12px;border:1px solid #f0ce76;border-radius:10px;background:#fff9e9;color:#875d00;}
.hc-drawer-warning svg{margin-top:1px;}
.hc-drawer-warning>div{display:grid;gap:2px;}
.hc-drawer-warning strong{font-size:11.5px;}.hc-drawer-warning span{font-size:10.5px;line-height:1.4;}
.hc-drawer-tabs{position:sticky;z-index:3;top:0;display:flex;gap:20px;padding:0 20px;background:#fff;border-bottom:1px solid #e4eaf0;}
.hc-drawer-tabs button{position:relative;padding:15px 1px 12px;border:0;background:transparent;color:#728195;font:700 11px/1 inherit;cursor:pointer;}
.hc-drawer-tabs button:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;border-radius:2px;background:transparent;}
.hc-drawer-tabs button.is-active{color:#15314a;}.hc-drawer-tabs button.is-active:after{background:#2caeff;}
.hc-drawer-tabs button span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:3px;padding:0 4px;border-radius:9px;background:#eef3f8;color:#65778a;font-size:9px;}
.hc-drawer-body{padding:13px 16px 4px;}
.hc-drawer-tab-panel{display:none;}.hc-drawer-tab-panel.is-active{display:grid;gap:12px;}
.hc-drawer-progress-card,.hc-drawer-card{border:1px solid #e2e8ef;border-radius:11px;background:#fff;box-shadow:0 1px 1px rgba(24,42,63,.02);}
.hc-drawer-progress-card{padding:14px;}
.hc-drawer-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.hc-drawer-section-head>div{display:grid;gap:3px;}.hc-drawer-section-head span{color:#708094;font-size:9.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;}
.hc-drawer-section-head strong{color:#142b41;font-size:22px;}.hc-drawer-section-head strong em{color:#a1adba;font-size:12px;font-style:normal;font-weight:650;}
.hc-drawer-section-head>b{color:#238052;font-size:14px;}
.hc-drawer-progress{height:5px;margin:10px 0 12px;border-radius:99px;background:#e8edf2;overflow:hidden;}.hc-drawer-progress i{display:block;height:100%;border-radius:inherit;background:#49a875;}
.hc-drawer-health{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;}
.hc-drawer-health>div{display:flex;align-items:center;gap:7px;min-width:0;padding:8px;border:1px solid #e6ebf1;border-radius:8px;color:#8a98a8;}
.hc-drawer-health>div.is-good{color:#279158;background:#f8fcfa;}.hc-drawer-health>div.is-alert{color:#c46b0b;background:#fffaf1;}
.hc-drawer-health svg{width:16px;height:16px;}.hc-drawer-health span{display:grid;min-width:0;}.hc-drawer-health strong{color:#263a4d;font-size:10.5px;}.hc-drawer-health small{color:#8996a4;font-size:8.5px;}
.hc-drawer-card{padding:14px;}
.hc-drawer-card-title{display:flex;align-items:flex-start;gap:9px;color:#2b7bbb;}.hc-drawer-card-title span{display:grid;gap:3px;min-width:0;flex:1;}.hc-drawer-card-title small{color:#8593a2;font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;}.hc-drawer-card-title strong{color:#172d42;font-size:12px;line-height:1.4;}.hc-drawer-map{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 9px;border:1px solid #d8e5f0;border-radius:8px;background:#f8fbff;color:#1f6fae;font-size:9.5px;font-weight:800;text-decoration:none;white-space:nowrap;}
.hc-drawer-access{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:9px;align-items:center;margin-top:12px;padding:11px;border:1px solid #efd491;border-radius:9px;background:#fff9ea;color:#9b6900;}
.hc-drawer-access>div{display:grid;gap:2px;}.hc-drawer-access small{font-size:8.5px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;}.hc-drawer-access strong{color:#674d12;font-size:11px;line-height:1.4;}
.hc-drawer-access button{display:flex;align-items:center;gap:4px;padding:6px 7px;border:1px solid #ead08c;border-radius:7px;background:#fff;color:#735516;font-size:9.5px;font-weight:750;cursor:pointer;}.hc-drawer-access button svg{width:13px;height:13px;}
.hc-drawer-empty-line{margin:10px 0 0;color:#8492a1;font-size:10.5px;}
.hc-drawer-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}.hc-drawer-card-heading>span{color:#1a3045;font-size:11px;font-weight:800;}.hc-drawer-card-heading>a{color:#1976bd;font-size:9.5px;font-weight:800;text-decoration:none;}.hc-drawer-card-heading>em{padding:4px 7px;border-radius:99px;background:#e9f8f0;color:#238257;font-size:8.5px;font-style:normal;font-weight:800;}
.hc-drawer-team{display:grid;gap:7px;}.hc-drawer-person{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px;border:1px solid #e8edf2;border-radius:8px;background:#fafbfd;}.hc-drawer-person>i{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#2458d6;color:#fff;font-size:10px;font-style:normal;font-weight:800;}.hc-drawer-person>span{display:grid;gap:1px;min-width:0;}.hc-drawer-person strong{overflow:hidden;color:#203548;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap;}.hc-drawer-person small{overflow:hidden;color:#8b98a6;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap;}.hc-drawer-person>b{color:#17814b;font-size:10.5px;}
.hc-drawer-money-grid{display:grid;grid-template-columns:1fr 1fr;margin:-1px;border:1px solid #e8edf2;border-radius:9px;overflow:hidden;}.hc-drawer-money-grid>div{display:grid;gap:3px;padding:10px;border-right:1px solid #e8edf2;border-bottom:1px solid #e8edf2;}.hc-drawer-money-grid>div:nth-child(2n){border-right:0;}.hc-drawer-money-grid>div:nth-last-child(-n+2){border-bottom:0;}.hc-drawer-money-grid span{color:#8090a0;font-size:8.5px;}.hc-drawer-money-grid strong{color:#24384c;font-size:11.5px;}.hc-drawer-money-grid .is-total{background:#eef9f4;}.hc-drawer-money-grid .is-total strong{color:#087446;}
.hc-drawer-client-total{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:9px;background:#f0f7fd;}.hc-drawer-client-total span{color:#63798c;font-size:10px;}.hc-drawer-client-total strong{color:#133a59;font-size:20px;}.hc-drawer-money-note{margin:8px 0 0;color:#82909e;font-size:9.5px;}.hc-drawer-money-lines{display:grid;gap:5px;margin-top:9px;}.hc-drawer-money-lines>div{display:flex;justify-content:space-between;color:#6f7e8e;font-size:9.5px;}
.hc-drawer-rooms{display:grid;}.hc-drawer-rooms>div{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid #eef2f5;color:#688096;font-size:10px;}.hc-drawer-rooms>div:first-child{border-top:0;}.hc-drawer-rooms svg{width:15px;height:15px;color:#68a8d8;}.hc-drawer-rooms strong{color:#263d52;font-size:10px;}
.hc-drawer-checklist-group{padding:14px;border:1px solid #e2e8ef;border-radius:11px;background:#fff;}.hc-drawer-checklist-group h3{margin:0 0 8px;color:#1b3145;font-size:12px;}.hc-drawer-check-item{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #edf1f4;}.hc-drawer-check-item>i{display:grid;place-items:center;width:20px;height:20px;border:1px solid #d5dde6;border-radius:6px;color:transparent;}.hc-drawer-check-item>i svg{width:12px;height:12px;}.hc-drawer-check-item.is-done>i{border-color:#3aa36b;background:#3aa36b;color:#fff;}.hc-drawer-check-item>span{display:grid;gap:1px;}.hc-drawer-check-item strong{color:#263a4e;font-size:10.5px;}.hc-drawer-check-item small{color:#919eaa;font-size:8.5px;}
.hc-drawer-timeline{padding:16px;border:1px solid #e2e8ef;border-radius:11px;background:#fff;}.hc-drawer-timeline>div{position:relative;display:grid;grid-template-columns:14px 1fr;gap:10px;padding:0 0 18px;}.hc-drawer-timeline>div:last-child{padding-bottom:0;}.hc-drawer-timeline>div:not(:last-child):before{content:"";position:absolute;top:12px;bottom:0;left:5px;width:2px;background:#e3e9ef;}.hc-drawer-timeline>div>i{position:relative;z-index:1;width:12px;height:12px;margin-top:2px;border:2px solid #cbd5df;border-radius:50%;background:#fff;}.hc-drawer-timeline>div.is-done>i{border-color:#3ca46d;background:#3ca46d;}.hc-drawer-timeline>div>span{display:grid;gap:2px;}.hc-drawer-timeline strong{color:#273b4e;font-size:11px;}.hc-drawer-timeline small{color:#8a97a5;font-size:9px;}
.hc-drawer-empty,.hc-drawer-load-error{display:grid;justify-items:center;gap:7px;padding:50px 24px;color:#7d8b9b;text-align:center;}.hc-drawer-load-error strong{color:#21374a;font-size:16px;}.hc-drawer-load-error span{font-size:11px;}.hc-drawer-load-error button{margin-top:6px;padding:8px 12px;border:1px solid #cfd9e4;border-radius:8px;background:#fff;color:#245d8c;font-weight:750;cursor:pointer;}
.hc-drawer-actions{position:sticky;z-index:4;bottom:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:7px;margin-top:12px;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #dfe6ed;background:rgba(255,255,255,.97);box-shadow:0 -8px 22px rgba(21,41,62,.06);backdrop-filter:blur(10px);}.hc-drawer-actions>a,.hc-drawer-actions button{box-sizing:border-box;min-height:39px;border-radius:8px;text-decoration:none;}.hc-drawer-action-main{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;background:#19334c;color:#fff;font-size:10.5px;font-weight:800;}.hc-drawer-action-main svg{width:15px;height:15px;}.hc-drawer-action-secondary{display:grid;place-items:center;gap:2px;min-width:52px;padding:5px 7px;border:1px solid #dce4ec;background:#fff;color:#4d6276;font:750 8.5px/1 inherit;cursor:pointer;}.hc-drawer-action-secondary svg{width:15px;height:15px;}.hc-drawer-actions form{margin:0;}.hc-drawer-actions form>.hc-drawer-action-secondary{height:100%;}.hc-drawer-action-links{grid-column:1/-1;display:flex;justify-content:center;gap:16px;padding-top:2px;}.hc-drawer-action-links a,.hc-drawer-action-links button{min-height:0;padding:0;border:0;background:none;color:#82909e;font:700 8.5px/1 inherit;text-decoration:none;cursor:pointer;}
.hc-drawer-skeleton{display:grid;gap:13px;padding:25px 20px;}.hc-drawer-skeleton i{display:block;height:12px;border-radius:7px;background:linear-gradient(90deg,#e9eef3 25%,#f6f8fa 50%,#e9eef3 75%);background-size:200% 100%;animation:hcDrawerShimmer 1.15s infinite;}.hc-drawer-skeleton .wide{width:36%;}.hc-drawer-skeleton .title{width:72%;height:28px;}.hc-drawer-skeleton .short{width:56%;}.hc-drawer-skeleton>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px -20px 0;padding:15px 20px;border-block:1px solid #e8edf2;}.hc-drawer-skeleton>div i{height:44px;}.hc-drawer-skeleton .card{height:112px;border-radius:11px;}@keyframes hcDrawerShimmer{to{background-position:-200% 0;}}

/* Crisp, correctly proportioned Hodders navigation lockup. */
body .sidebar .brand.hc-brand-lockup{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;min-height:54px!important;margin:2px 8px 20px!important;padding:3px 0!important;}
body .sidebar .hc-brand-lockup .brand-logo-image{width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:50%!important;box-shadow:none!important;image-rendering:auto;}
body .sidebar .hc-brand-copy{display:grid!important;align-content:center!important;gap:4px!important;line-height:1!important;text-align:left!important;}
body .sidebar .hc-brand-copy strong{color:#fff!important;font-size:19px!important;font-weight:800!important;letter-spacing:-.025em!important;line-height:1!important;}
body .sidebar .hc-brand-copy .brand-dot{display:inline-block!important;width:6px!important;height:6px!important;margin-left:2px!important;background:#2caeff!important;color:transparent!important;font-size:0!important;vertical-align:baseline!important;}
body .sidebar .hc-brand-copy small{color:#aebed0!important;font-size:9px!important;font-weight:700!important;letter-spacing:.24em!important;line-height:1!important;}
html.sidebar-collapsed .sidebar .brand.hc-brand-lockup{width:52px!important;height:52px!important;margin:2px auto 20px!important;padding:3px!important;justify-content:center!important;}
html.sidebar-collapsed .sidebar .hc-brand-lockup .brand-logo-image{width:42px!important;height:42px!important;flex:0 0 42px!important;}
html.sidebar-collapsed .sidebar .hc-brand-copy{display:none!important;}

@media(max-width:720px){
  body.hc-job-drawer-open .mobile-bottom-nav,body.hc-job-drawer-open .bottom-nav{display:none!important;}
  .hc-job-drawer{top:auto;left:0;width:100vw;height:min(90dvh,780px);border-radius:22px 22px 0 0;transform:translateY(102%);box-shadow:0 -18px 48px rgba(15,31,50,.22);}
  .hc-job-drawer.is-open{transform:translateY(0);}
  .hc-job-drawer-panel:before{content:"";position:sticky;z-index:8;top:7px;display:block;width:40px;height:4px;margin:7px auto -11px;border-radius:99px;background:#ccd6e0;}
  .hc-job-drawer-close{top:17px;right:14px;width:35px;height:35px;}
  .hc-drawer-hero{padding:25px 53px 16px 16px;}.hc-drawer-title-row{display:grid;}.hc-drawer-title-row h2{font-size:21px;}.hc-drawer-status{position:absolute;top:66px;right:15px;}
  .hc-drawer-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px -53px -16px -16px;}.hc-drawer-summary>div{display:grid;justify-items:start;gap:5px;padding:10px 8px;}.hc-drawer-summary small{font-size:7.5px;}.hc-drawer-summary strong{font-size:9.5px;}.hc-drawer-summary svg{width:15px;height:15px;}
  .hc-drawer-stage{padding-inline:10px;}.hc-drawer-stage>div{font-size:7.5px;}
  .hc-drawer-tabs{gap:18px;padding-inline:16px;}.hc-drawer-body{padding-inline:12px;}.hc-drawer-health{gap:5px;}.hc-drawer-health>div{display:grid;justify-items:start;gap:4px;padding:7px 6px;}
  .hc-drawer-actions{grid-template-columns:minmax(0,1fr) repeat(2,auto);padding-inline:12px;}.hc-drawer-actions>form{display:none;}.hc-drawer-action-links{gap:14px;}.hc-drawer-access{grid-template-columns:20px minmax(0,1fr);}.hc-drawer-access button{grid-column:2;justify-self:start;}
}

/* ============================================================
   v192 — Selected-day calendar cards mirror completed jobs from
   the month/week calendar with a green card and visible tick.
   ============================================================ */
.selected-day-panel .side-job-card.completed{
  background:#f0fdf4!important;
  border-color:#86efac!important;
}
.selected-day-panel .side-job-card.completed:hover{
  background:#ecfdf5!important;
  border-color:#4ade80!important;
}
.selected-day-panel .side-job-card.completed .side-thumb{
  background:#dcfce7!important;
  border-color:#86efac!important;
  color:#15803d!important;
}
.selected-day-panel .side-job-card.completed .side-job-body strong{
  color:#166534!important;
}
.selected-day-panel .side-job-card.completed .side-job-body small{
  color:#4d7c5f!important;
}
.selected-day-panel .side-job-card.completed .side-job-body strong i{
  opacity:.5;
}
.side-job-end{
  display:grid;
  justify-items:end;
  gap:8px;
}
.side-done-flag{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border:1px solid #86efac;
  border-radius:5px;
  background:#dcfce7;
  color:#15803d;
  font-size:14px;
  font-weight:900;
  line-height:1;
}

/* ============================================================
   v195 — Mobile calendar day sheet and reliable job navigation.
   On phones the month markers are status-only; the whole date opens the sheet.
   ============================================================ */
.ops-day-mobile-trigger{display:none;}
.side-status-label{display:inline-flex;margin:7px 0 0 6px;color:#64748b;font-size:11px;font-weight:800;}
.calendar-status-completed .side-status-label{color:#15803d;}
.calendar-status-needs_attention .side-status-label,.calendar-status-unassigned .side-status-label{color:#b45309;}

.hc-day-sheet-backdrop{position:fixed;inset:0;z-index:18990;background:rgba(15,31,50,.38);opacity:0;transition:opacity .2s ease;}
.hc-day-sheet-backdrop.is-open{opacity:1;}
.hc-day-sheet{position:fixed;z-index:18991;right:0;bottom:0;left:0;height:min(78dvh,720px);background:#fff;border:1px solid #dce5ee;border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -20px 54px rgba(15,31,50,.22);transform:translateY(102%);transition:transform .22s cubic-bezier(.22,.8,.3,1);overflow:hidden;}
.hc-day-sheet.is-open{transform:translateY(0);}
.hc-day-sheet-panel{height:100%;overflow:auto;overscroll-behavior:contain;background:#f6f8fb;-webkit-overflow-scrolling:touch;}
.hc-day-sheet-panel:before{content:"";position:sticky;z-index:5;top:8px;display:block;width:40px;height:4px;margin:8px auto -12px;border-radius:999px;background:#cbd5df;}
.hc-day-sheet-close{position:absolute;z-index:7;top:17px;right:15px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #dce5ee;border-radius:50%;background:#fff;color:#526274;box-shadow:0 4px 14px rgba(20,39,62,.08);cursor:pointer;}
.hc-day-sheet-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;}
.hc-day-sheet-content{padding-bottom:max(18px,env(safe-area-inset-bottom));}
.hc-day-sheet-header{padding:30px 70px 18px 18px;border-bottom:1px solid #e3eaf1;background:#fff;}
.hc-day-sheet-kicker{display:block;margin-bottom:5px;color:#60748a;font-size:10px;font-weight:850;letter-spacing:.12em;}
.hc-day-sheet-header h2{margin:0;color:#10263b;font-size:23px;line-height:1.12;letter-spacing:-.025em;}
.hc-day-sheet-header p{margin:7px 0 0;color:#66788c;font-size:12px;font-weight:650;}
.hc-day-job-list{display:grid;gap:9px;padding:13px;}
.hc-day-job{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;gap:11px;align-items:center;min-height:92px;padding:12px;border:1px solid #dfe7ef;border-left:4px solid #3b82f6;border-radius:12px;background:#fff;color:#14283d;text-decoration:none;box-shadow:0 2px 8px rgba(15,31,50,.035);}
.hc-day-job:active{background:#f7faff;}
.hc-day-job-status{display:grid;place-items:center;width:38px;height:38px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#2563eb;font-size:16px;font-weight:900;}
.hc-day-job-main{display:grid;gap:4px;min-width:0;}
.hc-day-job-topline{display:flex;align-items:center;justify-content:space-between;gap:9px;}
.hc-day-job-topline strong{color:#1e3a56;font-size:13px;}
.hc-day-job-topline em{padding:4px 7px;border-radius:999px;background:#eef3f8;color:#52677c;font-size:9px;font-style:normal;font-weight:850;white-space:nowrap;}
.hc-day-job-main>b{overflow:hidden;color:#10263b;font-size:15px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap;}
.hc-day-job-main>small{color:#718398;font-size:10.5px;font-weight:650;}
.hc-day-job-team{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px;}
.hc-day-job-team i{display:inline-flex;min-height:23px;align-items:center;padding:3px 7px;border:1px solid #dfe7ef;border-radius:999px;background:#f7f9fc;color:#52677c;font-size:9.5px;font-style:normal;font-weight:750;}
.hc-day-job-team i.is-unassigned{border-color:#fed7aa;background:#fff7ed;color:#9a4b08;}
.hc-day-job-arrow{color:#8797a8;font-size:25px;line-height:1;}
.hc-day-job.is-completed{border-left-color:#22a05a;background:#f7fdf9;}
.hc-day-job.is-completed .hc-day-job-status{border-color:#a7e2bb;background:#e7f8ed;color:#168147;}
.hc-day-job.is-completed .hc-day-job-topline em{background:#e7f8ed;color:#168147;}
.hc-day-job.is-in_progress{border-left-color:#2563eb;}
.hc-day-job.is-in_progress .hc-day-job-status{border-color:#bfdbfe;background:#eaf3ff;color:#1d5db5;}
.hc-day-job.is-needs_attention,.hc-day-job.is-unassigned{border-left-color:#f59e0b;background:#fffaf2;}
.hc-day-job.is-needs_attention .hc-day-job-status,.hc-day-job.is-unassigned .hc-day-job-status{border-color:#fed7aa;background:#fff1df;color:#b45309;}
.hc-day-job.is-needs_attention .hc-day-job-topline em,.hc-day-job.is-unassigned .hc-day-job-topline em{background:#fff1df;color:#9a4b08;}
.hc-day-job.is-cancelled{border-left-color:#94a3b8;background:#f8fafc;opacity:.78;}
.hc-day-job.is-cancelled .hc-day-job-status{border-color:#d6dee7;background:#eef2f6;color:#64748b;}
.hc-day-sheet-empty,.hc-day-sheet-error{display:grid;justify-items:center;gap:8px;padding:46px 24px;color:#6f8093;text-align:center;}
.hc-day-sheet-empty>span{display:grid;place-items:center;width:42px;height:42px;color:#f59e0b;}.hc-day-sheet-empty>span svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;}.hc-day-sheet-empty strong,.hc-day-sheet-error strong{color:#193149;font-size:16px;}.hc-day-sheet-empty p,.hc-day-sheet-error span{margin:0;font-size:12px;line-height:1.45;}.hc-day-sheet-empty a,.hc-day-sheet-error button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:5px;padding:0 14px;border:1px solid #cfdbe7;border-radius:9px;background:#fff;color:#1d5e96;font-size:12px;font-weight:800;text-decoration:none;}
.hc-day-sheet-loading{display:grid;gap:10px;padding:22px 14px;}.hc-day-sheet-loading i{height:92px;border:1px solid #e3eaf1;border-radius:12px;background:linear-gradient(90deg,#edf1f5 25%,#f8fafc 50%,#edf1f5 75%);background-size:200% 100%;animation:hcDrawerShimmer 1.15s infinite;}
.hc-day-personal{margin:2px 13px 16px;padding:13px;border:1px solid #e1e7f2;border-radius:12px;background:#fff;}.hc-day-personal h3{margin:0 0 8px;color:#31435b;font-size:12px;}.hc-day-personal>a{display:flex;justify-content:space-between;gap:12px;min-height:44px;padding:10px 0;border-top:1px solid #edf1f5;color:#2f5ea7;font-size:11px;text-decoration:none;}.hc-day-personal>a strong{color:#20374f;}.hc-day-personal>a span{color:#718398;}.hc-day-personal p{margin:7px 0 0;color:#8a98a8;font-size:9.5px;}

@media(max-width:720px){
  body.hc-day-sheet-open{overflow:hidden!important;}
  body.hc-day-sheet-open .mobile-bottom-nav,body.hc-day-sheet-open .bottom-nav{display:none!important;}
  .ops-day{position:relative!important;cursor:pointer;}
  .ops-month-grid .ops-cal-empty{min-height:62px!important;border:0!important;border-right:1px solid #e8f0f7!important;border-bottom:1px solid #e8f0f7!important;border-radius:0!important;background:#fafbfc!important;}
  .ops-day-mobile-trigger{position:absolute;z-index:20;inset:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;color:transparent;cursor:pointer;}
  .ops-day-mobile-trigger:focus-visible{outline:3px solid #2563eb;outline-offset:-3px;}
  .ops-day-add{display:none!important;}
  .ops-day-link{justify-content:center!important;}
  .ops-day-link,.ops-day-jobs,.ops-day-total{position:relative;z-index:1;pointer-events:none!important;}
  .ops-day .ops-mini-job,.ops-day .ops-more-jobs,.ops-day .ops-mini-personal{pointer-events:none!important;}
  .ops-side-panel{display:none!important;}
  .ops-day.selected{box-shadow:inset 0 0 0 2px #2563eb!important;background:#eff6ff!important;}
  .ops-day.selected .ops-day-head strong{color:#1d4ed8!important;}
  .ops-day-jobs{display:flex!important;flex-flow:row wrap!important;justify-content:center!important;align-content:flex-start!important;gap:4px!important;margin-top:7px!important;}
  .ops-mini-job{position:relative!important;display:inline-grid!important;place-items:center!important;width:9px!important;height:9px!important;min-width:9px!important;min-height:9px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#3b82f6!important;overflow:hidden!important;box-shadow:none!important;opacity:1!important;}
  .ops-mini-job span,.ops-mini-job small{display:none!important;}
  .ops-mini-job.calendar-status-completed{background:#16a34a!important;}
  .ops-mini-job.calendar-status-in_progress{background:#7c3aed!important;}
  .ops-mini-job.calendar-status-needs_attention,.ops-mini-job.calendar-status-unassigned{background:#f97316!important;}
  .ops-mini-job.calendar-status-cancelled{background:#94a3b8!important;}
  .ops-mini-job .mini-done-flag{display:none!important;}
  .ops-mini-job.calendar-status-completed .mini-done-flag{position:static!important;display:grid!important;place-items:center!important;width:9px!important;height:9px!important;color:#fff!important;font-size:7px!important;line-height:1!important;}
  .ops-more-jobs{display:inline-flex!important;align-items:center!important;width:auto!important;min-width:12px!important;min-height:9px!important;padding:0!important;color:#52677c!important;font-size:8px!important;line-height:9px!important;}
  .ops-mini-personal{display:none!important;}
  .hc-job-drawer{top:0!important;height:100dvh!important;border-radius:0!important;}
  .hc-job-drawer-panel{padding-top:env(safe-area-inset-top);}
  .hc-job-drawer-close{top:max(17px,calc(env(safe-area-inset-top) + 8px));width:44px!important;height:44px!important;}
  .hc-drawer-actions>a,.hc-drawer-actions button{min-height:48px!important;}
}

@media(max-width:520px){
  .ops-month-grid .ops-cal-empty{min-height:55px!important;}
}

@media(min-width:721px){
  .hc-day-sheet,.hc-day-sheet-backdrop{display:none!important;}
}
/* ============================================================
   v197 finance centre
   ============================================================ */
.finance-centre-nav{display:flex;gap:8px;overflow-x:auto;margin:0 0 18px;padding:6px;border:1px solid var(--border);border-radius:16px;background:var(--card);scrollbar-width:none}
.finance-centre-nav::-webkit-scrollbar{display:none}
.finance-centre-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px;border-radius:11px;color:var(--muted);font-size:13px;font-weight:800;white-space:nowrap;text-decoration:none}
.finance-centre-nav a:hover{background:var(--gray);color:var(--text)}
.finance-centre-nav a.active{background:var(--text);color:#fff;box-shadow:0 5px 15px rgba(25,36,49,.14)}
.bank-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}
.bank-account-card{padding:18px;border-radius:17px}.bank-account-card h3{margin:5px 0}.bank-balance{font-size:27px;font-weight:850;margin:13px 0 4px}
.bank-credit{color:#11854b}.bank-debit{color:#b23a3a}.banking-gates{display:grid;gap:10px;margin-top:14px}.banking-gates>label,.banking-verify{display:flex;align-items:flex-start;gap:12px;padding:15px;border-radius:14px;cursor:pointer}.banking-gates input,.banking-verify input{margin-top:4px;width:18px;height:18px}.banking-gates span,.banking-verify span{display:grid;gap:4px}.banking-gates small,.banking-verify small{color:var(--muted);font-weight:500;line-height:1.45}
.finance-v197-filters{margin-bottom:16px}
.finance-view-switch{display:inline-flex;gap:5px;padding:4px;margin-bottom:14px;border-radius:12px;background:var(--gray)}
.finance-view-switch a{min-height:40px;display:flex;align-items:center;padding:8px 16px;border-radius:9px;color:var(--muted);font-weight:800;text-decoration:none}
.finance-view-switch a.active{background:var(--card);color:var(--text);box-shadow:0 2px 10px rgba(28,38,52,.09)}
.finance-filter-fields{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.finance-filter-fields label{display:grid;gap:6px;min-width:150px;color:var(--muted);font-size:12px;font-weight:800}
.finance-filter-fields .btn{min-height:44px}
.finance-v197-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:0 0 16px}
.finance-v197-kpis>a,.finance-v197-kpis>div{display:grid;gap:4px;min-height:126px;padding:18px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(145deg,var(--card),var(--gray));color:var(--text);text-decoration:none;box-shadow:var(--shadow)}
.finance-v197-kpis>a:hover{border-color:var(--primary);transform:translateY(-1px)}
.finance-v197-kpis span{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.finance-v197-kpis strong{font-size:25px;line-height:1.15}
.finance-v197-kpis small{align-self:end;color:var(--muted);font-size:12px}
.finance-aging-card{margin-bottom:16px}
.finance-aging-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:14px}
.finance-aging-grid a{display:grid;gap:4px;min-height:78px;padding:12px;border-radius:12px;background:var(--gray);color:var(--text);text-decoration:none}
.finance-aging-grid span{color:var(--muted);font-size:12px;font-weight:700}
.finance-aging-grid strong{font-size:17px}
.finance-aging-inline{display:flex;gap:6px;flex-wrap:wrap}
.finance-aging-inline a{padding:7px 10px;border-radius:9px;background:var(--gray);font-size:12px;font-weight:700;text-decoration:none}
.finance-sealed{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;background:#eaf8f0;color:#167147;font-size:11px;font-weight:850;white-space:nowrap}
.finance-payment-form,.finance-reversal-form{margin-top:16px}
.finance-allocation-list,.finance-credit-lines{display:grid;gap:8px;margin-top:12px}
.finance-allocation-list>label,.finance-credit-lines>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;padding:11px 13px;border:1px solid var(--border);border-radius:13px;background:var(--gray)}
.finance-allocation-list span,.finance-credit-lines span{display:grid;gap:3px}
.finance-allocation-list small,.finance-credit-lines small{color:var(--muted)}
.finance-allocation-list .input,.finance-credit-lines .input{width:150px;text-align:right}
.finance-receipt-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:22px}
.finance-receipt-meta>div{display:grid;gap:4px;padding:12px;border-radius:12px;background:var(--gray)}
.finance-receipt-meta span{color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}
.finance-inline-control{display:flex;align-items:center;gap:8px;min-width:260px}
.finance-inline-control .input{min-width:170px}
.finance-vat-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end;margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}
.finance-vat-form label{display:grid;gap:6px;font-size:12px;font-weight:800;color:var(--muted)}
.finance-vat-form .span-2{grid-column:span 2}
.invoice-line.is-reversed{opacity:.58;text-decoration:line-through}

@media(max-width:760px){
  .finance-centre-nav{margin-left:-4px;margin-right:-4px;padding:5px}
  .finance-centre-nav a{min-height:48px;padding:10px 14px}
  .finance-filter-fields{display:grid;grid-template-columns:1fr 1fr;align-items:end}
  .finance-filter-fields label{min-width:0}
  .finance-filter-fields .btn{width:100%;min-height:48px}
  .finance-v197-kpis{grid-template-columns:1fr 1fr}
  .finance-v197-kpis>a,.finance-v197-kpis>div{min-height:112px;padding:14px}
  .finance-v197-kpis strong{font-size:21px}
  .finance-aging-grid{grid-template-columns:1fr 1fr}
  .finance-aging-grid a:last-child{grid-column:1/-1}
  .finance-receipt-meta{grid-template-columns:1fr 1fr}
  .finance-allocation-list>label,.finance-credit-lines>div{align-items:stretch;flex-direction:column}
  .finance-allocation-list .input,.finance-credit-lines .input{width:100%;min-height:48px;text-align:left}
  .finance-vat-form{grid-template-columns:1fr}
  .finance-vat-form .span-2{grid-column:auto}
  .finance-inline-control{display:grid;min-width:0;width:100%}
  .finance-inline-control .input{min-width:0;min-height:48px}
  .finance-inline-control .btn{min-height:48px}
}
@media(max-width:420px){
  .finance-filter-fields,.finance-v197-kpis,.finance-receipt-meta{grid-template-columns:1fr}
  .finance-view-switch{display:grid;grid-template-columns:repeat(3,1fr);width:100%}
  .finance-view-switch a{justify-content:center;padding-inline:8px}
}

/* v200 — client-wide checklist policy */
.checklist-policy-card{padding:18px;border:1px solid var(--border);border-radius:16px;background:#fbfdff}
.checklist-policy-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.checklist-policy-choice{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dbe4ec;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.checklist-policy-choice:hover{border-color:#9fc7e4}
.checklist-policy-choice.is-selected{border-color:#1e77b7;background:#f2f9fe;box-shadow:0 0 0 3px rgba(30,119,183,.08)}
.checklist-policy-choice input{width:20px;height:20px;flex:0 0 auto;margin-top:2px;accent-color:#1e77b7}
.checklist-policy-choice span{display:grid;gap:4px}
.checklist-policy-choice strong{font-size:14px;color:#1d3447}
.checklist-policy-choice small{font-size:12px;line-height:1.45;color:#667788}
.external-checklist-fields{padding:16px;border:1px solid #dbe9f4;border-radius:14px;background:#fff}
.external-checklist-summary{display:grid;gap:12px;padding:18px;border:1px solid #b9daf0;border-radius:16px;background:#f4faff}
.external-checklist-summary h3{margin:0;color:#173a54}
.external-checklist-confirmation{border:1px solid #9fc7e4!important;background:#f8fcff!important}
.external-checklist-confirmation.is-flagged{border-color:#e8b2a9!important;background:#fff7f5!important}
@media(max-width:820px){.checklist-policy-choice-grid{grid-template-columns:1fr}.checklist-policy-card,.external-checklist-fields{padding:14px}}

/* v202 — one responsive operational model for Standard Cleans + Quick Tasks */
.quick-task-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:18px;align-items:start}
.quick-task-layout>.pricing-sidebar{position:sticky;top:22px;align-self:start}
.quick-task-layout>.pricing-sidebar>.sticky-card{position:static}
.quick-task-layout textarea{width:100%;min-height:120px;border:1px solid var(--border);border-radius:12px;padding:12px;font:inherit;background:var(--card)}
.quick-task-summary .pricing-total{font-size:38px;font-weight:900;letter-spacing:-.04em;margin-top:8px}
.quick-task-summary .pricing-sub{color:var(--muted);font-size:12px;margin-bottom:18px}
.job-type-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#eef4f8;color:#38536a;font-size:11px;font-weight:850;letter-spacing:.02em}
.ops-mini-job.is-quick-task{border-style:dashed;background:#f6fbff}
.ops-mini-job.is-quick-task span:after{content:'Quick';margin-left:6px;padding:1px 5px;border-radius:999px;background:#dceeff;color:#155f91;font-size:9px;font-weight:900;text-transform:uppercase}
.hc-day-sheet-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 20px 14px}
.calendar-status-reassignment_needed,.calendar-status-acceptance_overdue,.calendar-status-correction_requested{border-color:#ef9a9a!important;background:#fff7f7!important}
.calendar-status-offered{border-color:#e7c977!important}.calendar-status-accepted{border-color:#8fc6a4!important}
@media(max-width:900px){.quick-task-layout{grid-template-columns:1fr}.quick-task-layout>.pricing-sidebar{position:static;order:-1}.quick-task-layout .sticky-card{position:static}}
@media(max-width:600px){.quick-task-layout .form-grid,.quick-task-layout .form-grid-3{grid-template-columns:1fr}.hc-day-sheet-actions .btn{flex:1;min-width:140px}}

/* v203 — responsive billing and custom invoice controls */
.v203-custom-line{display:grid;grid-template-columns:minmax(180px,1fr) 140px 90px 140px;gap:10px}
.v203-custom-line input{min-width:0;width:100%}
@media(max-width:760px){.v203-custom-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.v203-custom-line .v203-line-description{grid-column:1/-1}}
@media(max-width:460px){.v203-custom-line{grid-template-columns:1fr}.v203-custom-line .v203-line-description{grid-column:auto}}

/* v206 — keyboard, motion and launch-checklist hardening */
.skip-link{position:fixed;z-index:10000;top:10px;left:10px;transform:translateY(-180%);padding:10px 14px;border-radius:9px;background:#102a43;color:#fff;font-weight:800;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.skip-link:focus{transform:translateY(0)}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #1d79b8;outline-offset:3px}
#main-content:focus{outline:none}
.launch-gate-banner{margin-bottom:14px}
.onboarding-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0 0 18px}
.onboarding-progress span{height:8px;border-radius:999px;background:#d9e3eb}
.onboarding-progress span.is-complete{background:#21875b}
.onboarding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.onboarding-step{display:grid;gap:14px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--card)}
.onboarding-step.is-complete{border-color:#9ad2b4;background:#f4fbf7}
.onboarding-step-head{display:flex;align-items:flex-start;gap:12px}
.onboarding-step-number{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#e9f2f8;color:#155f91;font-weight:900}
.onboarding-step.is-complete .onboarding-step-number{background:#21875b;color:#fff}
.onboarding-step-copy{display:grid;gap:4px}
.onboarding-step-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.onboarding-step form{display:grid;gap:10px}
.onboarding-step textarea{min-height:72px;resize:vertical}
@media(max-width:800px){.onboarding-grid{grid-template-columns:1fr}.onboarding-progress{grid-template-columns:repeat(3,1fr)}}
@media(max-width:520px){:where(.btn,button,select,input:not([type=checkbox]):not([type=radio])){min-height:44px}.onboarding-step{padding:14px}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
