:root {
    --pmts-sidebar-width: 256px;
    --pmts-sidebar-collapsed-width: 76px;
    --pmts-topbar-height: 68px;
    --pmts-bg: #f4f1f0;
    --pmts-surface: #ffffff;
    --pmts-sidebar-start: #ffffff;
    --pmts-sidebar-end: #fbf7f6;
    --pmts-accent: #17b47b;
    --pmts-accent-2: #0d6efd;
    --pmts-border: #ebe4e1;
    --pmts-text: #1f2937;
}

body {
    font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--pmts-bg);
    color: var(--pmts-text);
}

.pmts-sidebar {
    width: var(--pmts-sidebar-width);
    height: calc(100vh - var(--pmts-topbar-height));
    position: fixed;
    top: var(--pmts-topbar-height);
    left: 0;
    z-index: 1020;
    background: var(--pmts-sidebar-start);
    border-right: 1px solid var(--pmts-border);
    padding: 1.25rem 0.85rem;
    overflow-y: auto;
    overflow-x: visible;
    flex-shrink: 0;
}

.pmts-shell.is-sidebar-collapsed .pmts-sidebar {
    width: var(--pmts-sidebar-collapsed-width);
}

.pmts-shell.is-sidebar-collapsed .pmts-nav-group-label,
.pmts-shell.is-sidebar-collapsed .pmts-nav-main-text,
.pmts-shell.is-sidebar-collapsed .pmts-nav-children {
    display: none !important;
}

.pmts-shell.is-sidebar-collapsed .pmts-nav-main-link,
.pmts-shell.is-sidebar-collapsed .pmts-nav-toggle {
    justify-content: center;
}

.pmts-shell.is-sidebar-collapsed .pmts-nav-main-link {
    padding-inline: 0;
}

.pmts-shell.is-sidebar-collapsed .pmts-nav-main-link .pmts-nav-icon {
    margin: 0;
}

.pmts-shell.is-sidebar-collapsed .pmts-nav-item.has-children {
    align-items: center;
    flex-wrap: nowrap;
}

.pmts-shell.is-sidebar-collapsed .pmts-nav-toggle {
    margin-top: 0;
}

main.pmts-content {
    flex: 1;
    min-width: 0;
    width: calc(100% - var(--pmts-sidebar-width));
    margin-left: var(--pmts-sidebar-width);
    transition: margin-left 0.18s ease;
}

.pmts-shell.is-sidebar-collapsed main.pmts-content {
    width: calc(100% - var(--pmts-sidebar-collapsed-width));
    margin-left: var(--pmts-sidebar-collapsed-width);
}

.pmts-shell {
    position: relative;
}

.pmts-nav {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.pmts-nav-group-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9aa0a6;
    padding: 0 0.6rem 0.5rem;
    white-space: nowrap;
}

.pmts-nav-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pmts-nav-item.has-children {
    align-items: flex-start;
    flex-wrap: wrap;
}

.pmts-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #5f6168;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.2rem;
    transition: all 0.18s ease;
    border: 1px solid transparent;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.pmts-nav-child {
    font-size: 0.95rem;
}

.pmts-nav-children .pmts-nav-child {
    margin-left: 0;
    width: calc(100% - 0.25rem);
    justify-content: flex-start;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
}

.pmts-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.pmts-nav-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pmts-nav-link:hover {
    color: #0f172a;
    background: #f2f7f5;
    border-color: #e0ebe6;
}

.pmts-nav-link.active {
    color: #fff;
    background: var(--pmts-accent);
    box-shadow: 0 6px 16px rgba(23, 180, 123, 0.28);
}

