:root {
    --pkm-primary: #4a8e67;
    --pkm-primary-strong: #33684a;
    --pkm-primary-soft: #dcefe3;
    --pkm-primary-pale: #edf7f1;
    --pkm-secondary: #5b6fd6;
    --pkm-ink: #334968;
    --pkm-muted: #7d8ca3;
    --pkm-border: #dbe4ef;
    --pkm-surface: #ffffff;
    --pkm-shell: #f8fbff;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--pkm-ink);
    background:
        radial-gradient(circle at top left, rgba(83, 164, 114, 0.28), transparent 22%),
        radial-gradient(circle at right, rgba(88, 110, 224, 0.24), transparent 18%),
        linear-gradient(135deg, #1d3551 0%, #245b47 55%, #21465b 100%);
}

.page-loader {
    transition: opacity 0.3s ease;
}

.page-loader.opacity-0,
.page-loader.hidden {
    pointer-events: none;
}

.pkm-app-shell {
    position: relative;
    min-height: 100vh;
    padding: 20px;
}

.pkm-app-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 14%),
        radial-gradient(circle at 85% 10%, rgba(146, 177, 255, 0.18), transparent 18%);
    pointer-events: none;
}

.pkm-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 308px minmax(0, 1fr);
    min-height: calc(100vh - 40px);
    border-radius: 38px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(7, 20, 38, 0.34);
}

.pkm-sidebar {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 26px 20px 20px;
    background:
        radial-gradient(circle at top right, rgba(140, 163, 255, 0.3), transparent 26%),
        linear-gradient(180deg, #2a7c58 0%, #347651 42%, #22466e 100%);
    color: #fff;
}

.pkm-sidebar__brand,
.pkm-sidebar__footer,
.pkm-sidebar__profile {
    display: flex;
    align-items: center;
}

.pkm-sidebar__brand {
    justify-content: space-between;
}

.pkm-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}

.pkm-brand__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pkm-brand__eyebrow,
.pkm-nav__label {
    display: block;
    font-size: 0.83rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.62);
}

.pkm-brand__title {
    display: block;
    margin-top: 2px;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.05;
}

.pkm-sidebar__collapse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.pkm-sidebar__profile {
    gap: 14px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.pkm-sidebar__profile-icon,
.pkm-sidebar__footer-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pkm-sidebar__profile-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.11);
}

.pkm-sidebar__profile-name {
    font-weight: 700;
}

.pkm-sidebar__profile-role {
    margin-top: 2px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
}

.pkm-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
}

.pkm-nav__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pkm-nav__item,
.pkm-nav__subitem {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.pkm-nav__item {
    padding: 16px 16px;
    border-radius: 999px;
    font-weight: 600;
}

.pkm-nav__item:hover,
.pkm-nav__item.is-active {
    background: #fff;
    color: #2a4ea3;
    box-shadow: 0 16px 35px rgba(17, 28, 74, 0.18);
}

.pkm-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pkm-nav__badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(91, 111, 214, 0.18);
    color: #3554ba;
    font-size: 0.85rem;
    font-weight: 700;
}

.pkm-nav__submenu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 10px;
    padding: 18px 16px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(86, 105, 220, 0.48), rgba(51, 81, 189, 0.3));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pkm-nav__subitem {
    padding: 12px 14px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.84);
}

.pkm-nav__subitem:hover,
.pkm-nav__subitem.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.pkm-sidebar__footer {
    gap: 12px;
    padding: 14px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pkm-sidebar__footer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7faf8, #bee1ce);
    color: #2d6c4c;
    font-weight: 800;
}

.pkm-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px 34px 34px;
    background: #f9fbff;
}

.pkm-sidebar-overlay,
.pkm-mobile-menu {
    display: none;
}

.pkm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--pkm-border);
}

.pkm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    color: var(--pkm-muted);
    font-size: 0.96rem;
    line-height: 1.2;
}

.pkm-topbar__headline {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.pkm-main__title {
    margin: 14px 0 0;
    font-size: 1.95rem;
    font-weight: 700;
    color: #334968;
}

.pkm-breadcrumb svg {
    flex-shrink: 0;
}

.pkm-breadcrumb__item {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pkm-breadcrumb__item.is-current {
    color: var(--pkm-ink);
    font-weight: 700;
}

.pkm-topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pkm-topbar__search,
.pkm-topbar__icon,
.pkm-topbar__login {
    border: 1px solid var(--pkm-border);
    background: rgba(255, 255, 255, 0.86);
}

.pkm-topbar__search {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 310px;
    padding: 13px 16px;
    border-radius: 999px;
}

.pkm-topbar__search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #475569;
}

.pkm-topbar__icon,
.pkm-topbar__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.pkm-topbar__icon {
    color: var(--pkm-ink);
}

.pkm-topbar__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--pkm-primary-strong);
    font-weight: 600;
    text-decoration: none;
}

.pkm-topbar__avatar {
    background: linear-gradient(135deg, #d5e6dc, #ffffff);
    border: 1px solid rgba(91, 111, 214, 0.18);
    color: #345f48;
    font-weight: 800;
}

.pkm-mobile-menu {
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid var(--pkm-border);
    background: rgba(255, 255, 255, 0.96);
    color: var(--pkm-ink);
    flex-shrink: 0;
}

.pkm-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 320px;
    gap: 28px;
}

.pkm-dashboard-main,
.pkm-dashboard-side {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-width: 0;
}

