* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e88e5;
    --secondary-color: #43a047;
    --accent-color: #fb8c00;
    --danger-color: #e53935;
    --light-bg: #f5f5f5;
    --dark-text: #212121;
    --border-color: #e0e0e0;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1600px;
    width: 100%;
    flex: 1;
    margin: 0 auto;
    padding: 0;
}

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

.entry-data-fields {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
    border: 1px solid #dbe6ef;
    border-radius: 6px;
    background: #f7fbff;
}

.entry-data-field {
    display: grid;
    gap: 6px;
    color: #12304e;
    font-weight: 600;
}

.entry-data-field input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #c9d8e6;
    border-radius: 6px;
    background: #fff;
    color: #1b2b3a;
    font: inherit;
}

.entry-data-empty {
    grid-column: 1 / -1;
    margin: 0;
    color: #687789;
}

.operator-bidang-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: none;
    margin: 26px 0;
}

.operator-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    padding: 16px 18px;
    border: 1px solid #ffd5d8;
    border-radius: 14px;
    background: linear-gradient(120deg, #fff8f8, #fffafa);
    color: #e53935;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.06);
}

.operator-notice-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-weight: 700;
}

.operator-bidang-btn {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 10px;
    align-items: center;
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid #dbe7f0;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff 0%, #f6fbff 100%);
    color: #12304e;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(20, 67, 105, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.operator-bidang-btn:hover,
.operator-bidang-btn:focus-visible {
    border-color: #43b9ae;
    background: linear-gradient(145deg, #ffffff 0%, #eefcf9 100%);
    box-shadow: 0 14px 24px rgba(20, 67, 105, 0.12);
    transform: translateY(-3px);
    outline: 0;
}

.operator-bidang-btn .operator-bidang-logo {
    grid-row: 1 / 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #ffffff;
}

.operator-bidang-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.operator-bidang-btn strong {
    align-self: end;
    letter-spacing: 0.08em;
}

.operator-bidang-btn small {
    align-self: start;
    color: #617589;
    line-height: 1.35;
}

.login-card {
    max-width: 520px;
}

.login-card label {
    display: grid;
    gap: 6px;
    margin: 14px 0;
    color: #12304e;
    font-weight: 600;
}

.login-card input {
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #c9d8e6;
    border-radius: 6px;
    font: inherit;
}

.monitoring-page {
    display: grid;
    min-height: min(760px, calc(100vh - 150px));
    place-items: center;
    padding: clamp(24px, 6vw, 72px) 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 10% 12%, rgba(32, 202, 189, 0.2), transparent 28%),
        linear-gradient(145deg, #082b4b 0%, #064b68 52%, #087c7d 100%);
}

.monitoring-card {
    width: min(100%, 560px);
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 70px rgba(0, 20, 40, 0.3);
}

.monitoring-emblem-wrap {
    display: grid;
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    place-items: center;
    border: 1px solid #e3edf2;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 76, 106, 0.1);
}

.monitoring-emblem {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.monitoring-kicker {
    margin: 0 0 9px;
    color: #087e80;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
}

.monitoring-card h1 {
    margin: 0;
    color: #102e49;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    line-height: 1.15;
    text-align: center;
}

.monitoring-intro {
    max-width: 430px;
    margin: 12px auto 22px;
    color: #657b8c;
    line-height: 1.6;
    text-align: center;
}

.monitoring-readonly-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 24px;
    padding: 13px 14px;
    border: 1px solid #d5eee9;
    border-radius: 12px;
    background: #f0faf7;
    color: #285d5e;
}

.monitoring-readonly-note > span,
.monitoring-session-check {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 50%;
    background: #087f7b;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.monitoring-readonly-note p {
    margin: 1px 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.monitoring-login-form {
    display: grid;
    gap: 9px;
}

.monitoring-login-form label {
    margin-top: 4px;
    color: #173d5b;
    font-size: 0.9rem;
    font-weight: 700;
}

.credential-field-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.credential-field-label img {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
}

.monitoring-login-form input,
.monitoring-login-form select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cbd9e3;
    border-radius: 9px;
    background: #fff;
    color: #12304e;
    font: inherit;
}

.monitoring-login-form input:focus,
.monitoring-login-form select:focus {
    border-color: #0b9b94;
    outline: 3px solid rgba(11, 155, 148, 0.14);
}

.monitoring-submit {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 12px 18px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(110deg, #075783, #078d86);
    box-shadow: 0 8px 18px rgba(7, 104, 125, 0.2);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.monitoring-submit:hover {
    filter: brightness(1.06);
}

.unified-login-page {
    display: grid;
    width: 100vw;
    min-height: max(780px, calc(100vh - 80px));
    margin-left: calc(50% - 50vw);
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
    overflow: hidden;
    background: url("assets/berandadinkes.png") center / cover no-repeat;
}

#login.view {
    padding: 0;
}

.unified-login-brand {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(28px, 5.5vw, 72px);
    overflow: hidden;
    background: transparent;
    color: #123e76;
}

.unified-brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
}

.unified-brand-lockup img {
    width: 56px;
    height: 64px;
    object-fit: contain;
}

.unified-brand-lockup div {
    display: grid;
    line-height: 1.15;
}

.unified-brand-lockup strong {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    letter-spacing: 0.04em;
}

.unified-brand-lockup span {
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.unified-brand-copy {
    max-width: 590px;
    margin-top: 0;
    padding: 0;
}

.unified-brand-copy h1 {
    margin: 0;
    color: #0b3470;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.08;
    text-wrap: balance;
}

.unified-brand-copy h2 {
    margin: 8px 0 0;
    color: #1e5487;
    font-size: clamp(1rem, 1.55vw, 1.25rem);
    font-weight: 600;
    line-height: 1.4;
}

.unified-brand-rule {
    display: block;
    width: 52px;
    height: 4px;
    margin: 18px 0;
    border-radius: 4px;
    background: #1593bf;
}

.unified-brand-description {
    max-width: 500px;
    margin: 0;
    color: #345a80;
    font-size: 0.98rem;
    line-height: 1.7;
}

.unified-brand-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 1px 5px rgba(0, 32, 74, 0.55);
}

.unified-brand-values span {
    padding: 8px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.72);
}

.unified-brand-values span:first-child {
    padding-left: 0;
}

.unified-brand-values span:last-child {
    border: 0;
}

.unified-login-panel {
    display: grid;
    min-height: 100%;
    place-items: center;
    padding: clamp(22px, 4vw, 52px);
    background: transparent;
}

.unified-login-card {
    width: min(100%, 460px);
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 54px rgba(27, 85, 137, 0.16);
    text-align: center;
}

.unified-login-emblem {
    display: grid;
    width: 82px;
    height: 82px;
    margin: 0 auto 10px;
    place-items: center;
}

.unified-login-emblem img {
    display: block;
    width: 74px;
    height: auto;
    max-height: 67px;
    object-fit: contain;
}

.unified-login-card h2 {
    margin: 0;
    color: #0d3472;
    font-size: 1.75rem;
}

.unified-login-card > p {
    margin: 8px auto 24px;
    color: #627d9f;
    line-height: 1.5;
}

.unified-login-field {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 0 14px;
    border: 1px solid #d2dfef;
    border-radius: 9px;
    color: #6a83a2;
    text-align: left;
}

.unified-login-field:focus-within {
    border-color: #267ec5;
    box-shadow: 0 0 0 3px rgba(38, 126, 197, 0.13);
}

.unified-login-field-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.unified-login-field input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #18395f;
    font: inherit;
}

.unified-login-field input::placeholder {
    color: #7187a5;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.unified-login-submit {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(110deg, #1679d0, #0d5ea9);
    box-shadow: 0 8px 18px rgba(18, 99, 171, 0.22);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.unified-login-submit:hover {
    filter: brightness(1.06);
}

.unified-login-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 360px;
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid #e0e9f2;
    color: #6b83a1;
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
}

.unified-login-footnote-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: #1679b8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.unified-login-card .upload-status {
    margin-top: 12px;
}

.monitoring-session[hidden] {
    display: none;
}

.monitoring-session-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 12px;
}

.monitoring-session-heading strong,
.monitoring-session-heading span:not(.monitoring-session-check) {
    display: block;
}

.monitoring-session-heading strong {
    color: #12304e;
    font-size: 1.08rem;
}

.monitoring-session-heading span:not(.monitoring-session-check) {
    margin-top: 3px;
    color: #087e75;
    font-size: 0.84rem;
    font-weight: 700;
}

.monitoring-session > p {
    color: #657b8c;
    line-height: 1.6;
}

.monitoring-session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.monitoring-session-actions .monitoring-submit {
    flex: 1 1 220px;
}

.monitoring-session-actions .secondary-btn {
    min-height: 48px;
}

.password-card {
    max-width: 760px;
    margin: 0 0 20px;
}

.operator-session-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-page {
    max-width: 760px;
    margin: 0 0 20px;
    padding: 28px;
    border: 1px solid #dbe6ef;
    border-radius: 14px;
    background: #fff;
}

.password-page-heading {
    margin-bottom: 22px;
}

.password-page-kicker {
    color: #168d78;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.password-page-heading h3 {
    margin: 6px 0;
    color: #12304e;
}

.password-page-heading p {
    margin: 0;
    color: #617589;
}

.password-card h3,
.profile-editor-card > h3 {
    margin: 0 0 6px;
    color: #12304e;
}

.password-card p,
.profile-editor-card > p {
    margin: 0 0 16px;
    color: #617589;
}

.password-divider {
    height: 1px;
    margin: 28px 0 22px;
    background: #dbe6ef;
}

.turnstile-container {
    min-height: 65px;
    margin: 16px 0 8px;
}

.turnstile-error {
    padding: 10px 12px;
    border: 1px solid #f2b8b5;
    border-radius: 6px;
    color: #a12b24;
    background: #fff7f6;
    font-size: 0.85rem;
}

.profile-editor-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.profile-editor-fields label {
    display: grid;
    gap: 6px;
    color: #12304e;
    font-weight: 600;
}

.profile-editor-fields textarea {
    width: 100%;
    min-height: 130px;
    padding: 10px 12px;
    border: 1px solid #c9d8e6;
    border-radius: 6px;
    background: #fff;
    color: #1b2b3a;
    font: inherit;
    line-height: 1.5;
    resize: vertical;
}

.profile-editor-fields textarea:focus {
    outline: 2px solid rgba(30, 136, 229, 0.25);
    border-color: var(--primary-color);
}

.news-admin-panel {
    margin-top: 26px;
    padding: 24px;
    border: 1px solid #dbe6ef;
    border-radius: 14px;
    background: #f8fbfd;
}

.news-admin-panel[hidden] { display: none; }

.news-editor-form {
    padding: 20px;
    border: 1px solid #dce8ef;
    border-radius: 12px;
    background: #fff;
}

.news-editor-wide {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
    color: #12304e;
    font-weight: 600;
}

.news-editor-wide textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c9d8e6;
    border-radius: 6px;
    font: inherit;
    line-height: 1.5;
    resize: vertical;
}

.news-auto-note {
    color: #718096;
    font-size: 0.76rem;
    font-weight: 400;
}

#newsViewsInput[readonly] {
    background: #f1f5f8;
    color: #718096;
    cursor: not-allowed;
}

.news-image-preview-wrap {
    display: grid;
    gap: 8px;
    margin: 4px 0 18px;
    color: #56707c;
    font-size: 0.85rem;
    font-weight: 700;
}

.news-image-preview {
    width: min(360px, 100%);
    max-height: 220px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #dce8ef;
}

.news-admin-list-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 26px 0 12px;
}

.news-admin-list-heading h4 { margin: 0; color: #12304e; }
.news-admin-list-heading span { color: #718096; font-size: 0.85rem; }

.news-admin-list { display: grid; gap: 10px; }

.news-admin-row {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid #dce8ef;
    border-radius: 10px;
    background: #fff;
}

.news-admin-thumb {
    width: 74px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
}

.news-admin-row-info { display: grid; gap: 4px; min-width: 0; }
.news-admin-row-info strong { color: #12304e; line-height: 1.3; }
.news-admin-row-info span { color: #718096; font-size: 0.8rem; }
.news-admin-row-actions { display: flex; gap: 8px; }
.news-delete-btn { padding: 10px 14px; border: 1px solid #d95f5f; border-radius: 8px; background: #fff1f1; color: #b42318; cursor: pointer; font-weight: 700; }
.news-admin-empty { color: #718096; }

.login-actions,
.operator-session-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.operator-session-bar {
    justify-content: space-between;
    max-width: 520px;
    margin: 20px 0;
    padding: 12px 16px;
    border-left: 4px solid var(--dinkes-accent);
    background: var(--dinkes-accent-soft);
    color: #12304e;
}

.form-grid label {
    display: grid;
    gap: 6px;
    color: #12304e;
    font-weight: 600;
}

.form-grid label[hidden],
.operator-managed-filters label[hidden] {
    display: none !important;
}

.form-grid input,
.form-grid select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #c9d8e6;
    border-radius: 6px;
    background: #fff;
    color: #1b2b3a;
    font: inherit;
}

.form-grid input:focus,
.form-grid select:focus {
    outline: 2px solid rgba(30, 136, 229, 0.25);
    border-color: var(--primary-color);
}

@media (max-width: 700px) {
    .news-admin-panel { padding: 16px; }

    .news-admin-list-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .news-admin-row {
        grid-template-columns: 58px 1fr;
    }

    .news-admin-thumb {
        width: 58px;
        height: 46px;
    }

    .news-admin-row-actions {
        grid-column: 1 / -1;
    }

    .news-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .news-heading-brand {
        align-items: center;
        gap: 12px;
    }

    .news-heading-logo {
        width: 42px;
        height: 42px;
    }

    .news-heading-note {
        max-width: none;
        text-align: left;
    }

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

    .news-detail-content {
        padding: 22px 18px 26px;
    }

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

    .profile-editor-fields {
        grid-template-columns: 1fr;
    }

    .entry-data-fields {
        grid-template-columns: 1fr;
    }

    .profile-admin-body {
        padding: 24px 16px 30px;
    }

    .profile-admin-login-card,
    .profile-editor-card {
        padding: 20px 16px;
    }
}

/* Shared operator document uploader */
.main-nav > .nav-btn:nth-of-type(even),
.main-nav > .nav-dropdown:nth-of-type(even) > .nav-btn {
    background-color: rgba(74, 179, 221, 0.13);
}

.main-nav > .nav-btn:nth-of-type(even):hover,
.main-nav > .nav-dropdown:nth-of-type(even) > .nav-btn:hover {
    background-color: rgba(102, 213, 239, 0.24);
}

#documentUploadCard {
    padding: clamp(20px, 3vw, 34px);
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.operator-upload-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.operator-upload-heading > span:first-child {
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    place-items: center;
    border-radius: 15px;
    color: #0872b7;
    background: linear-gradient(145deg, #e4f5ff, #d5ebff);
}

.operator-upload-heading svg,
.document-type-label svg,
.upload-drop-zone svg,
.operator-upload-note svg,
.operator-upload-submit-row button svg,
.document-list-icon,
.document-meta-icon,
.document-delete-btn svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.operator-upload-heading svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.8;
}

.operator-upload-heading h3 {
    margin: 0 0 5px;
    color: #163857;
    font-size: 1.25rem;
}

.operator-upload-heading p {
    margin: 0;
    color: #60758b;
    line-height: 1.55;
}

.operator-document-controls {
    margin: 0 0 18px;
}

.document-type-label {
    display: grid;
    grid-template-columns: 22px auto;
    gap: 8px 10px;
    width: min(100%, 460px);
    color: #294660;
    font-size: 0.91rem;
    font-weight: 700;
}

.document-type-label > span {
    display: grid;
    place-items: center;
    color: #1681bc;
}

.document-type-label svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.7;
}

.document-type-label select {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cfdeeb;
    border-radius: 11px;
    color: #183d5b;
    background: #fff;
}

.upload-drop-zone {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 170px;
    padding: 24px;
    border: 2px dashed #a9cce3;
    border-radius: 17px;
    background: linear-gradient(120deg, #f4faff, #f8fcff);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.upload-drop-zone.is-dragging {
    border-color: #0784c5;
    background: #e5f6ff;
    transform: scale(1.005);
}

.upload-drop-icon {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    place-items: center;
    border-radius: 20px;
    color: #087cba;
    background: #e1f3ff;
}

.upload-drop-icon svg {
    width: 43px;
    height: 43px;
    stroke-width: 2;
}

.upload-drop-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
    flex: 1;
    color: #667c91;
    font-size: 0.91rem;
    line-height: 1.5;
}

.upload-drop-copy strong {
    color: #183d5b;
    font-size: 1.04rem;
}

.upload-drop-copy small {
    color: #8293a4;
}

.selected-upload-file {
    overflow-wrap: anywhere;
    color: #1476aa;
    font-weight: 700;
}

.upload-drop-actions {
    display: grid;
    justify-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: #8293a4;
    font-size: 0.78rem;
}

.upload-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.choose-upload-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid #087db6;
    border-radius: 10px;
    color: #0870a7;
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

.choose-upload-file-btn:hover {
    color: #fff;
    background: #087db6;
}

.choose-upload-file-btn svg,
.operator-upload-submit-row button svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.8;
}

.operator-upload-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0 19px;
    color: #64798c;
    font-size: 0.84rem;
}

.operator-upload-note svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: #1685bd;
    stroke-width: 1.6;
}

.operator-upload-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 17px;
    border-top: 1px solid #e4edf4;
    color: #78899a;
    font-size: 0.82rem;
}