.pmts-nav-toggle {
    border: 0;
    background: transparent;
    color: #7a7d84;
    border-radius: 10px;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

.pmts-nav-toggle:hover {
    color: #0f172a;
    background: #f2f7f5;
}

.pmts-nav-toggle i {
    transition: transform 0.18s ease;
}

.pmts-nav-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.pmts-nav-children {
    width: 100%;
    margin: 0.25rem 0 0.1rem 1.55rem;
    padding: 0.45rem 0 0.1rem 0.9rem;
    border-left: 1px solid #e5efe9;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: static;
    background: transparent;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
}

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

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Collapse to icon-only rail on narrow/tablet viewports */
@media (max-width: 991.98px) {
    .pmts-sidebar {
        width: var(--pmts-sidebar-collapsed-width);
        height: calc(100vh - var(--pmts-topbar-height));
        position: fixed;
        top: var(--pmts-topbar-height);
        padding: 1rem 0.4rem;
        overflow-x: visible;
    }

    .pmts-nav-group-label {
        display: none;
    }

    .pmts-nav-main-link {
        justify-content: center;
        padding: 0.65rem 0;
    }

    .pmts-nav-main-text {
        display: none;
    }

    .d-flex.min-vh-100.pmts-shell {
        flex-direction: row;
    }

    main.pmts-content,
    .pmts-shell.is-sidebar-collapsed main.pmts-content {
        width: calc(100% - var(--pmts-sidebar-collapsed-width));
        margin-left: var(--pmts-sidebar-collapsed-width);
    }
}

.badge-status {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.badge-status-approved {
    color: #0b7a4b;
    background: #d7f7e6;
}

.badge-status-pending {
    color: #92650a;
    background: #fdecc8;
}

.badge-status-draft {
    color: #4b5563;
    background: #eceef1;
}

.badge-status-rejected {
    color: #b42318;
    background: #fbe0de;
}

.badge-stage {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #1d4ed8;
    background: #e3ecfe;
}

.pmts-action-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0;
}

.pmts-action-btn::after {
    display: none;
}

.pmts-inline-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

.pmts-inline-actions .btn {
    min-width: 78px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 7px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.pmts-btn-view {
    color: #075985;
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.pmts-btn-view:hover,
.pmts-btn-view:focus {
    color: #0c4a6e;
    background: #bae6fd;
    border-color: #38bdf8;
}

.pmts-btn-process {
    color: #166534;
    background: #dcfce7;
    border-color: #86efac;
}

.pmts-btn-process:hover,
.pmts-btn-process:focus {
    color: #14532d;
    background: #bbf7d0;
    border-color: #4ade80;
}

.pmts-btn-download {
    color: #92400e;
    background: #fef3c7;
    border-color: #fcd34d;
}

.pmts-btn-download:hover,
.pmts-btn-download:focus {
    color: #78350f;
    background: #fde68a;
    border-color: #f59e0b;
}

.pmts-btn-edit {
    color: #5b21b6;
    background: #ede9fe;
    border-color: #c4b5fd;
}

.pmts-btn-edit:hover,
.pmts-btn-edit:focus {
    color: #4c1d95;
    background: #ddd6fe;
    border-color: #a78bfa;
}

.pmts-flash-wrap {
    width: 100%;
}

.pmts-flash-banner {
    border-radius: 10px;
    padding: 0.95rem 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
}

.pmts-flash-banner.alert-success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.pmts-flash-banner.alert-danger {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.card {
    border-radius: 14px;
}

.card.shadow-sm {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
}

.table {
    color: #1f2937;
    background: #fff;
}

.table thead th {
    color: #7b7c80;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom-width: 1px;
}

.nav-tabs .nav-link {
    border-radius: 14px 14px 0 0;
}

.pmts-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--pmts-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.pmts-topbar .topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pmts-topbar .topbar-title {
    font-size: 0.85rem;
    color: #4b5563;
}

.pmts-topbar .topbar-subtitle {
    font-size: 0.72rem;
    color: #7b7c80;
}

.pmts-user-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid var(--pmts-border);
}

.pmts-notification-btn {
    position: relative;
    width: 34px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.pmts-notification-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 18px;
    border: 2px solid #fff;
}

.pmts-notification-menu {
    width: min(360px, calc(100vw - 2rem));
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--pmts-border);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.pmts-notification-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--pmts-border);
    background: #f8fafc;
}

.pmts-notification-item {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.8rem 1rem;
    white-space: normal;
    border-bottom: 1px solid #eef2f7;
}

.pmts-notification-item:last-child {
    border-bottom: 0;
}

.pmts-notification-title {
    font-weight: 800;
    color: #111827;
}

.pmts-notification-stage {
    color: #0b7a4b;
    font-size: 0.78rem;
    font-weight: 700;
}

.pmts-notification-purpose,
.pmts-notification-time {
    color: #6b7280;
    font-size: 0.78rem;
}

.pmts-flash-region {
    padding: 1rem 1.5rem 0 calc(var(--pmts-sidebar-collapsed-width) + 1.5rem);
}

.pmts-shell:not(.is-sidebar-collapsed) .pmts-flash-region {
    padding-left: calc(var(--pmts-sidebar-width) + 1.5rem);
}

.pmts-quick-nav-panel {
    padding: 1rem 1.5rem 0 calc(var(--pmts-sidebar-collapsed-width) + 1.5rem);
    border-bottom: 1px solid rgba(235, 228, 225, 0.8);
    background: rgba(248, 250, 252, 0.7);
}

.pmts-shell:not(.is-sidebar-collapsed) .pmts-quick-nav-panel {
    padding-left: calc(var(--pmts-sidebar-width) + 1.5rem);
}

.pmts-quick-nav-panel[hidden] {
    display: none !important;
}

.workflow-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 100%;
}

.pmts-quick-nav-panel .workflow-tabs {
    padding-bottom: 1rem;
}

.workflow-tabs .workflow-tab {
    border: 0;
    border-radius: 9px;
    padding: 0.65rem 1rem;
    background: #daf7e9;
    color: #174f3e;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(23, 180, 123, 0.14);
}