.pkm-section-head,
.pkm-card__head,
.pkm-side-panel__head,
.pkm-side-summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pkm-section-head h2,
.pkm-card__head h3,
.pkm-side-panel__head h3,
.pkm-side-summary__head h3 {
    margin: 0;
    font-size: 1.12rem;
    color: #344968;
}

.pkm-section-head p,
.pkm-card__head p {
    margin: 6px 0 0;
    color: var(--pkm-muted);
    font-size: 0.95rem;
}

.pkm-section-head > div,
.pkm-card__head > div,
.pkm-side-panel__head > div,
.pkm-side-summary__head > div {
    min-width: 0;
}

.pkm-refresh-button,
.pkm-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: rgba(74, 142, 103, 0.12);
    color: var(--pkm-primary-strong);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    transition: 180ms ease;
}

.pkm-refresh-button {
    background: rgba(91, 111, 214, 0.12);
    color: #3554ba;
}

.pkm-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pkm-metric-card,
.pkm-card,
.pkm-side-panel,
.pkm-side-summary,
.pkm-hero-panel {
    background: var(--pkm-surface);
    border: 1px solid var(--pkm-border);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(58, 78, 113, 0.08);
}

.pkm-metric-card {
    position: relative;
    padding: 22px 24px;
}

.pkm-metric-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.pkm-metric-card__trend {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
}

.pkm-metric-card__trend.is-up {
    background: #dff3e5;
    color: #2b7d53;
}

.pkm-metric-card__trend.is-down {
    background: #fce5e3;
    color: #c45b53;
}

.pkm-metric-card__value {
    margin-top: 28px;
    font-size: 2.35rem;
    font-weight: 700;
    color: #314767;
}

.pkm-metric-card__label {
    margin-top: 8px;
    color: var(--pkm-muted);
    font-weight: 500;
}

.pkm-hero-panel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px;
    background:
        radial-gradient(circle at top right, rgba(91, 111, 214, 0.18), transparent 24%),
        linear-gradient(135deg, rgba(83, 164, 114, 0.14), rgba(91, 111, 214, 0.08)),
        #fff;
}

.pkm-hero-panel__content {
    max-width: 720px;
}

.pkm-hero-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf7f1;
    color: #38714f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pkm-hero-panel h3 {
    margin: 18px 0 12px;
    font-size: 2.4rem;
    line-height: 1.16;
    color: #334968;
}

.pkm-hero-panel p {
    margin: 0;
    max-width: 650px;
    color: #697a94;
    line-height: 1.7;
}

.pkm-hero-panel__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    min-width: 280px;
}

.pkm-hero-panel__stats > div {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #d9e7df;
    background: rgba(255, 255, 255, 0.7);
}

.pkm-hero-panel__stats span,
.pkm-hero-panel__stats small {
    display: block;
}

.pkm-hero-panel__stats span {
    font-size: 0.86rem;
    font-weight: 700;
    color: #6a7e94;
    text-transform: uppercase;
}

.pkm-hero-panel__stats strong {
    display: block;
    margin: 12px 0 8px;
    font-size: 2.1rem;
    color: #324867;
}

.pkm-hero-panel__stats small {
    color: #7c8ca4;
    line-height: 1.5;
}

.pkm-chart-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 22px;
}

.pkm-card,
.pkm-side-panel,
.pkm-side-summary {
    padding: 24px;
}

.pkm-card__toolbar {
    padding: 10px 14px;
    border: 1px solid var(--pkm-border);
    border-radius: 14px;
    background: #fbfdff;
    color: var(--pkm-muted);
    font-size: 0.92rem;
}

.pkm-chart-placeholder {
    margin-top: 18px;
}

.pkm-chart-placeholder__legend {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--pkm-muted);
    font-size: 0.9rem;
}

.pkm-chart-placeholder__legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pkm-chart-placeholder__legend i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4a8e67;
}

.pkm-chart-placeholder__legend i.is-secondary {
    background: #5b6fd6;
}

.pkm-fake-chart {
    position: relative;
    height: 290px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(240, 247, 252, 0.8), rgba(255, 255, 255, 0.96)),
        #fff;
    border: 1px solid #edf2f7;
}

.pkm-fake-chart__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(125, 140, 163, 0.14) 1px, transparent 1px);
    background-size: 100% 58px;
}

.pkm-fake-chart__line {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.pkm-fake-chart__line--primary {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300'%3E%3Cpath d='M0 220 C70 180, 110 120, 180 145 S290 250, 360 215 S470 85, 540 130 S650 250, 720 175 S780 70, 800 110' fill='none' stroke='%234a8e67' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.pkm-fake-chart__line--secondary {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300'%3E%3Cpath d='M0 240 C80 250, 120 170, 190 180 S310 120, 380 165 S500 280, 570 220 S680 110, 800 155' fill='none' stroke='%235b6fd6' stroke-width='4' stroke-linecap='round' stroke-dasharray='9 9'/%3E%3C/svg%3E");
    opacity: 0.86;
}

.pkm-donut-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    min-height: 310px;
}

.pkm-donut-chart {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background:
        conic-gradient(#4a8e67 0 73%, #5b6fd6 73% 89%, #d9e5f4 89% 100%);
    position: relative;
}

.pkm-donut-chart::after {
    content: "";
    position: absolute;
    inset: 26px;
    background: #fff;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px #edf2f7;
}

.pkm-donut-chart__label {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pkm-donut-chart__label strong {
    font-size: 2rem;
    color: #324867;
}

.pkm-donut-chart__label span {
    color: var(--pkm-muted);
}

.pkm-table {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--pkm-border);
    border-radius: 18px;
}

.pkm-table__head,
.pkm-table__row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 0.7fr;
    gap: 16px;
    align-items: center;
}