.operator-upload-submit-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    white-space: nowrap;
}

.document-list-header {
    display: flex;
    align-items: center;
    gap: 9px;
}

.document-list-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: #1681bc;
    stroke-width: 1.8;
}

.document-item-name {
    display: flex;
    align-items: center;
    gap: 9px;
}

.document-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.document-item-date,
.document-item-size {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.document-meta-icon {
    width: 17px;
    height: 17px;
    color: #65839b;
    stroke-width: 1.5;
}

.document-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.document-delete-btn svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.7;
}

@media (max-width: 640px) {
    .upload-drop-zone {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 13px;
        padding: 17px;
    }

    .upload-drop-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 15px;
    }

    .upload-drop-icon svg {
        width: 35px;
        height: 35px;
    }

    .upload-drop-actions {
        grid-column: 1 / -1;
        justify-items: stretch;
    }

    .upload-drop-actions > span {
        text-align: center;
    }

    .operator-upload-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .operator-upload-submit-row button {
        width: 100%;
    }
}

.monitoring-overview-heading {
    display: block;
    margin-bottom: 22px;
}

.monitoring-data-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.monitoring-data-period-filters {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 12px;
    margin: -7px 0 22px;
    padding: 14px 20px;
    border: 1px solid #dce9f6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 63, 100, 0.06);
}

.monitoring-data-period-filters label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #183b5c;
    font-weight: 700;
}

.monitoring-data-period-filters label[hidden],
.monitoring-data-period-filters .monitoring-data-filter-separator[hidden] {
    display: none !important;
}

.monitoring-data-period-filters select {
    min-width: 110px;
    min-height: 42px;
    padding: 7px 30px 7px 11px;
    border: 1px solid #cbdcec;
    border-radius: 8px;
    background: #fff;
    color: #173c60;
    font: inherit;
}

.monitoring-data-filter-separator {
    color: #526a80;
}

.monitoring-data-description {
    padding: 17px 22px;
    border-radius: 12px;
    background: linear-gradient(110deg, #075b8d, #08a99d);
    box-shadow: 0 9px 20px rgba(0, 78, 124, 0.17);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.65;
}

.monitoring-data-results-heading {
    justify-content: flex-start;
    padding: 5px 2px 0;
}

.monitoring-data-results-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

.monitoring-data-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(145deg, #075d84, #0ab5a3);
    box-shadow: 0 12px 24px rgba(0, 78, 124, 0.17);
}

.monitoring-data-group-card {
    min-width: 0;
    padding: 15px;
    border: 1px solid #d5e9ef;
    border-radius: 11px;
    background: linear-gradient(145deg, #fff, #eafffb);
    box-shadow: 0 5px 12px rgba(0, 44, 70, 0.12);
}

.monitoring-data-group-card h3 {
    margin: 0 0 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid #d7e9ed;
    color: #004e7c;
    font-size: 1rem;
}

.monitoring-sdk-group-description,
.monitoring-sdk-facility-meta {
    margin: 0 0 12px;
    color: #65798b;
    font-size: 0.8rem;
    line-height: 1.5;
}

.monitoring-sdk-facility-table-wrap {
    overflow-x: auto;
}

.monitoring-sdk-facility-table {
    width: 100%;
    border-collapse: collapse;
    color: #375a6b;
    font-size: 0.76rem;
}

.monitoring-sdk-facility-table th,
.monitoring-sdk-facility-table td {
    padding: 7px 8px;
    border-bottom: 1px solid #dfe9ed;
    text-align: left;
    white-space: nowrap;
}

.monitoring-sdk-facility-table th {
    background: #f2f8fa;
    color: #24516a;
}

.monitoring-data-category-values {
    display: grid;
    gap: 8px;
}

.monitoring-data-category-value {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 12px;
    padding: 9px 10px;
    border: 1px solid #e4eef1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
}

.monitoring-data-category-value strong {
    color: #375a6b;
    font-size: 0.82rem;
    line-height: 1.4;
}

.monitoring-data-category-value > span {
    color: #007f73;
    font-size: 1.12rem;
    font-weight: 800;
    text-align: right;
}

.monitoring-data-category-value small {
    grid-column: 1 / -1;
    color: #738493;
    font-size: 0.72rem;
}

.monitoring-data-group-card .monitoring-data-empty {
    padding: 10px 0;
    font-size: 0.8rem;
    text-align: left;
}

.monitoring-data-results > .monitoring-data-empty {
    padding: 20px;
    border: 1px solid #e1eaf3;
    border-radius: 12px;
    background: #fff;
}

.monitoring-data-chart-card,
.monitoring-supporting-documents {
    min-width: 0;
    padding: 19px;
    border: 1px solid #e1eaf3;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 63, 100, 0.06);
}

.monitoring-data-chart-card h3,
.monitoring-supporting-documents-heading h3 {
    margin: 0 0 15px;
    color: #173e65;
    font-size: 1rem;
}

.monitoring-data-chart {
    position: relative;
    width: 100%;
    height: clamp(250px, 32vw, 360px);
}

.monitoring-supporting-documents-heading {
    margin-bottom: 15px;
}

.monitoring-supporting-documents-heading h3 {
    margin: 5px 0 0;
}

.monitoring-supporting-documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 10px;
    color: #718296;
    font-size: 0.86rem;
}

.monitoring-supporting-document-group {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e1eaf3;
    border-radius: 10px;
    background: #fbfdff;
}

.monitoring-supporting-document-group h4 {
    margin: 0 0 10px;
    color: #173e65;
    font-size: 0.88rem;
}

.monitoring-supporting-document-group-files {
    display: grid;
    gap: 8px;
    color: #718296;
}

.monitoring-supporting-document-group-files p {
    margin: 0;
}

.monitoring-supporting-document-link {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid #d8e8f4;
    border-radius: 9px;
    background: #f6fbff;
    color: #075da8;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.monitoring-supporting-document-link::before {
    content: "PDF";
    flex: 0 0 auto;
    padding: 4px 6px;
    border-radius: 5px;
    background: #e5f1fc;
    color: #075da8;
    font-size: 0.66rem;
    font-weight: 800;
}

.monitoring-supporting-document-link:hover,
.monitoring-supporting-document-link:focus-visible {
    border-color: #1680c2;
    background: #edf7ff;
    outline: none;
}

.monitoring-data-groups.monitoring-data-groups-documents {
    grid-template-columns: minmax(0, 1fr);
}

.monitoring-data-document-list {
    display: grid;
    gap: 12px;
}

.monitoring-data-document-item {
    display: flex;
    min-height: 118px;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 16px 20px;
    border: 1px solid #d3e5f8;
    border-radius: 16px;
    background: linear-gradient(110deg, #fff, #eef8ff);
    box-shadow: 0 8px 22px rgba(24, 83, 130, 0.06);
}

.monitoring-data-document-icon {
    display: grid;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    place-items: center;
    border-radius: 16px;
    background: #fff0f1;
    color: #df3945;
    font-size: 0.78rem;
    font-weight: 850;
}

.monitoring-data-document-details {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 9px;
}

.monitoring-data-document-item h4 {
    margin: 0;
    color: #173e65;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.monitoring-data-document-year {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #58718c;
    font-size: 0.95rem;
}

.monitoring-data-document-year svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #1680c2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.monitoring-data-document-link {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 10px;
    padding: 10px 22px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(110deg, #168be3, #0874ce);
    box-shadow: 0 7px 16px rgba(0, 114, 206, 0.18);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.monitoring-data-document-link::after {
    content: "›";
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 0.8;
}

.monitoring-data-document-link:hover,
.monitoring-data-document-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 114, 206, 0.25);
    outline: 2px solid #82c5ff;
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .monitoring-data-filters {
        grid-template-columns: 1fr;
    }

    .monitoring-data-period-filters {
        flex-wrap: wrap;
        gap: 10px;
        padding: 13px;
    }

    .monitoring-data-period-filters label {
        flex-wrap: wrap;
    }

    .monitoring-data-period-filters select {
        min-width: 104px;
    }

    .monitoring-data-groups {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
        padding: 12px;
    }

    .monitoring-data-chart-card,
    .monitoring-supporting-documents {
        padding: 14px;
    }

    .monitoring-data-chart {
        height: 270px;
    }

    .monitoring-data-document-item {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px;
    }

    .monitoring-data-document-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .monitoring-data-document-details {
        flex-basis: calc(100% - 76px);
    }

    .monitoring-data-document-item h4 {
        font-size: 0.94rem;
    }

    .monitoring-data-document-link {
        min-height: 44px;
        margin-left: auto;
        padding: 8px 16px;
    }
}

.monitoring-data-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid #e1eaf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 63, 100, 0.07);
}

.monitoring-data-filters label {
    display: grid;
    min-width: 0;
    gap: 7px;
    color: #405a74;
    font-size: 0.8rem;
    font-weight: 750;
}

.monitoring-data-filters label[hidden] {
    display: none !important;
}

.monitoring-data-filters select {
    width: 100%;
    min-height: 43px;
    padding: 8px 32px 8px 11px;
    border: 1px solid #cbdcec;
    border-radius: 9px;
    background: #fff;
    color: #173c60;
    font: inherit;
    font-size: 0.82rem;
}

.monitoring-data-filters select:focus {
    border-color: #1680c2;
    outline: 3px solid rgba(22, 128, 194, 0.13);
}

.monitoring-data-results {
    display: grid;
    gap: 17px;
}

.monitoring-data-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 2px;
}

.monitoring-data-results-heading h2 {
    margin: 5px 0 0;
    color: #173e65;
    font-size: clamp(1.08rem, 2vw, 1.4rem);
    line-height: 1.35;
}

.monitoring-data-record-count {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid #d6e7f5;
    border-radius: 999px;
    background: #f2f8fd;
    color: #24608f;
    font-size: 0.78rem;
    font-weight: 750;
}

.monitoring-data-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.monitoring-data-summary-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #e1eaf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(24, 63, 100, 0.045);
}

.monitoring-data-summary-item strong {
    color: #174d80;
    font-size: 1.2rem;
    line-height: 1.25;
}

.monitoring-data-summary-item span {
    color: #78899a;
    font-size: 0.78rem;
    line-height: 1.35;
}

.monitoring-data-chart-card,
.monitoring-data-table-card {
    min-width: 0;
    padding: 19px;
    border: 1px solid #e1eaf3;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 63, 100, 0.06);
}

.monitoring-data-chart-card h3,
.monitoring-data-table-card h3 {
    margin: 0 0 16px;
    color: #173e65;
    font-size: 1rem;
}

.monitoring-data-chart {
    position: relative;
    width: 100%;
    height: clamp(250px, 32vw, 360px);
}

.monitoring-data-table-wrap {
    overflow-x: auto;
}

.monitoring-data-table {
    width: 100%;
    border-collapse: collapse;
    color: #304b65;
    font-size: 0.84rem;
    text-align: left;
}

.monitoring-data-table th,
.monitoring-data-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #edf1f6;
    vertical-align: top;
}

.monitoring-data-table th {
    background: #f5f9fd;
    color: #385a77;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.monitoring-data-empty {
    margin: 0;
    padding: 27px 14px;
    color: #718296;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 900px) {
    .monitoring-data-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .monitoring-data-filters {
        grid-template-columns: 1fr 1fr;
    }

    .monitoring-data-document-item {
        gap: 12px;
        padding: 12px;
    }

    .monitoring-data-filters label:nth-child(1),
    .monitoring-data-filters label:nth-child(2),
    .monitoring-data-filters label:nth-child(3) {
        grid-column: 1 / -1;
    }

    .monitoring-data-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .monitoring-data-summary {
        gap: 8px;
    }

    .monitoring-data-summary-item {
        padding: 11px;
    }

    .monitoring-data-summary-item strong {
        font-size: 1.05rem;
    }

    .monitoring-data-chart-card,
    .monitoring-data-table-card {
        padding: 14px;
    }

    .monitoring-data-chart {
        height: 270px;
    }

    .monitoring-data-table {
        min-width: 680px;
    }
}

