/* ==========================================================================
   SATRIA INFRA Public Portal — JDIH Kemenko Infrastruktur P3MK Design System
   Ground: #FFFFFF | Breadcrumb Bar: #EAEAEA | Cool Tint: #F5F7FA / #EEF2F8
   JDIH Indigo Filter: #353587 | JDIH Cyan CTA: #4CBED3 | Steel Table: #468AB6 -> #3F71A6
   JDIH Mobile Drawer: #052460 | Archival Indigo Footer: #14143A
   Detail Sheet Navy: #123060 | Muted Crimson (#9E2A2B): Semantic Not Completed
   Typography: Self-hosted Official JDIH Open Sans + Tabular Monospace
   ========================================================================== */

:root {
    --pub-white: #ffffff;
    --pub-navy: #123060;
    --pub-navy-slate: #153a5b;
    --pub-navy-deep: #0b2042;
    --pub-navy-hover: #0a1d3d;
    --pub-jdih-indigo: #353587;
    --pub-jdih-indigo-hover: #363689;
    --pub-jdih-indigo-deep: #242468;
    --pub-jdih-drawer: #052460;
    --pub-jdih-footer: #14143a;
    --pub-jdih-cyan: #4cbed3;
    --pub-jdih-steel-start: #468ab6;
    --pub-jdih-steel-end: #3f71a6;
    --pub-jdih-crumb-bg: #eaeaea;
    --pub-jdih-crumb-border: #dcdcdc;
    --pub-periwinkle: #eef2f8;
    --pub-periwinkle-strong: #e2e8f3;
    --pub-periwinkle-soft: #f6f8fc;
    --pub-slate-blue: #52688a;
    --pub-slate-blue-light: #6b7fa3;
    --pub-brass: #a47b2b;
    --pub-brass-hover: #8b6722;
    --pub-brass-ink: #7d5b1a;
    --pub-brass-soft: #faf5ea;

    --pub-ink: #10203a;
    --pub-heading: #123060;
    --pub-body: #334155;
    --pub-muted: #5a677b;
    --pub-line: #d9dfeb;
    --pub-line-strong: #c4cedf;

    /* Semantic Daylight Status Tokens (Muted Crimson strictly for Not Completed) */
    --pub-status-assigned-bg: #ebf0fa;
    --pub-status-assigned-border: #bacae6;
    --pub-status-assigned-ink: #123060;
    --pub-status-assigned-dot: #2563eb;
    --pub-status-progress-bg: #e6f3f6;
    --pub-status-progress-border: #a5d1dc;
    --pub-status-progress-ink: #0f5e6e;
    --pub-status-progress-dot: #0891b2;
    --pub-status-completed-bg: #e8f5ee;
    --pub-status-completed-border: #a9d8be;
    --pub-status-completed-ink: #15633b;
    --pub-status-completed-dot: #16a34a;
    --pub-stopped-solid: #9e2a2b;
    --pub-status-stopped-bg: #faeded;
    --pub-status-stopped-border: #e3b9b9;
    --pub-status-stopped-ink: #8f2324;
    --pub-status-stopped-dot: #dc2626;

    /* Measured UX Radius Scale */
    --pub-radius-none: 0px;
    --pub-radius-xs: 2px;
    --pub-radius-sm: 4px;
    --pub-radius-md: 6px;
    --pub-radius-pill: 999px;

    /* Typography — Self-hosted Official JDIH Open Sans (synced with Cluster Project / P3MK) */
    --pub-font-serif: "Open Sans", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --pub-font-sans: "Open Sans", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --pub-font-mono: "Open Sans", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--pub-navy);
    color: var(--pub-white);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pub-periwinkle-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--pub-line-strong);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pub-slate-blue-light);
}

body.pub-body,
.satria-public-shell {
    margin: 0;
    min-height: 100vh;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
    background: var(--pub-white);
    color: var(--pub-body);
    font-family: var(--pub-font-sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pub-main {
    flex: 1 0 auto;
    min-width: 0;
    scroll-margin-top: 90px;
}

.pub-sheet[id] {
    scroll-margin-top: 92px;
}

:where(.pub-body, .satria-public-shell) a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}

:where(.pub-body, .satria-public-shell) img {
    max-width: 100%;
}

:where(.pub-body, .satria-public-shell) :is(button, input, select) {
    font: inherit;
    color: inherit;
}

:where(.pub-body, .satria-public-shell) :is(input, select) {
    accent-color: var(--pub-navy);
}

:where(.pub-body, .satria-public-shell) :is(a, button, input, select):focus-visible {
    outline: 2px solid var(--pub-brass);
    outline-offset: 2px;
}

.satria-public-shell {
    min-height: 0;
}

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

.pub-skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: var(--pub-radius-sm);
    background: var(--pub-navy);
    color: var(--pub-white);
    font-size: 13.5px;
    font-weight: 600;
}

.pub-skip-link:focus {
    left: 16px;
}

.pub-serif {
    font-family: var(--pub-font-serif);
}

.pub-num {
    font-variant-numeric: tabular-nums;
}

.pub-mono {
    font-family: var(--pub-font-mono);
    font-variant-numeric: tabular-nums;
}

.pub-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    min-width: 0;
}

/* ==========================================================================
   Typography & Section Rhythm (Calibrated for Official JDIH Open Sans)
   ========================================================================== */
.pub-h1-hero {
    margin: 0;
    font-family: var(--pub-font-serif);
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.014em;
    color: var(--pub-white);
}

.pub-h1-page {
    margin: 0;
    font-family: var(--pub-font-serif);
    font-size: clamp(28px, 2.8vw, 38px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.012em;
    color: var(--pub-heading);
}

.pub-h1-detail {
    margin: 0;
    font-family: var(--pub-font-serif);
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -0.012em;
    color: var(--pub-heading);
}

.pub-h2 {
    margin: 0;
    font-family: var(--pub-font-serif);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -0.01em;
    color: var(--pub-heading);
}

.pub-h2--inverse {
    color: var(--pub-white);
}

.pub-h3 {
    margin: 0;
    font-family: var(--pub-font-serif);
    font-size: clamp(18px, 1.45vw, 21px);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.008em;
    color: var(--pub-heading);
}

.pub-page-lead {
    margin: 12px 0 0;
    max-width: 68ch;
    font-size: 15.5px;
    line-height: 1.62;
    color: var(--pub-body);
}

.pub-section {
    padding: 72px 0;
}

.pub-section--white {
    background: var(--pub-white);
}

.pub-section--periwinkle {
    background: var(--pub-periwinkle);
    border-top: 1px solid var(--pub-line);
    border-bottom: 1px solid var(--pub-line);
}

.pub-section--compact {
    padding: 44px 0;
}

.pub-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    min-width: 0;
}

.pub-section-header-copy {
    min-width: 0;
    max-width: 680px;
}

.pub-section-sub {
    margin: 8px 0 0;
    font-size: 14.5px;
    line-height: 1.58;
    color: var(--pub-muted);
}

/* ==========================================================================
   Buttons, Circular Utility Icons & Signature Square Arrow Anchor
   ========================================================================== */
.pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--pub-radius-sm);
    font-family: var(--pub-font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.pub-btn i {
    font-size: 15px;
    line-height: 1;
}

.pub-btn-primary,
.pub-btn-navy {
    background: var(--pub-navy);
    border-color: var(--pub-navy);
    color: var(--pub-white);
}

.pub-btn-primary:hover,
.pub-btn-navy:hover {
    background: var(--pub-navy-hover);
    border-color: var(--pub-navy-hover);
    color: var(--pub-white);
}

.pub-btn-white {
    background: var(--pub-white);
    border-color: var(--pub-white);
    color: var(--pub-navy);
}

.pub-btn-white:hover {
    background: var(--pub-periwinkle);
    border-color: var(--pub-periwinkle);
    color: var(--pub-navy-deep);
}

.pub-btn-outline {
    background: var(--pub-white);
    border-color: var(--pub-line-strong);
    color: var(--pub-navy);
}

.pub-btn-outline:hover {
    background: var(--pub-periwinkle);
    border-color: var(--pub-navy);
    color: var(--pub-navy-deep);
}

.pub-btn-outline-inverse {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--pub-white);
}