.pkm-table__head {
    padding: 16px 18px;
    background: #f4f8fc;
    color: #6c7f98;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pkm-table__row {
    padding: 18px;
    background: #fff;
    border-top: 1px solid #edf2f7;
    color: #5d6f88;
}

.pkm-table__row strong {
    display: block;
    color: #334968;
}

.pkm-table__row small {
    display: block;
    margin-top: 5px;
    color: #8a99af;
}

.pkm-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.pkm-pill.is-green {
    background: #dff3e5;
    color: #2a7b51;
}

.pkm-pill.is-blue {
    background: #e3ebff;
    color: #4560cc;
}

.pkm-pill.is-amber {
    background: #fff1d8;
    color: #b6781f;
}

.pkm-management-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pkm-alert {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--pkm-border);
    background: #fff;
    color: #4d607c;
}

.pkm-alert.is-success {
    border-color: #cde8d7;
    background: #edf7f1;
    color: #2f6f4b;
}

.pkm-alert.is-error {
    border-color: #f3d4d0;
    background: #fff3f1;
    color: #a6544d;
}

.pkm-form-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pkm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pkm-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pkm-field label {
    font-size: 0.92rem;
    font-weight: 400;
    color: #344968;
}

.pkm-field small {
    color: #c45b53;
}

.pkm-field--full {
    grid-column: 1 / -1;
}

.pkm-field--checkbox {
    justify-content: flex-end;
}

.pkm-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 2px;
    color: #5d6f88;
    font-weight: 500;
}

.pkm-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #4a8e67;
}

.pkm-account-block {
    padding: 20px;
    border: 1px solid var(--pkm-border);
    border-radius: 20px;
    background: #fbfdff;
}

.pkm-account-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.pkm-account-block__head strong {
    display: block;
    color: #334968;
}

.pkm-account-block__head p {
    margin: 6px 0 0;
    color: var(--pkm-muted);
}

.pkm-account-fields.is-hidden {
    display: none;
}

.pkm-form-actions,
.pkm-pagination,
.pkm-row-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pkm-form-actions {
    justify-content: flex-end;
}

.pkm-export-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    flex-wrap: wrap;
}

.pkm-pagination {
    justify-content: space-between;
    margin-top: 18px;
    color: #6f8098;
}

.pkm-pagination__muted {
    color: #9aa8bb;
    font-weight: 600;
}

.pkm-secondary-button,
.pkm-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.1rem;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    box-shadow: none;
    transition: 180ms ease;
}

.pkm-secondary-button {
    background: rgba(74, 142, 103, 0.12);
    color: var(--pkm-primary-strong);
}

.pkm-danger-button {
    background: rgba(198, 90, 83, 0.14);
    color: #b5544d;
}

.pkm-secondary-button:hover {
    background: rgba(74, 142, 103, 0.18);
    color: #264f39;
}

.pkm-danger-button:hover {
    background: rgba(198, 90, 83, 0.2);
    color: #984842;
}

.pkm-empty-state {
    padding: 28px;
    border: 1px dashed #d7e1ee;
    border-radius: 20px;
    background: #fbfdff;
    color: #5d6f88;
}

.pkm-empty-state strong {
    display: block;
    color: #334968;
}

.pkm-empty-state p {
    margin: 8px 0 0;
}

.pkm-table--accounts .pkm-table__head,
.pkm-table--accounts .pkm-table__row {
    grid-template-columns: 1.3fr 0.8fr 1fr 0.7fr 0.8fr;
}

.pkm-table--pegawai .pkm-table__head,
.pkm-table--pegawai .pkm-table__row {
    grid-template-columns: 1.1fr 1fr 0.95fr 0.7fr 0.8fr;
}

.pkm-table--laporan .pkm-table__head,
.pkm-table--laporan .pkm-table__row {
    grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.95fr) minmax(180px, 0.9fr) minmax(200px, 0.95fr);
    align-items: start;
}

.pkm-table--laporan .pkm-table__head {
    align-items: center;
}

.pkm-table--laporan .pkm-table__row {
    padding-block: 22px;
}

.pkm-table--laporan .pkm-table__row > div {
    min-width: 0;
}

.pkm-report-snippet {
    margin: 12px 0 0;
    color: #667892;
    line-height: 1.65;
    max-width: 42ch;
}

.pkm-table--laporan .pkm-table__row strong {
    line-height: 1.4;
}

.pkm-table--laporan .pkm-table__row small {
    line-height: 1.55;
}

.pkm-monitoring-layout {
    display: grid;
    grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    --pkm-monitoring-panel-height: 1020px;
}

.pkm-monitoring-list,
.pkm-monitoring-calendar {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 24px;
    min-height: 100%;
    min-width: 0;
}

.pkm-monitoring-list {
    grid-column: 1;
}

.pkm-monitoring-calendar {
    grid-column: 2;
}

.pkm-monitoring-filter {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pkm-monitoring-filter .pkm-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

.pkm-monitoring-filter .pkm-form-actions {
    flex-direction: row;
    justify-content: flex-end;
    align-items: stretch;
    gap: 14px;
    flex-wrap: nowrap;
}

.pkm-monitoring-filter .pkm-form-actions > .pkm-primary-button,
.pkm-monitoring-filter .pkm-form-actions > .pkm-secondary-button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    padding: 0.95rem 1.25rem;
}

.pkm-monitoring-list > .pkm-card:last-child,
.pkm-monitoring-calendar > .pkm-card {
    height: 100%;
}