/* Header */
.header {
    display: none;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.nav-section {
    background: #0f1b38;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-btn {
    flex: none;
    padding: 12px 18px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    color: white;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-btn.active {
    background: #ffb300;
    color: #10213d;
}

.hero-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 100%);
    padding: 30px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.hero-side {
    display: grid;
    gap: 20px;
    align-content: start;
}

.hero-image-placeholder {
    min-height: 210px;
    background: linear-gradient(180deg, #20335b 0%, #0f1b38 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
    text-align: center;
    padding: 20px;
}

.hero-copy h1 {
    font-size: 2.4em;
    margin-bottom: 18px;
    color: #13294f;
}

.hero-copy p {
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 22px;
    color: #444;
}


.search-results-section {
    margin-top: 20px;
    background: white;
    padding: 22px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.search-result-card {
    background: #f7faff;
    border: 1px solid #dce8ff;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.search-result-card h4 {
    margin: 0 0 8px;
    color: #1e3f72;
    font-size: 1.05em;
}

.search-result-card p {
    margin: 0;
    color: #4a596f;
    line-height: 1.6;
}

.search-result-card button {
    margin-top: 12px;
    background: #1e88e5;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.header-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.header-subtitle {
    font-size: 1.1em;
    font-weight: 300;
    opacity: 0.95;
}

:root {
    --dinkes-primary: #0b5ea8;
    --dinkes-primary-dark: #083d6b;
    --dinkes-primary-soft: #eaf4ff;
    --dinkes-accent: #1ea97d;
    --dinkes-accent-soft: #dff8ef;
    --nav-text: #ffffff;
    --nav-text-soft: rgba(255, 255, 255, 0.8);
    --nav-border: rgba(255, 255, 255, 0.14);
    --nav-dropdown-bg: #ffffff;
    --nav-dropdown-text: #12304e;
    --nav-dropdown-hover: #edf6ff;
}

.site-header {
    background: linear-gradient(135deg, #0052A3 0%, #003d7a 50%, #002650 100%);
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.site-header-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mobile-menu-toggle {
    display: none;
}

.top-hero {
    position: relative;
    height: clamp(420px, calc(100vh - 90px), 760px);
    height: clamp(420px, calc(100svh - 90px), 760px);
    aspect-ratio: auto;
    min-height: 0;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background: #073c70;
}

.top-hero-slides,
.top-hero-slide,
.top-hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.top-hero-slide {
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.top-hero-slide.active {
    opacity: 1;
}

.top-hero-slide img {
    object-fit: cover;
    object-position: center 38%;
}

.top-hero-control,
.top-hero-dot {
    position: absolute;
    z-index: 2;
    border: 0;
    cursor: pointer;
}

.top-hero-control {
    top: 50%;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: rgba(5, 31, 56, 0.55);
    color: #fff;
    font-size: 1.8rem;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.top-hero-control:hover,
.top-hero-control:focus-visible {
    background: rgba(5, 31, 56, 0.85);
    outline: 2px solid #ffd700;
    outline-offset: 3px;
}

.top-hero-control-prev { left: 28px; }
.top-hero-control-next { right: 28px; }

.top-hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.top-hero-dot {
    position: static;
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}

.top-hero-dot.active,
.top-hero-dot:hover,
.top-hero-dot:focus-visible {
    background: #ffd700;
    transform: scale(1.2);
    outline: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-badge {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.brand-secondary-badge {
    width: 52px;
    height: 52px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--nav-text);
}

.brand-text span {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-text small {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.96;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}

.social-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 22px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.social-link {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: var(--nav-text-soft);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-link svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.social-link:last-child svg {
    fill: currentColor;
    stroke: none;
}

.social-link:hover,
.social-link:focus-visible {
    color: #FFD700;
    transform: translateY(-2px);
    outline: none;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown[hidden] {
    display: none;
}

.viewer-account-dropdown {
    position: relative;
}

.viewer-account-dropdown[hidden],
.viewer-account-menu[hidden],
.viewer-account-item[hidden] {
    display: none;
}

.viewer-account-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
}

.viewer-account-toggle:hover,
.viewer-account-toggle:focus-visible {
    border-color: rgba(255, 215, 0, 0.6);
    color: #ffd700;
    outline: none;
}

.viewer-account-avatar {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: #dcecff;
    color: #185693;
}

.viewer-account-avatar svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.viewer-account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1100;
    width: 310px;
    padding: 6px;
    border: 1px solid rgba(11, 94, 168, 0.12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(16, 35, 62, 0.22);
}

.viewer-account-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 11px;
    padding: 11px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #12304e;
    cursor: pointer;
    text-align: left;
}

.viewer-account-item:hover,
.viewer-account-item:focus-visible {
    background: #edf4fc;
    outline: none;
}

.viewer-account-item > span:last-child {
    display: grid;
    gap: 3px;
}

.viewer-account-item strong {
    font-size: 0.78rem;
}

.viewer-account-item small {
    color: #617589;
    font-size: 0.66rem;
}

.viewer-menu-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 8px;
    background: #e8f1ff;
    color: #2d65d5;
    font-size: 1.1rem;
}

.viewer-menu-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.viewer-logout-item {
    border-top: 1px solid #e7edf4;
    border-radius: 0 0 7px 7px;
}

.viewer-logout-item .viewer-menu-icon {
    background: #fff0ee;
    color: #c5483d;
}

.nav-btn[hidden] {
    display: none;
}

.nav-btn {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    transition: all 0.3s ease;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-item-label {
    cursor: default;
}

.nav-item-label:hover {
    transform: none;
    border-color: transparent;
    background: transparent;
    color: #FFFFFF;
}

#publicInformationNavigationMenu {
    min-width: 190px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(7, 32, 54, 0.97);
    box-shadow: 0 14px 28px rgba(0, 16, 32, 0.3);
}

#publicInformationNavigationMenu .nav-dropdown-item {
    padding: 12px 18px;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: #f5f9fc;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
}

#publicInformationNavigationMenu .nav-dropdown-item:hover,
#publicInformationNavigationMenu .nav-dropdown-item:focus-visible {
    background: rgba(30, 169, 125, 0.24);
    color: #fff;
    outline: none;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.nav-btn.active,
.nav-dropdown-toggle.active {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
}

.caret {
    font-size: 1rem;
    transform: translateY(-1px);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    display: none;
    flex-direction: column;
    background: var(--nav-dropdown-bg);
    border: 1px solid rgba(11, 94, 168, 0.12);
    box-shadow: 0 14px 24px rgba(16, 35, 62, 0.14);
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
}

.nav-dropdown-menu.open {
    display: flex;
}

.nav-dropdown-item {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--nav-dropdown-text);
    text-align: left;
    padding: 12px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-bottom: 1px solid rgba(11, 94, 168, 0.08);
    transition: background 0.2s ease;
    text-transform: uppercase;
}

.nav-dropdown-item:hover {
    background: var(--nav-dropdown-hover);
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

#profileNavigationMenu,
#publicServicesNavigationMenu {
    min-width: 230px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(7, 32, 54, 0.97);
    box-shadow: 0 14px 28px rgba(0, 16, 32, 0.3);
}

#profileNavigationMenu .nav-dropdown-item,
#publicServicesNavigationMenu .nav-dropdown-item {
    padding: 12px 18px;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: #f5f9fc;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

#profileNavigationMenu .nav-dropdown-item:hover,
#profileNavigationMenu .nav-dropdown-item:focus-visible,
#publicServicesNavigationMenu .nav-dropdown-item:hover,
#publicServicesNavigationMenu .nav-dropdown-item:focus-visible {
    background: rgba(30, 169, 125, 0.24);
    color: #fff;
    outline: none;
}

.login-dropdown-menu {
    right: 0;
    left: auto;
    min-width: 280px;
    padding: 6px;
    border-radius: 12px;
}

.login-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 12px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(11, 94, 168, 0.1);
    text-transform: none;
    letter-spacing: 0;
}

.login-dropdown-item > span:last-child {
    display: grid;
    gap: 3px;
}

.login-dropdown-item strong {
    color: #12304e;
    font-size: 0.8rem;
}

.login-dropdown-item small {
    color: #617589;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.35;
}

.login-menu-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 10px;
    background: #e8f1ff;
    color: #2d65d5;
    font-size: 1.25rem;
}

.login-menu-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.profile-login-icon {
    background: #eeeaff;
    color: #5758d6;
}

/* Views */
.view {
    display: none;
    padding: 30px 20px;
    animation: fadeIn 0.3s ease;
}

.view.active {
    display: block;
}

#dashboard.view {
    padding-top: 0;
}

#profile.view {
    padding-top: 0;
}

.viewer-password-view {
    padding: clamp(18px, 3vw, 36px) clamp(14px, 2vw, 28px);
    background: #f4f7fb;
}

.viewer-password-layout {
    display: grid;
    max-width: 1440px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
    align-items: stretch;
    gap: 16px;
}

.viewer-password-card,
.viewer-password-tips {
    min-width: 0;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid #edf1f6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(30, 61, 96, 0.05);
}

.viewer-password-card {
    display: grid;
    align-content: start;
    gap: 16px;
}

.viewer-password-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 2px;
}

.viewer-password-heading-icon,
.viewer-password-field-icon {
    display: grid;
    flex: 0 0 28px;
    place-items: center;
    color: #3c5875;
}

.viewer-password-heading-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.viewer-password-heading h1 {
    color: #183550;
    font-size: 1.25rem;
    line-height: 1.3;
}

.viewer-password-heading p {
    margin-top: 3px;
    color: #8494a8;
    font-size: 0.82rem;
}

.viewer-password-field {
    display: grid;
    grid-template-columns: 28px minmax(150px, 0.45fr) minmax(0, 1.55fr);
    align-items: center;
    gap: 12px;
    color: #546a82;
    font-size: 0.83rem;
}

.viewer-password-field-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.viewer-password-field label {
    cursor: pointer;
}

.viewer-password-input-wrap {
    position: relative;
    display: block;
    min-width: 0;
}

.viewer-password-input-wrap input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    color: #233f5d;
    font: inherit;
}

.viewer-password-input-wrap input::placeholder {
    color: #aab8c7;
}

.viewer-password-input-wrap input:focus {
    border-color: #267ec5;
    outline: 3px solid rgba(38, 126, 197, 0.12);
}

.viewer-password-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 2px;
}

.viewer-password-actions .primary-btn,
.viewer-password-actions .secondary-btn {
    min-width: 126px;
    padding: 10px 18px;
}

.viewer-password-actions .primary-btn {
    background: #075b9e;
}

.viewer-password-card > .upload-status:empty {
    display: none;
}

.viewer-password-tips {
    display: flex;
    align-items: flex-start;
    padding: clamp(20px, 3vw, 34px);
}

.viewer-password-tips-card {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background: #eef6ff;
}

.viewer-password-tips-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #174d7e;
    font-size: 0.98rem;
}

.viewer-password-tips-card h2 span {
    color: #1765a5;
    font-size: 1.35rem;
}

.viewer-password-tips-card ul {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.viewer-password-tips-card li {
    position: relative;
    padding-left: 25px;
    color: #3673a8;
    font-size: 0.82rem;
    line-height: 1.45;
}

.viewer-password-tips-card li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: #1bb39f;
    content: "✓";
    font-size: 1rem;
    font-weight: 800;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Section */
.dashboard-section {
    max-width: 1560px;
    margin: 0 auto;
    padding-bottom: 44px;
}

.section-title {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 3vw, 2rem);
    color: var(--primary-color);
    font-weight: 700;
}

.dashboard-section > .section-subtitle {
    margin: 0 0 24px;
    color: #48617d;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.filter-section {
    background: rgba(255, 255, 255, 0.94);
    padding: 15px 18px;
    border: 1px solid #e0e9f3;
    border-radius: 12px;
    margin: 0 0 24px;
    display: flex;
    gap: 12px 14px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 8px 22px rgba(24, 57, 103, 0.07);
}

.report-export-button,
.report-print-button,
.reports-close-button {
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #087f7b;
    border-radius: 8px;
    background: #087f7b;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.reports-panel {
    margin: 0 0 28px;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid #d9e8ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(24, 57, 103, 0.08);
}

.data-section.report-mode > :not(.reports-panel) {
    display: none !important;
}

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

.reports-eyebrow {
    margin: 0 0 5px;
    color: #087f7b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.reports-heading h2 {
    margin: 0;
    color: #12304e;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.reports-heading > div > p:last-child {
    margin: 5px 0 0;
    color: #617589;
}

.reports-close-button {
    border-color: #d0dce5;
    background: #fff;
    color: #27425c;
    white-space: nowrap;
}

.reports-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 13px;
}

.reports-filters label {
    display: grid;
    gap: 6px;
    color: #27425c;
    font-size: 0.86rem;
    font-weight: 700;
}

.reports-filters select,
.reports-filters input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #cbd9e3;
    border-radius: 7px;
    background: #fff;
    color: #19364f;
    font: inherit;
    font-weight: 400;
}

.reports-filters .reports-search-label {
    grid-column: 1 / -1;
}

.reports-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
}

.report-print-button {
    border-color: #cbd9e3;
    background: #fff;
    color: #27425c;
}

.report-export-button:disabled {
    border-color: #d0dce5;
    background: #e9eef2;
    color: #798895;
    cursor: not-allowed;
}

#reportStatus {
    color: #087f7b;
    font-size: 0.86rem;
}

.reports-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.reports-summary article {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #dce9ef;
    border-radius: 10px;
    background: #f5fafb;
}

.reports-summary span {
    color: #617589;
    font-size: 0.82rem;
}

.reports-summary strong {
    color: #12304e;
    font-size: 1.35rem;
}

.reports-table-wrap {
    overflow-x: auto;
    border: 1px solid #dce5eb;
    border-radius: 10px;
}

.reports-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.reports-table th,
.reports-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e7edf1;
    text-align: left;
    vertical-align: top;
}

.reports-table th {
    position: sticky;
    top: 0;
    background: #eef6f7;
    color: #21445c;
    white-space: nowrap;
}

.reports-table tbody tr:nth-child(even) {
    background: #fafcfd;
}

.report-empty-state {
    margin: 0;
    padding: 22px;
    color: #617589;
    text-align: center;
}

.filter-section label {
    font-weight: 600;
    color: var(--dark-text);
}

.year-filter {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    background-color: white;
    transition: border-color 0.3s ease;
}

.year-filter:hover,
.year-filter:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Bidang Grid */
.bidang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.bidang-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    text-align: center;
}