.pub-btn-outline-inverse:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--pub-white);
    color: var(--pub-white);
}

.pub-btn-ghost {
    background: transparent;
    border-color: var(--pub-line-strong);
    color: var(--pub-body);
}

.pub-btn-ghost:hover {
    background: var(--pub-white);
    border-color: var(--pub-navy);
    color: var(--pub-navy);
}

.pub-btn-sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13.5px;
    gap: 8px;
}

.pub-btn-xs {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12.5px;
    gap: 6px;
}

.pub-btn-full {
    width: 100%;
}

/* Circular 1px Bordered Utility Icon Buttons (Navbar & Archival Navy Footer) */
.pub-circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-pill);
    background: var(--pub-white);
    color: var(--pub-navy);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.pub-circle-icon:hover,
.pub-circle-icon.is-active {
    background: var(--pub-navy);
    border-color: var(--pub-navy);
    color: var(--pub-white);
}

.pub-circle-icon--inverse {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--pub-white);
}

.pub-circle-icon--inverse:hover {
    background: var(--pub-white);
    border-color: var(--pub-white);
    color: var(--pub-navy-deep);
}

.pub-circle-icon--inverse:focus-visible {
    outline-color: var(--pub-brass);
}

/* ==========================================================================
   Header & Navigation (JDIH Overlaid Transparent Header -> White on Scroll)
   ========================================================================== */
.pub-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: linear-gradient(180deg, rgba(10, 22, 54, 0.42) 0%, rgba(10, 22, 54, 0.08) 72%, rgba(10, 22, 54, 0) 100%);
    border-bottom: 1px solid transparent;
    transition: background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pub-header.is-scrolled {
    background: var(--pub-white);
    border-bottom: 1px solid #e5e9f2;
    box-shadow: 0 2px 12px rgba(18, 48, 96, 0.08);
}

.pub-header.is-drawer-open {
    background: var(--pub-jdih-drawer);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(5, 36, 96, 0.35);
}

.pub-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.pub-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 1 244px;
    max-width: 244px;
    padding: 8px 0;
    min-width: 0;
}

.pub-brand img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.pub-brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.pub-brand-text strong {
    font-family: var(--pub-font-sans);
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--pub-white);
    text-shadow: 0 1px 4px rgba(10, 20, 52, 0.45);
    transition: color 0.18s ease, text-shadow 0.18s ease;
}

.pub-brand-text small {
    margin-top: 2px;
    font-family: var(--pub-font-sans);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.24;
    letter-spacing: 0.005em;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 3px rgba(10, 20, 52, 0.4);
    white-space: normal;
    transition: color 0.18s ease, text-shadow 0.18s ease;
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-brand-text strong {
    color: var(--pub-navy);
    text-shadow: none;
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-brand-text small {
    color: var(--pub-muted);
    text-shadow: none;
}

.pub-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.pub-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 76px;
    padding: 0 9px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(10, 20, 52, 0.42);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.16s ease, text-shadow 0.16s ease;
}

.pub-nav-link::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 18px;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background-color 0.16s ease;
}

.pub-nav-link:hover {
    color: var(--pub-white);
}

.pub-nav-link.is-active {
    color: var(--pub-white);
    font-weight: 700;
}

