:root {
    --bg: #f6f7f8;
    --surface: #ffffff;
    --surface-soft: #f8faf9;
    --surface-tint: #f1f6f4;
    --text: #202525;
    --text-strong: #101414;
    --muted: #737c7a;
    --muted-2: #99a09f;
    --line: #e7eae9;
    --line-strong: #d8dddb;
    --primary: #1b615a;
    --primary-dark: #124942;
    --primary-soft: #e7f3f0;
    --blue: #4868c8;
    --blue-soft: #edf1ff;
    --purple: #7459b8;
    --purple-soft: #f1edfb;
    --orange: #b96f3f;
    --orange-soft: #fbf0e8;
    --success: #2d7b58;
    --success-soft: #e9f5ef;
    --danger: #a54343;
    --danger-soft: #fbecec;
    --info: #3d6682;
    --info-soft: #eaf3f8;
    --sidebar: 252px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-soft: 0 8px 24px rgba(16, 28, 25, 0.045);
    --font:
        Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.ikon-svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

.label-kecil,
.panel-label {
    display: block;
    color: var(--primary);
    font-size: 10px;
    line-height: 1.3;
    font-weight: 780;
    letter-spacing: 0.12em;
}

.label-kecil-terang {
    color: #9fcac4;
}

.muted {
    color: var(--muted);
}

/* ==========================================================
   Komponen umum
   ========================================================== */

.btn {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.btn-ghost {
    color: var(--muted);
    background: transparent;
}

.btn-block {
    width: 100%;
}

.alert {
    width: 100%;
    margin: 0 0 18px;
    padding: 12px 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
}

.alert .ikon-svg {
    width: 17px;
    height: 17px;
    margin-top: 1px;
}

.alert-error {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: #f1d5d5;
}

.alert-success {
    color: var(--success);
    background: var(--success-soft);
    border-color: #d2e8dc;
}

.alert-info {
    color: var(--info);
    background: var(--info-soft);
    border-color: #d5e5ee;
}

.alert-hq {
    max-width: 720px;
    margin-bottom: 20px;
}

/* ==========================================================
   Login dan ganti password
   ========================================================== */

.halaman-akun {
    overflow-x: hidden;
    background: #eef5f3;
}

.akun-shell {
    width: calc(100% - 28px);
    min-height: calc(100vh - 28px);
    margin: 14px;
    display: grid;
    grid-template-columns: minmax(430px, 0.96fr) minmax(500px, 1.04fr);
    overflow: hidden;
    border: 1px solid rgba(23, 86, 79, 0.08);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(19, 73, 67, 0.11);
}

.akun-brand-panel {
    min-height: calc(100vh - 28px);
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    color: #fff;
    background:
        radial-gradient(
            circle at 78% 20%,
            rgba(122, 194, 185, 0.16),
            transparent 28%
        ),
        linear-gradient(145deg, #0f403c 0%, #173c39 54%, #102d2b 100%);
}

.akun-brand-top,
.akun-brand-footer {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-identitas {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-simbol {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 11px;
    color: #fff;
    background: #15988d;
    font-size: 17px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -0.06em;
}

.brand-teks strong,
.brand-teks small {
    display: block;
}

.brand-teks strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.brand-teks small {
    margin-top: 3px;
    color: #9fc2be;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.brand-identitas-gelap .brand-teks strong {
    color: var(--text-strong);
}

.brand-identitas-gelap .brand-teks small {
    color: var(--muted-2);
}

.chip-unit {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #bfdbd7;
    background: rgba(255, 255, 255, 0.035);
    font-size: 10px;
    font-weight: 650;
}

.akun-brand-copy {
    position: relative;
    z-index: 3;
    width: min(100%, 610px);
    margin: auto 0 32px;
}

.akun-brand-copy h1 {
    max-width: 600px;
    margin: 13px 0 18px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 730;
}

.akun-brand-copy p {
    max-width: 520px;
    margin: 0;
    color: #b4cbc8;
    font-size: 15px;
    line-height: 1.7;
}

.akun-brand-footer {
    margin-top: auto;
    justify-content: flex-start;
    color: #87aaa6;
    font-size: 10px;
    font-weight: 650;
}

.akun-ilustrasi {
    position: absolute;
    inset: auto -70px -60px auto;
    width: min(78%, 650px);
    aspect-ratio: 1.18;
    opacity: 0.9;
    pointer-events: none;
}

.akun-ilustrasi::before,
.akun-ilustrasi::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(160, 217, 209, 0.16);
}

.akun-ilustrasi::before {
    inset: 12% 13% 22% 7%;
    border-radius: 46% 46% 0 0;
}

.akun-ilustrasi::after {
    inset: 32% 31% 4% 26%;
}

.garis-denah,
.titik-denah,
.label-denah {
    position: absolute;
}

.garis-denah {
    border-color: rgba(160, 217, 209, 0.17);
    border-style: solid;
}

.garis-denah-a {
    inset: 8% 40% 8% 23%;
    border-width: 0 1px 0 1px;
}

.garis-denah-b {
    inset: 35% 5% 35% 8%;
    border-width: 1px 0;
}

.garis-denah-c {
    width: 44%;
    height: 44%;
    right: 7%;
    top: 10%;
    border-width: 1px;
    border-radius: 50%;
}

.titik-denah {
    width: 9px;
    height: 9px;
    border: 2px solid #74b9b0;
    border-radius: 50%;
    background: #163d39;
}

.titik-denah-a {
    left: 23%;
    top: 35%;
}

.titik-denah-b {
    right: 39.5%;
    bottom: 34%;
}

.label-denah {
    padding: 5px 7px;
    border: 1px solid rgba(152, 211, 203, 0.16);
    color: #6fa69f;
    background: rgba(13, 50, 46, 0.75);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.label-denah-a {
    left: 25%;
    top: 38%;
}

.label-denah-b {
    right: 10%;
    bottom: 30%;
}

.akun-form-panel {
    min-height: calc(100vh - 28px);
    position: relative;
    padding: clamp(34px, 5vw, 74px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.akun-form-container {
    width: min(100%, 430px);
    margin: auto;
}

.akun-heading {
    margin-bottom: 30px;
}

.akun-heading h2 {
    margin: 9px 0 9px;
    color: var(--text-strong);
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.akun-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.akun-heading p strong {
    color: var(--text-strong);
}

.form-akun {
    display: grid;
    gap: 17px;
}

.field-akun {
    display: grid;
    gap: 8px;
}

.field-akun > span {
    color: #4a5351;
    font-size: 12px;
    font-weight: 680;
}

.input-akun-wrap {
    height: 49px;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #fff;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.input-akun-wrap:focus-within {
    border-color: #65a9a0;
    box-shadow: 0 0 0 3px rgba(27, 97, 90, 0.08);
}

.input-ikon {
    position: absolute;
    left: 14px;
    width: 17px;
    height: 17px;
    color: #9aa4a2;
}

.input-akun-wrap input {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 45px 0 43px;
    border: 0;
    outline: 0;
    border-radius: inherit;
    color: var(--text-strong);
    background: transparent;
    font-size: 13px;
}

.input-akun-wrap input::placeholder {
    color: #b2b8b7;
}

.tombol-lihat-password {
    width: 39px;
    height: 39px;
    position: absolute;
    right: 4px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #8c9694;
    background: transparent;
}

.tombol-lihat-password:hover {
    color: var(--primary);
    background: var(--surface-tint);
}

.btn-akun {
    min-height: 49px;
    margin-top: 4px;
}

.btn-akun .ikon-svg {
    width: 16px;
    height: 16px;
}

.akun-keamanan {
    margin-top: 25px;
    padding-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
}

.akun-keamanan .ikon-svg {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: #6f918c;
}

.akun-keamanan p {
    margin: 0;
    font-size: 10.5px;
    line-height: 1.65;
}

.akun-footer {
    width: min(100%, 430px);
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #acb2b1;
    font-size: 9px;
}

/* Ganti password */

.akun-shell-password {
    grid-template-columns: minmax(430px, 0.9fr) minmax(510px, 1.1fr);
}

.password-info-panel {
    min-height: calc(100vh - 28px);
    padding: clamp(34px, 5vw, 66px);
    display: flex;
    flex-direction: column;
    background: #f4f8f7;
    border-right: 1px solid var(--line);
}

.password-info-copy {
    width: min(100%, 520px);
    margin: auto 0 28px;
}

.password-info-copy h1 {
    margin: 12px 0 15px;
    color: var(--text-strong);
    font-size: clamp(31px, 3.7vw, 50px);
    line-height: 1.07;
    letter-spacing: -0.05em;
}

.password-info-copy p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.syarat-password-card {
    width: min(100%, 530px);
    padding: 20px;
    border: 1px solid #dae5e2;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.78);
}

.syarat-password-head {
    padding-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-bottom: 1px solid var(--line);
}

.syarat-password-head > .ikon-svg {
    width: 19px;
    height: 19px;
    margin-top: 1px;
    color: var(--primary);
}

.syarat-password-head strong,
.syarat-password-head span {
    display: block;
}

.syarat-password-head strong {
    color: var(--text-strong);
    font-size: 12.5px;
}

.syarat-password-head span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10.5px;
}

.syarat-password-list {
    margin: 15px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    list-style: none;
}

.syarat-password-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #818a88;
    font-size: 10.5px;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.syarat-indikator {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    border: 1px solid #d5dcda;
    border-radius: 50%;
    color: transparent;
    background: #fff;
    font-size: 8px;
    font-weight: 900;
}

.syarat-password-list li.terpenuhi {
    color: var(--success);
}

.syarat-password-list li.terpenuhi .syarat-indikator {
    color: #fff;
    border-color: var(--success);
    background: var(--success);
}

.password-info-note {
    width: min(100%, 530px);
    margin: 15px 0 0;
    color: #9aa2a0;
    font-size: 9.5px;
    line-height: 1.55;
}

.akun-form-container-password {
    width: min(100%, 460px);
}

.form-keluar-akun {
    margin-top: 8px;
}

/* ==========================================================
   HQ - struktur utama
   ========================================================== */

.hq-body {
    background: var(--bg);
}

.hq-shell {
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar);
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    background: #fff;
}

.sidebar-brand {
    min-height: 66px;
    padding: 13px 14px 11px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.sidebar-brand-link {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-simbol-sidebar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 9px;
    font-size: 15px;
}

.sidebar-brand-text strong,
.sidebar-brand-text small {
    display: block;
}

.sidebar-brand-text strong {
    color: var(--text-strong);
    font-size: 14px;
    letter-spacing: -0.025em;
}

.sidebar-brand-text small {
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.sidebar-close {
    width: 32px;
    height: 32px;
    display: none;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: var(--muted);
    background: transparent;
}

.sidebar-unit-switcher {
    margin: 10px 10px 5px;
    padding: 10px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 10px;
    align-items: center;
    gap: 9px;
    border: 1px solid #dfe8e4;
    border-radius: 11px;
    background: linear-gradient(135deg, #fbfdfc 0%, #f4f8f6 100%);
    box-shadow: 0 5px 16px rgba(28, 53, 43, 0.035);
}

.sidebar-unit-logo {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid #d4e4dd;
    border-radius: 9px;
    color: #fff;
    background: var(--primary-dark);
    font-size: 11px;
    font-weight: 820;
    box-shadow: 0 4px 10px rgba(23, 79, 67, 0.12);
}

.sidebar-unit-switcher strong,
.sidebar-unit-switcher small {
    display: block;
}

.sidebar-unit-switcher strong {
    color: var(--text-strong);
    font-size: 10.5px;
}

.sidebar-unit-switcher small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--muted-2);
    font-size: 8.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-unit-status {
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #35a274;
    box-shadow: 0 0 0 2px #dff2e9;
}

.sidebar-nav {
    flex: 1;
    padding: 5px 10px 15px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d5dad9 transparent;
}

.nav-group {
    margin-top: 5px;
}

.nav-group-toggle {
    width: 100%;
    min-height: 32px;
    padding: 6px 8px 6px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #89928f;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.nav-group-toggle:hover {
    color: #52625c;
    background: #f6f8f7;
}

.nav-group-toggle-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-group-toggle-main > span:last-child {
    overflow: hidden;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.085em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-group-toggle-icon {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    flex: 0 0 25px;
    border: 1px solid #e2e9e6;
    border-radius: 7px;
    background: #fff;
    color: #7a8983;
}

.nav-group-toggle-icon .ikon-svg {
    width: 13px;
    height: 13px;
}

.nav-group-chevron {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    color: #a3aba8;
    transition: transform 0.16s ease;
}

.nav-group.is-open > .nav-group-toggle .nav-group-chevron {
    transform: rotate(180deg);
}

.nav-group.is-active > .nav-group-toggle {
    color: var(--primary-dark);
    background: #f3f8f6;
}

.nav-group.is-active > .nav-group-toggle .nav-group-toggle-icon {
    border-color: #d4e5de;
    background: #e9f4ef;
    color: var(--primary);
}

.nav-group-items {
    position: relative;
    margin-left: 12px;
    padding: 3px 0 5px 10px;
    border-left: 1px solid #e6ece9;
}

.nav-group-items .nav-item {
    min-height: 34px;
    padding-left: 8px;
}

.nav-group-items[hidden] {
    display: none !important;
}

.nav-item {
    width: 100%;
    min-height: 36px;
    margin: 1px 0;
    padding: 7px 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    color: #68716f;
    background: transparent;
    font-size: 11px;
    font-weight: 560;
    text-align: left;
    transition:
        color 0.14s ease,
        background 0.14s ease;
}

.nav-item:hover {
    color: var(--text-strong);
    background: #f5f7f6;
}

.nav-icon {
    width: 16px;
    height: 16px;
    color: #8c9593;
}

.nav-item-aktif {
    color: var(--primary-dark);
    background: var(--primary-soft);
    font-weight: 690;
}

.nav-item-aktif .nav-icon {
    color: var(--primary);
}

.sidebar-footer {
    padding: 9px 10px 10px;
    border-top: 1px solid var(--line);
    background: #fbfcfc;
}

.sidebar-user-ringkas {
    margin-bottom: 7px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #e2e9e6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(24, 45, 37, 0.035);
}

.sidebar-user-ringkas > div {
    min-width: 0;
}

.sidebar-user-ringkas strong,
.sidebar-user-ringkas small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-ringkas strong {
    color: var(--text-strong);
    font-size: 10.5px;
}

.sidebar-user-ringkas small {
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 8.5px;
}

.sidebar-footer form {
    margin: 0;
}

.nav-logout {
    color: #8c5b5b;
}

.nav-logout .nav-icon {
    color: #a27070;
}

.hq-main {
    min-height: 100vh;
    margin-left: var(--sidebar);
}

.topbar {
    height: 66px;
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.topbar-left,
.topbar-right,
.topbar-user {
    display: flex;
    align-items: center;
}

.topbar-left {
    min-width: 0;
    gap: 10px;
}

.topbar-title span,
.topbar-title strong {
    display: block;
}

.topbar-title span {
    margin-bottom: 2px;
    color: var(--muted-2);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.topbar-title strong {
    color: var(--text-strong);
    font-size: 13px;
    line-height: 1.15;
}

.topbar-right {
    gap: 10px;
}

.topbar-unit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 650;
}

.topbar-unit-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #36a178;
    box-shadow: 0 0 0 3px #e5f4ed;
}

.topbar-live-clock {
    min-width: 126px;
    min-height: 38px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e1e7e4;
    border-radius: 10px;
    background: #fbfcfc;
}

.topbar-live-clock-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex: 0 0 27px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
}

.topbar-live-clock-icon .ikon-svg {
    width: 14px;
    height: 14px;
}

.topbar-live-clock span,
.topbar-live-clock strong {
    display: block;
    white-space: nowrap;
}

.topbar-live-clock span {
    color: #8a9490;
    font-size: 8px;
    font-weight: 680;
    letter-spacing: 0.035em;
}

.topbar-live-clock strong {
    margin-top: 1px;
    color: #293b34;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.035em;
}

.topbar-live-clock-copy {
    min-width: 0;
    line-height: 1.1;
}

.topbar-notification {
    position: relative;
}

.topbar-notification-toggle {
    width: 38px;
    height: 38px;
    position: relative;
    display: grid;
    place-items: center;
    border: 1px solid #dfe6e3;
    border-radius: 10px;
    color: #40534b;
    background: #fff;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        color 160ms ease,
        background 160ms ease;
}

.topbar-notification-toggle:hover,
.topbar-notification-toggle[aria-expanded="true"] {
    border-color: #bed6ce;
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.topbar-notification-toggle .ikon-svg {
    width: 17px;
    height: 17px;
}

.topbar-notification-badge {
    min-width: 17px;
    height: 17px;
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #c85858;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 0 3px rgba(200, 88, 88, 0.14);
    animation: hq-unread-pulse 1.8s ease-in-out infinite;
}

.topbar-notification-badge[hidden] {
    display: none;
}

@keyframes hq-unread-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.topbar-notification-panel {
    width: min(390px, calc(100vw - 30px));
    max-height: min(680px, calc(100vh - 82px));
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    overflow: auto;
    border: 1px solid #dfe6e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(31, 49, 42, 0.16);
}

.topbar-notification-panel[hidden] {
    display: none;
}

.topbar-notification-head,
.topbar-notification-group-title,
.topbar-notification-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-notification-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 15px 16px 12px;
    border-bottom: 1px solid #edf1ef;
    background: rgba(255, 255, 255, 0.97);
}

.topbar-notification-head span,
.topbar-notification-head strong {
    display: block;
}

.topbar-notification-head span {
    color: var(--muted-2);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar-notification-head strong {
    margin-top: 2px;
    color: var(--text-strong);
    font-size: 13px;
}

.topbar-notification-head a {
    color: var(--primary-dark);
    font-size: 9px;
    font-weight: 750;
    text-decoration: none;
}

.topbar-notification-summary {
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 1px solid #edf1ef;
    background: #fafcfb;
}

.topbar-notification-summary span {
    padding: 5px 7px;
    border-radius: 7px;
    color: #61716a;
    background: #eef3f1;
    font-size: 8.5px;
}

.topbar-notification-summary span.is-danger {
    color: #a14444;
    background: #fbeaea;
}

.topbar-notification-group {
    padding: 12px 10px 5px;
}

.topbar-notification-group + .topbar-notification-group {
    border-top: 1px solid #edf1ef;
}

.topbar-notification-group-title {
    padding: 0 6px 7px;
}

.topbar-notification-group-title span {
    color: #35483f;
    font-size: 9.5px;
    font-weight: 800;
}

.topbar-notification-group-title small {
    color: #929d98;
    font-size: 8px;
}

.topbar-notification-item {
    padding: 9px 7px;
    display: flex;
    gap: 9px;
    border-radius: 9px;
    color: inherit;
    text-decoration: none;
}

.topbar-notification-item:hover {
    background: #f6f9f8;
}

.topbar-notification-item.is-review {
    background: #f4f8f6;
}

.topbar-notification-item.is-review:hover {
    background: #edf5f1;
}

.topbar-notification-item-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    border-radius: 8px;
    color: #668078;
    background: #e9f0ed;
}

.topbar-notification-item.is-review .topbar-notification-item-icon {
    color: var(--primary-dark);
    background: #dcece6;
}

.topbar-notification-item-icon .ikon-svg {
    width: 14px;
    height: 14px;
}

.topbar-notification-item-copy {
    min-width: 0;
    flex: 1;
}

.topbar-notification-item-copy strong,
.topbar-notification-item-copy small,
.topbar-notification-item-copy em {
    display: block;
}

.topbar-notification-item-copy strong {
    overflow: hidden;
    color: #263a31;
    font-size: 9.5px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-notification-item-copy small {
    margin-top: 2px;
    overflow: hidden;
    color: #7d8b85;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-notification-item-copy em {
    margin-top: 4px;
    color: #718078;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
}

.topbar-notification-item-copy em.is-today {
    color: #a66a24;
}

.topbar-notification-item-copy em.is-overdue {
    color: #b34444;
}

.topbar-notification-empty {
    margin: 2px 6px 8px;
    padding: 14px;
    border: 1px dashed #dce5e1;
    border-radius: 9px;
    color: #829089;
    background: #fafcfb;
    font-size: 9px;
    text-align: center;
}

.topbar-notification-footer {
    position: sticky;
    bottom: 0;
    padding: 11px 16px;
    border-top: 1px solid #e7ecea;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.98);
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.topbar-notification-footer .ikon-svg {
    width: 14px;
    height: 14px;
}

.topbar-user {
    gap: 8px;
}

.topbar-user strong,
.topbar-user small {
    display: block;
}

.topbar-user strong {
    color: var(--text-strong);
    font-size: 10px;
    line-height: 1.2;
}

.topbar-user small {
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 8.5px;
}

.avatar-mini {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    border: 1px solid #d6e4e1;
    border-radius: 50%;
    color: var(--primary-dark);
    background: var(--primary-soft);
    font-size: 10px;
    font-weight: 800;
}

.sidebar-toggle {
    width: 36px;
    height: 36px;
    display: none;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--text);
    background: #fff;
}

.content {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 28px 28px 42px;
}

/* ==========================================================
   Dashboard
   ========================================================== */

.dashboard-sambutan {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-sambutan h1 {
    margin: 0;
    color: var(--text-strong);
    font-size: clamp(25px, 2.7vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 720;
}

.dashboard-sambutan p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12.5px;
}

.tanggal-dashboard {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: #626b69;
    background: #fff;
    font-size: 9.5px;
    font-weight: 650;
    white-space: nowrap;
}

.tanggal-dashboard .ikon-svg {
    width: 15px;
    height: 15px;
    color: var(--muted);
}

.ringkasan-grid {
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ringkasan-card {
    min-width: 0;
    min-height: 102px;
    padding: 15px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 3px 12px rgba(20, 38, 34, 0.02);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.ringkasan-card:hover {
    transform: translateY(-1px);
    border-color: #d8dfdd;
    box-shadow: var(--shadow-soft);
}

.ringkasan-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
}

.ringkasan-icon .ikon-svg {
    width: 18px;
    height: 18px;
}

.ringkasan-icon-hijau {
    color: var(--primary);
    background: var(--primary-soft);
}

.ringkasan-icon-biru {
    color: var(--blue);
    background: var(--blue-soft);
}

.ringkasan-icon-ungu {
    color: var(--purple);
    background: var(--purple-soft);
}

.ringkasan-icon-oranye {
    color: var(--orange);
    background: var(--orange-soft);
}

.ringkasan-isi span,
.ringkasan-isi strong {
    display: block;
}

.ringkasan-isi span {
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 650;
}

.ringkasan-isi strong {
    margin-top: 7px;
    color: var(--text-strong);
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ringkasan-panah {
    width: 14px;
    height: 14px;
    color: #b0b6b4;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.72fr);
    gap: 16px;
    align-items: start;
}

.dashboard-kolom-utama,
.dashboard-kolom-samping {
    min-width: 0;
    display: grid;
    gap: 16px;
}

.panel {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 3px 12px rgba(20, 38, 34, 0.018);
}

.panel-heading {
    margin-bottom: 17px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.panel-heading h2 {
    margin: 4px 0 0;
    color: var(--text-strong);
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.panel-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.link-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 9.5px;
    font-weight: 750;
    white-space: nowrap;
}

.link-action .ikon-svg {
    width: 13px;
    height: 13px;
}

.daftar-proyek {
    border-top: 1px solid var(--line);
}

.proyek-row {
    min-height: 72px;
    padding: 13px 2px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(170px, 0.7fr);
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.proyek-row:last-child {
    border-bottom: 0;
}

.proyek-identitas {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.proyek-inisial {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 9px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 11px;
    font-weight: 800;
}

.proyek-identitas > div {
    min-width: 0;
}

.proyek-identitas strong,
.proyek-identitas span {
    display: block;
}

.proyek-identitas strong {
    overflow: hidden;
    color: var(--text-strong);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proyek-identitas div > span {
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted-2);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proyek-progres-head {
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.proyek-progres-head span {
    color: var(--muted);
    font-size: 8.5px;
    font-weight: 650;
}

.proyek-progres-head strong {
    color: var(--text-strong);
    font-size: 9px;
}

.progres-track {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf0ef;
}

.progres-track span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--primary);
}

.empty-data-ringkas {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border-top: 1px solid var(--line);
}

.empty-data-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 10px;
    color: var(--primary);
    background: var(--primary-soft);
}

.empty-data-icon .ikon-svg {
    width: 18px;
    height: 18px;
}

.empty-data-ringkas strong {
    display: block;
    color: var(--text-strong);
    font-size: 11px;
}

.empty-data-ringkas p {
    max-width: 420px;
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 9.5px;
    line-height: 1.55;
}

.unit-operasional-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.unit-operasional-card {
    min-height: 155px;
    padding: 15px;
    border: 1px solid #dce8e5;
    border-radius: 12px;
    background: linear-gradient(145deg, #f7fbfa, #fff);
}

.unit-operasional-interior {
    border-color: #eadfd7;
    background: linear-gradient(145deg, #fdf9f6, #fff);
}

.unit-operasional-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.unit-operasional-logo {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 10px;
    font-weight: 800;
}

.unit-operasional-interior .unit-operasional-logo {
    color: var(--orange);
    background: var(--orange-soft);
}

.status-unit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-2);
    font-size: 8.5px;
    font-weight: 650;
}

.status-unit::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b9c0be;
}

.status-unit-aktif {
    color: var(--success);
}

.status-unit-aktif::before {
    background: #42a778;
}

.unit-operasional-card h3 {
    margin: 17px 0 4px;
    color: var(--text-strong);
    font-size: 13px;
    letter-spacing: -0.02em;
}

.unit-operasional-card > p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
}

.unit-operasional-footer {
    margin-top: 17px;
    padding-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(115, 134, 129, 0.14);
}

.unit-operasional-footer span {
    color: var(--muted-2);
    font-size: 8.5px;
}

.unit-operasional-footer strong {
    color: var(--text-strong);
    font-size: 13px;
}

.panel-hari-ini {
    padding: 17px;
}

.kalender-mini-head {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid var(--line);
}

.kalender-mini-head > div:first-child {
    width: 48px;
    height: 52px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 11px;
    color: var(--primary);
    background: var(--primary-soft);
}

.kalender-mini-head > div:first-child span {
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.kalender-mini-head > div:first-child strong {
    margin-top: 2px;
    font-size: 21px;
    line-height: 1;
}

.kalender-mini-head > div:last-child span,
.kalender-mini-head > div:last-child small {
    display: block;
}

.kalender-mini-head > div:last-child span {
    color: var(--text-strong);
    font-size: 10.5px;
    font-weight: 680;
}

.kalender-mini-head > div:last-child small {
    margin-top: 4px;
    color: var(--muted-2);
    font-size: 8.5px;
}

.hari-ini-item {
    padding: 13px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}

.hari-ini-item:last-child {
    padding-bottom: 1px;
    border-bottom: 0;
}

.hari-ini-ikon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 8px;
}

.hari-ini-ikon .ikon-svg {
    width: 15px;
    height: 15px;
}

.hari-ini-ikon.hijau {
    color: var(--primary);
    background: var(--primary-soft);
}

.hari-ini-ikon.ungu {
    color: var(--purple);
    background: var(--purple-soft);
}

.hari-ini-ikon.oranye {
    color: var(--orange);
    background: var(--orange-soft);
}

.hari-ini-item div span,
.hari-ini-item div strong {
    display: block;
}

.hari-ini-item div span {
    color: var(--muted);
    font-size: 8.5px;
}

.hari-ini-item div strong {
    margin-top: 3px;
    color: var(--text-strong);
    font-size: 10.5px;
}

.panel-akses-cepat .panel-heading {
    margin-bottom: 7px;
}

.akses-cepat-list {
    display: grid;
}

.akses-cepat-list > a {
    min-height: 54px;
    padding: 9px 2px;
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--line);
}

.akses-cepat-list > a:last-child {
    border-bottom: 0;
}

.akses-cepat-list > a:hover strong {
    color: var(--primary);
}

.akses-cepat-ikon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #66716f;
    background: #f3f5f4;
}

.akses-cepat-ikon .ikon-svg {
    width: 15px;
    height: 15px;
}

.akses-cepat-list div strong,
.akses-cepat-list div span {
    display: block;
}

.akses-cepat-list div strong {
    color: var(--text-strong);
    font-size: 10px;
    transition: color 0.14s ease;
}

.akses-cepat-list div span {
    margin-top: 3px;
    color: var(--muted-2);
    font-size: 8.5px;
}

.akses-cepat-list > a > .ikon-svg {
    width: 13px;
    height: 13px;
    color: #adb4b2;
}

/* ==========================================================
   Halaman fitur yang belum diaktifkan
   ========================================================== */

.page-heading {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.page-heading .eyebrow {
    margin: 0 0 7px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.page-heading h1 {
    margin: 0;
    color: var(--text-strong);
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.page-heading p:not(.eyebrow) {
    max-width: 650px;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.6;
}

.status-chip {
    min-height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8e8e3;
    border-radius: 999px;
    color: var(--success);
    background: var(--success-soft);
    font-size: 8.5px;
    font-weight: 700;
    white-space: nowrap;
}

.empty-state {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 12px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 12px;
    font-weight: 800;
}

.empty-state h2 {
    margin: 0 0 6px;
    color: var(--text-strong);
    font-size: 17px;
    letter-spacing: -0.025em;
}

.empty-state p {
    max-width: 520px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.65;
}

.sidebar-backdrop {
    display: none;
}

/* ==========================================================
   Responsif
   ========================================================== */

@media (max-width: 1180px) {
    .ringkasan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-layout {
        grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
    }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-102%);
        box-shadow: 14px 0 35px rgba(15, 30, 27, 0.12);
        transition: transform 0.2s ease;
    }

    .sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-close {
        display: grid;
    }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 35;
        background: rgba(18, 28, 26, 0.38);
    }

    .sidebar-open .sidebar-backdrop {
        display: block;
    }

    .hq-main {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: grid;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-kolom-samping {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .akun-shell {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        grid-template-columns: 1fr;
        border: 0;
        border-radius: 0;
    }

    .akun-brand-panel {
        min-height: 340px;
        padding: 28px;
    }

    .akun-brand-copy {
        margin: 58px 0 20px;
    }

    .akun-brand-copy h1 {
        max-width: 520px;
        font-size: clamp(34px, 7vw, 50px);
    }

    .akun-ilustrasi {
        width: 440px;
        opacity: 0.72;
    }

    .akun-form-panel,
    .password-info-panel {
        min-height: auto;
        padding: 45px 26px 58px;
    }

    .akun-footer {
        position: static;
        margin: 44px auto 0;
        transform: none;
    }

    .akun-shell-password {
        grid-template-columns: 1fr;
    }

    .password-info-panel {
        padding-bottom: 35px;
    }

    .password-info-copy {
        margin: 48px 0 24px;
    }
}

@media (max-width: 720px) {
    .topbar {
        padding: 0 15px;
    }

    .topbar-unit {
        display: none;
    }

    .topbar-live-clock {
        min-width: auto;
        min-height: 36px;
        padding: 5px 7px;
    }

    .topbar-live-clock-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .topbar-live-clock-copy > span {
        display: none;
    }

    .topbar-notification-toggle {
        width: 36px;
        height: 36px;
    }

    .topbar-notification-panel {
        position: fixed;
        top: 74px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 88px);
    }

    .topbar-user small {
        display: none;
    }

    .content {
        padding: 22px 15px 34px;
    }

    .dashboard-sambutan {
        align-items: flex-start;
        flex-direction: column;
    }

    .ringkasan-grid {
        grid-template-columns: 1fr;
    }

    .ringkasan-card {
        min-height: 86px;
    }

    .dashboard-kolom-samping {
        grid-template-columns: 1fr;
    }

    .unit-operasional-grid {
        grid-template-columns: 1fr;
    }

    .proyek-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .page-heading {
        flex-direction: column;
    }

    .syarat-password-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .akun-brand-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .akun-brand-footer {
        flex-wrap: wrap;
    }

    .akun-form-panel {
        padding-left: 20px;
        padding-right: 20px;
    }

    .akun-heading h2 {
        font-size: 27px;
    }

    .akun-footer {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================================
   CRUD UNIT BISNIS
   ============================================================ */
.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;
}
.halaman-master {
    width: min(1220px, 100%);
    margin: 0 auto;
}
.halaman-master-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 18px;
}
.halaman-master-header h1 {
    margin: 8px 0 6px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #17221f;
}
.halaman-master-header p {
    max-width: 720px;
    margin: 0;
    color: #6f7c78;
    font-size: 14px;
    line-height: 1.65;
}
.breadcrumb-hq {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a9692;
    font-size: 12px;
    font-weight: 600;
}
.breadcrumb-hq a {
    color: inherit;
    text-decoration: none;
}
.breadcrumb-hq strong {
    color: #51605b;
    font-weight: 700;
}
.tombol {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: 0.16s ease;
}
.tombol:hover {
    transform: translateY(-1px);
}
.tombol-primer {
    color: #fff;
    background: #16685c;
    border-color: #16685c;
    box-shadow: 0 4px 10px rgba(22, 104, 92, 0.13);
}
.tombol-primer:hover {
    background: #125a50;
    border-color: #125a50;
}
.tombol-sekunder {
    color: #2d3b37;
    background: #fff;
    border-color: #dce3e0;
}
.tombol-sekunder:hover {
    background: #f8faf9;
    border-color: #cbd5d1;
}
.tombol-bahaya {
    color: #9b2c2c;
    background: #fff;
    border-color: #e7c8c8;
}
.tombol-bahaya:hover {
    background: #fff7f7;
    border-color: #d9aaaa;
}
.tombol-penuh {
    width: 100%;
}
.master-ringkasan-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 14px;
    color: #6e7b77;
    font-size: 12px;
}
.master-ringkasan-inline strong {
    color: #283631;
    font-weight: 750;
}
.pemisah-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #c3cdca;
}
.master-panel,
.form-card,
.form-side-card,
.zona-bahaya {
    background: #fff;
    border: 1px solid #e2e8e5;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(22, 39, 34, 0.025);
}
.toolbar-master {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px;
    border-bottom: 1px solid #edf1ef;
}
.toolbar-pencarian {
    flex: 1 1 380px;
}
.toolbar-status {
    flex: 0 0 155px;
}
.toolbar-pencarian input,
.toolbar-status select,
.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    border: 1px solid #d8e0dd;
    background: #fff;
    color: #22312d;
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: 0.15s ease;
}
.toolbar-pencarian input,
.toolbar-status select {
    min-height: 40px;
    border-radius: 9px;
    padding: 0 12px;
}
.toolbar-pencarian input:focus,
.toolbar-status select:focus,
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    border-color: #5d9c92;
    box-shadow: 0 0 0 3px rgba(50, 126, 113, 0.09);
}
.tautan-reset {
    padding: 8px 5px;
    color: #65736f;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}
.tautan-reset:hover {
    color: #16685c;
}
.tabel-master-wrap {
    width: 100%;
    overflow-x: auto;
}
.tabel-master {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}
.tabel-master th,
.tabel-master td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #edf1ef;
}
.tabel-master th {
    color: #7a8783;
    background: #fbfcfc;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.tabel-master td {
    color: #34433e;
    font-size: 13px;
}
.tabel-master tbody tr:last-child td {
    border-bottom: 0;
}
.tabel-master tbody tr:hover {
    background: #fcfdfd;
}
.unit-identitas {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 220px;
}
.unit-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #155d53;
    background: #eaf6f3;
    border: 1px solid #d7ebe6;
    font-size: 13px;
    font-weight: 800;
}
.unit-identitas strong,
.unit-identitas small {
    display: block;
}
.unit-identitas strong {
    margin-bottom: 3px;
    color: #21302c;
    font-weight: 750;
}
.unit-identitas small {
    color: #87928f;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.025em;
}
.kontak-unit {
    color: #44534e;
    text-decoration: none;
}
.kontak-unit:hover {
    color: #16685c;
}
.badge-status {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
}
.badge-status-aktif {
    color: #176153;
    background: #ecf7f4;
}
.badge-status-nonaktif {
    color: #697470;
    background: #f1f3f2;
}
.teks-muted,
.teks-tanggal {
    color: #8a9592;
    font-size: 12px;
}
.kolom-aksi {
    width: 88px;
    text-align: right !important;
}
.tombol-aksi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #dfe5e2;
    border-radius: 8px;
    color: #34423e;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.tombol-aksi:hover {
    color: #155d53;
    border-color: #bfd8d2;
    background: #f8fcfb;
}
.master-kosong {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 290px;
    padding: 36px;
    text-align: center;
}
.master-kosong-ikon,
.form-side-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    color: #246f63;
    background: #edf7f5;
}
.master-kosong-ikon .ikon-svg,
.form-side-icon .ikon-svg {
    width: 20px;
    height: 20px;
}
.master-kosong strong {
    margin-top: 13px;
    color: #2b3935;
    font-size: 14px;
}
.master-kosong p {
    max-width: 390px;
    margin: 5px 0 0;
    color: #83908c;
    font-size: 12px;
    line-height: 1.6;
}
.halaman-master-header-form {
    align-items: center;
}
.form-master-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    align-items: start;
    gap: 18px;
}
.form-master-utama {
    display: grid;
    gap: 14px;
}
.form-card {
    padding: 20px;
}
.form-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 17px;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf1ef;
}
.form-card-heading h2 {
    margin: 0 0 4px;
    color: #25342f;
    font-size: 15px;
    letter-spacing: -0.015em;
}
.form-card-heading p {
    margin: 0;
    color: #87928f;
    font-size: 12px;
    line-height: 1.55;
}
.grid-form-dua {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.field-group {
    margin-bottom: 17px;
}
.field-group:last-child {
    margin-bottom: 0;
}
.field-group label,
.field-label {
    display: block;
    margin-bottom: 7px;
    color: #3a4944;
    font-size: 12px;
    font-weight: 700;
}
.field-group label > span {
    color: #b95050;
}
.field-group input,
.field-group select {
    min-height: 42px;
    border-radius: 9px;
    padding: 0 12px;
}
.field-group textarea {
    min-height: 105px;
    resize: vertical;
    border-radius: 9px;
    padding: 11px 12px;
    line-height: 1.55;
}
.input-kode {
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}
.field-hint,
.field-message-error {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
}
.field-hint {
    color: #8a9692;
}
.field-message-error {
    color: #a93c3c;
    font-weight: 600;
}
.field-error {
    border-color: #d99b9b !important;
    background: #fffafa !important;
}
.status-pilihan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.status-pilihan label {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}
.status-pilihan input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.status-pilihan label > span {
    display: block;
    min-height: 70px;
    padding: 11px 12px;
    border: 1px solid #dce3e0;
    border-radius: 9px;
    color: #3a4944;
    background: #fff;
}
.status-pilihan label > span strong,
.status-pilihan label > span small {
    display: block;
}
.status-pilihan label > span strong {
    margin-bottom: 4px;
    font-size: 12px;
}
.status-pilihan label > span small {
    color: #8a9692;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
}
.status-pilihan input:checked + span {
    border-color: #6fa99f;
    background: #f3faf8;
    box-shadow: inset 0 0 0 1px #6fa99f;
}
.form-master-samping {
    display: grid;
    gap: 12px;
}
.form-side-card {
    padding: 17px;
}
.form-side-card h3 {
    margin: 14px 0 6px;
    color: #2b3935;
    font-size: 13px;
}
.form-side-card p {
    margin: 0;
    color: #7d8985;
    font-size: 11px;
    line-height: 1.65;
}
.form-side-meta span,
.form-side-meta strong {
    display: block;
}
.form-side-meta span {
    margin-bottom: 5px;
    color: #8b9693;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}
.form-side-meta strong {
    color: #35443f;
    font-size: 12px;
}
.form-actions-sticky {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.zona-bahaya {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 17px 19px;
}
.zona-bahaya strong {
    display: block;
    margin-bottom: 4px;
    color: #37443f;
    font-size: 12px;
}
.zona-bahaya p {
    max-width: 700px;
    margin: 0;
    color: #838f8b;
    font-size: 11px;
    line-height: 1.6;
}
.hapus-unit-detail {
    flex: 0 0 190px;
}
.hapus-unit-detail summary {
    list-style: none;
    padding: 9px 11px;
    border: 1px solid #e4cccc;
    border-radius: 8px;
    color: #9c3b3b;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}
.hapus-unit-detail summary::-webkit-details-marker {
    display: none;
}
.hapus-unit-box {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #ecd8d8;
    border-radius: 10px;
    background: #fffafa;
}
.hapus-unit-box p {
    margin-bottom: 10px;
    color: #8f6666;
}
@media (max-width: 980px) {
    .form-master-grid {
        grid-template-columns: 1fr;
    }
    .form-master-samping {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .form-actions-sticky {
        grid-column: 1/-1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 720px) {
    .halaman-master-header {
        align-items: stretch;
        flex-direction: column;
    }
    .halaman-master-header .tombol {
        align-self: flex-start;
    }
    .toolbar-master {
        align-items: stretch;
        flex-direction: column;
    }
    .toolbar-pencarian,
    .toolbar-status {
        flex: auto;
        width: 100%;
    }
    .grid-form-dua,
    .status-pilihan,
    .form-master-samping,
    .form-actions-sticky {
        grid-template-columns: 1fr;
    }
    .zona-bahaya {
        flex-direction: column;
    }
    .hapus-unit-detail {
        width: 100%;
        flex-basis: auto;
    }
}

/* HQ task center drawer */
body.hq-notification-open {
    overflow: hidden;
}

body.hq-notification-open .topbar {
    backdrop-filter: none;
}

.topbar-notification {
    z-index: 100;
}

.topbar-notification-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(18, 27, 23, 0.34);
    backdrop-filter: blur(2px);
    animation: hq-notification-fade 180ms ease-out;
}

.topbar-notification-backdrop[hidden],
.topbar-notification-tab-panel:not(.is-active) {
    display: none;
}

.topbar-notification-panel {
    width: max(520px, 50vw);
    max-height: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-left: 1px solid #dfe6e3;
    border-radius: 0;
    box-shadow: -18px 0 50px rgba(25, 39, 33, 0.18);
    animation: hq-notification-slide 220ms ease-out;
}

.topbar-notification-head {
    position: static;
    flex: 0 0 auto;
    padding: 20px 22px 16px;
}

.topbar-notification-head button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #dfe6e3;
    border-radius: 9px;
    color: #607169;
    background: #fff;
    cursor: pointer;
}

.topbar-notification-head button .ikon-svg {
    width: 15px;
    height: 15px;
}

.topbar-notification-summary,
.topbar-notification-tabs,
.topbar-notification-work-note,
.topbar-notification-footer {
    flex: 0 0 auto;
}

.topbar-notification-tabs {
    padding: 0 16px;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e7ecea;
}

.topbar-notification-tabs button {
    padding: 11px 10px 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #74827c;
    background: transparent;
    font-size: 9px;
    font-weight: 750;
    cursor: pointer;
}

.topbar-notification-tabs button.is-active {
    border-bottom-color: var(--primary);
    color: var(--primary-dark);
}

.topbar-notification-tabs span {
    margin-left: 4px;
    padding: 2px 5px;
    border-radius: 999px;
    background: #edf2f0;
    font-size: 8px;
}

.topbar-notification-tab-panel {
    min-height: 0;
    flex: 1 1 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 12px;
}

.topbar-notification-group {
    padding: 15px 16px 8px;
}

.topbar-notification-item {
    padding: 12px 9px;
}

.topbar-notification-work-note {
    position: relative;
    z-index: 2;
    margin: 8px 16px;
    padding: 9px 11px;
    border: 1px solid #dce8e3;
    border-radius: 9px;
    color: #64756d;
    background: #f5f9f7;
    font-size: 8.5px;
    line-height: 1.45;
}

.topbar-notification-footer {
    position: relative;
    z-index: 2;
    padding: 14px 20px;
    background: #fff;
}

.hq-task-summary {
    margin-bottom: 16px;
}

.hq-task-tabs {
    padding: 0 16px;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e4eae7;
}

.hq-task-tabs a {
    padding: 13px 12px 11px;
    border-bottom: 2px solid transparent;
    color: #738079;
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
}

.hq-task-tabs a.is-active {
    border-bottom-color: var(--primary);
    color: var(--primary-dark);
}

.hq-task-tabs span {
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #edf2f0;
    font-size: 8px;
}

.hq-task-guidance {
    margin: 14px 16px 4px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid #dce8e3;
    border-radius: 9px;
    color: #607168;
    background: #f6f9f8;
    font-size: 9px;
    line-height: 1.5;
}

.hq-task-guidance .ikon-svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.hq-task-table td strong,
.hq-task-table td small {
    display: block;
}

.hq-task-table td small {
    margin-top: 3px;
    color: var(--muted-2);
    font-size: 8.5px;
}

.hq-task-deadline {
    font-size: 9px;
    font-weight: 750;
}

.hq-task-deadline.is-danger {
    color: #b34444;
}
.hq-task-deadline.is-warning {
    color: #a66a24;
}
.hq-task-deadline.is-aktif {
    color: #39705d;
}
.hq-task-deadline.is-netral {
    color: #7a8881;
}

@keyframes hq-notification-slide {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes hq-notification-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.report-legend {
    position: relative;
}
.report-legend > summary {
    list-style: none;
    cursor: pointer;
}
.report-legend > summary::-webkit-details-marker {
    display: none;
}
.report-legend-panel {
    width: 340px;
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    padding: 14px;
    border: 1px solid #dfe7e3;
    border-radius: 11px;
    color: #52635b;
    background: #fff;
    box-shadow: 0 15px 36px rgba(28, 44, 37, 0.15);
    font-size: 9px;
    line-height: 1.5;
}
.report-legend-panel strong,
.report-legend-panel small {
    display: block;
}
.report-legend-panel p {
    margin: 7px 0;
}
.report-legend-panel small {
    padding-top: 8px;
    border-top: 1px solid #edf1ef;
    color: #7d8983;
}
.report-legend-panel span,
.attendance-evaluation,
.performance-risk {
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8.5px;
    font-weight: 750;
}
.report-legend-panel .is-good,
.attendance-evaluation.is-baik,
.performance-risk.is-good {
    color: #356650;
    background: #e9f5ef;
}
.report-legend-panel .is-warning,
.attendance-evaluation.is-perlu_ditingkatkan {
    color: #98621f;
    background: #fff3df;
}
.report-legend-panel .is-danger,
.attendance-evaluation.is-perlu_review,
.performance-risk.is-danger {
    color: #a43f3f;
    background: #fbe8e8;
}
.performance-score strong,
.performance-score small {
    display: block;
}
.performance-score strong {
    font-size: 11px;
}
.performance-score small {
    margin-top: 2px;
    color: #7f8b85;
    font-size: 7.5px;
}
.performance-score.is-danger strong {
    color: #ad4141;
}
.employee-performance-report {
    display: grid;
    gap: 14px;
}

@media (max-width: 720px) {
    .report-legend-panel {
        position: fixed;
        top: 80px;
        right: 12px;
        left: 12px;
        width: auto;
    }
    .topbar-notification-panel {
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(100%, 430px);
        max-height: none;
    }

    .topbar-notification-tabs {
        overflow-x: auto;
    }

    .hq-task-tabs {
        overflow-x: auto;
    }
}