.bidang-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bidang-card.p2p { border-top-color: #e53935; }
.bidang-card.sdmk { border-top-color: #43a047; }
.bidang-card.kesmas { border-top-color: #fb8c00; }
.bidang-card.yankes { border-top-color: #1e88e5; }
.bidang-card.sekretariat { border-top-color: #7b1fa2; }

.bidang-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.bidang-name {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.bidang-count {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.bidang-label {
    font-size: 0.9em;
    color: #666;
}

/* Chart Section */
.chart-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.chart-section h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    height: auto;
    min-height: 0;
    background: linear-gradient(115deg, #eaf4ff 0%, #ffffff 58%, #f2f8ff 100%);
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #e0e9f3;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(24, 57, 103, 0.09);
    margin-bottom: 16px;
}

.hero-banner::after {
    position: absolute;
    top: 50%;
    right: 28px;
    z-index: 0;
    color: rgba(60, 145, 220, 0.1);
    content: "+";
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #54708f;
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-copy h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    color: #1f4d8b;
    line-height: 1.12;
}

.hero-copy p {
    max-width: 900px;
    margin: 0;
    color: #3e5269;
    font-size: 1.08rem;
    line-height: 1.65;
}

.hero-copy p + p {
    margin-top: 12px;
}

.hero-copy .hero-copy-detail {
    color: #52677f;
    font-size: 0.98rem;
}

.hero-portal-card {
    position: relative;
    z-index: 1;
    padding: 26px;
    border: 1px solid #d6e4f2;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 22px rgba(24, 57, 103, 0.08);
}

.hero-portal-card h2 {
    margin: 0 0 18px;
    color: #173b68;
    font-size: 1.18rem;
    line-height: 1.35;
}

.hero-portal-card ul {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-portal-card li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.hero-portal-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: #e6f2ff;
    color: #0b5ea8;
    font-size: 0.76rem;
    font-weight: 800;
}

.hero-portal-card li strong,
.hero-portal-card li small {
    display: block;
}

.hero-portal-card li strong {
    margin: 1px 0 4px;
    color: #24476c;
    font-size: 0.92rem;
}

.hero-portal-card li small {
    color: #5a6f85;
    font-size: 0.82rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    border: none;
    padding: 14px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
    background: #1e88e5;
    color: white;
}

.secondary-btn {
    background: white;
    color: #1e88e5;
    border: 2px solid #1e88e5;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
    min-width: 0;
}

.bidang-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    margin-top: 18px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(115deg, #164c7b, #205b8b);
    box-shadow: 0 12px 24px rgba(20, 58, 96, 0.14);
}

.bidang-showcase-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 800;
}

.bidang-showcase-title::after {
    width: 46px;
    height: 4px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #35a8e8;
    content: "";
}

.hero-bidang-card {
    position: relative;
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 112px;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    overflow: hidden;
    border: 1px solid #D7E2EE;
    border-radius: 10px;
    background: #FFFFFF;
    color: #173B68;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(8, 31, 64, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-bidang-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #3B82B5;
    content: '';
}

.hero-bidang-card.p2p::before { background: #E84D5B; }
.hero-bidang-card.sdmk::before { background: #109A98; }
.hero-bidang-card.kesmas::before { background: #7072D0; }
.hero-bidang-card.sekretariat::before { background: #2877C6; }
.hero-bidang-card.gudang-farmasi::before { background: #168263; }

.hero-bidang-card:hover {
    transform: translateY(-2px);
    border-color: #99B6D4;
    box-shadow: 0 8px 16px rgba(8, 31, 64, 0.17);
}

.hero-bidang-card:focus-visible {
    outline: 3px solid #ffd84d;
    outline-offset: 3px;
}

.hero-bidang-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid #e1ecf7;
    border-radius: 14px;
    background: linear-gradient(145deg, #f0f7ff, #e3f0fc);
}

.hero-bidang-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-bidang-name {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-bidang-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.hero-bidang-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-bidang-description {
    color: #52677f;
    font-size: 0.82rem;
    line-height: 1.45;
}

.hero-bidang-action {
    color: #0B5EA8;
    font-size: 0.77rem;
    font-weight: 700;
}

.hero-bidang-stat {
    padding: 5px 9px;
    border-radius: 999px;
    background: #EEF4FA;
    color: #496783;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
}

.public-program-description {
    grid-column: 1 / -1;
    color: #52677f;
    line-height: 1.6;
}

.public-data-notice {
    display: block;
    grid-column: 1 / -1;
    margin: 0;
    border-color: #c9dcef;
    background: #f2f7fc;
    color: #36536f;
    font-weight: 500;
    box-shadow: none;
}

.quick-stats-section {
    margin-top: 24px;
    margin-bottom: 30px;
}

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.quick-stat-card {
    background: #f4f8ff;
    border: 1px solid #d9e6fb;
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.quick-stat-card h4 {
    margin: 0 0 10px;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1e4f8d;
}

.quick-stat-card p {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 700;
    color: #0f2a52;
}

.quick-stat-card span {
    display: block;
    margin-top: 8px;
    color: #5b6578;
    font-size: 0.95em;
}

.metric-card h4 {
    margin: 0 0 12px;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1f4d8b;
}

.metric-card p {
    margin: 0;
    font-size: 2rem;
    color: #0f2a52;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1rem;
    margin: 20px 0 12px;
    color: #1f4d8b;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.news-section {
    margin-top: 48px;
}

.news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.news-heading-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.news-heading-logo {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    fill: none;
    stroke: #087d83;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.news-heading-copy {
    min-width: 0;
}

.news-heading h2 {
    margin: 0;
    color: #12304e;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.2;
}

.section-eyebrow {
    margin: 0 0 6px;
    color: #0b8f83;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.news-heading-note {
    max-width: 290px;
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: right;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    max-width: 1180px;
    margin: 0 auto;
    gap: 18px;
}

.news-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    background: #fff;
    padding: 0;
    border: 1px solid #e0e8f0;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(24, 57, 103, 0.07);
    overflow: hidden;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.news-card:hover,
.news-card:focus-visible {
    border-color: #8ccdc0;
    box-shadow: 0 14px 30px rgba(24, 57, 103, 0.13);
    transform: translateY(-3px);
}

.news-card:focus-visible {
    outline: 3px solid rgba(30, 136, 229, 0.4);
    outline-offset: 3px;
}

.news-card-image-wrap {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf3f7;
}

.news-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.04);
}

.news-card-content {
    display: grid;
    flex: 1;
    align-content: start;
    gap: 8px;
    padding: 15px 16px 16px;
}

.news-card-title {
    display: block;
    color: #12304e;
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-card-excerpt {
    display: block;
    color: #5b6578;
    font-size: 0.86rem;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #edf1f5;
    color: #8492a3;
    font-size: 0.82rem;
}

.news-card-date::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 6px;
    background: url("assets/kalender.png") center / contain no-repeat;
    filter: grayscale(1);
    opacity: 0.68;
    vertical-align: -2px;
}

.news-card-views {
    flex: 0 0 auto;
    color: #64788d;
}

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

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.news-modal-backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: rgba(7, 27, 47, 0.72);
    cursor: default;
}

.news-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(900px, calc(100vh - 48px));
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.news-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 27, 47, 0.68);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.news-detail-image {
    display: block;
    width: 100%;
    max-height: 470px;
    object-fit: cover;
}

.news-detail-content {
    padding: 27px 32px 34px;
}

.news-detail-meta {
    margin-bottom: 12px;
    color: #8290a0;
    font-size: 0.85rem;
}

.news-detail-content h2 {
    margin: 0 0 20px;
    color: #12263d;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.2;
}

.bidang-info-dialog {
    width: min(760px, 100%);
}

.bidang-info-modal-description {
    color: #52677f;
    line-height: 1.65;
}

.bidang-info-modal-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 12px;
}

.bidang-info-program {
    padding: 15px 17px;
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    background: #f7faff;
}

.bidang-info-program h4 {
    margin: 0 0 7px;
    color: #173b68;
}

.bidang-info-program p {
    margin: 0;
    color: #52677f;
    line-height: 1.55;
}

.news-detail-body {
    color: #34495e;
    font-size: 1.03rem;
    line-height: 1.8;
}

.news-detail-body p + p { margin-top: 16px; }

body.news-modal-open { overflow: hidden; }

.news-detail-page {
    width: min(100%, 1380px);
    margin: 0 auto;
    padding: 34px 24px 70px;
}

.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: #126ca3;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.news-detail-back:hover { color: #0b3d6b; }

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    align-items: start;
    gap: 28px;
}

.news-detail-article {
    max-width: 100%;
    min-width: 0;
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid #e0e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(24, 57, 103, 0.07);
}

.news-detail-article h1 {
    max-width: 980px;
    margin: 0 0 20px;
    color: #102d4d;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0;
}

.news-detail-article .news-detail-image {
    display: block;
    width: 100%;
    max-height: 500px;
    margin-bottom: 10px;
    border-radius: 14px;
    object-fit: cover;
}

.news-detail-byline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #8593a2;
    font-size: 0.86rem;
}

.news-inline-icon {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: #98a5b1;
}

.news-byline-icon {
    width: 16px;
    height: 16px;
}

.news-detail-byline strong {
    color: #63768a;
    font-weight: 600;
}

.news-detail-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0 16px;
    border-bottom: 1px solid #e5ebf1;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #8290a0;
    font-size: 0.84rem;
}

.news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.news-meta-item[hidden] {
    display: none;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #78899a;
    font-size: 0.86rem;
}

.news-share > span:first-child {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.news-share button,
.news-share a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 6px;
    border: 1px solid #dce5ed;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.news-share-icon {
    display: block;
    width: 23px;
    height: 23px;
}

.news-facebook-icon {
    width: 30px;
    height: 30px;
}

.news-instagram-icon {
    width: 22px;
    height: 22px;
}

.news-share button:hover,
.news-share a:hover { filter: brightness(1.12); }

#newsShareStatus {
    color: #087e75;
    font-size: 0.75rem;
}

.news-detail-article .news-detail-body {
    max-width: 860px;
    color: #273e54;
    font-size: 1.04rem;
    font-weight: 400;
    line-height: 1.85;
    text-align: left;
    overflow-wrap: anywhere;
}

.news-detail-article .news-detail-body p { margin: 0; font-weight: 400; }
.news-detail-article .news-detail-body p + p { margin-top: 18px; }

.news-detail-sidebar {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    padding: 20px;
    border: 1px solid #dce6ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 55, 88, 0.07);
}

.news-detail-sidebar h2 {
    margin: 0 0 12px;
    color: #173b5e;
    font-size: 1.12rem;
}

.news-sidebar-list {
    display: grid;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.news-sidebar-item {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid #e5ebf1;
    background: transparent;
    color: #1b2e43;
    text-align: left;
    cursor: pointer;
}

.news-sidebar-item:first-child { padding-top: 4px; }
.news-sidebar-item:last-child { border-bottom: 0; }
.news-sidebar-item:hover strong { color: #087e91; }

.news-sidebar-item strong {
    font-size: 0.91rem;
    font-weight: 650;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.news-sidebar-item span,
.news-sidebar-empty {
    color: #8190a0;
    font-size: 0.8rem;
}

.news-sidebar-empty { margin: 0; }

.news-article-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid #e1e8ef;
}

.news-navigation-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #173b5e;
    text-align: left;
    cursor: pointer;
}

.news-navigation-next { justify-content: flex-end; text-align: right; }

.news-navigation-link:not(:disabled):hover {
    border-color: #dce8f3;
    background: #f5f9fd;
}

.news-navigation-link:disabled {
    color: #aab5c0;
    cursor: default;
}

.news-navigation-link > span:first-child[aria-hidden="true"],
.news-navigation-link > span:last-child[aria-hidden="true"] {
    flex: 0 0 auto;
    padding-top: 2px;
    font-size: 1.1rem;
}

.news-navigation-link strong,
.news-navigation-link small {
    display: block;
}

.news-navigation-link strong {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.news-navigation-link small {
    display: -webkit-box;
    overflow: hidden;
    color: #64788d;
    font-size: 0.84rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

    .news-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .news-detail-sidebar {
        position: static;
        max-height: 420px;
    }

    .news-sidebar-list { max-height: 340px; }
}

@media (max-width: 700px) {
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
    }

    .news-detail-page { padding: 22px 16px 48px; }

    .news-detail-article h1 {
        margin-bottom: 18px;
        font-size: 2rem;
    }

    .news-detail-article .news-detail-image {
        max-height: 360px;
        margin-bottom: 28px;
    }

    .news-detail-article {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .news-detail-info-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .news-detail-article .news-detail-image {
        border-radius: 10px;
    }

    .news-detail-article .news-detail-body {
        font-size: 1rem;
    }

    .news-card-content {
        padding: 16px;
    }

    .news-article-navigation {
        gap: 4px;
        margin-top: 32px;
    }

    .news-navigation-link {
        gap: 7px;
        padding: 8px 4px;
    }

    .news-navigation-link strong { font-size: 0.78rem; }
    .news-navigation-link small { font-size: 0.74rem; }
}

.data-latest-section {
    margin-top: 30px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.data-latest-description {
    margin: 10px 0 18px;
    color: #5b6578;
    line-height: 1.7;
}

.trend-summary {
    background: #eef6ff;
    border: 1px solid #d4e5ff;
    padding: 14px 18px;
    border-radius: 12px;
    color: #1e4d8b;
    font-weight: 600;
    margin-bottom: 18px;
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e6f0;
}

.data-table th {
    background: #f2f7ff;
    color: #1e4d8b;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.data-table tbody tr:hover {
    background: #f8fbff;
}

.data-table td {
    color: #333;
}

.positive-change {
    color: #43a047;
    font-weight: 700;
}

.negative-change {
    color: #e53935;
    font-weight: 700;
}

.news-card h4 {
    margin-top: 0;
    color: #1f4d8b;
}

.news-card p {
    color: #5b6578;
    line-height: 1.7;
}

.chart-container {
    position: relative;
    height: 400px;
}

/* Data Section */
.data-section {
    max-width: 1200px;
    margin: 0 auto;
}

.data-section > .breadcrumb {
    padding: 14px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #004E7C 0%, #007F91 52%, #00B8A9 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(0, 78, 124, 0.18);
}

.breadcrumb {
    padding: 15px 0;
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb-item {
    display: inline;
    margin-right: 5px;
}

.bidang-info,
.data-description {
    background: linear-gradient(135deg, #004E7C 0%, #007F91 55%, #00B8A9 100%);
    border: 0;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.7;
    box-shadow: 0 10px 22px rgba(0, 78, 124, 0.2);
}

.data-description {
    background: linear-gradient(135deg, #004E7C 0%, #007F91 55%, #00B8A9 100%);
}

.breadcrumb-item::after {
    content: " > ";
    margin: 0 8px;
}

.breadcrumb-item:last-child::after {
    content: "";
}

/* Selection Grid */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(0, 78, 124, 0.98) 0%, rgba(0, 184, 169, 0.96) 100%);
    box-shadow: 0 12px 24px rgba(0, 78, 124, 0.18);
}

.selection-btn {
    background: linear-gradient(145deg, #FFFFFF 0%, #E9FFFC 100%);
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    color: #004E7C;
    box-shadow: 0 5px 12px rgba(0, 44, 70, 0.14);
}

.disease-region-heading {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    color: #FFFFFF;
    font-size: 1.2em;
}

.selection-btn:hover {
    border-color: #FFFFFF;
    color: #004E7C;
    box-shadow: 0 9px 18px rgba(0, 44, 70, 0.24);
    transform: translateY(-3px);
}

.selection-btn.active {
    background: linear-gradient(145deg, #006A91 0%, #00B8A9 100%);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.selection-grid.sdk-selection-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 12px;
}

.sdk-data-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 12px 14px;
    border: 1px solid #d4e7ee;
    border-radius: 8px;
    background: #ffffff;
    color: #123b50;
    text-align: left;
    box-shadow: 0 3px 8px rgba(0, 44, 70, 0.09);
}

.sdk-data-card-action {
    cursor: pointer;
    font: inherit;
}

.sdk-data-card:not(.sdk-data-card-action) {
    cursor: default;
}

.sdk-data-card:not(.sdk-data-card-action):hover {
    transform: none;
    border-color: #d4e7ee;
    box-shadow: 0 3px 8px rgba(0, 44, 70, 0.09);
}

.sdk-data-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.sdk-data-label {
    min-width: 0;
    color: #004e7c;
    font-size: 0.94rem;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.sdk-data-values {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.sdk-data-value,
.sdk-data-empty {
    color: #365767;
    font-size: 0.86rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.sdk-data-empty {
    color: #71828b;
    font-style: italic;
}

.sdk-data-chevron {
    align-self: flex-end;
    color: #126493;
    font-size: 1.35rem;
    line-height: 1;
}

.sdk-existing-panel {
    grid-column: 1 / -1;
    min-width: 0;
    padding: 20px;
    border: 1px solid #d6e4ec;
    border-radius: 8px;
    background: #ffffff;
}

.sdk-existing-toolbar,
.sdk-existing-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sdk-existing-toolbar {
    margin-bottom: 14px;
    color: #123b50;
    font-weight: 700;
}

.sdk-staffing-save-all {
    padding: 9px 14px;
    border: 1px solid #9fc4d5;
    border-radius: 6px;
    background: #f4fbfe;
    color: #075783;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.sdk-staffing-save-all:hover {
    background: #e5f5fb;
}

.sdk-existing-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.sdk-staffing-toolbar,
.sdk-staffing-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sdk-staffing-year-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sdk-staffing-year-select {
    min-width: 100px;
    min-height: 40px;
    padding: 7px 30px 7px 10px;
    border: 1px solid #c9d8e6;
    border-radius: 6px;
    background: #ffffff;
    color: #123b50;
    font: inherit;
    cursor: pointer;
}

.sdk-staffing-year-select:focus {
    border-color: #126493;
    outline: 2px solid rgb(18 100 147 / 14%);
    outline-offset: 1px;
}

.sdk-staffing-toolbar {
    margin-bottom: 14px;
    color: #123b50;
    font-weight: 700;
}

.sdk-staffing-toolbar-actions {
    justify-content: flex-end;
}

.sdk-staffing-status {
    color: #365767;
    font-size: 0.9rem;
    font-weight: 500;
}

.sdk-staffing-table-wrap {
    max-height: min(72vh, 900px);
    border: 1px solid #d6e4ec;
    border-radius: 6px;
}

.sdk-existing-table.sdk-staffing-table {
    width: max-content;
    min-width: 100%;
    table-layout: fixed;
    font-size: 0.74rem;
}

.sdk-staffing-table th,
.sdk-staffing-table td {
    padding: 8px 5px;
    text-align: center;
    vertical-align: middle;
}

.sdk-staffing-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.sdk-existing-table.sdk-staffing-table th {
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
    font-size: 0.75rem;
}

.sdk-existing-table.sdk-staffing-table th,
.sdk-existing-table.sdk-staffing-table td {
    padding: 6px 4px;
    border-right: 1px solid #e2edf2;
    border-bottom: 1px solid #dce8ee;
    text-align: center;
    vertical-align: middle;
}

.sdk-staffing-table thead tr:nth-child(2) th {
    padding: 8px 2px;
    font-size: 0.68rem;
}

.sdk-existing-table.sdk-staffing-table td input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 5px 3px;
    border: 1px solid #c3d8e3;
    border-radius: 4px;
    background: #ffffff;
    color: #17394b;
    font: inherit;
    text-align: center;
}

.sdk-existing-table.sdk-staffing-table td input[type="text"] {
    text-align: left;
    padding-left: 7px;
}

.sdk-existing-table.sdk-staffing-table td input:hover,
.sdk-existing-table.sdk-staffing-table td input:focus {
    border-color: #8bbbd0;
    outline: none;
}

.sdk-existing-table.sdk-staffing-table td input:focus {
    box-shadow: 0 0 0 2px rgb(18 100 147 / 14%);
}

.sdk-existing-table.sdk-staffing-table td input::placeholder {
    color: #71828b;
    text-align: left;
}

.sdk-staffing-save-all {
    padding: 9px 18px;
    white-space: nowrap;
}

.sdk-existing-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    color: #17394b;
}

.sdk-existing-table th,
.sdk-existing-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #dce8ee;
    text-align: left;
}

.sdk-existing-table th {
    background: #f0f8fb;
    color: #075783;
    font-size: 0.9rem;
}

.sdk-existing-table thead tr:first-child th:not(:first-child) {
    text-align: center;
}

.sdk-existing-table td:not(:first-child) {
    font-variant-numeric: tabular-nums;
}

.sdk-existing-empty {
    color: #71828b;
    text-align: center !important;
}

.sdk-existing-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 8px;
    background: #f5fafc;
}

.sdk-existing-form[hidden] {
    display: none !important;
}

.sdk-existing-form-title,
.sdk-existing-form-group,
.sdk-existing-form-actions,
.sdk-existing-status {
    grid-column: 1 / -1;
    margin: 0;
}

.sdk-existing-form-group {
    padding-bottom: 8px;
    border-bottom: 1px solid #d6e4ec;
    color: #075783;
}

.sdk-existing-form label {
    display: grid;
    gap: 6px;
    color: #123b50;
    font-weight: 600;
}

.sdk-existing-form input,
.sdk-existing-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #c9d8e6;
    border-radius: 6px;
    background: #ffffff;
    color: #1b2b3a;
    font: inherit;
}

.sdk-existing-status {
    color: #a22a2a;
}

.sdk-existing-entry-link {
    display: grid;
    justify-items: start;
    gap: 12px;
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid #d6e4ec;
    border-radius: 8px;
    background: #f5fafc;
    color: #123b50;
}

.sdk-named-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px;
    border: 1px solid #d6e4ec;
    border-radius: 8px;
    background: #ffffff;
    color: #71828b;
    text-align: center;
}

.sdk-renbut-panel {
    display: grid;
    gap: 16px;
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid #d6e4ec;
    border-radius: 8px;
    background: #ffffff;
}

.sdk-renbut-toolbar,
.sdk-renbut-year-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sdk-renbut-toolbar {
    justify-content: space-between;
    flex-wrap: wrap;
}

.sdk-renbut-year-label {
    color: #123b50;
    font-weight: 700;
}

.sdk-renbut-status {
    min-height: 1.4em;
    color: #365767;
}

.sdk-renbut-input-panel {
    display: grid;
    justify-items: start;
    gap: 12px;
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid #d6e4ec;
    border-radius: 8px;
    background: #f8fbfc;
    color: #123b50;
}

.sdk-renbut-input-panel h3,
.sdk-renbut-input-panel p {
    margin: 0;
}

.sdk-renbut-input-panel input[type="file"] {
    max-width: min(100%, 480px);
    color: #365767;
    font: inherit;
}

.sdk-renbut-list-title {
    margin: 0 0 10px;
    color: #123b50;
    font-size: 1rem;
}

.sdk-renbut-document-list {
    display: grid;
    gap: 12px;
}

.sdk-renbut-document {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 24px;
    padding: 16px 18px;
    border: 1px solid #d8e5ee;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    box-shadow: 0 3px 10px rgba(18, 59, 80, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sdk-renbut-document:hover {
    transform: translateY(-1px);
    border-color: #b8d3e2;
    box-shadow: 0 8px 18px rgba(18, 59, 80, 0.09);
}

.sdk-renbut-document-info {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.sdk-renbut-document strong {
    overflow-wrap: anywhere;
    color: #123b50;
    font-size: 0.98rem;
    line-height: 1.45;
}

.sdk-renbut-document small {
    color: #71828b;
    line-height: 1.4;
}

.sdk-renbut-document-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.sdk-renbut-document-actions .document-download-btn,
.sdk-renbut-document-actions .document-delete-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 9px;
    text-align: center;
    white-space: nowrap;
}

.sdk-renbut-document-actions .document-download-btn {
    min-width: 118px;
}

.sdk-renbut-document-actions .document-delete-btn {
    min-width: 94px;
}

#saveEntryButton[hidden] {
    display: none !important;
}

.supporting-document-button {
    min-height: 64px;
}

@media (max-width: 520px) {
    .sdk-data-card {
        padding: 11px 12px;
    }

    .sdk-existing-panel {
        padding: 14px;
    }

    .sdk-existing-form {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px;
    }

    .sdk-renbut-document {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .sdk-renbut-document-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

}

.btn-back {
    grid-column: 1 / -1;
    background: #f5f5f5;
    border: 2px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: var(--dark-text);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.sdk-standard-title {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    color: var(--dark-text);
    font-size: 1.35rem;
    text-align: center;
}

.btn-back:hover {
    background-color: #eeeeee;
    border-color: var(--primary-color);
}

/* Data Display */
.data-display {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    color: #212121;
}

.data-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.data-header h2 {
    font-size: 1.8em;
    color: #212121;
}

.indicators-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.month-group-card {
    grid-column: 1 / -1;
    border: 1px solid #dfeef8;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(16, 64, 94, 0.08);
}

.month-group-card:nth-child(1n) {
    background: #edf8ff;
}

.month-group-card:nth-child(2n) {
    background: #edfdf7;
}

.month-group-card:nth-child(3n) {
    background: #fff7ef;
}

.month-group-card:nth-child(4n) {
    background: #f7f3ff;
}

.month-group-header {
    background: linear-gradient(135deg, #0d4f66 0%, #0f7386 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 18px;
    letter-spacing: 0.02em;
}

.month-group-card:nth-child(2n) .month-group-header {
    background: linear-gradient(135deg, #0d6b5a 0%, #1a9574 100%);
}

.month-group-card:nth-child(3n) .month-group-header {
    background: linear-gradient(135deg, #8a4d00 0%, #d4831a 100%);
}

.month-group-card:nth-child(4n) .month-group-header {
    background: linear-gradient(135deg, #533b8d 0%, #7a5cc8 100%);
}

.month-group-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 18px;
    padding: 18px;
}

.indicator-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #E9FFFC 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid #004E7C;
    box-shadow: 0 7px 16px rgba(0, 44, 70, 0.18);
}

.indicator-name {
    font-size: 0.9em;
    color: #004E7C;
    margin-bottom: 10px;
    font-weight: 500;
}

.indicator-value {
    font-size: 2.2em;
    font-weight: 700;
    color: #007F91;
}

.indicator-description {
    margin-top: 12px;
    font-size: 0.82rem;
    color: #335b6d;
    line-height: 1.5;
    background: rgba(17, 103, 144, 0.06);
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
}

.mortality-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.12);
}

.mortality-card {
    background: linear-gradient(145deg, #edf8fb 0%, #dff5f7 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 103, 127, 0.18);
    box-shadow: 0 7px 16px rgba(0, 44, 70, 0.12);
    padding: 24px 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 260px;
}

.mortality-name {
    color: #0d5f74;
    font-size: 1.05em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 22px;
}

.mortality-value {
    font-size: 3.2em;
    font-weight: 800;
    color: #0d5f74;
    text-align: center;
    line-height: 1;
    margin-bottom: 20px;
}

.mortality-description {
    background: rgba(255, 255, 255, 0.38);
    border-radius: 8px;
    padding: 10px 12px;
    color: #2f627a;
    font-size: 0.92rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.operator-managed-entries {
    margin-top: 16px;
}

.operator-managed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.operator-managed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #dfeaf3;
    border-radius: 10px;
    background: #f8fbfd;
}

.operator-managed-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.operator-managed-title {
    font-weight: 700;
    color: #0b3d4f;
}

.operator-managed-detail {
    font-size: 0.85rem;
    color: #56707c;
}

.operator-managed-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.operator-managed-edit,
.operator-managed-delete {
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
}

.operator-managed-edit {
    border: 1px solid #9cc7d9;
    background: #ebf7fb;
    color: #0f5d73;
}

.operator-managed-delete {
    border: 1px solid #d95f5f;
    background: #fff1f1;
    color: #b42318;
}

.operator-managed-empty {
    padding: 14px;
    border-radius: 8px;
    background: #f7fafc;
    color: #56707c;
    border: 1px dashed #d7e4eb;
}

.document-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.document-list-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0b3d4f 0%, #1a5f7a 100%);
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
}

.document-list-header svg {
    width: 24px;
    height: 24px;
}

.document-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    transition: all 0.2s ease;
    border-left: 5px solid #1e88e5;
}

.document-item:hover {
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.15);
    border-left-color: #1565c0;
}

.document-item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.document-preview {
    grid-column: 1 / -1;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dbe4eb;
    border-radius: 6px;
    background: #f5f8fa;
}

.document-preview-image {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.document-preview-pdf {
    display: block;
    width: 100%;
    min-height: 640px;
    border: 0;
    background: white;
}

.document-item-name {
    font-weight: 700;
    font-size: 1rem;
    color: #0b3d4f;
    word-break: break-word;
}

.document-item-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #666;
}

.document-item-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.document-item-size {
    display: flex;
    align-items: center;
    gap: 4px;
}

.document-item-action {
    display: flex;
    gap: 8px;
    align-items: center;
}

.document-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #1e88e5;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.document-download-btn:hover {
    background: #1565c0;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.data-display.is-document-view {
    padding: clamp(20px, 3vw, 36px);
}

.is-document-view > .btn-back {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 10px 16px;
    border: 1px solid #d7e3ec;
    border-radius: 10px;
    background: #f7fafc;
    color: #174867;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.is-document-view > .btn-back:hover {
    transform: translateY(-1px);
    border-color: #88b9d2;
    background: #edf6fa;
}

.is-document-view .data-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2eaf0;
}

.is-document-view .data-header h2 {
    margin: 0;
    color: #123b55;
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    line-height: 1.3;
}

.is-document-view .data-description {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid #dcecf1;
    border-radius: 12px;
    background: linear-gradient(135deg, #f3f9fc, #f2fbf9);
    color: #35586d;
    line-height: 1.6;
}

.supporting-documents-view {
    display: block;
    margin: 0;
}

.supporting-documents-view .document-list-header {
    min-height: 54px;
    padding: 14px 18px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(110deg, #075b82 0%, #009b91 100%);
    font-size: 1rem;
}

.supporting-documents-view .document-list-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 0;
    padding: 16px;
    border: 1px solid #e1eaf0;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #f7fafc;
}

.supporting-documents-view .document-item {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e0e9ef;
    border-left: 4px solid #1685a5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(25, 67, 92, 0.04);
}

.supporting-documents-view .document-item:hover {
    transform: translateY(-1px);
    border-color: #c5dce8;
    border-left-color: #009b91;
    box-shadow: 0 8px 20px rgba(25, 67, 92, 0.09);
}

.supporting-documents-view .document-item-name {
    color: #173f59;
    font-size: 1rem;
    line-height: 1.45;
}

.supporting-documents-view .document-item-meta {
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #657d8b;
}

.supporting-documents-view .document-download-btn {
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #087eaf;
    white-space: nowrap;
}

.supporting-documents-view .document-download-btn:hover {
    background: #066b92;
}

.document-delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.document-delete-btn:hover {
    background: #b71c1c;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.upload-section {
    max-width: 900px;
    margin: 0 auto;
}

.operator-active .upload-section {
    max-width: 1400px;
}

.operator-active .admin-intro,
.operator-active .operator-notice,
.operator-active #operatorBidangSelection {
    display: none;
}

.operator-workspace {
    width: 100%;
}

.operator-active .operator-session-bar {
    max-width: none;
}

.operator-active #entryForm,
.operator-active #operatorWorkspace > .upload-card {
    width: 100%;
}

.upload-card {
    background: white;
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid #dde6f4;
}

.upload-help {
    margin-bottom: 18px;
    color: #2d4372;
    line-height: 1.7;
}

.upload-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
}

.upload-form input[type="file"] {
    flex: 1;
    min-width: 240px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fafbfd;
    color: var(--dark-text);
}

.upload-status {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.upload-status.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.upload-status.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Upload Section */
.upload-section {
    max-width: 900px;
    margin: 0 auto;
}

.upload-card {
    background: white;
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid #dde6f4;
}

.upload-help {
    margin-bottom: 18px;
    color: #2d4372;
    line-height: 1.7;
}

.upload-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
}

.upload-form input[type="file"] {
    flex: 1;
    min-width: 240px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fafbfd;
    color: var(--dark-text);
}

.upload-status {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.upload-status.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.upload-status.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.profile-section {
    max-width: 1000px;
    margin: 0 auto;
}

.public-information-section {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid #e1eaf0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 67, 105, 0.07);
}

.public-information-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #eef3f6;
    color: #64788d;
    font-size: 0.9rem;
}

.public-information-breadcrumb button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #174867;
    cursor: pointer;
    font: inherit;
}