.workflow-tabs .workflow-tab.is-active {
    background: #16b57c;
    color: #fff;
}

@media (max-width: 991.98px) {
    .pmts-shell:not(.is-sidebar-collapsed) .pmts-flash-region,
    .pmts-flash-region {
        padding-left: calc(var(--pmts-sidebar-collapsed-width) + 0.75rem);
        padding-right: 0.75rem;
    }

    .pmts-shell:not(.is-sidebar-collapsed) .pmts-quick-nav-panel,
    .pmts-quick-nav-panel {
        padding-left: calc(var(--pmts-sidebar-collapsed-width) + 0.75rem);
        padding-right: 0.75rem;
    }
}

.pmts-section-card {
    background: var(--pmts-surface);
    border: 1px solid var(--pmts-border);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.pr-create-landing {
    max-width: 980px;
    margin-inline: auto;
}

.pr-create-heading {
    max-width: 720px;
}

.pr-request-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem 1.65rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.pr-request-card h2 {
    min-height: 87px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem !important;
}

.pr-request-card p {
    min-height: 132px;
    margin-bottom: 1.25rem !important;
}

.pr-request-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.55rem;
}

.pr-request-icon-blue {
    color: #246bff;
    background: #dce8ff;
}

.pr-request-icon-green {
    color: #0ea66b;
    background: #d8f6e8;
}

.pr-request-icon-purple {
    color: #a21cff;
    background: #eadcff;
}

.pr-request-icon-amber {
    color: #b45309;
    background: #fef3c7;
}

.pr-request-btn {
    min-height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    font-weight: 700;
    border-radius: 10px;
    border: 0;
    padding: 0.9rem 1rem;
    white-space: normal;
    line-height: 1.25;
}

.pr-request-btn-blue {
    background: #2563eb;
    color: #fff;
}

.pr-request-btn-blue:hover {
    background: #1d4ed8;
    color: #fff;
}

.pr-request-btn-green {
    background: #0e9f6e;
    color: #fff;
}

.pr-request-btn-green:hover {
    background: #0b8a5f;
    color: #fff;
}

.pr-request-btn-purple {
    background: #a21cff;
    color: #fff;
}

.pr-request-btn-purple:hover {
    background: #8b16d9;
    color: #fff;
}

.pr-request-btn-amber {
    background: #d97706;
    color: #fff;
}

.pr-request-btn-amber:hover {
    background: #b45309;
    color: #fff;
}

@media (max-width: 767.98px) {
    .pr-request-card h2,
    .pr-request-card p {
        min-height: 0;
    }
}

.pr-form-shell {
    overflow: hidden;
}

.pr-form-panel {
    border: 1px solid #dbe5f5;
    border-radius: 16px;
    padding: 1.15rem;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 1)),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 28%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pr-panel-kicker {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    margin-bottom: 0.35rem;
}

.pr-search-input {
    padding-right: 2.4rem;
    min-height: 48px;
}