.pub-nav-link.is-active::after {
    background: var(--pub-jdih-cyan);
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-nav-link {
    color: var(--pub-body);
    text-shadow: none;
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-nav-link:hover {
    color: var(--pub-jdih-indigo);
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-nav-link.is-active {
    color: var(--pub-jdih-indigo);
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-nav-link.is-active::after {
    background: var(--pub-jdih-indigo);
}

.pub-nav-dropdown {
    position: relative;
}

.pub-nav-caret {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.16s ease, color 0.16s ease;
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-nav-caret {
    color: var(--pub-muted);
}

.pub-nav-dropdown.is-open .pub-nav-caret {
    transform: rotate(180deg);
    color: var(--pub-white);
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-nav-dropdown.is-open .pub-nav-caret {
    color: var(--pub-jdih-indigo);
}

.pub-dropdown-panel {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    z-index: 80;
    min-width: 268px;
    max-width: min(320px, calc(100vw - 32px));
    background: var(--pub-white);
    border: 1px solid #dde3ef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(20, 20, 58, 0.16);
    text-shadow: none;
}

.pub-nav-dropdown:nth-last-child(-n + 2) .pub-dropdown-panel {
    left: auto;
    right: 0;
}

.pub-dropdown-head {
    background: var(--pub-periwinkle);
    border-bottom: 1px solid var(--pub-line);
}

.pub-dropdown-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pub-navy);
    transition: background-color 0.14s ease;
}

.pub-dropdown-overview:hover {
    background: var(--pub-periwinkle-strong);
}

.pub-dropdown-list {
    margin: 0;
    padding: 6px;
    list-style: none;
}

.pub-dropdown-list li {
    border-bottom: 0;
}

.pub-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: #111111;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.pub-dropdown-item:hover {
    background: #eef1fa;
    color: var(--pub-jdih-indigo);
}

.pub-dropdown-item.is-active {
    background: #eceffa;
    color: var(--pub-jdih-indigo);
    font-weight: 700;
}

.pub-dropdown-item-arrow {
    font-size: 11px;
    color: var(--pub-slate-blue-light);
    flex-shrink: 0;
    transition: transform 0.14s ease, color 0.14s ease;
}

.pub-dropdown-item:hover .pub-dropdown-item-arrow,
.pub-dropdown-item.is-active .pub-dropdown-item-arrow {
    color: var(--pub-jdih-indigo);
    transform: translateX(2px);
}

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

.pub-header .pub-circle-icon {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--pub-white);
}

.pub-header .pub-circle-icon:hover,
.pub-header .pub-circle-icon.is-active {
    background: var(--pub-white);
    border-color: var(--pub-white);
    color: var(--pub-jdih-indigo);
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-circle-icon {
    background: var(--pub-white);
    border-color: var(--pub-line-strong);
    color: var(--pub-navy);
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-circle-icon:hover,
.pub-header.is-scrolled:not(.is-drawer-open) .pub-circle-icon.is-active {
    background: var(--pub-jdih-indigo);
    border-color: var(--pub-jdih-indigo);
    color: var(--pub-white);
}

/* Quiet restrained link shown ONLY when already authenticated internally */
.pub-header-internal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pub-white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 6px;
    white-space: nowrap;
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.pub-header-internal-link:hover {
    background: var(--pub-white);
    border-color: var(--pub-white);
    color: var(--pub-jdih-indigo);
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-header-internal-link {
    background: var(--pub-periwinkle);
    border-color: #d2dbec;
    color: var(--pub-navy);
}

.pub-header.is-scrolled:not(.is-drawer-open) .pub-header-internal-link:hover {
    background: var(--pub-jdih-indigo);
    border-color: var(--pub-jdih-indigo);
    color: var(--pub-white);
}

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

/* Deep Navy #052460 Mobile Drawer (Mirroring JDIH Mobile Navigation) */
.pub-mobile-drawer {
    background: var(--pub-jdih-drawer);
    color: var(--pub-white);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(3, 18, 52, 0.45);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
}

.pub-mobile-drawer-inner {
    padding: 16px 0 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pub-mobile-nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pub-mobile-link,
.pub-mobile-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 4px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.14s ease;
}

.pub-mobile-link:hover,
.pub-mobile-acc-trigger:hover {
    color: var(--pub-white);
}

.pub-mobile-link.is-active,
.pub-mobile-acc-trigger.is-active {
    color: var(--pub-jdih-cyan);
    font-weight: 700;
}

.pub-mobile-acc-caret {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    transition: transform 0.18s ease, color 0.14s ease;
}

.pub-mobile-acc.is-open .pub-mobile-acc-caret {
    transform: rotate(180deg);
    color: var(--pub-jdih-cyan);
}

.pub-mobile-acc-panel {
    display: flex;
    flex-direction: column;
    padding: 4px 0 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.pub-mobile-sublink {
    display: block;
    padding: 9px 12px;
    border-left: 2px solid rgba(255, 255, 255, 0.22);
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.84);
    transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.pub-mobile-sublink:hover {
    color: var(--pub-white);
    border-left-color: var(--pub-jdih-cyan);
    background: rgba(255, 255, 255, 0.06);
}

.pub-mobile-sublink.is-active {
    color: var(--pub-white);
    border-left-color: var(--pub-jdih-cyan);
    background: rgba(76, 190, 211, 0.16);
    font-weight: 700;
}

.pub-mobile-satria {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.pub-mobile-satria-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.pub-mobile-satria-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pub-mobile-quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--pub-white);
    font-size: 13.5px;
    font-weight: 600;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.pub-mobile-quick-link:hover,
.pub-mobile-quick-link.is-active {
    background: var(--pub-jdih-cyan);
    color: #052460;
}

.pub-mobile-quick-link.is-internal {
    background: rgba(76, 190, 211, 0.22);
    border: 1px solid rgba(76, 190, 211, 0.45);
}

.pub-mobile-quick-link.is-internal:hover {
    background: var(--pub-white);
    border-color: var(--pub-white);
    color: var(--pub-jdih-drawer);
}

/* ==========================================================================
   Semantic Daylight Status Badges & Progress Indicators
   ========================================================================== */
.pub-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: var(--pub-radius-sm);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.pub-status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: var(--pub-radius-pill);
    background: currentColor;
}

.pub-status--assigned {
    background: var(--pub-status-assigned-bg);
    border-color: var(--pub-status-assigned-border);
    color: var(--pub-status-assigned-ink);
}

.pub-status--assigned .pub-status-dot {
    background: var(--pub-status-assigned-dot);
}

.pub-status--progress {
    background: var(--pub-status-progress-bg);
    border-color: var(--pub-status-progress-border);
    color: var(--pub-status-progress-ink);
}

.pub-status--progress .pub-status-dot {
    background: var(--pub-status-progress-dot);
}

.pub-status--completed {
    background: var(--pub-status-completed-bg);
    border-color: var(--pub-status-completed-border);
    color: var(--pub-status-completed-ink);
}

.pub-status--completed .pub-status-dot {
    background: var(--pub-status-completed-dot);
}

.pub-status--stopped {
    background: var(--pub-status-stopped-bg);
    border-color: var(--pub-status-stopped-border);
    color: var(--pub-status-stopped-ink);
}

.pub-status--stopped .pub-status-dot {
    background: var(--pub-status-stopped-dot);
}

.pub-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: var(--pub-radius-pill);
    vertical-align: middle;
    margin-right: 4px;
}

.pub-dot.is-assigned {
    background: var(--pub-status-assigned-ink);
}

.pub-dot.is-progress {
    background: var(--pub-status-progress-ink);
}

.pub-dot.is-completed {
    background: var(--pub-status-completed-ink);
}

.pub-dot.is-stopped {
    background: var(--pub-stopped-solid);
}

.pub-proportion-rule {
    display: flex;
    width: 100%;
    height: 6px;
    background: var(--pub-periwinkle-strong);
    border-radius: var(--pub-radius-xs);
    overflow: hidden;
}

.pub-rule-seg {
    display: block;
    height: 100%;
    min-width: 2px;
}

.pub-rule-seg.is-assigned {
    background: var(--pub-status-assigned-ink);
}

.pub-rule-seg.is-progress {
    background: var(--pub-status-progress-ink);
}

.pub-rule-seg.is-completed {
    background: var(--pub-status-completed-ink);
}

.pub-rule-seg.is-stopped {
    background: var(--pub-stopped-solid);
}

/* ==========================================================================
   Subpage Editorial Banner, Breadcrumbs & Contextual Subtabs
   ========================================================================== */
.pub-page-banner {
    background: var(--pub-white);
    border-bottom: 1px solid var(--pub-line);
}

.pub-page-banner-inner {
    padding-top: 34px;
}

.pub-page-banner-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 28px;
    padding-bottom: 30px;
}

.pub-page-banner-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: start;
    padding-bottom: 32px;
}

.pub-page-banner-copy {
    min-width: 0;
}

.pub-page-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.pub-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--pub-muted);
}

.pub-breadcrumb a {
    color: var(--pub-slate-blue);
    font-weight: 500;
}

.pub-breadcrumb a:hover {
    color: var(--pub-navy);
    text-decoration: underline;
}

.pub-breadcrumb [aria-current="page"] {
    color: var(--pub-navy);
    font-weight: 600;
}

.pub-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--pub-periwinkle);
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-sm);
    color: var(--pub-navy);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Contextual Subtabs — Wraps cleanly, zero mid-word clipping at 1280px */
.pub-subnav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    border-top: 1px solid var(--pub-line);
}

.pub-subtab {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pub-muted);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.14s ease, border-color 0.14s ease;
}

.pub-subtab:hover {
    color: var(--pub-navy);
}

.pub-subtab.is-active {
    color: var(--pub-navy);
    font-weight: 600;
    border-bottom-color: var(--pub-brass);
}

/* ==========================================================================
   Sheets, 1-Click Status Tabs, Periwinkle Filter Bar & Dense Registry Tables
   ========================================================================== */
.pub-menus-stack,
.pub-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.pub-sheet {
    background: var(--pub-white);
    border: 1px solid var(--pub-line);
    border-radius: var(--pub-radius-md);
    overflow: hidden;
    min-width: 0;
}

.pub-sheet-head {
    padding: 24px 26px;
    border-bottom: 1px solid var(--pub-line);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    background: var(--pub-white);
}

.pub-sheet-head--compact {
    padding: 18px 24px;
    align-items: center;
}

.pub-sheet-head--navy {
    background: var(--pub-navy);
    border-bottom-color: rgba(255, 255, 255, 0.14);
    color: var(--pub-white);
}

.pub-sheet-head--navy .pub-section-title {
    color: var(--pub-white);
}

.pub-sheet-head--navy .pub-section-title i {
    color: rgba(255, 255, 255, 0.85);
}

.pub-sheet-head--navy .pub-head-note {
    color: rgba(255, 255, 255, 0.78);
}

.pub-sheet-head--navy .pub-step-summary-tag {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--pub-white);
}

.pub-sheet-head--navy .pub-history-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--pub-white);
}

.pub-sheet-head--navy .pub-history-btn:hover {
    background: var(--pub-white);
    border-color: var(--pub-white);
    color: var(--pub-navy);
}

.pub-sheet-head--navy .pub-history-btn:focus-visible {
    outline-color: var(--pub-brass);
}

.pub-sheet-head--navy + .pub-spec-grid {
    border-top: 0;
}

.pub-sheet-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.pub-section-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pub-font-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.24;
    color: var(--pub-heading);
}

.pub-section-title i {
    font-size: 18px;
    color: var(--pub-slate-blue);
}

.pub-head-note {
    font-size: 13px;
    color: var(--pub-muted);
}

.pub-inline-kpis {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
    border: 1px solid var(--pub-line);
    border-radius: var(--pub-radius-sm);
    background: var(--pub-periwinkle-soft);
    overflow: hidden;
}

.pub-inline-kpis > span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 7px 13px;
    font-size: 12.5px;
    color: var(--pub-muted);
    border-right: 1px solid var(--pub-line);
}

.pub-inline-kpis > span:last-child {
    border-right: 0;
}