.pkm-monitoring-calendar > .pkm-card {
    min-height: var(--pkm-monitoring-panel-height);
}

.pkm-monitoring-list > .pkm-card:last-child {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 500px;
}

.pkm-monitoring-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
}

.pkm-monitoring-items::-webkit-scrollbar {
    width: 8px;
}

.pkm-monitoring-items::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(125, 140, 163, 0.35);
}

.pkm-monitoring-items::-webkit-scrollbar-track {
    background: transparent;
}

.pkm-monitoring-item {
    padding: 16px;
    border: 1px solid var(--pkm-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: 0 14px 28px rgba(58, 78, 113, 0.06);
}

.pkm-monitoring-item__top,
.pkm-monitoring-item__grid,
.pkm-calendar__date-row,
.pkm-calendar__weekdays {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pkm-monitoring-item__type {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #edf7f1;
    color: #38714f;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pkm-monitoring-item__top strong {
    display: block;
    margin-top: 8px;
    font-size: 0.98rem;
    color: #334968;
}

.pkm-monitoring-item__top small {
    display: block;
    margin-top: 4px;
    color: var(--pkm-muted);
}

.pkm-monitoring-item__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.pkm-monitoring-item__meta {
    color: #7b8ca4;
    font-size: 0.84rem;
    font-weight: 700;
}

.pkm-monitoring-item__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}

.pkm-monitoring-item__grid span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8b9ab0;
}

.pkm-monitoring-item__grid strong {
    display: block;
    margin-top: 7px;
    color: #334968;
}

.pkm-monitoring-item p {
    margin: 14px 0 0;
    color: #667892;
    line-height: 1.6;
}

.pkm-calendar {
    margin-top: 10px;
}

.pkm-calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 6px;
    padding: 0 2px;
}

.pkm-calendar__weekdays span {
    text-align: center;
    color: #8b9ab0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pkm-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.pkm-calendar__day {
    appearance: none;
    width: 100%;
    min-height: 164px;
    padding: 14px;
    border: 1px solid #e8eef6;
    border-radius: 20px;
    background: #fff;
    text-align: left;
    color: inherit;
}

.pkm-calendar__day.is-outside {
    background: #f7fafc;
    opacity: 0.6;
}

.pkm-calendar__day.is-clickable {
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pkm-calendar__day.is-clickable:hover {
    transform: translateY(-2px);
    border-color: #b8d4c2;
    box-shadow: 0 18px 32px rgba(58, 78, 113, 0.1);
}

.pkm-calendar__day.is-clickable:focus-visible {
    outline: none;
    border-color: #4a8e67;
    box-shadow: 0 0 0 4px rgba(74, 142, 103, 0.16);
}

.pkm-calendar__day.is-today {
    border-color: #9ac6ac;
    box-shadow: 0 0 0 2px rgba(74, 142, 103, 0.08);
}

@media (max-width: 1550px) {
    .pkm-monitoring-layout {
        grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
        --pkm-monitoring-panel-height: 920px;
    }

    .pkm-monitoring-calendar > .pkm-card {
        min-height: var(--pkm-monitoring-panel-height);
    }

    .pkm-monitoring-calendar .pkm-card__head {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
    }

    .pkm-monitoring-calendar .pkm-card__head > div:nth-child(2) {
        text-align: center;
    }

    .pkm-calendar__day {
        min-height: 148px;
        padding: 12px;
        border-radius: 18px;
    }
}

@media (max-width: 1380px) {
    .pkm-monitoring-layout {
        grid-template-columns: 1fr;
        --pkm-monitoring-panel-height: auto;
    }

    .pkm-monitoring-list,
    .pkm-monitoring-calendar {
        grid-template-rows: auto;
    }

    .pkm-monitoring-list > .pkm-card:last-child,
    .pkm-monitoring-calendar > .pkm-card {
        min-height: auto;
        max-height: none;
        height: auto;
    }

    .pkm-monitoring-items {
        overflow-y: visible;
        padding-right: 0;
    }

    .pkm-monitoring-calendar .pkm-card__head {
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 14px;
    }

    .pkm-monitoring-calendar .pkm-card__head > div:nth-child(2) {
        text-align: left;
    }

    .pkm-monitoring-calendar .pkm-card__head > div:first-child,
    .pkm-monitoring-calendar .pkm-card__head > div:last-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .pkm-calendar__day {
        min-height: 124px;
    }
}

.pkm-calendar__date-row strong {
    color: #334968;
    font-size: 1.02rem;
}

.pkm-calendar__date-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 6px;
    border-radius: 999px;
    background: #e8f4ed;
    color: #2f6f4b;
    font-size: 0.74rem;
    font-weight: 700;
}

.pkm-calendar__counts {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 12px;
}

.pkm-calendar__counts small {
    color: #7b8ca4;
    font-size: 0.74rem;
}

.pkm-calendar__items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.pkm-calendar__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.04em;
}

.pkm-calendar__item.is-layanan {
    background: #edf7f1;
    color: #2d6f4a;
}

.pkm-calendar__item.is-dinas {
    background: #e9efff;
    color: #405ac0;
}

.pkm-modal-open {
    overflow: hidden;
}

.pkm-modal[hidden] {
    display: none;
}

.pkm-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pkm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.54);
    backdrop-filter: blur(6px);
}

.pkm-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(219, 228, 239, 0.98);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
}

.pkm-modal__head,
.pkm-modal__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 0;
}

.pkm-modal__head h3 {
    margin: 0;
    font-size: 1.18rem;
    color: #334968;
}

