/* HAMZiL Work — brand shell + theme over the Paces/Bootstrap pages.
   Black and white first; company colour only as its tag. Font: Poppins (the logo font). */

:root {
    --hz-ink: #000000;
    --hz-paper: #FFFDFC;
    --hz-page: #F5F3EF;
    --hz-card: #FFFFFF;
    --hz-line: #E6E2DA;
    --hz-line-soft: #EEEAE3;
    --hz-muted: #5F5A52;
    --hz-side: #000000;
    --hz-side-text: #E4E0D8;
    --hz-side-muted: #A8A298;
    --hz-tech: #060097;
    --hz-media: #D61935;
    --hz-property: #FF914D;
    --hz-ok: #17713F;     --hz-ok-bg: #E3F3EA;
    --hz-warn: #7A4E00;   --hz-warn-bg: #FCEFCF;
    --hz-bad: #A3122A;    --hz-bad-bg: #FBE5E8;
    --hz-grey: #3D3A35;   --hz-grey-bg: #ECE9E3;
    --hz-radius: 16px;
    --hz-side-w: 264px;
    --hz-tabbar: 64px;
}

/* Paces (--theme-*) and Bootstrap (--bs-*) variables, matched to the brand */
:root, [data-bs-theme=light], html[data-bs-theme=light] {
    --theme-font-sans-serif: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --theme-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --theme-body-color: #000000; --theme-body-color-rgb: 0, 0, 0;
    --theme-body-bg: #F5F3EF; --theme-body-bg-rgb: 245, 243, 239;
    --theme-tertiary-bg: #F5F3EF; --theme-tertiary-bg-rgb: 245, 243, 239;
    --theme-emphasis-color: #000000; --theme-emphasis-color-rgb: 0, 0, 0;
    --theme-secondary-color: #5F5A52; --theme-secondary-color-rgb: 95, 90, 82;
    --theme-heading-color: #000000;
    --theme-primary: #000000; --theme-primary-rgb: 0, 0, 0;
    --theme-primary-text-emphasis: #000000; --theme-primary-bg-subtle: #ECE9E3; --theme-primary-border-subtle: #D5D0C6;
    --theme-link-color: #000000; --theme-link-color-rgb: 0, 0, 0;
    --theme-link-hover-color: #060097; --theme-link-hover-color-rgb: 6, 0, 151;
    --theme-border-color: #E6E2DA; --theme-border-color-translucent: #EEEAE3;
    --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-color: #000000; --bs-body-bg: #F5F3EF; --bs-border-color: #E6E2DA;
    --bs-primary: #000000; --bs-primary-rgb: 0, 0, 0;
    --bs-link-color: #000000; --bs-link-color-rgb: 0, 0, 0; --bs-link-hover-color: #060097; --bs-link-hover-color-rgb: 6, 0, 151;
}