.pub-inline-kpis strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--pub-navy);
}


.pub-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    background: var(--pub-white);
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-pill);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--pub-navy);
    transition: border-color 0.14s ease, color 0.14s ease, background-color 0.14s ease;
}

.pub-active-chip i {
    font-size: 11px;
    color: var(--pub-slate-blue);
}

.pub-active-chip:hover {
    background: var(--pub-brass-soft);
    border-color: var(--pub-brass);
    color: var(--pub-brass-ink);
}

.pub-active-chip:hover i {
    color: var(--pub-brass-ink);
}

/* Dense White Architectural Registry Table */
.pub-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.pub-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.pub-table thead th {
    padding: 13px 16px;
    background: var(--pub-periwinkle);
    border-bottom: 1px solid var(--pub-line-strong);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pub-navy);
    white-space: nowrap;
}

.pub-table tbody td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--pub-line);
    vertical-align: middle;
    color: var(--pub-body);
}

.pub-table tbody tr:last-child td {
    border-bottom: 0;
}

.pub-table tbody tr:hover {
    background: var(--pub-periwinkle-soft);
}

.pub-table .col-no {
    width: 52px;
    font-family: var(--pub-font-mono);
    font-size: 12.5px;
    color: var(--pub-muted);
    white-space: nowrap;
}

.pub-table .col-num {
    text-align: right;
    white-space: nowrap;
}

.pub-table .col-act {
    text-align: right;
    white-space: nowrap;
}

.pub-row-title {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.38;
    color: var(--pub-navy);
    transition: color 0.14s ease;
}

a.pub-row-title:hover {
    color: var(--pub-brass-ink);
    text-decoration: underline;
}

.pub-row-ref {
    margin-top: 4px;
    font-family: var(--pub-font-mono);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: #5c667a;
}

.pub-finder-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    margin-top: 7px;
}

.pub-meta-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
}

.pub-program-tag {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #475569;
}

.pub-menu-desc {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.48;
    color: var(--pub-muted);
    max-width: 48ch;
}

.pub-category-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    background: #eaeef8;
    border: 1px solid #d5ddf0;
    border-radius: var(--pub-radius-sm);
    color: #2d3478;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.45;
}

.pub-program-sub {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--pub-muted);
    line-height: 1.35;
}

/* Inline Stage Progress Meter Cell (Zero SLA) */
.pub-stage-cell {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

.pub-stage-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--pub-ink);
    line-height: 1.3;
}

.pub-stage-meter-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pub-stage-meter {
    flex: 1 1 auto;
    height: 4px;
    background: var(--pub-periwinkle-strong);
    border-radius: var(--pub-radius-pill);
    overflow: hidden;
    min-width: 68px;
}

.pub-stage-meter-fill {
    display: block;
    height: 100%;
    background: var(--pub-navy);
}

.pub-stage-meter-fill.is-active {
    background: var(--pub-status-progress-ink);
}

.pub-stage-meter-fill.is-done {
    background: var(--pub-status-completed-ink);
}

.pub-stage-meter-fill.is-stopped {
    background: var(--pub-stopped-solid);
}

.pub-stage-frac {
    font-family: var(--pub-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--pub-muted);
    white-space: nowrap;
}

.pub-date-cell {
    white-space: nowrap;
    font-size: 13px;
    color: var(--pub-muted);
}

.pub-row-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-sm);
    background: var(--pub-white);
    color: var(--pub-navy);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.pub-row-action:hover {
    background: var(--pub-navy);
    border-color: var(--pub-navy);
    color: var(--pub-white);
}

/* Clickable Count Links (menus.blade.php) */
.pub-count-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 4px 10px;
    border: 1px solid var(--pub-line);
    border-radius: var(--pub-radius-sm);
    background: var(--pub-white);
    font-family: var(--pub-font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--pub-navy);
    transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.pub-count-link:hover {
    background: var(--pub-navy);
    border-color: var(--pub-navy);
    color: var(--pub-white);
}

.pub-count-link.is-active {
    background: var(--pub-status-progress-bg);
    border-color: var(--pub-status-progress-border);
    color: var(--pub-status-progress-ink);
}

.pub-count-link.is-active:hover {
    background: var(--pub-status-progress-ink);
    border-color: var(--pub-status-progress-ink);
    color: var(--pub-white);
}

.pub-count-link.is-completed {
    background: var(--pub-status-completed-bg);
    border-color: var(--pub-status-completed-border);
    color: var(--pub-status-completed-ink);
}

.pub-count-link.is-completed:hover {
    background: var(--pub-status-completed-ink);
    border-color: var(--pub-status-completed-ink);
    color: var(--pub-white);
}

.pub-count-link.is-stopped {
    background: var(--pub-status-stopped-bg);
    border-color: var(--pub-status-stopped-border);
    color: var(--pub-status-stopped-ink);
}

.pub-count-link.is-stopped:hover {
    background: var(--pub-stopped-solid);
    border-color: var(--pub-stopped-solid);
    color: var(--pub-white);
}

.pub-count-link.is-zero {
    background: var(--pub-periwinkle-soft);
    border-color: var(--pub-line);
    color: var(--pub-muted);
}

/* Pagination Bar */
.pub-pagination-bar {
    padding: 16px 24px;
    border-top: 1px solid var(--pub-line);
    background: var(--pub-white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pub-pagination-info {
    font-size: 13.5px;
    color: var(--pub-muted);
}

.pub-pagination-info strong {
    color: var(--pub-navy);
}

.pub-pagination-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.pub-per-page-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13.5px;
    color: #555555;
}

.pub-per-page-form label {
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #555555;
}

.pub-per-page-form select {
    width: auto;
    min-width: 72px;
    height: 36px;
    line-height: 34px;
    margin: 0;
    padding: 0 34px 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: var(--pub-white);
    background-image: url("../../fe/optimized/images/material/arrow-select-blue.svg");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 24px 13px;
    color: #111111;
    font-family: var(--pub-font-sans);
    font-variant-numeric: tabular-nums;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.pub-page-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pub-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d5dce8;
    border-radius: 8px;
    background: var(--pub-white);
    color: #333333;
    font-family: var(--pub-font-sans);
    font-variant-numeric: tabular-nums;
    font-size: 13.5px;
    font-weight: 600;
    transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.pub-page-btn:hover {
    background: #eef1fa;
    border-color: var(--pub-jdih-indigo);
    color: var(--pub-jdih-indigo);
}

.pub-page-btn.is-active {
    background: var(--pub-jdih-indigo);
    border-color: var(--pub-jdih-indigo);
    color: var(--pub-white);
}

.pub-page-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Empty State */
.pub-empty {
    padding: 48px 24px;
    text-align: center;
    background: var(--pub-periwinkle-soft);
}

.pub-empty i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    background: var(--pub-white);
    border: 1px solid var(--pub-line);
    border-radius: var(--pub-radius-sm);
    color: var(--pub-navy);
    font-size: 20px;
}

.pub-empty strong {
    display: block;
    font-family: var(--pub-font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--pub-heading);
}

.pub-empty p {
    margin: 8px auto 0;
    max-width: 48ch;
    font-size: 14px;
    color: var(--pub-muted);
}

/* Calm Sentence-Case Meta Label (replaces uppercase kickers) */
.pub-meta-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pub-slate-blue);
}

/* ==========================================================================
   Detail Page (show.blade.php) — Masthead, Spec Grid, Actors, Priority, Stepper
   ========================================================================== */
.pub-detail-meta-strip {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.pub-ref-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--pub-periwinkle);
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-sm);
    font-family: var(--pub-font-mono);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pub-navy);
}

.pub-updated-chip {
    font-size: 13px;
    color: var(--pub-muted);
}

.pub-detail-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pub-detail-stage-card {
    background: var(--pub-periwinkle-soft);
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-md);
    overflow: hidden;
    min-width: 0;
}