.public-information-breadcrumb button:hover,
.public-information-breadcrumb button:focus-visible {
    color: #087e80;
    text-decoration: underline;
}

.public-information-breadcrumb span:last-child {
    color: #087e80;
    font-weight: 700;
}

.public-information-heading {
    margin-bottom: 22px;
}

.public-information-heading > span {
    color: #087e80;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.public-information-heading h1 {
    margin: 5px 0 7px;
    color: #123b55;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.25;
}

.public-information-heading p {
    margin: 0;
    color: #617589;
}

.public-document-list {
    display: grid;
    gap: 14px;
}

.public-document-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    min-width: 0;
    padding: 14px 20px;
    border: 1px solid #d8e6f4;
    border-radius: 16px;
    background: linear-gradient(105deg, #fff 0%, #fff 68%, #eef8ff 100%);
    box-shadow: 0 5px 18px rgba(24, 89, 148, 0.05);
}

.public-document-icon {
    display: grid;
    width: 82px;
    height: 80px;
    place-items: center;
    border-radius: 14px;
    background: #fff0f1;
}

.public-document-icon svg {
    display: block;
    width: 48px;
    height: 48px;
    overflow: visible;
    fill: #ef454b;
}

.public-document-icon-fold {
    fill: #ff7b7f;
}