.pkm-modal__head p {
    margin: 8px 0 0;
    color: #7b8ca4;
}

.pkm-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--pkm-border);
    border-radius: 14px;
    background: #fff;
    color: #4d607c;
}

.pkm-modal__summary {
    padding-top: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
}

.pkm-modal__summary small {
    color: #7b8ca4;
    line-height: 1.5;
}

.pkm-modal__body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pkm-modal-schedule {
    padding: 18px;
    border: 1px solid var(--pkm-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(58, 78, 113, 0.06);
}

.pkm-modal-schedule__top,
.pkm-modal-schedule__grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.pkm-modal-schedule__top strong {
    display: block;
    margin-top: 10px;
    color: #334968;
    font-size: 1rem;
}

.pkm-modal-schedule__top small {
    display: block;
    margin-top: 5px;
    color: #7b8ca4;
}

.pkm-modal-schedule__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.pkm-modal-schedule__grid span {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8b9ab0;
}

.pkm-modal-schedule__grid strong {
    display: block;
    margin-top: 7px;
    color: #334968;
}

.pkm-modal-schedule p {
    margin: 16px 0 0;
    color: #667892;
    line-height: 1.6;
}

.pkm-row-actions form {
    margin: 0;
}

.pkm-table__row > [data-label="Aksi"] {
    display: flex;
    align-items: center;
}

.pkm-table__row > [data-label="Aksi"] .pkm-row-actions {
    flex-wrap: nowrap;
    gap: 8px;
}

.pkm-table__row > [data-label="Aksi"] .pkm-row-actions form {
    display: inline-flex;
}

.pkm-table__row > [data-label="Aksi"] .pkm-text-link,
.pkm-table__row > [data-label="Aksi"] .pkm-secondary-button,
.pkm-table__row > [data-label="Aksi"] .pkm-danger-button,
.pkm-table__row > [data-label="Aksi"] .pkm-primary-button,
.pkm-table__row > [data-label="Aksi"] button.pkm-text-link {
    min-height: 36px;
    padding: 0.5rem 0.8rem;
    gap: 0.45rem;
    font-size: 0.875rem;
    line-height: 1;
    white-space: nowrap;
}

.pkm-side-panel,
.pkm-side-summary {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pkm-side-panel__head span {
    padding: 4px 10px;
    border-radius: 999px;
    background: #e4f7eb;
    color: #2c7d54;
    font-size: 0.78rem;
    font-weight: 700;
}

.pkm-activity-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pkm-activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--pkm-border);
    border-radius: 20px;
    background: #fff;
}

.pkm-activity-item__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbe6ff, #f4f7ff);
    color: #3f59bc;
    font-weight: 800;
}

.pkm-activity-item__body {
    flex: 1;
    min-width: 0;
}

.pkm-activity-item__body strong,
.pkm-quick-action strong {
    display: block;
    color: #334968;
}

.pkm-activity-item__body small,
.pkm-quick-action small {
    display: block;
    margin-top: 4px;
    color: var(--pkm-muted);
    line-height: 1.5;
}

.pkm-activity-item__meta {
    font-size: 0.84rem;
    font-weight: 700;
}

.pkm-activity-item__meta.is-positive {
    color: #27804e;
}

.pkm-activity-item__meta.is-warning {
    color: #ba7a18;
}

.pkm-activity-item__meta.is-neutral {
    color: #7d8ca3;
}

.pkm-side-panel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
    border: 1px solid var(--pkm-border);
    background: #fbfdff;
    color: #4157b0;
    font-weight: 700;
    text-decoration: none;
}

.pkm-quick-action {
    display: flex;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--pkm-border);
    border-radius: 20px;
    text-decoration: none;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.pkm-quick-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--pkm-primary-pale);
    color: var(--pkm-primary-strong);
    flex-shrink: 0;
}

.pkm-login-shell {
    background:
        radial-gradient(circle at 92% 50%, rgba(79, 115, 96, 0.08), transparent 16%),
        linear-gradient(90deg, #f6faf7 0%, #ffffff 62%, #ffffff 100%);
    box-shadow: inset -36px 0 90px rgba(51, 78, 64, 0.06);
    position: relative;
}

.pkm-login-glow {
    position: absolute;
    inset: 0;
    background: transparent;
}

.pkm-login-page .pkm-login-shell::before {
    background:
        linear-gradient(180deg, rgba(42, 124, 88, 0.96) 0%, rgba(52, 118, 81, 0.94) 44%, rgba(34, 70, 110, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pkm-login-page .pkm-login-shell::after {
    border-color: rgba(42, 124, 88, 0.38);
    background:
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.16), transparent 16%),
        radial-gradient(circle at 82% 18%, rgba(174, 229, 196, 0.16), transparent 18%),
        linear-gradient(180deg, rgba(126, 176, 147, 0.14), rgba(58, 124, 93, 0.1));
}

.pkm-login-page .pkm-login-shell > .pkm-login-glow::after {
    content: "";
    position: absolute;
    right: -3.5rem;
    bottom: -5.5rem;
    width: 18rem;
    height: 28rem;
    border-radius: 42% 0 0 0;
    background:
        linear-gradient(180deg, rgba(232, 236, 242, 0.9) 0%, rgba(210, 217, 226, 0.68) 100%);
    box-shadow:
        -28px -18px 48px rgba(121, 128, 141, 0.18),
        inset 0 0 30px rgba(255, 255, 255, 0.55);
    transform: skewY(-6deg);
    pointer-events: none;
    z-index: 1;
    opacity: 0.95;
}

.pkm-login-page .pkm-login-glow::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.12);
}