.pub-detail-stage-top {
    padding: 20px 22px 16px;
    background: var(--pub-white);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.pub-detail-stage-frac {
    text-align: right;
    flex-shrink: 0;
}

.pub-detail-stage-frac strong {
    display: block;
    font-family: var(--pub-font-serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    color: var(--pub-navy);
}

.pub-detail-stage-frac span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pub-muted);
}

/* Crisp 1px Architectural Hairline Specification Grid */
.pub-spec-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--pub-line);
    border-top: 1px solid var(--pub-line);
}

.pub-spec-grid.is-cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

.pub-spec-grid.is-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pub-spec-grid.is-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pub-spec-grid.is-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pub-spec-item {
    background: var(--pub-white);
    padding: 18px 22px;
    min-width: 0;
}

.pub-spec-item dt,
.pub-spec-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pub-slate-blue);
}

.pub-spec-item dd {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.42;
    color: var(--pub-ink);
    overflow-wrap: anywhere;
}

/* Pihak Penanggung Jawab Hairline Strip */
.pub-actors-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--pub-line);
}

.pub-actors-band.is-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pub-actors-band.is-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pub-actor-item {
    background: var(--pub-white);
    padding: 20px 22px;
    min-width: 0;
}

.pub-person-row {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.pub-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: var(--pub-radius-pill);
    font-family: var(--pub-font-serif);
    font-size: 15px;
    font-weight: 600;
}

.pub-avatar.is-navy {
    background: var(--pub-navy);
    color: var(--pub-white);
}

.pub-avatar.is-green {
    background: var(--pub-status-completed-ink);
    color: var(--pub-white);
}

.pub-avatar.is-sky,
.pub-avatar.is-teal {
    background: var(--pub-status-progress-ink);
    color: var(--pub-white);
}

.pub-avatar.is-slate {
    background: var(--pub-periwinkle);
    border: 1px solid var(--pub-line-strong);
    color: var(--pub-slate-blue);
}

.pub-person-name {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pub-navy);
    overflow-wrap: anywhere;
}

.pub-person-sub {
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--pub-muted);
}

.pub-person-sub.is-ok {
    color: var(--pub-status-completed-ink);
}

.pub-person-sub.is-info {
    color: var(--pub-status-progress-ink);
}

.pub-priority-spec .pub-spec-item {
    padding: 20px 24px;
}

.pub-priority-spec .pub-spec-item dd {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.58;
    color: var(--pub-ink);
}

/* Tahap Pengajuan Stepper (999px Circular Nodes, Symmetric Centered Track) */
.pub-stage-head-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    min-width: 0;
}

.pub-step-summary-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    background: var(--pub-periwinkle);
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pub-navy);
}

.pub-history-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-sm);
    background: var(--pub-white);
    color: var(--pub-navy);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

.pub-history-btn:hover {
    background: var(--pub-periwinkle);
    border-color: var(--pub-navy);
}

.pub-history-caret {
    font-size: 12px;
    transition: transform 0.16s ease;
}

.pub-history-btn[aria-expanded="false"] .pub-history-caret {
    transform: rotate(180deg);
}

.pub-stepper-body {
    padding: 28px 24px;
}

.pub-stage-note {
    margin: 0 0 24px;
    padding: 12px 16px;
    background: var(--pub-periwinkle);
    border: 1px solid var(--pub-line-strong);
    border-radius: var(--pub-radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--pub-navy);
}

.pub-stepper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.pub-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    padding: 0;
}

.pub-step-track {
    position: relative;
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.pub-step-circle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: var(--pub-radius-pill);
    border: 1px solid var(--pub-line-strong);
    background: var(--pub-white);
    color: var(--pub-muted);
    font-family: var(--pub-font-mono);
    font-size: 13px;
    font-weight: 600;
}

.pub-step.is-done .pub-step-circle {
    background: var(--pub-status-completed-ink);
    border-color: var(--pub-status-completed-ink);
    color: var(--pub-white);
}

.pub-step.is-current .pub-step-circle {
    background: var(--pub-navy);
    border-color: var(--pub-navy);
    color: var(--pub-white);
    outline: 3px solid var(--pub-periwinkle-strong);
}

.pub-step.is-stopped .pub-step-circle {
    background: var(--pub-stopped-solid);
    border-color: var(--pub-stopped-solid);
    color: var(--pub-white);
}

.pub-step-line {
    position: absolute;
    top: 50%;
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 2px;
    transform: translateY(-50%);
    margin-left: 0;
    z-index: 1;
    background: var(--pub-line);
}

.pub-step.is-done .pub-step-line {
    background: var(--pub-status-completed-ink);
}

.pub-step.is-current .pub-step-line {
    background: var(--pub-navy);
}

.pub-step-content {
    width: 100%;
    padding: 0 8px;
    text-align: center;
    min-width: 0;
}

.pub-step-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pub-ink);
}

.pub-step.is-current .pub-step-title {
    color: var(--pub-navy);
}

.pub-step.is-upcoming .pub-step-title {
    color: var(--pub-muted);
    font-weight: 500;
}

.pub-step-date {
    margin-top: 5px;
    font-family: var(--pub-font-mono);
    font-size: 12px;
    color: var(--pub-slate-blue);
}

.pub-step-actor {
    margin-top: 3px;
    font-size: 12.5px;
    color: var(--pub-muted);
    line-height: 1.4;
}

/* Open Chronological Stage Timeline (#pub-stage-history) */
.pub-timeline-section {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--pub-line);
}

.pub-timeline-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 18px;
    margin-bottom: 20px;
}

.pub-history-heading {
    margin: 0;
    font-family: var(--pub-font-serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--pub-heading);
}

.pub-timeline-rail {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--pub-line-strong);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 6px;
}

.pub-timeline-rail + .pub-timeline-rail {
    margin-top: 12px;
}

.pub-timeline-item {
    position: relative;
}

.pub-timeline-marker {
    position: absolute;
    left: -31px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: var(--pub-radius-pill);
    background: var(--pub-slate-blue-light);
    border: 2px solid var(--pub-white);
}

.pub-timeline-item.is-done .pub-timeline-marker {
    background: var(--pub-status-completed-ink);
}

.pub-timeline-item.is-current .pub-timeline-marker {
    background: var(--pub-navy);
}

.pub-timeline-item.is-stopped .pub-timeline-marker {
    background: var(--pub-stopped-solid);
}

.pub-timeline-card {
    padding: 14px 18px;
    background: var(--pub-periwinkle-soft);
    border: 1px solid var(--pub-line);
    border-radius: var(--pub-radius-sm);
}

.pub-timeline-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.pub-timeline-stage {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--pub-navy);
}

.pub-timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--pub-slate-blue);
}

.pub-timeline-actor {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--pub-body);
}

.pub-timeline-actor i {
    color: var(--pub-slate-blue);
}

.pub-history-empty {
    margin: 0;
    padding: 16px 18px;
    background: var(--pub-periwinkle-soft);
    border: 1px solid var(--pub-line);
    border-radius: var(--pub-radius-sm);
    font-size: 13.5px;
    color: var(--pub-muted);
}

/* ==========================================================================
   JDIH Kemenko Infrastruktur P3MK Components
   Hero Banner, #EAEAEA Breadcrumb Bar, 2-Card Hub, Subtabs, #353587 Filter Box,
   Active Filter Chips, Steel-Blue Rounded Table & Eye Action Button
   ========================================================================== */
.pub-jdih-hero {
    position: relative;
    min-height: 260px;
    padding: 86px 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--pub-jdih-indigo-deep);
    color: var(--pub-white);
}

.pub-jdih-hero.is-compact {
    min-height: 180px;
    padding: 80px 0 20px;
}

.pub-jdih-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
    z-index: 0;
}

.pub-jdih-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(22, 92, 146, 0.78) 0%,
        rgba(53, 53, 135, 0.86) 100%
    );
}