html, body { background: var(--hz-page); }
body { font-family: var(--bs-body-font-family); color: var(--hz-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h4, .h5, .page-title, .card-title { font-family: var(--bs-body-font-family); color: var(--hz-ink); }
a { text-decoration: none; }
.text-muted { color: var(--hz-muted) !important; }

/* ── Tag: the company colour, like the logo ───────────────────────── */
.hz-tag { display: inline-block; background: var(--tag-bg, #000); color: var(--tag-fg, #fff); font-weight: 600; padding: 0 .5em; line-height: 1.6; white-space: nowrap; }
.hz-tag.outline { background: transparent; color: currentColor; border: 1.5px solid currentColor; line-height: 1.45; }

/* ── Shell ───────────────────────────────────────────────────────── */
.hz-shell { display: flex; min-height: 100vh; }
.hz-side { position: fixed; inset: 0 auto 0 0; width: var(--hz-side-w); background: var(--hz-side); color: #fff; display: flex; flex-direction: column; gap: 14px; padding: 18px 12px; z-index: 1040; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.hz-brand { display: flex; align-items: center; gap: 6px; padding: 0 6px; color: #fff; }
.hz-brand:hover { color: #fff; }
.hz-brand img { width: 32px; height: 32px; }
.hz-brand b { font-size: 20px; font-weight: 700; letter-spacing: .2px; }
.hz-brand .hz-tag { font-size: 12px; }

.hz-switch { position: relative; }
.hz-switch > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid #3A3833; background: #161514; cursor: pointer; min-height: 58px; }
.hz-switch > summary::-webkit-details-marker { display: none; }
.hz-switch > summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hz-switch .co { font-size: 11px; color: var(--hz-side-muted); display: block; line-height: 1.3; }
.hz-switch .chev { margin-left: auto; color: var(--hz-side-muted); font-size: 18px; }
.hz-switch .menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; color: #000; border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.35); z-index: 5; }
.hz-switch .menu .grp { font-size: 11px; font-weight: 600; color: var(--hz-muted); padding: 8px 10px 4px; text-transform: uppercase; letter-spacing: .6px; }
.hz-switch .menu button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.hz-switch .menu button:hover, .hz-switch .menu button[aria-current="true"] { background: #F2EFE9; }
.hz-switch .menu .all { display: block; font-size: 12px; font-weight: 600; padding: 10px; border-top: 1px solid var(--hz-line-soft); margin-top: 4px; color: #000; }

.hz-nav { display: flex; flex-direction: column; gap: 12px; }
.hz-nav .sec { display: flex; flex-direction: column; gap: 1px; }
.hz-nav .sec-title { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--hz-side-muted); padding: 0 12px 4px; }
.hz-nav .sec-title .sq { width: 10px; height: 10px; background: var(--tag-bg); outline: 1px solid rgba(255,255,255,.5); }
.hz-nav a { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 6px 12px; border-radius: 10px; color: var(--hz-side-text); font-size: 13.5px; font-weight: 500; }
.hz-nav a i { font-size: 18px; width: 20px; text-align: center; color: var(--hz-side-muted); }
.hz-nav a:hover { background: #1C1B19; color: #fff; }
.hz-nav a[aria-current="page"] { background: #fff; color: #000; font-weight: 600; }
.hz-nav a[aria-current="page"] i { color: #000; }
.hz-nav a.soon { color: #8D877D; }
.hz-nav a.soon .lbl-soon { margin-left: auto; font-size: 10px; font-weight: 600; border: 1px solid #3A3833; border-radius: 999px; padding: 0 6px; color: #8D877D; }
.hz-nav .count { margin-left: auto; font-size: 11px; font-weight: 700; background: #fff; color: #000; border-radius: 999px; padding: 0 7px; line-height: 18px; }
.hz-nav a[aria-current="page"] .count { background: #000; color: #fff; }

.hz-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 4px; border-top: 1px solid #2A2825; }
.hz-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; overflow: hidden; flex-shrink: 0; }
.hz-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hz-me .who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hz-me .who b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-me .who span { font-size: 12px; color: var(--hz-side-muted); }
.hz-me form { margin-left: auto; }
.hz-me button { background: none; border: 0; color: var(--hz-side-muted); width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
.hz-me button:hover { background: #1C1B19; color: #fff; }

.hz-main { flex: 1; min-width: 0; margin-left: var(--hz-side-w); display: flex; flex-direction: column; }
.hz-top { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: 14px; padding: 18px 32px; background: rgba(245,243,239,.92); backdrop-filter: blur(8px); }
.hz-top h1 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; }
.hz-top .crumb { font-size: 12px; color: var(--hz-muted); display: flex; align-items: center; gap: 6px; }
.hz-top .crumb .hz-tag { font-size: 11px; }
.hz-top .acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hz-iconbtn { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hz-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #000; font-size: 20px; }
.hz-iconbtn:hover { border-color: #000; color: #000; }
.hz-iconbtn .dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--hz-media); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.hz-menu-btn, .hz-mobile-brand { display: none; }

.hz-content { padding: 4px 32px 40px; }
.hz-content > .alert { margin-bottom: 16px; }

/* Phone bottom bar */
.hz-tabs { display: none; }

@media (max-width: 991.98px) {
    .hz-side { transform: translateX(-100%); transition: transform .2s ease; visibility: hidden; }
    html.hz-menu-open .hz-side { transform: none; visibility: visible; box-shadow: 0 0 40px rgba(0,0,0,.4); }
    .hz-content .table-responsive, .hz-content .card { max-width: 100%; }
    .hz-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1035; }
    html.hz-menu-open .hz-backdrop { display: block; }
    .hz-main { margin-left: 0; padding-bottom: calc(var(--hz-tabbar) + env(safe-area-inset-bottom)); }
    .hz-top { padding: 12px 16px; flex-wrap: wrap; }
    .hz-top h1 { font-size: 20px; }
    .hz-mobile-brand { display: inline-flex; }
    .hz-mobile-brand img { width: 30px; height: 30px; }
    .hz-content { padding: 4px 16px 24px; }
    .hz-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; height: calc(var(--hz-tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--hz-line); }
    .hz-tabs a, .hz-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #6B655C; font-size: 11px; font-weight: 500; background: none; border: 0; font-family: inherit; min-height: 44px; }
    .hz-tabs i { font-size: 22px; }
    .hz-tabs [aria-current="page"] { color: #000; font-weight: 700; }
    .hz-tabs .count { position: absolute; top: 6px; left: 54%; min-width: 16px; height: 16px; border-radius: 8px; background: #000; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
}

/* ── Theme over existing Bootstrap / Paces pages ─────────────────── */
.card { --bs-card-border-color: var(--hz-line); --bs-card-border-radius: var(--hz-radius); --bs-card-inner-border-radius: calc(var(--hz-radius) - 1px); --bs-card-cap-bg: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius); box-shadow: none; }
.card-header { background: #fff; border-bottom-color: var(--hz-line-soft); }
.card-title { font-weight: 600; }

.btn { --bs-btn-font-family: var(--bs-body-font-family); --bs-btn-font-weight: 600; --bs-btn-border-radius: 10px; }
.btn-primary { --theme-btn-color: #fff; --theme-btn-bg: #000; --theme-btn-border-color: #000; --theme-btn-hover-color: #fff; --theme-btn-hover-bg: #262421; --theme-btn-hover-border-color: #262421; --theme-btn-active-bg: #000; --theme-btn-active-border-color: #000; --theme-btn-disabled-bg: #6B655C; --theme-btn-disabled-border-color: #6B655C; --theme-btn-focus-shadow-rgb: 0,0,0; --bs-btn-bg: #000; --bs-btn-border-color: #000; --bs-btn-color: #fff; --bs-btn-hover-bg: #262421; --bs-btn-hover-border-color: #262421; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #000; --bs-btn-active-border-color: #000; --bs-btn-disabled-bg: #6B655C; --bs-btn-disabled-border-color: #6B655C; --bs-btn-focus-shadow-rgb: 0,0,0; }
.btn-outline-primary { --theme-btn-color: #000; --theme-btn-border-color: #000; --theme-btn-hover-bg: #000; --theme-btn-hover-border-color: #000; --theme-btn-hover-color: #fff; --theme-btn-active-bg: #000; --theme-btn-active-border-color: #000; --bs-btn-color: #000; --bs-btn-border-color: #000; --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #000; --bs-btn-active-border-color: #000; }
.btn-light { --theme-btn-bg: #fff; --theme-btn-border-color: #E6E2DA; --theme-btn-hover-bg: #F2EFE9; --theme-btn-hover-border-color: #D5D0C6; --bs-btn-bg: #fff; --bs-btn-border-color: var(--hz-line); --bs-btn-hover-bg: #F2EFE9; --bs-btn-hover-border-color: #D5D0C6; }
.btn-soft-primary, .bg-primary-subtle { background-color: #ECE9E3 !important; color: #000 !important; }
.text-primary { color: #000 !important; }
.bg-primary { background-color: #000 !important; }
.badge { font-weight: 600; }
.badge.bg-primary { background: #000 !important; }

.form-control, .form-select { border-color: var(--hz-line); border-radius: 10px; font-family: inherit; }
.form-control:focus, .form-select:focus { border-color: #000; box-shadow: 0 0 0 .2rem rgba(0,0,0,.08); }
.form-check-input:checked { background-color: #000; border-color: #000; }
.form-label { font-weight: 500; }

.table { --bs-table-border-color: var(--hz-line-soft); }
.table > thead th, .table thead.table-light th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--hz-muted); background: #FAF8F5; }

.nav-tabs .nav-link.active, .nav-pills .nav-link.active { color: #000; font-weight: 600; }
.nav-pills .nav-link.active { background: #000; color: #fff; }
.nav-tabs .nav-link.active { border-bottom: 2px solid #000; }
.page-link { color: #000; }
.active > .page-link, .page-link.active { background: #000; border-color: #000; }
.dropdown-menu { border-color: var(--hz-line); border-radius: 12px; }
.modal-content { border-radius: 18px; border: 0; }
.alert { border-radius: 12px; border: 0; }
.alert-success { background: var(--hz-ok-bg); color: var(--hz-ok); }
.alert-danger { background: var(--hz-bad-bg); color: var(--hz-bad); }
.alert-warning { background: var(--hz-warn-bg); color: var(--hz-warn); }

/* ── Today ───────────────────────────────────────────────────────── */
.hz-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.hz-kpi { background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; color: #000; }
a.hz-kpi:hover { border-color: #000; color: #000; }
.hz-kpi .l { font-size: 12.5px; color: var(--hz-muted); font-weight: 500; }
.hz-kpi .v { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; }
.hz-kpi .n { font-size: 12px; color: var(--hz-muted); }
.hz-today { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.hz-panel { background: #fff; border: 1px solid var(--hz-line); border-radius: 18px; }
.hz-panel > .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 10px; }
.hz-panel > .hd h2 { margin: 0; font-size: 17px; font-weight: 700; }
.hz-panel > .bd { padding: 4px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.hz-need { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-top: 1px solid var(--hz-line-soft); }
.hz-need .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hz-need .t b { font-size: 14px; font-weight: 600; }
.hz-need .t span { font-size: 12.5px; color: var(--hz-muted); }
.hz-chip { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.hz-chip.bad { color: var(--hz-bad); background: var(--hz-bad-bg); }
.hz-chip.warn { color: var(--hz-warn); background: var(--hz-warn-bg); }
.hz-chip.ok { color: var(--hz-ok); background: var(--hz-ok-bg); }
.hz-chip.grey { color: var(--hz-grey); background: var(--hz-grey-bg); }
.hz-act { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #000; font-size: 13px; font-weight: 600; color: #000; background: #fff; white-space: nowrap; }
.hz-act:hover { background: #000; color: #fff; }
.hz-empty { padding: 26px 20px; text-align: center; color: var(--hz-muted); border-top: 1px solid var(--hz-line-soft); }
.hz-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.hz-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hz-tiles a { padding: 12px; border-radius: 12px; background: var(--hz-page); font-size: 13px; font-weight: 600; color: #000; }
.hz-tiles a:hover { background: #ECE9E3; }

@media (max-width: 1199.98px) { .hz-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hz-today { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) {
    .hz-kpi .v { font-size: 22px; }
    .hz-need { flex-wrap: wrap; padding: 12px 16px; gap: 8px 10px; }
    .hz-need .t { flex-basis: 100%; }
    .hz-panel > .hd, .hz-panel > .bd { padding-left: 16px; padding-right: 16px; }
}

/* ── Choose company / coming soon ───────────────────────────────── */
.hz-choose { min-height: 100vh; background: var(--hz-paper); display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 32px 16px 48px; position: relative; overflow: hidden; }
.hz-choose .dots { position: absolute; right: 0; bottom: 0; width: 60vw; max-width: 640px; height: 320px; background-image: radial-gradient(circle, #000 2px, transparent 2.4px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(ellipse at bottom right, rgba(0,0,0,.3), transparent 70%); mask-image: radial-gradient(ellipse at bottom right, rgba(0,0,0,.3), transparent 70%); pointer-events: none; }
.hz-choose .bar { width: 100%; max-width: 1140px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hz-lockup { display: flex; align-items: center; gap: 8px; color: #000; }
.hz-lockup img { width: 38px; height: 38px; }
.hz-lockup b { font-size: 24px; font-weight: 700; }
.hz-choose h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin: 0; text-align: center; }
.hz-cos { width: 100%; max-width: 1140px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; position: relative; }
.hz-co { background: #fff; border: 1px solid var(--hz-line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.hz-co .head { display: flex; align-items: center; gap: 12px; }
.hz-co .head img { width: 56px; height: 56px; }
.hz-co .name { font-size: 26px; font-weight: 700; line-height: 1; }
.hz-co .legal { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.hz-co .legal.box { border: 2px solid #000; padding: 0 3px 0 7px; }
.hz-co .legal.line { border-bottom: 2px solid #000; font-size: 13px; }
.hz-stripes { display: inline-flex; gap: 2px; height: 14px; }
.hz-stripes i { width: 3px; display: block; }
.hz-unit { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--hz-page); border: 2px solid transparent; font: inherit; text-align: left; cursor: pointer; min-height: 52px; color: #000; }
.hz-unit:hover, .hz-unit:focus-visible { border-color: #000; outline: none; }
.hz-unit .d { font-size: 12.5px; color: var(--hz-muted); }
.hz-unit .st { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--hz-muted); white-space: nowrap; }
.hz-unit .st.live { color: var(--hz-ok); }
.hz-unit .last { font-size: 11px; font-weight: 600; background: #000; color: #fff; border-radius: 999px; padding: 1px 8px; }
@media (max-width: 767.98px) { .hz-cos { grid-template-columns: minmax(0, 1fr); } .hz-unit .d { display: none; } }

.hz-soon { max-width: 640px; background: #fff; border: 1px solid var(--hz-line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.hz-soon .ph { align-self: flex-start; font-size: 12px; font-weight: 700; border: 1.5px solid #000; border-radius: 999px; padding: 2px 10px; }

/* ════════════════════════════════════════════════════════════════════
   CALM THEME (v3) — same feel as the HAMZiL tenant app:
   light sidebar, soft paper background, Plus Jakarta Sans for the interface,
   company colour only as a small dot. Black stays for text and the main button.
   Poppins is kept for the HAMZiL wordmark only.
   ════════════════════════════════════════════════════════════════════ */
:root, [data-bs-theme=light], html[data-bs-theme=light] {
    --hz-page: #F7F6F2;
    --hz-line: #E9E6DF;
    --hz-line-soft: #F0EDE7;
    --hz-muted: #6B6560;
    --hz-side: #FFFFFF;
    --hz-side-text: #2E2B27;
    --hz-side-muted: #8C867C;
    --theme-font-sans-serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --theme-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --theme-body-color: #1F1D1A; --theme-body-color-rgb: 31, 29, 26;
    --theme-body-bg: #F7F6F2; --theme-body-bg-rgb: 247, 246, 242;
    --theme-border-color: #E9E6DF;
    --bs-body-bg: #F7F6F2; --bs-border-color: #E9E6DF;
}
html, body { background: var(--hz-page); }
body, h1, h2, h3, h4, h5, h6, .h4, .h5, .page-title, .card-title { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #1F1D1A; }
.hz-brand b, .hz-lockup b, .hz-co .name { font-family: 'Poppins', system-ui, sans-serif; }

/* Company = a small coloured dot before its name (not a solid block) */
.hz-tag:not(.outline) { background: none; color: inherit; padding: 0; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; line-height: 1.4; }
.hz-tag:not(.outline)::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tag-bg, #000); flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.hz-tag.outline { border-width: 1.5px; border-radius: 6px; padding: 0 .4em; font-weight: 600; }

/* Light sidebar */
.hz-side { background: #FFFFFF; color: #1F1D1A; border-right: 1px solid var(--hz-line); scrollbar-color: #DDD8CF transparent; }
.hz-brand, .hz-brand:hover { color: #000; }
.hz-switch > summary { background: #F7F6F2; border: 1px solid var(--hz-line); min-height: 54px; }
.hz-switch > summary:hover { border-color: #CFC9BF; }
.hz-switch > summary:focus-visible { outline-color: #000; }
.hz-switch .co { color: var(--hz-muted); }
.hz-switch .chev { color: var(--hz-muted); }
.hz-switch .menu { border: 1px solid var(--hz-line); box-shadow: 0 16px 36px rgba(31,29,26,.12); }
.hz-nav .sec-title { color: var(--hz-side-muted); letter-spacing: .6px; font-size: 11px; }
.hz-nav .sec-title .sq { border-radius: 50%; outline: none; width: 8px; height: 8px; }
.hz-nav a { color: var(--hz-side-text); font-weight: 500; }
.hz-nav a i { color: #8C867C; }
.hz-nav a:hover { background: #F5F3EF; color: #000; }
.hz-nav a[aria-current="page"] { background: #F0EDE7; color: #000; font-weight: 700; }
.hz-nav a[aria-current="page"] i { color: #000; }
.hz-nav a.soon { color: #A39D93; }
.hz-nav a.soon i { color: #BDB7AD; }
.hz-nav a.soon .lbl-soon { border-color: var(--hz-line); color: #A39D93; }
.hz-nav .count { background: #1F1D1A; color: #fff; }
.hz-nav a[aria-current="page"] .count { background: #1F1D1A; color: #fff; }
.hz-me { border-top-color: var(--hz-line); }
.hz-avatar { background: #1F1D1A; color: #fff; }
.hz-me .who span { color: var(--hz-muted); }
.hz-me button { color: var(--hz-muted); }
.hz-me button:hover { background: #F5F3EF; color: #000; }

/* Top bar & content: lighter weights */
.hz-top { background: rgba(247,246,242,.92); }
.hz-top h1 { font-weight: 800; color: #1F1D1A; letter-spacing: -.2px; }
.hz-top .crumb { color: var(--hz-muted); }
.hz-iconbtn { border-color: var(--hz-line); }
.hz-iconbtn .dot { background: #1F1D1A; }

.card, .hz-panel, .hz-kpi, .hz-co, .hz-soon { border-color: var(--hz-line); box-shadow: 0 1px 2px rgba(31,29,26,.03); }
.hz-kpi .v { font-weight: 800; color: #1F1D1A; }
.hz-panel > .hd h2 { font-weight: 800; }
.hz-need .t b { font-weight: 700; }
.hz-act { border: 1px solid #D9D4CA; font-weight: 600; }
.hz-act:hover { background: #1F1D1A; border-color: #1F1D1A; color: #fff; }
.hz-chip { font-weight: 600; }

.btn-primary { --theme-btn-bg: #1F1D1A; --theme-btn-border-color: #1F1D1A; --theme-btn-hover-bg: #000; --theme-btn-hover-border-color: #000; --bs-btn-bg: #1F1D1A; --bs-btn-border-color: #1F1D1A; }
.table > thead th, .table thead.table-light th { background: #FAF9F6; color: var(--hz-muted); font-weight: 600; }

/* Phone: the slide-in menu is now light, so a softer shadow */
@media (max-width: 991.98px) {
    html.hz-menu-open .hz-side { box-shadow: 0 0 40px rgba(31,29,26,.18); }
    .hz-backdrop { background: rgba(31,29,26,.3); }
    .hz-tabs { border-top-color: var(--hz-line); }
    .hz-tabs [aria-current="page"] { color: #1F1D1A; }
    .hz-tabs .count { background: #1F1D1A; }
}