.pr-input-icon {
    position: absolute;
    right: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.pr-list-card {
    border: 1px solid #dbe5f5;
    border-radius: 14px;
    padding: 0.9rem;
    background: #fff;
}

.pr-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pr-chip {
    border: 1px solid #cfe0ff;
    background: #f3f7ff;
    color: #1741a6;
    border-radius: 999px;
    padding: 0.42rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.18s ease;
}

.pr-chip:hover {
    background: #e7efff;
    border-color: #9fbaff;
    transform: translateY(-1px);
}

.pr-chip.is-selected {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.pr-chip-category {
    color: #0f766e;
    background: #effdfa;
    border-color: #b9efe2;
}

.pr-chip-category:hover {
    background: #e0fbf5;
    border-color: #8ee7d4;
}

.pr-chip-supplier {
    color: #075985;
    background: #f0f9ff;
    border-color: #bae6fd;
}

.pr-chip-supplier:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.pmts-hero {
    background: linear-gradient(135deg, #077c57, #0b7d52);
    color: #fff;
    border-radius: 12px;
    min-height: 168px;
}

.pmts-stage-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    margin-right: 0.4rem;
}

.pmts-muted-card {
    background: linear-gradient(180deg, #f5fbff, #edf7ff);
    border-left: 4px solid #b35bf3;
}

.pmts-table-wrap {
    overflow: auto;
    border-radius: 14px;
}

.pmts-code-cell {
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.86rem;
}

@media (max-width: 991.98px) {
    .pmts-topbar {
        position: sticky;
        flex-wrap: wrap;
    }
}

.public-tracking-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 15%, rgba(22, 163, 74, 0.32), transparent 30%),
        linear-gradient(135deg, #003923 0%, #006747 48%, #00341f 100%);
    color: #102033;
}

.public-deped-header {
    min-height: 92px;
    padding: 0.75rem clamp(1rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #f7f7f8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    position: sticky;
    top: 0;
    z-index: 10;
}

.public-seal-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.public-header-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.public-header-logo-sdo {
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.public-header-logo-bagong {
    width: 58px;
    height: 58px;
}

.public-header-logo-transparency {
    width: 56px;
    height: 56px;
}

.public-transparency-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.public-transparency-link:hover,
.public-transparency-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.5);
    outline: none;
}

.public-seal {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #08734f;
    font-size: 0.75rem;
    font-weight: 900;
    background: radial-gradient(circle, #ffffff 42%, #e5f6d7 43%, #1f8d63 100%);
    border: 2px solid #d9dee8;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.public-seal-flag {
    color: #1d4ed8;
    background: linear-gradient(135deg, #2563eb 0 45%, #facc15 46% 58%, #ef4444 59%);
}

.public-agency-copy {
    line-height: 1.05;
    margin-right: auto;
}

.public-country {
    color: #08734f;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.public-agency {
    color: #111827;
    font-weight: 950;
    font-size: clamp(1.05rem, 2.1vw, 1.55rem);
    text-transform: uppercase;
}

.public-division {
    color: #08734f;
    font-weight: 900;
    font-size: 0.86rem;
    text-transform: uppercase;
}

.public-clock-wrap {
    text-align: right;
    color: #0f172a;
    line-height: 1;
}

.public-clock {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 950;
    letter-spacing: 0.02em;
}

.public-date {
    margin-top: 0.35rem;
    color: #078553;
    font-size: 0.76rem;
    font-weight: 900;
}

.public-dashboard-button {
    text-decoration: none;
    color: #fff;
    background: #007f57;
    border-radius: 8px;
    padding: 0.95rem 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(0, 90, 55, 0.22);
}

.public-green-shell {
    width: min(1400px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(95, 154, 29, 0.74), rgba(0, 129, 86, 0.76)),
        radial-gradient(circle at 20% 55%, rgba(255, 255, 255, 0.22), transparent 32%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.public-hero h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.public-hero p {
    margin: 1rem 0 0;
    text-align: center;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.public-law-card {
    padding: 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    color: #f8fffb;
    line-height: 1.65;
    font-weight: 600;
}

.public-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.public-stat-card {
    min-height: 142px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.85rem;
    padding: 1.25rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.public-stat-card strong {
    grid-column: 1 / -1;
    justify-self: end;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    font-weight: 950;
}

.public-stat-icon,
.public-panel-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, #8fd40a, #00b986);
    box-shadow: 0 8px 18px rgba(0, 150, 93, 0.25);
}

.public-stat-title {
    font-size: 1.15rem;
    font-weight: 950;
}

.public-stat-subtitle,
.public-panel-heading p {
    color: #667085;
    font-size: 0.85rem;
}

.public-chart-grid {
    display: grid;
    grid-template-columns: 0.95fr 2fr;
    gap: 1.5rem;
}

.public-panel,
.public-search-card,
.public-table-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.public-panel {
    padding: 1.4rem;
}

.public-panel-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.public-panel-heading h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 950;
}

.public-panel-heading p {
    margin: 0.15rem 0 0;
}

.public-chart-box {
    height: 330px;
}

.public-chart-wide {
    height: 380px;
}

.public-tracker-section {
    margin-top: 2rem;
}

.public-search-card {
    width: min(760px, 100%);
    margin: 0 auto 1.5rem;
    padding: 1rem;
}

.public-search-card input {
    width: 100%;
    border: 1px solid #a8ecd7;
    border-radius: 8px;
    background: #effdf6;
    padding: 1rem 1.1rem;
    color: #07563d;
    font-size: 1rem;
    outline: none;
}

.public-stage-tabs {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 auto 1.5rem;
    padding: 0.45rem;
    border-radius: 8px;
    background: #d7ffeb;
    overflow-x: auto;
    overflow-y: visible;
}

.public-stage-tab {
    border: 0;
    border-radius: 7px;
    padding: 0.85rem 1rem;
    color: #08734f;
    background: #ffffff;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(7, 149, 103, 0.08);
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.public-stage-tab.is-active {
    color: #fff;
    background: #079567;
}

.public-stage-tab:hover:not(.is-active) {
    background: #f2fbf7;
    transform: translateY(-1px);
}

.public-disbursement-group {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    flex: 0 0 auto;
}

.public-disbursement-toggle {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  padding-right: 2rem;
}

.public-disbursement-toggle::after {
    content: '';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.18s ease;
}

.public-disbursement-toggle.is-open::after {
    transform: translateY(-40%) rotate(225deg);
}

.public-disbursement-panel {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.2rem 0.45rem;
    border-left: 1px solid rgba(7, 147, 103, 0.15);
    background: #d7ffeb;
    box-shadow: none;
    border-radius: 0 7px 7px 0;
    animation: disbursement-swipe-in 0.18s ease-out;
}

.public-disbursement-panel[hidden] {
    display: none;
}

.public-stage-subtab {
    border: 1px solid rgba(7, 149, 103, 0.18);
    border-radius: 7px;
    padding: 0.85rem 1rem;
    color: #08734f;
    background: transparent;
    font-weight: 900;
    white-space: nowrap;
}

.public-stage-subtab:hover,
.public-stage-subtab:focus {
    background: rgba(255, 255, 255, 0.45);
}

.public-stage-subtab span {
    margin-left: 0.45rem;
}

.public-stage-tab span,
.public-table-title span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    margin-left: 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.public-table-card {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.public-table-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: #fff;
    background: #009d6c;
}

.public-table-title h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 950;
}

.public-table-scroll {
    overflow: auto;
    max-height: 330px;
}

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

.public-data-table th,
.public-data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5efe9;
    vertical-align: middle;
}

.public-data-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #07704e;
    background: #eafff5;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.public-data-table td {
    color: #213547;
    font-size: 0.92rem;
}

.public-empty-row td {
    padding: 3rem 1rem;
    text-align: center;
    color: #94a3b8;
}

.public-phase-map {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    min-width: 280px;
}

.public-phase-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #d8e7df;
    background: #f8fbf9;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.public-phase-step.is-done {
    background: #dbfce7;
    border-color: #86efac;
    color: #166534;
}

.public-phase-step.is-current {
    background: #0f9d6a;
    border-color: #0f9d6a;
    color: #fff;
}

.public-phase-step.is-upcoming {
    opacity: 0.72;
}

.public-phase-divider {
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: #cbd5e1;
}

@keyframes disbursement-swipe-in {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.public-stage-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: #e9f8f1;
    color: #0f7f58;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid #b8ead4;
}

.public-stage-pill-link:hover {
    background: #0f9d6a;
    color: #fff;
}

@media (max-width: 1100px) {
    .public-summary-grid,
    .public-chart-grid,
    .public-hero {
        grid-template-columns: 1fr 1fr;
    }

    .public-chart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .public-deped-header {
        position: relative;
        flex-wrap: wrap;
    }

    .public-clock-wrap {
        text-align: left;
    }

    .public-summary-grid,
    .public-hero {
        grid-template-columns: 1fr;
    }

    .public-dashboard-button {
        width: 100%;
        text-align: center;
    }
}

.public-tracking-page {
    min-height: 100vh;
    background: #eef7ff;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
}

.public-green-shell {
    width: min(1480px, calc(100% - 1rem));
    margin: 0 auto;
    padding: 0.65rem 0 1.5rem;
}

.public-monitor-board {
    border-bottom: 7px solid #047857;
    background: #e8f6ff;
    box-shadow: 0 1px 0 #cbd5e1;
}

.public-monitor-header {
    display: grid;
    grid-template-columns: minmax(170px, auto) minmax(280px, 1fr) auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
}

.public-monitor-title {
    min-width: 0;
}

.public-monitor-title h1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0.4rem 1.8rem;
    border-radius: 8px;
    background: #047857;
    color: #ffffff;
    font-size: clamp(1.05rem, 1.75vw, 1.75rem);
    font-weight: 950;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.public-monitor-rule {
    position: relative;
    height: 8px;
    margin-top: 0.35rem;
    background: #10b981;
}

.public-monitor-rule::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 18px;
    height: 18px;
    background: #10b981;
    transform: rotate(45deg);
}

.public-clock-wrap {
    min-width: 142px;
    padding: 0.55rem 0.8rem;
    border: 2px solid #34d399;
    background: #ffffff;
    text-align: center;
    color: #047857;
}

.public-clock {
    font-size: 1.15rem;
    font-weight: 950;
    letter-spacing: 0;
}

.public-date {
    margin-top: 0.2rem;
    color: #059669;
    font-size: 0.72rem;
    font-weight: 900;
}

.public-dashboard-button {
    border-radius: 4px;
    background: #047857;
    color: #ffffff;
    padding: 0.72rem 1rem;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
}

.public-monitor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 0.9rem;
    padding: 0 0.75rem 0.9rem;
}

.public-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
}