.pub-jdih-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pub-jdih-hero-title {
    margin: 0;
    max-width: 30ch;
    font-family: var(--pub-font-sans);
    font-size: clamp(1.65rem, 2.8vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--pub-white);
    text-align: center;
    text-shadow: 0 2px 10px rgba(10, 18, 52, 0.32);
}

/* Breadcrumb Bar (#EAEAEA) */
.pub-jdih-breadcrumb-bar {
    background: var(--pub-jdih-crumb-bg);
    border-bottom: 1px solid var(--pub-jdih-crumb-border);
    padding: 14px 0;
}

.pub-jdih-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 14px;
    line-height: 1.45;
    color: #6e6e6e;
}

.pub-jdih-breadcrumb a {
    color: #5c5c5c;
    font-weight: 400;
    transition: color 0.14s ease;
}

.pub-jdih-breadcrumb a:hover {
    color: var(--pub-jdih-indigo);
    text-decoration: underline;
}

.pub-jdih-crumb-sep {
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1;
    user-select: none;
}

.pub-jdih-breadcrumb [aria-current="page"] {
    color: #111111;
    font-weight: 700;
}

/* Home 2-Card Centered Hub (/satria/home mirroring /progres-penyusunan-peraturan) */
.pub-hub-section {
    background: var(--pub-white);
    padding: 56px 0 84px;
}

.pub-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
    gap: 32px;
}

.pub-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--pub-white);
    border: 1px solid #eceef4;
    border-radius: 8px;
    padding: 32px 30px 34px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pub-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(20, 20, 58, 0.16);
    border-color: var(--pub-jdih-indigo);
}

.pub-hub-card:focus-visible {
    outline: 2px solid var(--pub-jdih-indigo);
    outline-offset: 3px;
}

.pub-hub-figure {
    width: 100%;
    height: 196px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    overflow: hidden;
}

.pub-hub-figure img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.22s ease;
}

.pub-hub-card:hover .pub-hub-figure img {
    transform: scale(1.03);
}

.pub-hub-title {
    font-family: var(--pub-font-sans);
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
    margin: 0 0 10px;
    transition: color 0.16s ease;
}

.pub-hub-card:hover .pub-hub-title {
    color: var(--pub-jdih-indigo);
}

.pub-hub-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    max-width: 34ch;
}

/* P3MK Listing & Search Section (Aligned with JDIH Cluster Project .wrapper-middle 1030px) */
.pub-p3mk-section {
    background: var(--pub-white);
    padding: 40px 0 72px;
}

.pub-p3mk-section .pub-container {
    width: min(1030px, calc(100% - 48px));
}

.pub-p3mk-section .pub-page-banner-top {
    padding-bottom: 8px;
}

.pub-p3mk-section .pub-page-lead {
    margin-top: 0;
}

.pub-sheet.pub-p3mk-table-card .pub-table.pub-p3mk-table thead th:first-child,
.pub-sheet.pub-p3mk-table-card .pub-table.pub-p3mk-table thead th:last-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.pub-p3mk-subtabs-wrap {
    margin-bottom: 18px;
}

.pub-subnav-tabs.pub-p3mk-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 0;
    padding: 0;
}

.pub-subnav-tabs.pub-p3mk-subtabs .pub-subtab {
    padding: 8px 14px;
    border: 1px solid #d8deec;
    border-radius: 8px;
    background: #f5f7fb;
    color: #333333;
    font-family: var(--pub-font-sans);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pub-subnav-tabs.pub-p3mk-subtabs .pub-subtab:hover {
    background: #eceffa;
    border-color: var(--pub-jdih-indigo);
    color: var(--pub-jdih-indigo);
}

.pub-subnav-tabs.pub-p3mk-subtabs .pub-subtab.is-active {
    background: var(--pub-jdih-indigo);
    border-color: var(--pub-jdih-indigo);
    color: var(--pub-white);
    font-weight: 600;
}

/* Indigo Rounded Filter Card (#353587 — synced with JDIH .search-document) */
.pub-p3mk-filter-box {
    background: var(--pub-jdih-indigo);
    border-radius: 10px;
    padding: 20px 30px 26px;
    color: var(--pub-white);
    margin-bottom: 34px;
}

.pub-p3mk-filter-form {
    margin: 0;
}

.pub-p3mk-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1.45fr) auto;
    align-items: end;
    gap: 14px 16px;
}

.pub-p3mk-filter-grid.has-program-field,
.pub-p3mk-filter-grid.is-search-mode {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 14px 16px;
}

.pub-p3mk-filter-grid.has-program-field .pub-p3mk-field--keyword,
.pub-p3mk-filter-grid.is-search-mode .pub-p3mk-field--keyword {
    grid-column: span 2;
}

.pub-p3mk-filter-grid.has-program-field .pub-p3mk-actions,
.pub-p3mk-filter-grid.is-search-mode .pub-p3mk-actions {
    justify-content: flex-end;
}

.pub-p3mk-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pub-p3mk-field label {
    display: block;
    margin: 0;
    font-family: var(--pub-font-sans);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--pub-white);
}

.pub-p3mk-field input,
.pub-p3mk-field select {
    width: 100%;
    min-width: 0;
    height: 50px;
    line-height: normal;
    margin: 0;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: rgba(255, 255, 255, 0.92);
    color: #111111;
    padding: 0 17px;
    font-family: var(--pub-font-sans);
    font-size: 15px;
    font-weight: 400;
    box-shadow: none;
    transition: background-color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.pub-p3mk-field select {
    padding-right: 42px;
    background-image: url("../../fe/optimized/images/material/arrow-select-blue.svg");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 29px 16px;
    cursor: pointer;
    text-overflow: ellipsis;
}

.pub-p3mk-field input::placeholder {
    color: #6b7280;
}

.pub-p3mk-field input:focus,
.pub-p3mk-field select:focus {
    background-color: var(--pub-white);
    border-color: var(--pub-jdih-cyan);
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 190, 211, 0.35);
}

.pub-p3mk-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pub-p3mk-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    line-height: 1;
    margin: 0;
    padding: 0 26px;
    border-radius: 10px;
    border: 1px solid var(--pub-jdih-cyan);
    background: var(--pub-jdih-cyan);
    color: var(--pub-white);
    font-family: var(--pub-font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}

.pub-p3mk-submit:hover {
    background: var(--pub-jdih-indigo-hover);
    border-color: var(--pub-white);
    color: var(--pub-white);
}

.pub-p3mk-submit:focus-visible {
    outline: 2px solid var(--pub-white);
    outline-offset: 2px;
}

.pub-p3mk-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 50px;
    line-height: 1;
    margin: 0;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.12);
    color: var(--pub-white);
    font-family: var(--pub-font-sans);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.pub-p3mk-reset:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: var(--pub-white);
    color: var(--pub-white);
}

.pub-p3mk-reset:focus-visible {
    outline: 2px solid var(--pub-white);
    outline-offset: 2px;
}

/* Active Filter Chips Row below Indigo Box */
.pub-p3mk-chips-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -14px 0 22px;
    padding: 12px 16px;
    background: #f5f7fc;
    border: 1px solid #dde3f0;
    border-radius: 8px;
}

.pub-p3mk-chips-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #4b5563;
    margin-right: 4px;
}

.pub-p3mk-chips-row .pub-active-chip {
    background: var(--pub-white);
    border-color: #c8d2e8;
    color: var(--pub-jdih-indigo);
    font-weight: 600;
}

.pub-p3mk-chips-row .pub-active-chip:hover {
    background: #fef2f2;
    border-color: #e5b4b4;
    color: var(--pub-status-stopped-ink);
}

.pub-p3mk-chips-row .pub-active-chip:hover i {
    color: var(--pub-status-stopped-ink);
}