.pkm-login-page .pkm-login-card {
    background: #ffffff;
    border: 1px solid rgba(221, 230, 239, 0.95);
    border-radius: 2rem;
    color: var(--pkm-ink);
    box-shadow:
        0 34px 86px rgba(20, 41, 74, 0.09),
        0 14px 30px rgba(74, 142, 103, 0.08),
        -24px 0 48px rgba(39, 63, 52, 0.06);
}

.pkm-login-page .pkm-login-card::before {
    border: 1px solid rgba(221, 230, 239, 0.72);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 34px rgba(24, 37, 66, 0.06);
}

.pkm-login-page .pkm-login-card::after {
    border: 1px solid rgba(232, 239, 246, 0.96);
    background:
        radial-gradient(circle at top right, rgba(104, 181, 133, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
    box-shadow: 0 24px 54px rgba(17, 28, 74, 0.08);
}

.pkm-login-page h2 {
    color: #264f39;
    letter-spacing: -0.02em;
}

.pkm-login-page .opacity-70 {
    color: #7b8ca0;
    opacity: 1;
}

.pkm-login-page .xl\:flex .text-white {
    color: #ffffff;
}

.pkm-login-page .xl\:flex .text-white.opacity-70,
.pkm-login-page .xl\:flex .font-light.opacity-70 {
    color: rgba(232, 244, 237, 0.72);
}

.pkm-login-page .xl\:flex .mt-10.text-4xl {
    color: #ffffff;
    text-shadow: 0 8px 26px rgba(17, 39, 31, 0.2);
}

.pkm-login-page .xl\:flex .mt-5 {
    color: rgba(228, 241, 233, 0.78);
}

.pkm-login-page input.box {
    border: 1px solid rgba(219, 228, 239, 0.98);
    background: #ffffff;
    color: #334968;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 6px 16px rgba(31, 53, 89, 0.04);
}

.pkm-login-page input.box::placeholder {
    color: #93a0b5;
}

.pkm-login-page input.box:focus {
    border-color: rgba(74, 142, 103, 0.5);
    box-shadow:
        0 0 0 4px rgba(74, 142, 103, 0.12),
        0 10px 24px rgba(46, 98, 67, 0.1);
}

.pkm-login-page .login-button {
    border: 1px solid rgba(58, 118, 84, 0.18);
    background: linear-gradient(135deg, #4a8e67 0%, #5aa276 100%);
    color: #fff;
    box-shadow: 0 18px 36px rgba(46, 98, 67, 0.18);
}

.pkm-login-page .login-button:hover {
    background: linear-gradient(135deg, #43815d 0%, #51946b 100%);
    color: #fff;
}

.pkm-login-page #remember-me + div,
.pkm-login-page .bg-background.border-foreground\\/70 {
    border-color: rgba(125, 140, 163, 0.36);
    background: #fff;
}

.pkm-login-page .peer:checked ~ div,
.pkm-login-page .peer-checked\:visible {
    background: #4a8e67;
}

.pkm-login-page .pkm-login-helper {
    border: 1px solid rgba(219, 228, 239, 0.9);
    background: #f8fbf9;
    color: #4d607c;
}

.pkm-login-page .xl\:flex .my-auto {
    max-width: 34rem;
}

.pkm-login-page .xl\:flex .my-auto .mt-10.text-4xl {
    max-width: fit-content;
    text-wrap: balance;
}

.pkm-login-page .xl\:flex .my-auto .mt-5 {
    max-width: 32rem;
    overflow-wrap: anywhere;
}

@media (min-width: 1280px) {
    .pkm-login-page .pkm-login-card {
        min-width: 31rem;
        padding: 2.5rem 2.25rem;
    }

    .pkm-login-page .pkm-login-shell {
        overflow: hidden;
    }
}

.pkm-login-helper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(93, 143, 112, 0.16);
    background: rgba(237, 247, 241, 0.9);
    border-radius: 18px;
    padding: 16px 18px;
    color: #35684a;
    font-size: 0.92rem;
}

.pkm-login-helper__title {
    font-weight: 700;
    color: #214d35;
}

.pkm-login-page .pkm-login-helper__title {
    color: #334968;
}

.pkm-input {
    width: 100%;
    border-radius: 1.15rem;
    border: 1px solid rgba(93, 143, 112, 0.18);
    background: rgba(246, 251, 248, 0.9);
    height: 58px;
    min-height: 58px;
    padding: 0 1.2rem;
    color: #1e293b;
    outline: none;
    transition: 150ms ease;
}

.pkm-input:focus {
    border-color: rgba(77, 143, 106, 0.45);
    box-shadow: 0 0 0 4px rgba(77, 143, 106, 0.12);
}

.pkm-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #4a8966, #63a47f);
    color: #fff;
    padding: 1rem 1.2rem;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    box-shadow: 0 18px 32px rgba(70, 131, 97, 0.2);
    transition: 180ms ease;
}

.pkm-primary-button i,
.pkm-secondary-button i,
.pkm-danger-button i,
.pkm-text-link i,
.pkm-refresh-button i {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.pkm-primary-button:hover,
.pkm-refresh-button:hover,
.pkm-text-link:hover,
.pkm-topbar__login:hover,
.pkm-side-panel__button:hover,
.pkm-quick-action:hover {
    opacity: 0.92;
}

.pkm-text-link:hover,
.pkm-refresh-button:hover {
    transform: translateY(-1px);
}

@media (max-width: 1280px) {
    .pkm-shell {
        grid-template-columns: 1fr;
        min-height: calc(100vh - 40px);
    }

    .pkm-sidebar {
        position: fixed;
        top: 20px;
        left: 20px;
        bottom: 20px;
        width: min(320px, calc(100vw - 40px));
        z-index: 60;
        border-radius: 30px;
        box-shadow: 0 30px 70px rgba(8, 21, 40, 0.34);
        transform: translateX(calc(-100% - 24px));
        transition: transform 220ms ease;
        overflow-y: auto;
    }

    .pkm-dashboard-grid,
    .pkm-chart-row,
    .pkm-metric-grid,
    .pkm-monitoring-layout {
        grid-template-columns: 1fr;
    }

    .pkm-monitoring-list,
    .pkm-monitoring-calendar {
        grid-template-rows: auto;
    }

    .pkm-monitoring-layout {
        --pkm-monitoring-panel-height: auto;
    }

    .pkm-monitoring-list > .pkm-card:last-child,
    .pkm-monitoring-calendar > .pkm-card {
        min-height: auto;
        max-height: none;
    }

    .pkm-monitoring-items {
        overflow-y: visible;
        padding-right: 0;
    }

    .pkm-hero-panel {
        flex-direction: column;
    }

    .pkm-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 50;
        background: rgba(15, 23, 42, 0.46);
        backdrop-filter: blur(4px);
    }

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

    .pkm-shell--sidebar-open .pkm-sidebar-overlay {
        display: block;
    }

    .pkm-mobile-menu {
        display: inline-flex;
    }
}

@media (max-width: 900px) {
    .pkm-app-shell {
        padding: 12px;
    }

    .pkm-shell {
        min-height: calc(100vh - 24px);
        border-radius: 26px;
    }

    .pkm-sidebar {
        top: 12px;
        left: 12px;
        bottom: 12px;
        width: min(320px, calc(100vw - 24px));
        padding: 22px 16px 16px;
    }

    .pkm-main {
        gap: 22px;
        padding: 18px 14px 20px;
    }

    .pkm-topbar {
        flex-direction: column;
        gap: 16px;
        padding-bottom: 18px;
    }

    .pkm-topbar__actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .pkm-topbar__actions > form:not(.pkm-topbar__search) {
        width: auto;
    }

    .pkm-topbar__search {
        min-width: 100%;
        order: 3;
        padding: 12px 14px;
    }

    .pkm-topbar__login {
        padding-inline: 14px;
    }

    .pkm-topbar__headline {
        width: 100%;
    }

    .pkm-breadcrumb {
        font-size: 0.88rem;
    }

    .pkm-table__head,
    .pkm-table__row {
        grid-template-columns: 1fr;
    }

    .pkm-table__head {
        display: none;
    }

    .pkm-table {
        gap: 12px;
        border: 0;
        background: transparent;
    }

    .pkm-table__row {
        gap: 10px;
        padding: 16px;
        border: 1px solid var(--pkm-border);
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(58, 78, 113, 0.06);
    }

    .pkm-table__row > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .pkm-table__row > div::before {
        content: attr(data-label);
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #8b9ab0;
    }

    .pkm-hero-panel h3 {
        font-size: 1.9rem;
    }

    .pkm-hero-panel,
    .pkm-card,
    .pkm-side-panel,
    .pkm-side-summary,
    .pkm-metric-card {
        border-radius: 20px;
    }

    .pkm-hero-panel,
    .pkm-card,
    .pkm-side-panel,
    .pkm-side-summary {
        padding: 18px;
    }

    .pkm-metric-card {
        padding: 18px;
    }

    .pkm-metric-card__value {
        margin-top: 22px;
        font-size: 2rem;
    }

    .pkm-hero-panel__stats {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .pkm-chart-row,
    .pkm-dashboard-grid,
    .pkm-dashboard-main,
    .pkm-dashboard-side {
        gap: 18px;
    }

    .pkm-management-summary,
    .pkm-form-grid,
    .pkm-monitoring-item__grid {
        grid-template-columns: 1fr;
    }

    .pkm-monitoring-item__top,
    .pkm-monitoring-item__badges,
    .pkm-account-block__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pkm-monitoring-item__badges {
        width: 100%;
    }

    .pkm-monitoring-item__actions {
        flex-wrap: wrap;
    }

    .pkm-export-actions {
        margin-right: 0;
        width: 100%;
    }

    .pkm-export-actions > *,
    .pkm-form-actions > *,
    .pkm-row-actions > *,
    .pkm-pagination > * {
        flex: 1 1 220px;
    }

    .pkm-monitoring-filter .pkm-form-actions > .pkm-primary-button,
    .pkm-monitoring-filter .pkm-form-actions > .pkm-secondary-button {
        min-width: 0;
    }

    .pkm-field--full {
        grid-column: auto;
    }

    .pkm-fake-chart {
        height: 220px;
    }

    .pkm-donut-wrap {
        min-height: 240px;
    }

    .pkm-donut-chart {
        width: 180px;
        height: 180px;
    }

    .pkm-donut-chart::after {
        inset: 22px;
    }

    .pkm-side-panel__button {
        min-height: 50px;
    }

    .pkm-calendar__grid {
        gap: 6px;
    }

    .pkm-calendar__day {
        min-height: 100px;
        padding: 8px;
    }

    .pkm-modal {
        padding: 14px;
    }

    .pkm-modal__dialog {
        max-height: calc(100vh - 28px);
        border-radius: 22px;
    }

    .pkm-modal__head,
    .pkm-modal__summary,
    .pkm-modal__body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .pkm-modal__summary {
        flex-direction: column;
    }

    .pkm-modal-schedule__top,
    .pkm-modal-schedule__grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .pkm-table__row strong,
    .pkm-table__row small,
    .pkm-table__row p,
    .pkm-modal-schedule strong,
    .pkm-modal-schedule small,
    .pkm-modal-schedule p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 640px) {
    .pkm-form-actions,
    .pkm-pagination,
    .pkm-row-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pkm-row-actions {
        gap: 8px;
    }

    .pkm-monitoring-filter .pkm-form-actions {
        flex-direction: row;
        align-items: stretch;
        justify-content: flex-end;
    }

    .pkm-monitoring-filter .pkm-form-actions > .pkm-primary-button,
    .pkm-monitoring-filter .pkm-form-actions > .pkm-secondary-button {
        flex: 1 1 0;
        min-width: 0;
    }

    .pkm-table__row > [data-label="Aksi"] .pkm-row-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }

    .pkm-table__row > [data-label="Aksi"] .pkm-row-actions > *,
    .pkm-table__row > [data-label="Aksi"] .pkm-row-actions form {
        flex: 0 0 auto;
    }

    .pkm-brand__title {
        font-size: 1.55rem;
    }

    .pkm-main__title {
        margin-top: 10px;
        font-size: 1.55rem;
    }

    .pkm-section-head,
    .pkm-card__head,
    .pkm-side-panel__head,
    .pkm-side-summary__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pkm-topbar__actions {
        gap: 10px;
        justify-content: flex-start;
        align-items: center;
    }

    .pkm-topbar__icon,
    .pkm-topbar__avatar,
    .pkm-mobile-menu {
        width: 42px;
        height: 42px;
    }

    .pkm-topbar__headline {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        column-gap: 10px;
        row-gap: 8px;
    }

    .pkm-breadcrumb {
        width: 100%;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pkm-topbar__actions > .pkm-topbar__icon,
    .pkm-topbar__actions > .pkm-topbar__avatar,
    .pkm-topbar__actions > form:not(.pkm-topbar__search) {
        flex: 0 0 auto;
    }

    .pkm-topbar__actions > form:not(.pkm-topbar__search) {
        width: auto;
    }

    .pkm-topbar__login {
        min-width: 0;
        white-space: nowrap;
    }

    .pkm-hero-panel h3 {
        font-size: 1.55rem;
    }

    .pkm-hero-panel p,
    .pkm-card__head p,
    .pkm-section-head p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .pkm-activity-item,
    .pkm-quick-action {
        padding: 14px;
    }

    .pkm-section-head > .pkm-primary-button,
    .pkm-section-head > .pkm-secondary-button,
    .pkm-section-head > .pkm-danger-button,
    .pkm-section-head > .pkm-text-link {
        width: 100%;
    }

    .pkm-export-actions > *,
    .pkm-form-actions > *,
    .pkm-row-actions > *,
    .pkm-pagination > * {
        width: 100%;
        flex-basis: auto;
    }

    .pkm-topbar__actions > form:not(.pkm-topbar__search),
    .pkm-topbar__actions > button,
    .pkm-topbar__actions > div {
        max-width: 100%;
    }

    .pkm-monitoring-item__top,
    .pkm-monitoring-item__badges {
        align-items: flex-start;
    }

    .pkm-calendar__weekdays {
        gap: 4px;
    }

    .pkm-calendar__grid {
        gap: 4px;
    }

    .pkm-calendar__day {
        min-height: 88px;
        padding: 7px;
        border-radius: 14px;
    }

    .pkm-calendar__item {
        padding: 5px 6px;
        font-size: 0.68rem;
    }

    .pkm-modal__head,
    .pkm-modal__summary,
    .pkm-modal__body {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 480px) {
    .pkm-app-shell {
        padding: 8px;
    }

    .pkm-shell {
        min-height: calc(100vh - 16px);
        border-radius: 22px;
    }

    .pkm-main {
        padding: 14px 10px 16px;
    }

    .pkm-card,
    .pkm-side-panel,
    .pkm-side-summary,
    .pkm-metric-card,
    .pkm-hero-panel {
        padding: 14px;
        border-radius: 16px;
    }

    .pkm-metric-card__value {
        font-size: 1.7rem;
    }

    .pkm-topbar__search {
        padding: 10px 12px;
    }

    .pkm-breadcrumb {
        font-size: 0.8rem;
    }

    .pkm-breadcrumb__item:first-child,
    .pkm-breadcrumb__item:nth-of-type(2) {
        flex: 0 1 auto;
        max-width: 72px;
    }

    .pkm-breadcrumb__item.is-current {
        flex: 1 1 auto;
        min-width: 0;
    }

    .pkm-table__row {
        padding: 14px;
    }

    .pkm-calendar__weekdays span {
        font-size: 0.62rem;
    }

    .pkm-calendar__day {
        min-height: 76px;
        padding: 6px;
    }

    .pkm-calendar__date-row strong {
        font-size: 0.92rem;
    }

    .pkm-calendar__date-row span {
        min-width: 1.45rem;
        height: 1.45rem;
        font-size: 0.68rem;
    }

    .pkm-calendar__counts,
    .pkm-calendar__items {
        margin-top: 8px;
    }

    .pkm-calendar__counts small {
        font-size: 0.66rem;
    }

    .pkm-modal {
        padding: 10px;
    }

    .pkm-modal__dialog {
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }
}
h1, h2, h3, h4 {
    font-weight: bold;
}