.public-stat-card {
    min-height: 86px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border-left: 8px solid rgba(220, 252, 231, 0.7);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(6, 95, 70, 0.18);
}

.public-stat-card strong {
    grid-column: 2;
    justify-self: start;
    min-width: 86px;
    max-width: 100%;
    font-size: clamp(1.25rem, 1.75vw, 1.85rem);
    line-height: 1;
    font-weight: 950;
    text-align: left;
    overflow-wrap: anywhere;
    white-space: normal;
}

.public-stat-wide {
    grid-column: span 2;
}

.public-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(220, 252, 231, 0.72);
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.28), rgba(255, 255, 255, 0.08));
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: inset 0 0 18px rgba(220, 252, 231, 0.18), 0 0 18px rgba(34, 197, 94, 0.22);
}

.public-stat-title {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.public-stat-subtitle {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.66rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.public-stat-primary {
    background: linear-gradient(135deg, #064e3b, #059669);
}

.public-stat-green {
    background: linear-gradient(135deg, #047857, #22c55e);
}

.public-stat-gold {
    background: linear-gradient(135deg, #166534, #84cc16);
    color: #ffffff;
}

.public-stat-gold .public-stat-title,
.public-stat-gold .public-stat-subtitle {
    color: #ffffff;
}

.public-stat-cyan {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.public-stat-red {
    background: linear-gradient(135deg, #14532d, #16a34a);
}

.public-filter-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}

.public-search-card {
    grid-row: span 2;
    display: grid;
    align-content: center;
    min-height: 88px;
    margin: 0;
    padding: 0.65rem;
    border: 1px solid rgba(16, 185, 129, 0.48);
    border-radius: 6px;
    background: #dff5fb;
    box-shadow: none;
}

.public-search-card label {
    margin-bottom: 0.35rem;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.public-search-card input,
.public-filter-select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(16, 185, 129, 0.62);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 1));
    color: #064e3b;
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 850;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(187, 247, 208, 0.45), 0 8px 18px rgba(6, 95, 70, 0.08);
}

.public-tracker-section {
    margin-top: 0.9rem;
}

.public-stage-tabs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
    padding: 0.35rem;
    border: 1px solid rgba(20, 184, 166, 0.45);
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(236, 253, 245, 0.92), rgba(240, 253, 250, 0.92)),
        repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0 1px, transparent 1px 18px);
    overflow-x: auto;
    overflow-y: visible;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.12);
}