.public-document-icon-label {
    fill: #d92732;
    stroke: #fff;
    stroke-width: 1;
}

.public-document-icon text {
    fill: #fff;
    font-size: 5px;
    font-weight: 800;
}

.public-document-icon-line {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-width: 1.5;
}

.public-document-copy {
    display: grid;
    min-width: 0;
    gap: 14px;
}

.public-document-copy h2 {
    margin: 0;
    overflow-wrap: anywhere;
    color: #123b67;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.4;
}

.public-document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: #6d87a6;
    font-size: 0.88rem;
}

.public-document-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.public-document-meta span + span {
    padding-left: 18px;
    border-left: 1px solid #d8e4ef;
}

.public-document-meta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #248fe3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.public-document-action {
    display: inline-flex;
    min-width: 162px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 10px 16px;
    border-radius: 16px;
    background: linear-gradient(110deg, #168ee8, #0874cf);
    box-shadow: 0 5px 12px rgba(9, 117, 205, 0.18);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.public-document-action:hover,
.public-document-action:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(9, 117, 205, 0.28);
    outline: 3px solid rgba(22, 142, 232, 0.22);
    outline-offset: 2px;
}

.public-document-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.public-document-action-arrow {
    margin-left: 2px;
}

.public-document-empty {
    padding: 22px;
    border: 1px dashed #cbdbea;
    border-radius: 14px;
    background: #f8fbfd;
    color: #617589;
    text-align: center;
}

#admin:not(.operator-active) .upload-section {
    max-width: 980px;
}

#admin:not(.operator-active) .admin-intro:first-child {
    margin-bottom: 8px;
    color: #12304e;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    letter-spacing: -0.02em;
}

#admin:not(.operator-active) .admin-intro:nth-child(2) {
    max-width: 720px;
    color: #59728a;
    font-size: 1.02rem;
}

#admin:not(.operator-active) .upload-card {
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(20, 67, 105, 0.08);
    border-color: #dbe7f0;
}

#operatorLoginForm {
    max-width: 680px;
    margin: 24px 0;
}

#operatorLoginForm h3 {
    margin-bottom: 6px;
    color: #12304e;
    font-size: 1.35rem;
}

#operatorLoginForm p {
    margin-bottom: 20px;
    color: #617589;
}

.profile-section h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
}

.profile-admin-page {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #d9e5f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(20, 67, 105, 0.1);
}

.profile-admin-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
    align-items: stretch;
    min-height: 560px;
}

.profile-admin-intro {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(30px, 5vw, 58px);
    border-right: 1px solid #e0e6f1;
    background:
        radial-gradient(circle at 88% 12%, rgba(116, 132, 207, 0.13), transparent 32%),
        linear-gradient(145deg, #f1f4fc, #e9eef9);
    text-align: center;
}

.profile-admin-emblem-wrap {
    display: grid;
    width: 112px;
    height: 112px;
    margin-bottom: 24px;
    place-items: center;
    border: 1px solid #dce4f0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 26px rgba(47, 67, 116, 0.12);
}

.profile-admin-emblem {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.profile-admin-kicker {
    display: block;
    margin-bottom: 8px;
    color: #586ba3;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.profile-admin-intro h2 {
    max-width: 400px;
    margin: 0 0 14px;
    color: #183a60;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: 0;
    text-align: center;
}

.profile-admin-intro > p {
    max-width: 410px;
    margin: 0;
    color: #63758b;
    line-height: 1.5;
    text-align: center;
}

.profile-admin-intro-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 420px;
    margin-top: 22px;
    padding: 13px 15px;
    border: 1px solid #d5deef;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.72);
    color: #4d6388;
    text-align: left;
}

.profile-admin-intro-note > span {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    background: #596db0;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

.profile-admin-intro-note p {
    margin: 0;
    color: inherit;
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: left;
}

.profile-admin-body {
    padding: 28px 36px 32px;
}

.profile-admin-access-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding: 15px 18px;
    border: 1px solid #cce8e4;
    border-radius: 12px;
    background: #effcf9;
    color: #155b65;
}

.profile-admin-access-note strong,
.profile-admin-access-note span {
    display: block;
}

.profile-admin-access-note span:not(.profile-admin-access-icon) {
    margin-top: 3px;
    color: #5b7780;
    font-size: 0.9rem;
}

.profile-admin-access-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    background: #0aa994;
    color: #fff;
    font-weight: 800;
}

.profile-admin-login-card,
.profile-editor-card,
.profile-admin-panel {
    padding: 24px;
    border: 1px solid #dce8f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(20, 67, 105, 0.07);
}

.profile-admin-login-card {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    margin: 0;
    padding: clamp(28px, 5vw, 58px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.profile-admin-login-card[hidden],
.profile-admin-login-layout[hidden] {
    display: none;
}

#profileAdminLoginForm .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.profile-admin-login-card .primary-btn {
    width: 100%;
    background: linear-gradient(110deg, #425e9a, #5964b7);
    box-shadow: 0 7px 16px rgba(75, 91, 164, 0.2);
}

.profile-admin-login-card .primary-btn:hover {
    filter: brightness(1.06);
}

.profile-admin-login-card input:focus {
    border-color: #6474bd;
    outline: 3px solid rgba(100, 116, 189, 0.14);
}

.profile-admin-panel[hidden] { display: none; }

.profile-admin-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.profile-admin-section-heading > span {
    color: #0aa994;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.profile-admin-section-heading h3 {
    margin: 0 0 5px;
    color: #12304e;
    font-size: 1.25rem;
}

.profile-admin-section-heading p {
    margin: 0;
    color: #71879a;
    font-size: 0.9rem;
}

#profileAdminLoginForm {
    max-width: 680px;
    margin: 0 auto;
}

#profileAdminLoginForm .form-grid {
    grid-template-columns: 1fr;
    margin-bottom: 16px;
}

#profileAdminLoginForm .form-grid input {
    border-radius: 8px;
}

#profileAdminLoginForm .primary-btn {
    width: 100%;
    min-width: 120px;
    background: linear-gradient(110deg, #425e9a, #5964b7);
    box-shadow: 0 7px 16px rgba(75, 91, 164, 0.2);
}

#profileAdminLoginForm .form-grid input:focus {
    border-color: #6474bd;
    outline: 3px solid rgba(100, 116, 189, 0.14);
}

.profile-editor-card .profile-editor-fields {
    margin-bottom: 24px;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.profile-menu {
    display: none;
}

.profile-menu-item {
    border: 0;
    border-radius: 4px;
    padding: 13px 16px;
    background: transparent;
    color: var(--primary-color);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.profile-menu-item:hover,
.profile-menu-item:focus-visible,
.profile-menu-item.active {
    background: var(--primary-color);
    color: #fff;
    outline: none;
}

.profile-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid #dde6f4;
}

.profile-card h3 {
    font-size: 1.6em;
    margin-bottom: 14px;
    color: var(--primary-color);
}

.profile-card p {
    color: #3a4a6b;
    line-height: 1.8;
    margin-bottom: 20px;
}

.profile-bullet-list {
    color: #3a4a6b;
    line-height: 1.8;
    margin: -8px 0 20px;
    padding-left: 1.5rem;
}

.profile-bullet-list li {
    padding-left: 0.25rem;
    margin-bottom: 8px;
}

.profile-official-table-wrapper {
    overflow-x: auto;
}

.operator-readonly-notice {
    margin: 0 0 18px;
    padding: 12px 16px;
    border: 1px solid #c8dff2;
    border-radius: 9px;
    background: #eff7fd;
    color: #315b78;
    font-size: 0.9rem;
    line-height: 1.5;
}

.profile-official-table {
    width: 100%;
    border-collapse: collapse;
    color: #243f60;
}

.profile-official-table th,
.profile-official-table td {
    padding: 14px 16px;
    border: 1px solid #d4deea;
    text-align: left;
    vertical-align: top;
}

.profile-official-table th {
    background: #eef5fc;
    color: #1f4d8b;
    font-weight: 700;
}

.profile-card h4 {
    margin: 20px 0 8px;
    color: #1f4d8b;
}

.profile-structure-image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 24px;
    border: 1px solid #dbe4ed;
    border-radius: 8px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.profile-grid h4 {
    margin-bottom: 10px;
    color: #1f4d8b;
}

.profile-grid p,
.profile-grid ul {
    color: #4f5c7a;
    line-height: 1.7;
}

.profile-grid ul {
    padding-left: 18px;
}

/* About Section */
.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-content h3 {
    font-size: 1.3em;
    color: var(--dark-text);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.structure-box {
    background: #f5f5f5;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    color: var(--dark-text);
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: white;
    padding: 14px 5.2%;
    width: 100%;
    margin-top: auto;
}

.footer-inner {
    width: min(100%, 1420px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-admin-login-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .profile-admin-intro {
        grid-column: 1;
        grid-row: 2;
        padding: 32px 22px;
        border-top: 1px solid #e0e6f1;
        border-right: 0;
    }

    .profile-admin-emblem-wrap {
        width: 84px;
        height: 84px;
        margin-bottom: 18px;
    }

    .profile-admin-emblem {
        width: 62px;
        height: 62px;
    }

    .profile-admin-intro h2 {
        font-size: 1.8rem;
    }

    .profile-admin-login-card {
        grid-column: 1;
        grid-row: 1;
        padding: 30px 22px;
    }

    #profileAdminLoginForm .form-grid {
        grid-template-columns: 1fr;
    }

    .header-title {
        font-size: 1.8em;
    }

    .header-subtitle {
        font-size: 0.95em;
    }

    .nav-section {
        flex-wrap: wrap;
    }

    .nav-btn {
        flex: 0 1 auto;
        padding: 12px 15px;
        font-size: 0.9em;
    }

    .bidang-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .operator-bidang-list {
        grid-template-columns: 1fr;
    }

    #admin:not(.operator-active) .upload-section {
        max-width: 620px;
    }

    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .selection-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .indicators-container {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 300px;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bidang-showcase {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
    }

    .hero-banner {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px;
    }

    .hero-banner::after {
        right: 20px;
        font-size: 8rem;
    }

    .hero-bidang-card {
        grid-template-columns: 72px minmax(0, 1fr);
        min-height: 112px;
        gap: 14px;
        padding: 14px;
    }

    .hero-bidang-icon {
        width: 68px;
        height: 68px;
    }

}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.4em;
    }

    @media (max-width: 700px) {
        .monitoring-page {
            min-height: calc(100vh - 112px);
            padding: 20px 10px;
            border-radius: 16px;
        }

        .monitoring-card {
            padding: 27px 21px;
            border-radius: 18px;
        }

        .monitoring-session-actions {
            flex-direction: column;
        }

        .monitoring-session-actions .monitoring-submit,
        .monitoring-session-actions .secondary-btn {
            width: 100%;
        }
    }

}

@media (max-width: 480px) {
    .view {
        padding: 15px 10px;
    }

    #dashboard.view {
        padding-top: 0;
    }

    #profile.view {
        padding-top: 0;
    }

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

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

    .bidang-icon {
        font-size: 2em;
    }

    .bidang-name {
        font-size: 1em;
    }

    .bidang-count {
        font-size: 1.5em;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 14px 16px;
    }

}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