.pub-p3mk-chips-row .pub-facet-reset {
    color: var(--pub-jdih-indigo);
    padding: 4px 6px;
}

/* Section Title + Result Summary (synced with JDIH h4) */
.pub-p3mk-table-headbar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0 0 16px;
}

.pub-p3mk-heading {
    font-family: var(--pub-font-sans);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

.pub-p3mk-count {
    font-family: var(--pub-font-sans);
    font-size: 14px;
    color: #666666;
}

.pub-p3mk-count strong {
    color: #111111;
    font-weight: 700;
}

/* Cyan-to-Blue Rounded Table Card (synced with JDIH .table-head-blue) */
.pub-p3mk-table-card {
    background: var(--pub-white);
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    overflow: hidden;
}

.pub-table.pub-p3mk-table thead tr {
    background: linear-gradient(135deg, #4cbfd3 0%, #3e63a2 100%);
}

.pub-table.pub-p3mk-table thead th {
    background: transparent;
    color: var(--pub-white);
    font-family: var(--pub-font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    padding: 15px 16px;
    border-bottom: 0;
}

.pub-table.pub-p3mk-table thead th:first-child {
    border-top-left-radius: 6px;
    padding-left: 20px;
}

.pub-table.pub-p3mk-table thead th:last-child {
    border-top-right-radius: 6px;
    padding-right: 20px;
}

.pub-table.pub-p3mk-table tbody tr:nth-child(odd) {
    background: var(--pub-white);
}

.pub-table.pub-p3mk-table tbody tr:nth-child(even) {
    background: #f2f2f2;
}

.pub-table.pub-p3mk-table tbody tr:hover {
    background: #edf4fb;
}

.pub-table.pub-p3mk-table tbody td {
    padding: 15px 16px;
    border-bottom: 1px solid #e8ecf2;
    color: #333333;
    font-family: var(--pub-font-sans);
    font-size: 14.5px;
    line-height: 1.5;
}

.pub-table.pub-p3mk-table tbody td:first-child {
    padding-left: 20px;
}

.pub-table.pub-p3mk-table tbody td:last-child {
    padding-right: 20px;
}

.pub-table.pub-p3mk-table tbody tr:last-child td {
    border-bottom: 0;
}

.pub-table.pub-p3mk-table .col-title {
    width: 44%;
}

.pub-table.pub-p3mk-table .col-status {
    white-space: nowrap;
}

.pub-table.pub-p3mk-table .pub-row-title {
    color: #111111;
    font-weight: 600;
    line-height: 1.45;
}

.pub-table.pub-p3mk-table a.pub-row-title:hover {
    color: var(--pub-jdih-indigo);
}

.pub-table.pub-p3mk-table .col-act {
    text-align: center;
}

.pub-p3mk-eye-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 0;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 16px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.pub-p3mk-eye-btn:hover {
    background: #3b82f6;
    color: var(--pub-white);
}

.pub-p3mk-eye-btn:focus-visible {
    outline: 2px solid var(--pub-jdih-indigo);
    outline-offset: 2px;
}

.pub-p3mk-eye-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Dark Archival Deep Indigo Footer (#14143A)
   ========================================================================== */
.pub-footer {
    margin-top: auto;
    background: var(--pub-jdih-footer);
    color: var(--pub-white);
    border-radius: var(--pub-radius-none);
}

.pub-footer-main {
    padding: 56px 0 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.pub-footer-brand {
    min-width: 0;
}

.pub-footer-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pub-font-sans);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--pub-white);
}

.pub-footer-wordmark img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.pub-footer-tagline {
    margin: 18px 0 12px;
    font-family: var(--pub-font-sans);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.012em;
    color: var(--pub-white);
}

.pub-footer-desc {
    margin: 0;
    max-width: 48ch;
    font-size: 14px;
    line-height: 1.64;
    color: rgba(255, 255, 255, 0.78);
}

.pub-footer-nav-col {
    min-width: 0;
}

.pub-footer-col-title {
    margin: 0 0 14px;
    font-family: var(--pub-font-sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.pub-footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 28px;
}

.pub-footer-nav-grid a {
    display: inline-block;
    padding: 2px 0;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.14s ease;
}

.pub-footer-nav-grid a:hover {
    color: var(--pub-jdih-cyan);
    text-decoration: underline;
}

.pub-footer-nav-grid a:focus-visible,
.pub-footer-wordmark:focus-visible {
    outline-color: var(--pub-jdih-cyan);
}

.pub-footer-circles {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pub-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
}

.pub-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
}

/* ==========================================================================
   Responsive Breakpoints (Airtight at 1280px, 1160px, 960px, 860px, 720px, 640px, 520px, 400px)
   ========================================================================== */
@media (max-width: 1260px) {
    .pub-brand {
        flex: 0 1 214px;
        max-width: 214px;
        gap: 9px;
    }

    .pub-brand img {
        width: 36px;
        height: 36px;
    }

    .pub-brand-text strong {
        font-size: 15.5px;
    }

    .pub-brand-text small {
        font-size: 9.5px;
    }

    .pub-nav-link {
        padding: 0 7px;
        font-size: 13px;
    }

    .pub-nav-link::after {
        left: 7px;
        right: 7px;
    }

    .pub-header-internal-link {
        padding: 6px 9px;
        font-size: 12px;
    }
}

@media (max-width: 1160px) {
    .pub-brand {
        flex: 0 1 300px;
        max-width: 300px;
    }

    .pub-nav {
        display: none;
    }

    .pub-header-internal-link {
        display: none;
    }

    .pub-mobile-toggle {
        display: inline-flex;
    }
}

@media (max-width: 1080px) {
    .pub-actors-band.is-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .pub-page-banner-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-p3mk-filter-grid,
    .pub-p3mk-filter-grid.has-program-field,
    .pub-p3mk-filter-grid.is-search-mode {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-p3mk-filter-grid.has-program-field .pub-p3mk-field--keyword,
    .pub-p3mk-filter-grid.is-search-mode .pub-p3mk-field--keyword {
        grid-column: span 2;
    }

    .pub-p3mk-filter-grid .pub-p3mk-actions,
    .pub-p3mk-filter-grid.has-program-field .pub-p3mk-actions,
    .pub-p3mk-filter-grid.is-search-mode .pub-p3mk-actions {
        grid-column: span 2;
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .pub-section {
        padding: 52px 0;
    }

    .pub-footer-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-spec-grid,
    .pub-spec-grid.is-cols-3,
    .pub-spec-grid.is-cols-4,
    .pub-actors-band,
    .pub-actors-band.is-cols-3,
    .pub-actors-band.is-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-spec-grid.pub-priority-spec {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Collapse horizontal stepper into crisp vertical stepper on narrow screens */
    .pub-stepper {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .pub-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 14px;
        padding: 0 0 20px;
    }

    .pub-step:last-child {
        padding-bottom: 0;
    }

    .pub-step-track {
        width: auto;
        height: auto;
        align-self: stretch;
        flex-direction: column;
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .pub-step-line {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 2px;
        flex: 1 1 auto;
        height: auto;
        min-height: 24px;
        margin-left: 0;
        margin-top: 8px;
    }

    .pub-step-content {
        padding: 0;
        text-align: left;
    }

    /* Dense table responsive card collapse (clean mobile cards, zero horizontal clipping) */
    .pub-table thead,
    .pub-table .col-no {
        display: none;
    }

    .pub-table,
    .pub-table tbody,
    .pub-table tr,
    .pub-table td {
        display: block;
        width: 100%;
    }

    .pub-table tbody tr {
        padding: 16px 18px;
        border-bottom: 8px solid var(--pub-periwinkle);
    }

    .pub-table.pub-p3mk-table tbody tr:nth-child(even) {
        background: var(--pub-white);
    }

    .pub-table.pub-p3mk-table tbody tr {
        border-bottom: 8px solid #edf0f7;
    }

    .pub-table tbody tr:last-child {
        border-bottom: 0;
    }

    .pub-table tbody td {
        padding: 7px 0;
        border-bottom: 1px solid var(--pub-periwinkle);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 6px 14px;
        text-align: right;
    }

    .pub-table tbody td:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .pub-table tbody td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--pub-slate-blue);
        text-align: left;
        flex-shrink: 0;
    }

    .pub-table tbody td[data-label] .pub-program-sub {
        width: 100%;
        text-align: right;
        margin-top: 2px;
    }

    .pub-table tbody td[data-label="Rancangan Regulasi"],
    .pub-table tbody td[data-label="Rancangan Peraturan"],
    .pub-table tbody td[data-label="Judul Rancangan"],
    .pub-table tbody td[data-label="Draft Regulation Title"],
    .pub-table tbody td[data-label="Pemrakarsa"],
    .pub-table tbody td[data-label="Initiator"],
    .pub-table tbody td[data-label="Tugas & Referensi"],
    .pub-table tbody td[data-label="Jenis Layanan"],
    .pub-table tbody td[data-label="Jenis Peraturan"],
    .pub-table tbody td[data-label="Tahap Saat Ini"],
    .pub-table tbody td[data-label="Current Stage"],
    .pub-table tbody td[data-label="Tahap Berjalan"] {
        display: block;
        width: 100%;
        text-align: left;
        padding-bottom: 10px;
    }

    .pub-table tbody td[data-label="Rancangan Regulasi"]::before,
    .pub-table tbody td[data-label="Rancangan Peraturan"]::before,
    .pub-table tbody td[data-label="Judul Rancangan"]::before,
    .pub-table tbody td[data-label="Draft Regulation Title"]::before,
    .pub-table tbody td[data-label="Pemrakarsa"]::before,
    .pub-table tbody td[data-label="Initiator"]::before,
    .pub-table tbody td[data-label="Tugas & Referensi"]::before,
    .pub-table tbody td[data-label="Jenis Layanan"]::before,
    .pub-table tbody td[data-label="Jenis Peraturan"]::before,
    .pub-table tbody td[data-label="Tahap Saat Ini"]::before,
    .pub-table tbody td[data-label="Current Stage"]::before,
    .pub-table tbody td[data-label="Tahap Berjalan"]::before {
        display: block;
        margin-bottom: 5px;
    }

    .pub-table tbody td.col-act {
        display: block;
        padding-top: 12px;
        text-align: left;
    }

    .pub-table tbody td.col-act::before {
        display: none;
    }

    .pub-table tbody td.col-act .pub-row-action {
        width: 100%;
        min-height: 40px;
        justify-content: center;
    }

    .pub-table.pub-p3mk-table tbody td.col-act .pub-p3mk-eye-btn {
        width: 100%;
        height: auto;
        min-height: 42px;
        padding: 9px 14px;
        font-size: 13.5px;
        font-weight: 600;
    }

    .pub-table.pub-p3mk-table tbody td.col-act .pub-p3mk-eye-label {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }

    .pub-table .col-num,
    .pub-table .col-act {
        width: 100%;
        text-align: right;
    }

    .pub-stage-cell {
        min-width: 0;
        width: 100%;
        align-items: stretch;
    }

    .pub-stage-meter-row {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 760px) {
    .pub-hub-section {
        padding: 36px 0 56px;
    }

    .pub-hub-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 440px;
        margin: 0 auto;
        gap: 22px;
    }

    .pub-subnav-tabs,
    .pub-subnav-tabs.pub-p3mk-subtabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .pub-subnav-tabs::-webkit-scrollbar {
        display: none;
    }

    .pub-subtab {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 720px) {
    .pub-jdih-hero {
        min-height: 176px;
        padding: 88px 0 24px;
    }

    .pub-jdih-hero.is-compact {
        min-height: 136px;
        padding: 80px 0 18px;
    }
}

@media (max-width: 640px) {
    .pub-container {
        width: calc(100% - 28px);
    }

    .pub-header-inner {
        min-height: 66px;
        gap: 10px;
    }

    .pub-brand {
        flex: 1 1 auto;
        max-width: none;
        gap: 9px;
        padding: 6px 0;
    }

    .pub-brand img {
        width: 34px;
        height: 34px;
    }

    .pub-brand-text strong {
        font-size: 15.5px;
    }

    .pub-brand-text small {
        display: block;
        margin-top: 2px;
        font-size: 9px;
        line-height: 1.22;
    }

    .pub-circle-icon {
        width: 36px;
        height: 36px;
    }

    .pub-jdih-breadcrumb-bar {
        padding: 11px 0;
    }

    .pub-jdih-breadcrumb {
        font-size: 13px;
    }

    .pub-hub-card {
        padding: 26px 22px 28px;
    }

    .pub-hub-figure {
        height: 164px;
        margin-bottom: 18px;
    }

    .pub-hub-title {
        font-size: 18px;
    }

    .pub-p3mk-section {
        padding: 24px 0 48px;
    }

    .pub-p3mk-section .pub-container {
        width: calc(100% - 28px);
    }

    .pub-p3mk-filter-box {
        padding: 18px 16px 20px;
        border-radius: 8px;
    }

    .pub-p3mk-filter-grid,
    .pub-p3mk-filter-grid.has-program-field,
    .pub-p3mk-filter-grid.is-search-mode {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .pub-p3mk-filter-grid .pub-p3mk-field--keyword,
    .pub-p3mk-filter-grid.has-program-field .pub-p3mk-field--keyword,
    .pub-p3mk-filter-grid.is-search-mode .pub-p3mk-field--keyword,
    .pub-p3mk-filter-grid .pub-p3mk-actions,
    .pub-p3mk-filter-grid.has-program-field .pub-p3mk-actions,
    .pub-p3mk-filter-grid.is-search-mode .pub-p3mk-actions {
        grid-column: auto;
    }

    .pub-p3mk-actions {
        width: 100%;
        flex-wrap: wrap;
        margin-top: 4px;
    }

    .pub-p3mk-submit {
        flex: 1 1 140px;
        width: 100%;
    }

    .pub-p3mk-reset {
        flex: 0 1 auto;
    }

    .pub-p3mk-heading {
        font-size: 20px;
    }

    .pub-section {
        padding: 38px 0;
    }

    .pub-sheet-head,
    .pub-stepper-body,
    .pub-pagination-bar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pub-sheet-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pub-page-banner-inner {
        padding-top: 22px;
        padding-bottom: 20px;
    }

    .pub-page-banner-actions {
        width: 100%;
    }

    .pub-page-banner-actions .pub-btn {
        flex: 1 1 auto;
    }

    .pub-spec-grid,
    .pub-spec-grid.is-cols-2,
    .pub-spec-grid.is-cols-3,
    .pub-spec-grid.is-cols-4,
    .pub-actors-band,
    .pub-actors-band.is-cols-3,
    .pub-actors-band.is-cols-4 {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-detail-stage-card {
        padding: 16px;
    }

    .pub-timeline-rail {
        padding-left: 22px;
    }

    .pub-timeline-marker {
        left: -25px;
    }

    .pub-timeline-card {
        padding: 12px 14px;
    }

    .pub-footer-main {
        padding: 38px 0 30px;
        gap: 28px;
    }

    .pub-footer-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 18px;
    }
}

@media (max-width: 520px) {
    .pub-sheet-head-actions {
        width: 100%;
        gap: 10px;
    }

    .pub-inline-kpis {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        width: 100%;
    }

    .pub-inline-kpis > span {
        padding: 9px 12px;
        border-right: 1px solid var(--pub-line);
        border-bottom: 1px solid var(--pub-line);
    }

    .pub-inline-kpis > span:nth-child(2n) {
        border-right: 0;
    }

    .pub-inline-kpis > span:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 400px) {
    .pub-p3mk-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pub-p3mk-submit,
    .pub-p3mk-reset {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