.public-stage-tab,
.public-stage-subtab {
    border: 0;
    border-radius: 5px;
    padding: 0.55rem 0.75rem;
    color: #ffffff;
    background: linear-gradient(135deg, #059669, #047857);
    font-size: 0.78rem;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 8px 16px rgba(4, 120, 87, 0.16);
}

.public-stage-tab.is-active {
    background: linear-gradient(135deg, #84cc16, #16a34a);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(220, 252, 231, 0.65), 0 0 22px rgba(132, 204, 22, 0.28);
}

.public-stage-tab:hover:not(.is-active),
.public-stage-subtab:hover,
.public-stage-subtab:focus {
    background: linear-gradient(135deg, #065f46, #047857);
    transform: none;
}

.public-disbursement-panel {
    gap: 0.25rem;
    padding: 0 0.25rem;
    border-left: 0;
    border-radius: 5px;
    background: rgba(236, 253, 245, 0.98);
}

.public-stage-tab span,
.public-table-title span {
    min-width: 20px;
    height: 20px;
    margin-left: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    font-size: 0.7rem;
}

.public-table-card {
    margin-bottom: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(6, 78, 59, 0.12);
}

.public-table-title {
    margin: 0.35rem 0.55rem 0;
    padding: 0.42rem 0.8rem;
    border-radius: 5px;
    background:
        linear-gradient(135deg, #047857, #10b981),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px);
    color: #ffffff;
}

.public-table-card:nth-of-type(2n) .public-table-title {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.public-table-card:nth-of-type(3n) .public-table-title {
    background: linear-gradient(135deg, #166534, #84cc16);
    color: #ffffff;
}

.public-table-title h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 950;
}

.public-table-scroll {
    margin: 0.45rem;
    overflow: auto;
    max-height: 360px;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
}

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

.public-data-table th,
.public-data-table td {
    padding: 0.48rem 0.62rem;
    border-right: 1px solid #d8e1eb;
    border-bottom: 1px solid #d8e1eb;
    vertical-align: top;
}

.public-data-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #dcfce7;
    color: #064e3b;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: none;
}

.public-table-card:nth-of-type(2n) .public-data-table th {
    background: #ccfbf1;
}

.public-table-card:nth-of-type(3n) .public-data-table th {
    background: #ecfccb;
}

.public-data-table td {
    color: #111827;
    font-size: 0.77rem;
    line-height: 1.18;
}

.public-data-table tbody tr:nth-child(odd) td {
    background: #f0fdf4;
}

.public-data-table tbody tr:nth-child(even) td {
    background: #ffffff;
}

.public-empty-row td {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #64748b;
}

.public-phase-map {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    min-width: 260px;
}

.public-phase-step {
    padding: 0.26rem 0.42rem;
    border-radius: 4px;
    border: 1px solid #c5cad5;
    background: #ffffff;
    color: #475569;
    font-size: 0.64rem;
    font-weight: 850;
    white-space: nowrap;
}

.public-phase-step.is-done {
    background: #c5f1cd;
    border-color: #64c779;
    color: #135923;
}

.public-phase-step.is-current {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

.public-phase-divider {
    width: 8px;
    height: 2px;
    background: #a0aec0;
}

@media (max-width: 1180px) {
    .public-monitor-grid,
    .public-monitor-header {
        grid-template-columns: 1fr;
    }

    .public-monitor-header {
        justify-items: start;
    }

    .public-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-filter-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .public-green-shell {
        width: min(100% - 0.5rem, 1480px);
    }

    .public-monitor-title h1 {
        width: 100%;
        padding: 0.55rem 0.75rem;
        font-size: 1rem;
    }

    .public-summary-grid,
    .public-filter-panel {
        grid-template-columns: 1fr;
    }

    .public-stat-wide {
        grid-column: auto;
    }

    .public-stat-card {
        grid-template-columns: 52px 1fr;
    }

    .public-stat-card strong {
        grid-column: 1 / -1;
    }
}

.pmts-guest-shell {
    min-height: 100vh;
}

.pmts-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    background: #003b2a;
}

.pmts-auth-visual {
    position: relative;
    padding: clamp(0.85rem, 2.5vw, 1.5rem);
    background:
        linear-gradient(180deg, rgba(4, 10, 16, 0.35), rgba(4, 10, 16, 0.58)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 32%),
        linear-gradient(135deg, #18201f 0%, #0d1415 100%);
    overflow: hidden;
}

.pmts-auth-brand {
    position: absolute;
    z-index: 2;
    top: clamp(0.95rem, 2vw, 1.4rem);
    left: clamp(0.95rem, 2vw, 1.4rem);
    display: flex;
    align-items: center;
    gap: 0.95rem;
    color: #fff;
    max-width: min(92%, 700px);
}

.pmts-auth-brand-mark {
    width: 84px;
    height: 84px;
    flex: 0 0 auto;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.pmts-auth-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pmts-auth-brand-title {
    font-size: clamp(2.35rem, 4vw, 3.65rem);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.pmts-auth-brand-subtitle {
    font-size: clamp(0.95rem, 1.7vw, 1.15rem);
    color: rgba(255, 255, 255, 0.95);
}

.pmts-auth-gallery {
    position: absolute;
    inset: 0;
    padding: clamp(5.9rem, 8.7vw, 8rem) clamp(0.85rem, 2.15vw, 1.4rem) clamp(0.85rem, 2.15vw, 1.4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    z-index: 1;
}

.pmts-auth-gallery-tile {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.pmts-auth-gallery-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    animation: none;
    transform: none;
    display: block;
}

.pmts-auth-gallery-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 18, 15, 0.08), rgba(6, 18, 15, 0.34));
    z-index: 1;
    pointer-events: none;
}

.pmts-auth-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 8, 14, 0.16), rgba(2, 8, 14, 0.42)),
        linear-gradient(135deg, rgba(0, 59, 42, 0.08), rgba(0, 82, 58, 0.16));
    pointer-events: none;
    z-index: 0;
}

.pmts-auth-panel {
    background: #00523a;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 2.8vw, 1.8rem);
}

.pmts-auth-card {
    width: min(445px, 100%);
    background: #eef2f1;
    border-radius: 10px;
    padding: clamp(1.7rem, 2.6vw, 2.1rem);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.pmts-auth-card-register {
    width: min(470px, 100%);
}

.pmts-auth-title {
    font-size: clamp(1.85rem, 2.8vw, 2.5rem);
    font-weight: 900;
    color: #15324d;
}

.pmts-auth-subtitle {
    color: #5f6f7f;
}

.pmts-auth-label {
    color: #243847;
    font-weight: 700;
}

.pmts-auth-input {
    border-radius: 6px;
    min-height: 48px;
    border: 1px solid #d8dde3;
    background: #fff;
}

.pmts-auth-input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.16);
}

.pmts-auth-signin {
    min-height: 52px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 800;
    background: #f6b800;
    box-shadow: 0 10px 20px rgba(246, 184, 0, 0.28);
}

.pmts-auth-signin:hover {
    background: #e5a900;
    color: #fff;
}

.pmts-auth-links {
    display: grid;
    gap: 0.9rem;
    text-align: center;
    font-size: 0.95rem;
}

.pmts-auth-links a {
    color: #00935d;
    text-decoration: none;
    font-weight: 700;
}

.pmts-auth-return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1.25rem;
    color: #d1d5db;
    text-decoration: none;
}