/* Hero Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header-inner {
        position: relative;
        flex-wrap: wrap;
        padding: 10px 16px;
        gap: 12px;
    }

    .brand-badge {
        width: 44px;
        height: 44px;
    }

    .brand-secondary-badge {
        width: 42px;
        height: 42px;
    }

    .brand-text span {
        font-size: 0.85rem;
    }

    .brand-text small {
        font-size: 0.58rem;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-left: 0;
        padding: 8px 0 4px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .main-nav.open {
        display: flex;
    }

    .mobile-menu-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        margin-left: auto;
        padding: 9px 8px;
        place-content: center;
        gap: 5px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav .nav-btn {
        width: 100%;
        padding: 12px 14px;
        text-align: left;
    }

    .main-nav .nav-dropdown {
        width: 100%;
    }

    .main-nav .viewer-account-dropdown {
        width: 100%;
    }

    .main-nav .viewer-account-toggle {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .main-nav .viewer-account-menu {
        position: static;
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
    }

    .main-nav .nav-dropdown-toggle {
        justify-content: space-between;
    }

    .main-nav .nav-dropdown-menu,
    .main-nav .login-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 2px 0 4px;
        box-shadow: none;
        border-color: rgba(11, 94, 168, 0.18);
    }

    .main-nav .social-nav {
        margin: 4px 0 0;
        padding: 8px 4px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
        justify-content: flex-start;
    }

    .top-hero {
        width: 100%;
        height: clamp(420px, calc(100vh - 150px), 620px);
        height: clamp(420px, calc(100svh - 150px), 620px);
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .top-hero-control {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .top-hero-control-prev { left: 12px; }
    .top-hero-control-next { right: 12px; }

    .dashboard-section {
        padding: 0 16px 32px;
    }

    .hero-banner {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px 12px;
    }

    .hero-banner::after {
        right: 10px;
        font-size: 6rem;
    }

    .hero-kicker {
        margin-bottom: 6px;
        font-size: 0.64rem;
    }

    .hero-copy h1 {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
        margin-bottom: 6px;
    }

    .hero-copy p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .social-link {
        width: 30px;
        height: 30px;
        padding: 5px;
    }

}

@media (max-width: 900px) {
    .unified-login-page {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    }

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

    .unified-login-brand {
        padding: 32px;
    }

    .unified-login-panel {
        padding: 24px;
    }
}

@media (max-width: 700px) {
    .unified-login-page {
        grid-template-columns: 1fr;
        min-height: calc(100vh - 80px);
    }

    .unified-login-brand {
        min-height: 430px;
        padding: 22px;
        background: transparent;
    }

    .unified-brand-copy {
        padding: 0;
    }

    .unified-brand-copy h1 {
        font-size: clamp(1.75rem, 8vw, 2.45rem);
    }

    .unified-brand-description {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    .unified-brand-values {
        display: none;
    }

    .unified-login-panel {
        min-height: 500px;
        padding: 22px 14px 30px;
        background: transparent;
    }

    .unified-login-card {
        padding: 26px 22px;
    }

    .viewer-password-view {
        padding: 14px 10px;
    }

    .viewer-password-card,
    .viewer-password-tips {
        padding: 18px 14px;
    }

    .viewer-password-field {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 7px 10px;
    }

    .viewer-password-field-icon {
        grid-row: span 2;
    }

    .viewer-password-input-wrap {
        grid-column: 2;
    }

    .viewer-password-actions {
        flex-wrap: wrap;
    }

    .viewer-password-actions .primary-btn,
    .viewer-password-actions .secondary-btn {
        flex: 1;
        min-width: 110px;
    }

}

@media (max-width: 640px) {
    .public-document-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        border-radius: 13px;
    }

    .public-document-icon {
        width: 58px;
        height: 58px;
        border-radius: 11px;
    }

    .public-document-icon svg {
        width: 38px;
        height: 38px;
    }

    .public-document-copy {
        gap: 9px;
    }

    .public-document-copy h2 {
        font-size: 0.88rem;
    }

    .public-document-meta {
        gap: 6px 10px;
        font-size: 0.78rem;
    }

    .public-document-meta span + span {
        padding-left: 10px;
    }

    .public-document-action {
        grid-column: 2;
        justify-self: start;
        min-width: 0;
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 0.82rem;
    }

    .data-display.is-document-view {
        padding: 18px 14px;
    }

    .supporting-documents-view .document-list-container {
        padding: 10px;
    }

    .supporting-documents-view .document-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 15px;
    }

    .supporting-documents-view .document-item-action,
    .supporting-documents-view .document-download-btn {
        width: 100%;
    }
}

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

@media (max-width: 700px) {
    .bidang-showcase {
        gap: 14px;
        padding: 17px;
    }

    .bidang-showcase-title {
        font-size: 1.15rem;
    }

    .hero-metrics {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .hero-bidang-card {
        grid-template-columns: 54px minmax(0, 1fr);
        min-height: 96px;
        gap: 11px;
        padding: 11px 13px;
    }

    .hero-bidang-icon {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }
}

.site-header {
    background:
        radial-gradient(ellipse at 82% -30%, rgba(61, 190, 229, 0.42), transparent 43%),
        linear-gradient(115deg, #06366d 0%, #07549a 37%, #087ca9 69%, #064477 100%);
}

.document-list-header .document-list-icon {
    color: #fff;
}

#indicatorsContainer.structure-organization-documents {
    display: block;
    margin-bottom: 0;
}

#indicatorsContainer.structure-organization-documents > .document-list-header {
    display: none;
}

#indicatorsContainer.structure-organization-documents > .document-list-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 0;
}

#indicatorsContainer.structure-organization-documents > .document-list-container > .document-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 20px;
    border-left: 4px solid #1685a5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(25, 67, 92, 0.07);
}

#indicatorsContainer.structure-organization-documents .document-preview {
    border-color: #dce7ee;
    background: #f4f8fb;
}

#indicatorsContainer.structure-organization-documents .document-preview-pdf {
    height: min(65vh, 620px);
    min-height: 380px;
}

@media (max-width: 640px) {
    #indicatorsContainer.structure-organization-documents > .document-list-container > .document-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 15px;
    }

    #indicatorsContainer.structure-organization-documents .document-item-action,
    #indicatorsContainer.structure-organization-documents .document-download-btn {
        width: 100%;
    }

    #indicatorsContainer.structure-organization-documents .document-preview-pdf {
        height: 55vh;
        min-height: 320px;
    }
}

#entryForm,
#operatorManagedEntries {
    padding: 0;
    overflow: hidden;
    border-color: #dbe8f4;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(25, 73, 117, 0.08);
}

.entry-form-heading,
.managed-entries-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(105, 171, 255, 0.18), transparent 22%),
        linear-gradient(100deg, #eff7ff, #f8fbff);
}

.entry-form-heading-icon,
.managed-entries-heading-icon,
.entry-fields-heading-icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 50%;
    color: #1262bd;
    background: linear-gradient(145deg, #d8eaff, #c4e0ff);
}

.entry-form-heading-icon svg,
.managed-entries-heading-icon svg,
.entry-fields-heading-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.entry-form-heading h3,
.managed-entries-heading h3 {
    margin: 0;
    color: #173b68;
    font-size: 1.12rem;
    line-height: 1.35;
}

.entry-form-heading p,
.managed-entries-heading p {
    margin: 3px 0 0;
    color: #69819d;
    font-size: 0.88rem;
    line-height: 1.45;
}

#entryForm > .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    margin: 0;
    padding: 22px;
}

#entryForm .entry-selector-label {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 7px;
    color: #173b68;
    font-size: 0.9rem;
}

.entry-selector-caption {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 22px;
}

.entry-selector-caption svg,
.operator-managed-filters label > span svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: #2568b4;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#entryForm .entry-selector-label input,
#entryForm .entry-selector-label select {
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #d5e3f3;
    border-radius: 10px;
    background-color: #fff;
    color: #193b62;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

#entryForm .entry-selector-label input:focus,
#entryForm .entry-selector-label select:focus,
.operator-managed-filters input:focus,
.operator-managed-filters select:focus {
    outline: 0;
    border-color: #5799ee;
    box-shadow: 0 0 0 3px rgba(57, 133, 225, 0.13);
}

#entryForm #entryDataFields {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
    padding: 14px;
    border: 1px solid #d7e8fa;
    border-radius: 13px;
    background: linear-gradient(145deg, #f3f9ff, #f9fcff);
}

.entry-fields-heading {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 10px;
    padding: 0 2px 4px;
}

.entry-fields-heading-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
}

.entry-fields-heading-icon svg {
    width: 21px;
    height: 21px;
}

.entry-fields-heading > span:last-child {
    display: grid;
    gap: 1px;
}

.entry-fields-heading strong {
    color: #173b68;
    font-size: 0.95rem;
}

.entry-fields-heading small {
    color: #6b8199;
    font-size: 0.79rem;
}

.entry-data-field {
    align-content: start;
    gap: 7px;
    padding: 12px;
    border: 1px solid #e1edf8;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 9px rgba(33, 91, 145, 0.04);
}

.entry-data-field-label,
.entry-note-field {
    display: flex !important;
    align-items: flex-start;
    gap: 8px !important;
    color: #31577f !important;
    font-size: 0.81rem;
    font-weight: 700 !important;
    line-height: 1.4;
}

.entry-data-field-label svg,
.entry-note-field svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: #347bd0;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.entry-data-field input,
.entry-data-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d7e5f5;
    border-radius: 9px;
    color: #193b62;
    background: #fff;
    font: inherit;
}

.entry-data-field input::placeholder,
.entry-data-field textarea::placeholder {
    color: #91a5bd;
}

.entry-data-field input:focus,
.entry-data-field textarea:focus {
    outline: 0;
    border-color: #5799ee;
    box-shadow: 0 0 0 3px rgba(57, 133, 225, 0.12);
}

.entry-note-field {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    margin-top: 5px;
}

.entry-note-field textarea {
    grid-column: 1 / -1;
    min-height: 68px;
    resize: vertical;
}

#entryForm > .form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 22px 22px;
}

#entryForm .form-actions button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-weight: 700;
}

#entryForm #cancelEditEntry[hidden] {
    display: none !important;
}

#entryForm .entry-data-field input:disabled,
#entryForm .entry-data-field textarea:disabled {
    border-color: #e5ebf2;
    color: #8493a3;
    background: #f3f6f9;
    cursor: not-allowed;
}

#entryForm .form-actions button svg,
.operator-managed-edit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#entryForm > #entryStatus {
    margin: 0 22px 20px;
}

.operator-managed-entries {
    margin-top: 16px;
}

.operator-managed-filters {
    display: grid;
    grid-template-columns: minmax(130px, 0.8fr) minmax(150px, 0.8fr) minmax(220px, 1.3fr);
    align-items: end;
    gap: 12px;
    padding: 18px 22px 14px;
}

.operator-managed-filters label {
    display: grid;
    min-width: 0;
    gap: 6px;
    color: #31577f;
    font-size: 0.8rem;
    font-weight: 700;
}

.operator-managed-filters label > span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.operator-managed-filters select,
.operator-managed-filters input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d5e3f3;
    border-radius: 9px;
    color: #193b62;
    background: #fff;
    font: inherit;
}

.operator-managed-list {
    gap: 9px;
    padding: 0 22px 22px;
}

.operator-managed-row {
    display: grid;
    grid-template-columns: 34px 42px minmax(160px, 1fr) minmax(100px, 0.45fr) minmax(90px, 0.4fr) auto;
    gap: 12px;
    min-height: 68px;
    padding: 10px 13px;
    border-color: #e1edf8;
    border-radius: 12px;
    background: linear-gradient(105deg, #f7fbff, #fff);
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.operator-managed-row:hover {
    transform: translateY(-1px);
    border-color: #c9def4;
    box-shadow: 0 6px 15px rgba(30, 91, 154, 0.08);
}

.operator-managed-index,
.operator-managed-symbol {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    align-self: center;
    border-radius: 50%;
    color: #2469bb;
    background: #e8f2ff;
    font-size: 0.78rem;
    font-weight: 700;
}

.operator-managed-symbol {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e3efff, #d2e5ff);
}

.operator-managed-symbol svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.operator-managed-row:nth-child(3n + 2) .operator-managed-symbol {
    color: #208956;
    background: linear-gradient(145deg, #e3f8ed, #cff0dc);
}

.operator-managed-row:nth-child(3n) .operator-managed-symbol {
    color: #7650b7;
    background: linear-gradient(145deg, #f0e8ff, #e4d6ff);
}

.operator-managed-meta {
    min-width: 0;
    justify-content: center;
}

.operator-managed-title {
    overflow-wrap: anywhere;
    color: #183d68;
}

.operator-managed-detail {
    overflow-wrap: anywhere;
    color: #7890a8;
    font-size: 0.78rem;
}

.operator-managed-period,
.operator-managed-value {
    display: grid;
    align-content: center;
    gap: 2px;
}

.operator-managed-period span,
.operator-managed-value span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #7b91a8;
    font-size: 0.72rem;
}

.operator-managed-period span svg,
.operator-managed-value span svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #477cb8;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.operator-managed-period strong,
.operator-managed-value strong {
    color: #31577f;
    font-size: 0.83rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.operator-managed-actions {
    justify-content: flex-end;
}

.operator-managed-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 78px;
    min-height: 38px;
    border-color: #c3dcfa;
    border-radius: 9px;
    color: #1d66b6;
    background: #edf5ff;
}

.operator-managed-edit:hover {
    border-color: #8bb9ef;
    background: #e0eeff;
}

.operator-managed-empty {
    margin: 0 22px 22px;
    padding: 17px;
    border: 1px dashed #cbdced;
    border-radius: 11px;
    color: #71869c;
    background: #f7fbff;
    text-align: center;
}

@media (max-width: 720px) {
    #entryForm > .form-grid {
        grid-template-columns: minmax(0, 1fr);
        padding: 17px;
    }

    #entryForm > .form-actions {
        padding: 0 17px 17px;
    }

    #entryForm > #entryStatus {
        margin-right: 17px;
        margin-left: 17px;
    }

    .operator-managed-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 16px 17px 12px;
    }

    .operator-managed-filters .managed-entries-search {
        grid-column: 1 / -1;
    }

    .operator-managed-list {
        padding: 0 17px 17px;
    }

    .operator-managed-row {
        grid-template-columns: 30px 40px minmax(0, 1fr) auto;
    }

    .operator-managed-period,
    .operator-managed-value {
        grid-column: 3;
    }

    .operator-managed-actions {
        grid-column: 4;
        grid-row: 1 / span 3;
    }
}

@media (max-width: 460px) {
    .entry-form-heading,
    .managed-entries-heading {
        align-items: flex-start;
        gap: 11px;
        padding: 16px;
    }

    .entry-form-heading-icon,
    .managed-entries-heading-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .operator-managed-filters {
        grid-template-columns: minmax(0, 1fr);
    }

    .operator-managed-filters .managed-entries-search {
        grid-column: auto;
    }

    .operator-managed-row {
        grid-template-columns: 28px 38px minmax(0, 1fr);
        gap: 9px;
    }

    .operator-managed-index {
        width: 28px;
        height: 28px;
    }

    .operator-managed-symbol {
        width: 36px;
        height: 36px;
    }

    .operator-managed-period,
    .operator-managed-value {
        grid-column: 3;
    }

    .operator-managed-actions {
        grid-column: 3;
        grid-row: auto;
        justify-content: stretch;
    }

    .operator-managed-edit {
        width: 100%;
    }
}

.public-location-contact {
    width: 100%;
    padding: 44px 5.2%;
    border-top: 1px solid #e3edf5;
    background:
        radial-gradient(ellipse at 8% 0%, rgba(117, 183, 255, 0.15), transparent 34%),
        linear-gradient(180deg, #f4f8fc 0%, #edf4fa 100%);
}

.public-location-contact[hidden] {
    display: none;
}

.public-location-inner {
    width: min(100%, 1420px);
    margin: 0 auto;
}

.public-location-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.public-location-heading-icon,
.public-contact-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border: 1px solid #d6e8fa;
    border-radius: 16px;
    color: #176bb9;
    background: linear-gradient(145deg, #e9f4ff, #d9ebff);
}

.public-location-heading-icon svg,
.public-contact-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-location-eyebrow {
    margin: 0 0 3px;
    color: #2874b9;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.public-location-heading h2 {
    margin: 0;
    color: #173b5f;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.3;
}

.public-location-heading > div > p:last-child {
    margin: 4px 0 0;
    color: #71869b;
    font-size: 0.9rem;
}

.public-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 18px;
}

.public-map-card,
.public-contact-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce8f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28, 67, 103, 0.07);
}

.public-map-card {
    display: grid;
    grid-template-rows: minmax(245px, 1fr) auto;
    min-height: 300px;
}

.public-map-placeholder {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 24px;
    color: #70869b;
    text-align: center;
    background-color: #f0f6fb;
    background-image:
        linear-gradient(30deg, transparent 47%, rgba(158, 186, 208, 0.14) 48%, rgba(158, 186, 208, 0.14) 50%, transparent 51%),
        linear-gradient(145deg, transparent 47%, rgba(158, 186, 208, 0.12) 48%, rgba(158, 186, 208, 0.12) 50%, transparent 51%);
    background-size: 70px 70px, 96px 96px;
}

.public-map-placeholder[hidden],
.public-location-map[hidden],
.public-map-link[hidden] {
    display: none;
}

.public-map-pin {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid #cfe3f7;
    border-radius: 50%;
    color: #2678c5;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 7px 18px rgba(51, 106, 158, 0.11);
}

.public-map-pin svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-map-placeholder strong {
    color: #355a7a;
    font-size: 0.95rem;
}

.public-map-placeholder > span:last-child {
    font-size: 0.82rem;
}

.public-location-map {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    background: #edf4fa;
}

.public-map-canvas {
    position: relative;
    min-width: 0;
    width: 100%;
    height: 360px;
    min-height: 360px;
    overflow: hidden;
    background: #e9f1f7;
}

.public-map-canvas[hidden] {
    display: none;
}

.public-map-canvas .public-location-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.public-map-leaflet-marker {
    border: 0;
    background: transparent;
    filter: drop-shadow(0 3px 3px rgba(30, 45, 55, 0.38));
}

.public-map-leaflet-marker svg {
    display: block;
    width: 42px;
    height: 54px;
    fill: #e53935;
    stroke: #fff;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-location-leaflet-popup .leaflet-popup-content-wrapper {
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(24, 43, 62, 0.2);
}

.public-location-leaflet-popup .leaflet-popup-content {
    display: grid;
    min-width: 220px;
    gap: 7px;
    margin: 16px 18px;
    color: #273746;
    font-size: 0.82rem;
}

.public-place-popup-content {
    display: grid;
    gap: 6px;
}

.public-place-popup-content > strong {
    margin-bottom: 4px;
    color: #202c38;
    font-size: 0.95rem;
    line-height: 1.4;
}

.public-place-popup-content .public-place-popup-label {
    padding-top: 7px;
    border-top: 1px solid #e9eef3;
    color: #435466;
    font-weight: 700;
}

.public-place-popup-content .public-place-popup-coordinates {
    color: #6d7d8e;
    font-variant-numeric: tabular-nums;
}

.public-place-popup-content > a {
    justify-self: start;
    margin-top: 5px;
    padding: 8px 12px;
    border-radius: 20px;
    color: #216ba9;
    background: #e8f4ff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.public-place-popup-content > a:hover {
    background: #d8ecff;
}

.public-location-map .leaflet-control-attribution {
    font-size: 10px;
}

.public-map-link {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid #e8eff5;
    color: #216eb5;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 150ms ease;
}

.public-map-link:hover {
    background: #f3f8fe;
}

.public-map-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-contact-card {
    padding: 24px;
}

.public-address-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.public-contact-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 13px;
}

.public-address-block h3,
.public-social-heading {
    margin: 1px 0 6px;
    color: #1c4367;
    font-size: 1rem;
}

.public-address-block p {
    margin: 0;
    color: #70859a;
    font-size: 0.9rem;
    line-height: 1.65;
}

.public-contact-divider {
    height: 1px;
    margin: 22px 0 18px;
    background: #e8eff5;
}

.public-social-heading {
    margin-bottom: 12px;
}

.public-social-list {
    display: grid;
    gap: 9px;
}

.public-social-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border: 1px solid #edf2f7;
    border-radius: 11px;
    background: #fbfdff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

a.public-social-item:hover {
    transform: translateY(-1px);
    border-color: #c9dceb;
    background: #f4f9fd;
}

a.public-social-item:focus-visible {
    outline: 3px solid rgba(40, 111, 177, 0.35);
    outline-offset: 2px;
}

.public-social-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 11px;
    color: #286fb1;
    background: #eaf3fc;
}

.public-social-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.instagram-icon {
    color: #b54c82;
    background: #fff0f6;
}

.facebook-icon {
    color: #2868b6;
    background: #edf4ff;
}

.email-icon {
    color: #317e91;
    background: #eaf8fa;
}

.public-social-item > span:last-child {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.public-social-item strong {
    color: #315371;
    font-size: 0.84rem;
}

.public-social-item small {
    overflow-wrap: anywhere;
    color: #8699aa;
    font-size: 0.78rem;
}

@media (max-width: 760px) {
    .public-location-contact {
        padding: 32px 18px;
    }

    .public-location-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-map-card {
        min-height: 260px;
    }

    .public-location-map {
        min-height: 320px;
    }

    .public-map-canvas {
        height: 320px;
        min-height: 320px;
    }
}

@media (max-width: 460px) {
    .public-location-heading {
        align-items: flex-start;
        gap: 11px;
    }

    .public-location-heading-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
    }

    .public-contact-card {
        padding: 18px;
    }
}

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

@media (max-width: 520px) {
    .reports-heading {
        flex-direction: column;
    }

    .reports-close-button {
        width: 100%;
    }

    .reports-filters,
    .reports-summary {
        grid-template-columns: 1fr;
    }

    .reports-filters .reports-search-label {
        grid-column: auto;
    }

    .reports-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .reports-actions button {
        width: 100%;
    }
}

@media print {
    @page {
        margin: 12mm;
    }

    body * {
        visibility: hidden !important;
    }

    #reportsPanel,
    #reportsPanel * {
        visibility: visible !important;
    }

    #reportsPanel {
        position: absolute;
        inset: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .reports-close-button,
    .reports-actions {
        display: none !important;
    }

    .reports-table-wrap {
        overflow: visible;
        border: 0;
    }

    .reports-table {
        font-size: 8pt;
    }

    .reports-table th {
        position: static;
    }
}

.public-service-sop-list {
    display: grid;
    gap: 24px;
    margin-top: 28px;
}

.public-service-sop-card {
    overflow: hidden;
    border: 1px solid #dce6ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(18, 48, 78, 0.08);
}

.public-service-sop-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
}

.public-service-sop-heading h2 {
    margin: 0 0 6px;
    color: #123b5d;
    font-size: 1.12rem;
    line-height: 1.4;
}

.public-service-sop-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6d7e8d;
    font-size: 0.88rem;
}

.public-service-sop-date svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.public-service-sop-open {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    background: #075da8;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.public-service-sop-open:hover {
    background: #064b86;
}

.public-service-sop-preview {
    display: block;
    width: 100%;
    height: min(78vh, 900px);
    min-height: 480px;
    border: 0;
    border-top: 1px solid #e4ebf0;
    background: #f1f4f7;
}

.public-service-sop-admin-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.public-service-sop-admin-row .viewer-menu-icon {
    font-size: 0.72rem;
    font-weight: 800;
}

@media (max-width: 600px) {
    .public-service-sop-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .public-service-sop-preview {
        height: 68vh;
        min-height: 380px;
    }

    .public-service-sop-admin-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .public-service-sop-admin-row .news-admin-row-actions {
        grid-column: 2;
    }
}

.site-header {
    top: 0;
    width: 100%;
    margin: 0;
    overflow: visible;
    border: 0;
    border-bottom: 3px solid #ffd900;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 88% 130%, rgba(22, 163, 220, 0.38), transparent 40%),
        linear-gradient(110deg, #06366f 0%, #075bb0 53%, #0789d1 100%);
    box-shadow: 0 10px 24px rgba(7, 52, 99, 0.18);
}

.site-header-inner {
    max-width: none;
    min-height: 82px;
    padding: 10px 28px;
    gap: 26px;
}

.brand {
    gap: 13px;
}

.brand-badge {
    width: 50px;
    height: 50px;
}

.brand-secondary-badge {
    width: 48px;
    height: 48px;
}

.brand-text {
    min-width: 0;
    font-family: "Segoe UI", Arial, sans-serif;
}

.brand-text span {
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.brand-text small {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.main-nav {
    min-width: 0;
    flex: 1 1 auto;
    gap: 5px;
    align-items: center;
}

.main-nav > .nav-btn,
.main-nav > .nav-dropdown > .nav-btn {
    min-height: 48px;
    flex: 0 0 auto;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.79rem;
    font-weight: 750;
    letter-spacing: 0.015em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.main-nav > .nav-btn:hover,
.main-nav > .nav-dropdown > .nav-btn:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffdf28;
}

.main-nav > .nav-btn.active,
.main-nav > .nav-dropdown > .nav-dropdown-toggle.active {
    border-color: transparent;
    border-bottom: 3px solid #ffdf00;
    border-radius: 8px 8px 5px 5px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    color: #ffdf00;
}

.main-nav .nav-dropdown-toggle .caret {
    font-size: 0.82rem;
}

.nav-auth-divider {
    width: 1px;
    height: 34px;
    flex: 0 0 1px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.45);
}

.has-authenticated-account .nav-auth-divider {
    display: none;
}

.main-nav > .login-nav-btn {
    min-width: 136px;
    min-height: 44px;
    gap: 9px;
    margin-left: 2px;
    padding: 8px 17px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.main-nav > .login-nav-btn:hover,
.main-nav > .login-nav-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: 2px solid rgba(255, 223, 0, 0.8);
    outline-offset: 2px;
}

.main-nav > .login-nav-btn.active {
    border: 1px solid #ffdf00;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 37, 82, 0.16);
    color: #ffdf00;
}

.login-nav-btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.viewer-account-dropdown {
    flex: 0 1 auto;
    min-width: 0;
}

.viewer-account-toggle {
    min-height: 46px;
    max-width: 230px;
    gap: 9px;
    padding: 6px 13px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
}

.viewer-account-toggle:hover,
.viewer-account-toggle:focus-visible {
    border-color: #ffdf00;
    background: rgba(255, 255, 255, 0.1);
    color: #ffdf00;
}

.viewer-account-toggle > span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.viewer-account-avatar {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    background: #fff;
    color: #0860ad;
}

.viewer-account-avatar svg {
    width: 18px;
    height: 18px;
}

.social-nav {
    flex: 0 0 auto;
    gap: 8px;
    margin-left: 8px;
    padding-left: 16px;
}

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

.social-link {
    width: 34px;
    height: 36px;
    color: #fff;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 1450px) and (min-width: 769px) {
    .site-header-inner {
        gap: 12px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .brand {
        gap: 9px;
    }

    .brand-badge {
        width: 42px;
        height: 42px;
    }

    .brand-secondary-badge {
        width: 40px;
        height: 40px;
    }

    .brand-text span {
        font-size: 0.82rem;
    }

    .brand-text small {
        font-size: 0.56rem;
    }

    .main-nav {
        gap: 1px;
    }

    .main-nav > .nav-btn,
    .main-nav > .nav-dropdown > .nav-btn {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.69rem;
    }

    .viewer-account-toggle {
        max-width: 175px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 0;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .site-header-inner {
        min-height: 0;
        gap: 12px;
        padding: 10px 16px;
    }

    .main-nav {
        flex: 0 0 100%;
        gap: 4px;
    }

    .main-nav > .nav-btn,
    .main-nav > .nav-dropdown > .nav-btn {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .nav-auth-divider {
        display: none;
    }

    .main-nav > .login-nav-btn {
        min-height: 42px;
        justify-content: flex-start;
        border-width: 1px;
        border-radius: 10px;
    }

    .main-nav .viewer-account-toggle {
        max-width: none;
        min-height: 42px;
        padding: 7px 12px;
    }

    .main-nav .social-nav {
        margin: 4px 0 0;
        padding: 8px 4px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        border-left: 0;
    }
}

.monitoring-overview-section {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 52px) clamp(14px, 2.5vw, 32px) 48px;
}

.monitoring-overview-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 28px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid #dce9f6;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 147, 225, 0.13), transparent 38%),
        linear-gradient(120deg, #fff 0%, #f1f8ff 100%);
    box-shadow: 0 12px 32px rgba(21, 68, 112, 0.08);
}

.monitoring-overview-eyebrow {
    color: #1483b9;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.monitoring-overview-heading h1 {
    margin: 7px 0 8px;
    color: #123b65;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.2;
}

.monitoring-overview-heading p {
    max-width: 760px;
    margin: 0;
    color: #61758a;
    font-size: 0.95rem;
    line-height: 1.65;
}

.monitoring-overview-year {
    display: grid;
    min-width: 150px;
    gap: 7px;
    color: #405a74;
    font-size: 0.82rem;
    font-weight: 700;
}

.monitoring-overview-year select {
    min-height: 44px;
    padding: 8px 34px 8px 12px;
    border: 1px solid #cbdcec;
    border-radius: 10px;
    background: #fff;
    color: #173c60;
    font: inherit;
}

.monitoring-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    align-items: stretch;
    gap: 20px;
}

.monitoring-overview-card {
    display: grid;
    min-width: 0;
    grid-template-rows: auto auto minmax(170px, 1fr) auto;
    gap: 16px;
    padding: 21px;
    border: 1px solid #e1eaf3;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 63, 100, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.monitoring-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(24, 63, 100, 0.11);
}

.monitoring-overview-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.monitoring-overview-card-heading h2 {
    margin: 0;
    color: #173e65;
    font-size: 1.08rem;
    line-height: 1.35;
}

.monitoring-overview-card-heading p {
    display: -webkit-box;
    overflow: hidden;
    margin: 5px 0 0;
    color: #708197;
    font-size: 0.81rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.monitoring-overview-marker {
    width: 11px;
    height: 34px;
    flex: 0 0 11px;
    border-radius: 8px;
}

.monitoring-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.monitoring-overview-stat {
    display: grid;
    min-width: 0;
    gap: 3px;
    padding: 10px 11px;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    background: #f7faff;
}

.monitoring-overview-stat strong {
    overflow: hidden;
    color: #174d80;
    font-size: 1.05rem;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.monitoring-overview-stat span {
    color: #78899a;
    font-size: 0.7rem;
    line-height: 1.35;
}

.monitoring-overview-chart {
    position: relative;
    min-height: 170px;
}

.monitoring-overview-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 13px;
    border-top: 1px solid #edf1f6;
}

.monitoring-overview-card-footer > span {
    color: #718296;
    font-size: 0.77rem;
}

.monitoring-overview-open {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #cce0f3;
    border-radius: 9px;
    background: #eff7ff;
    color: #075da8;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 750;
    cursor: pointer;
    white-space: nowrap;
}

.monitoring-overview-open:hover,
.monitoring-overview-open:focus-visible {
    border-color: #075da8;
    background: #075da8;
    color: #fff;
    outline: none;
}

.monitoring-overview-back {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px 13px;
    border: 1px solid #cce0f3;
    border-radius: 9px;
    background: #eff7ff;
    color: #075da8;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.monitoring-overview-back[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .monitoring-overview-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .monitoring-overview-year {
        width: 100%;
    }

    .monitoring-overview-card {
        padding: 17px;
    }

    .monitoring-overview-stats {
        gap: 6px;
    }

    .monitoring-overview-stat {
        padding: 9px 8px;
    }

    .monitoring-overview-stat span {
        font-size: 0.65rem;
    }

    .monitoring-overview-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.monitoring-overview-heading {
    display: block;
    margin-bottom: 22px;
}