.pmts-auth-return:hover {
    color: #ffffff;
}

.settings-page {
    max-width: 1180px;
}

.settings-page-title {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 900;
    color: #15253a;
}

.settings-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.settings-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(180deg, #0ea36b, #0a9966);
    color: #fff;
    padding: 1rem 1.25rem;
    font-weight: 800;
}

.settings-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
}

.settings-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    font-weight: 800;
}

.settings-profile-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 1.2rem;
    align-items: center;
    padding: 1.35rem 1.25rem;
}

.settings-avatar,
.settings-row-avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #0b8c60;
    background: #d4f5e7;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.settings-row-avatar {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

.settings-profile-name {
    font-size: 1.3rem;
    font-weight: 900;
    color: #15253a;
}

.settings-profile-meta {
    display: grid;
    gap: 0.6rem;
    color: #344256;
}

.settings-table thead th {
    background: #f8fbfa;
    color: #5f6f7f;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.settings-table td,
.settings-table th {
    padding: 0.95rem 1.1rem;
}

.settings-add-btn {
    background: #f3fbf7;
    border: 0;
    color: #0a8b5f;
    font-weight: 800;
}

.settings-add-btn:hover {
    background: #e7f8ef;
    color: #08704d;
}

.settings-edit-btn {
    font-size: 1.1rem;
    text-decoration: none;
}

.settings-modal {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.settings-modal-header {
    background: linear-gradient(180deg, #0ea36b, #0a9966);
    border-bottom: 0;
}

.public-savings-section {
    width: min(1100px, calc(100% - 1.5rem));
    margin: 0.9rem auto;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    padding: 0.85rem;
}

.public-savings-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.7rem;
    margin-bottom: 0.8rem;
}

.public-savings-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 950;
}

.public-savings-header p {
    max-width: 760px;
    margin: 0.25rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.public-savings-total {
    flex: 0 0 auto;
    min-width: 210px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    padding: 0.65rem 0.85rem;
    text-align: right;
}

.public-savings-total span {
    display: block;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.public-savings-total strong {
    display: block;
    margin-top: 0.2rem;
    color: #064e3b;
    font-size: 1.2rem;
    font-weight: 950;
}

.public-savings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: stretch;
}

.public-savings-mini-chart {
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
}

.public-savings-bar {
    display: flex;
    width: 100%;
    height: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.public-savings-bar-award {
    background: #2563eb;
}

.public-savings-bar-save {
    background: #f59e0b;
}

.public-savings-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.55rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
}

.public-savings-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.public-savings-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
}

.public-savings-dot-award {
    background: #2563eb;
}

.public-savings-dot-save {
    background: #f59e0b;
}

.public-savings-breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: center;
    gap: 0.55rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
}

.public-savings-row {
    display: grid;
    align-content: center;
    gap: 1rem;
    min-height: 76px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.65rem;
}

.public-savings-row span {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
}

.public-savings-row strong {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 950;
    text-align: left;
}

.public-savings-row.is-highlight {
    border-bottom: 0;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 0.65rem;
}

.public-savings-row.is-highlight span,
.public-savings-row.is-highlight strong {
    color: #92400e;
}

.public-savings-note {
    grid-column: 1 / -1;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.45;
}

.public-amount-flow-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 1.25rem;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #fff;
    padding: 1.15rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.public-amount-flow-list {
    display: grid;
    gap: 0.85rem;
}

.public-amount-flow-item {
    display: grid;
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    padding: 0.85rem;
}

.public-amount-flow-head {
    min-width: 0;
}

.public-amount-flow-head strong,
.public-amount-flow-head span {
    display: block;
}

.public-amount-flow-head strong {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
}

.public-amount-flow-head span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-amount-flow-bars {
    display: grid;
    gap: 0.5rem;
}

.public-finance-total-bars {
    display: grid;
    gap: 0.7rem;
}

.public-amount-flow-row {
    display: grid;
    grid-template-columns: 86px minmax(110px, 1fr) 132px;
    gap: 0.65rem;
    align-items: center;
}

.public-amount-flow-row span,
.public-amount-flow-row strong {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
}

.public-amount-flow-row strong {
    text-align: right;
}

.public-amount-flow-row i {
    display: block;
    height: 0.62rem;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.public-amount-flow-row b {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.public-amount-flow-row b.is-abc {
    background: #2563eb;
}

.public-amount-flow-row b.is-obligated {
    background: #0f766e;
}

.public-amount-flow-row b.is-disbursed {
    background: #d97706;
}

.public-amount-flow-row b.is-savings {
    background: #16a34a;
}

@media (max-width: 1200px) {
    .pmts-auth-shell {
        grid-template-columns: 1fr;
    }

    .pmts-auth-visual {
        min-height: 420px;
    }

    .pmts-auth-gallery {
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .public-amount-flow-item,
    .public-amount-flow-row {
        grid-template-columns: 1fr;
    }

    .public-amount-flow-row {
        gap: 0.35rem;
    }

    .public-amount-flow-row strong {
        text-align: left;
    }

    .pmts-auth-brand {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 1rem;
    }

    .pmts-auth-brand-mark {
        width: 68px;
        height: 68px;
    }

    .pmts-auth-gallery {
        padding-top: 5.75rem;
    }

    .pmts-auth-visual {
        padding-bottom: 1.25rem;
    }

    .settings-profile-body {
        grid-template-columns: 1fr;
    }

    .public-savings-header,
    .public-savings-grid {
        grid-template-columns: 1fr;
    }

    .public-savings-header {
        display: grid;
    }

    .public-savings-total {
        min-width: 0;
        text-align: left;
    }
}
