#mou-admin [hidden],
#kr-detail [hidden],
#placement-guide [hidden] {
    display: none !important;
}
#mou-admin *,
#kr-detail *,
#kr-promosi-draft *,
#mou-directory *,
#placement-guide * {
    box-sizing: border-box;
}
/* Shared negara stylesheet. Page-specific rules remain scoped to their containers. */
/* Mechanism editor */
#mou-admin[data-mekanisme-admin] .mk-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
}

#mou-admin[data-mekanisme-admin] input[type='checkbox'],
#mou-admin[data-mekanisme-admin] input[type='radio'] {
    width: 20px;
    min-height: 20px;
    height: 20px;
    flex-shrink: 0;
}

#mou-admin[data-mekanisme-admin] {
    --ma-blue: #234969;
    max-width: 1180px;
}

#mou-admin .mk-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 24px;
    align-items: start;
}

#mou-admin .mk-editor-layout > section {
    min-width: 0;
}

#mou-admin .mk-program-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px;
    background: linear-gradient(120deg, #edf5fc, #fff);
    border-color: #cddfeb;
}

#mou-admin .mk-program-identity {
    display: flex;
    align-items: center;
    gap: 18px;
}

#mou-admin .mk-program-identity h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

#mou-admin .mk-program-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

#mou-admin .mk-program-fields .ma-field {
    min-width: 0;
    margin-bottom: 0;
}

#mou-admin .mk-program-summary {
    grid-column: 1 / -1;
}

#mou-admin .mk-program-identity > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

#mou-admin .mk-program-identity p {
    margin-bottom: 0;
}

#mou-admin .mk-program-icon {
    display: grid;
    place-items: center;
    flex: 0 0 64px;
    height: 64px;
    border-radius: 16px;
    background: #d9eafa;
    color: #234969;
    font-size: 28px;
}

#mou-admin .mk-mode-selector {
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 0;
}

#mou-admin .mk-mode-selector legend {
    font-size: 14px;
    font-weight: 700;
    border: 0;
    margin-bottom: 10px;
}

#mou-admin .mk-mode-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#mou-admin .mk-mode-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    margin: 0;
    border: 1px solid #cbd9e7;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

#mou-admin .mk-mode-option:has(input:checked) {
    border-color: #2b658e;
    background: #e8f2fa;
    box-shadow: inset 0 0 0 1px #2b658e;
}

#mou-admin .mk-mode-option:has(input:disabled) {
    opacity: 0.55;
    cursor: not-allowed;
}

#mou-admin .mk-mode-option strong,
#mou-admin .mk-mode-option small {
    display: block;
}

#mou-admin .mk-mode-option small {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #526579;
}

#mou-admin .mk-country-choices .mk-check {
    padding: 8px;
    border-radius: 6px;
}

#mou-admin .mk-country-choices .mk-check:has(input:checked) {
    background: #e8f2fa;
    color: #234969;
}

#mou-admin button.mk-chip {
    min-height: 40px;
    cursor: pointer;
}

#mou-admin .mk-inline-preview figcaption {
    margin-bottom: 16px;
    font-weight: 700;
    color: #526579;
}

#mou-admin .mk-asset-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--ma-line);
    margin: 20px 0;
}

#mou-admin .mk-asset-tabs [role='tab'] {
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #526579;
    font-weight: 700;
    cursor: pointer;
}

#mou-admin .mk-asset-tabs [aria-selected='true'] {
    color: #234969;
    border-bottom-color: #234969;
    background: #edf5fc;
}

#mou-admin [data-preview-empty] {
    padding: 48px 16px;
    text-align: center;
}

#mou-admin .nf-fields,
#mou-admin .nf-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

#mou-admin .nf-filters {
    align-items: end;
}

#mou-admin .nf-fields .ma-field,
#mou-admin .nf-filters .ma-field {
    margin-bottom: 0;
}

#mou-admin .nf-wide {
    grid-column: 1 / -1;
}

#mou-admin[data-faq-admin] .ma-button {
    white-space: nowrap;
}

.nf-country-section {
    margin-top: 32px;
}

.nf-public {
    color: #243c52;
    margin-bottom: 24px;
    overflow-wrap: anywhere;
}

.nf-public .nf-item {
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    margin: 12px 0;
    overflow: hidden;
}

.nf-public summary {
    padding: 18px 22px;
    cursor: pointer;
    min-height: 48px;
    font-weight: 700;
}

.nf-public .nf-theme {
    color: #526579;
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
}

.nf-public .nf-question {
    display: block;
    margin-top: 6px;
    line-height: 1.6;
}

.nf-public .nf-answer {
    padding: 18px 22px;
    border-top: 1px solid #dce5ec;
    line-height: 1.75;
}

#mou-admin .mk-slide-nav,
#placement-guide .mk-slide-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

#mou-admin .mk-slide-nav[hidden],
#placement-guide .mk-slide-nav[hidden],
#mou-admin [data-slide][hidden],
#placement-guide [data-slide][hidden] {
    display: none;
}

.nf-editor-content img,
.nf-public .nf-answer img {
    max-width: 100%;
    height: auto;
}

.nf-public .nf-answer ul,
.nf-public .nf-answer ol {
    padding-left: 24px;
}

.nf-public .nf-scope {
    color: #526579;
    font-size: 12px;
}

.nf-public .nf-preview,
.nf-public .nf-empty {
    padding: 20px;
    background: #edf5fa;
    border-radius: 12px;
}

.nf-public :is(summary, a):focus-visible {
    outline: 3px solid #23618c;
    outline-offset: -3px;
}

@media (max-width: 767px) {
    #mou-admin .nf-fields,
    #mou-admin .nf-filters {
        grid-template-columns: minmax(0, 1fr);
    }
}

#mou-admin .pwk-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
}

#mou-admin .pwk-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 24px;
    align-items: start;
}

#mou-admin #pwk-editor .pwk-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

#mou-admin #pwk-editor .pwk-fields .ma-field {
    margin-bottom: 0;
}

#mou-admin #pwk-editor .pwk-field-wide {
    grid-column: 1 / -1;
}

#mou-admin #pwk-editor .ma-card {
    padding: 20px;
}

#mou-admin #pwk-editor .ma-card > h2 {
    margin-bottom: 10px;
}

#mou-admin #pwk-editor .ma-card > .ma-muted {
    margin-bottom: 16px;
}

#mou-admin #pwk-editor .pwk-photo-editor {
    min-height: 160px;
    margin: 16px 0;
}

#mou-admin #pwk-editor .pwk-photo-editor img {
    max-height: 220px;
}

#mou-admin #pwk-editor .pwk-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
}

#mou-admin #pwk-editor .pwk-location h2 {
    font-size: 16px;
}

@media (max-width: 600px) {
    #mou-admin #pwk-editor .pwk-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}

#mou-admin .pwk-actions .ma-button {
    white-space: nowrap;
}

#mou-admin .pwk-photo-editor {
    margin: 24px 0;
    border: 1px dashed #bdcdda;
    border-radius: 12px;
}

#mou-admin .pwk-remove {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 44px;
}

#mou-admin .pwk-map {
    height: 380px;
    width: 100%;
    border: 1px solid #bdcdda;
    border-radius: 12px;
    margin-top: 16px;
    z-index: 0;
    background: #e9f0f3;
}

#mou-admin .pwk-map-dialog {
    width: min(820px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 24px;
    border: 1px solid #dce5ec;
    border-radius: 18px;
    color: #243c52;
    background: #fff;
    box-shadow: 0 24px 80px #102d4c40;
    overflow: auto;
}

#mou-admin .pwk-map-dialog::backdrop {
    background: #10283eb3;
}

#mou-admin .pwk-map-dialog .pwk-map {
    height: clamp(220px, 45dvh, 440px);
}

#mou-admin .pwk-map-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #dce5ec;
}

#mou-admin .pwk-map-search {
    margin-top: 16px;
}

#mou-admin .pwk-map-search-controls {
    display: flex;
    gap: 10px;
}

#mou-admin .pwk-map-search-controls input {
    min-width: 0;
}

#mou-admin .pwk-map-results {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    max-height: 180px;
    overflow-y: auto;
}

#mou-admin .pwk-map-results button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #f5f9fc;
    color: #24577c;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
}

#mou-admin .pwk-location {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #dce5ec;
}

#mou-admin .pwk-location-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

#mou-admin .pwk-location-heading h2 {
    margin: 0;
    font-size: 20px;
}

#mou-admin .pwk-location-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    color: #23618c;
    background: #e8f2fa;
    font-size: 20px;
}

#mou-admin .pwk-map-status {
    margin: 12px 0;
    padding: 12px 14px;
    background: #edf5fa;
    border-radius: 8px;
    color: #315572;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#mou-admin .pwk-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#mou-admin .pwk-map .leaflet-control-zoom {
    border: 1px solid #cad9e3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px #23496926;
}

#mou-admin .pwk-map .leaflet-control-zoom a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #24577c;
}

#mou-admin .pwk-map-marker span {
    display: block;
    width: 34px;
    height: 34px;
    background: #23618c;
    border: 3px solid white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: -3px 3px 12px #183c6559;
}

#mou-admin .pwk-map-marker span::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: white;
}

#mou-admin .pwk-map :focus-visible {
    outline: 3px solid #23618c;
    outline-offset: 3px;
}

#mou-admin [hidden],
.pwk-public [hidden] {
    display: none !important;
}

.pwk-country-section {
    margin-top: 40px;
}

.pwk-public {
    color: #243c52;
    margin-bottom: 24px;
}

.pwk-public .pwk-public-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    border: 1px solid #dce5ec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
}

.pwk-public .pwk-photo,
#mou-admin .pwk-photo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    min-height: 240px;
    background: #edf3f7;
    color: #526579;
    text-align: center;
}

.pwk-public .pwk-photo img,
#mou-admin .pwk-photo img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.pwk-public .pwk-photo i,
.pwk-public .pwk-empty i {
    font-size: 36px;
}

.pwk-public .pwk-contact {
    padding: 28px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.pwk-public .pwk-country {
    color: #596f83;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
}

.pwk-public h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 0 0 24px;
}

.pwk-public dl div {
    margin-bottom: 16px;
}

.pwk-public dt {
    font-size: 12px;
    color: #596f83;
    margin-bottom: 5px;
}

.pwk-public dd {
    margin: 0;
    line-height: 1.7;
}

.pwk-public .pwk-address {
    white-space: pre-line;
}

.pwk-public .pwk-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.pwk-public .pwk-links a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #c4d4e1;
    border-radius: 8px;
    color: #254f70;
    font-weight: 600;
    text-decoration: none;
}

.pwk-public .pwk-links a:hover {
    background: #edf3f7;
}

.pwk-public a:focus-visible {
    outline: 3px solid #3277a6;
    outline-offset: 3px;
}

.pwk-public .pwk-empty,
.pwk-public .pwk-preview-notice {
    padding: 24px;
    border-radius: 12px;
    background: #f1f5f8;
    margin-bottom: 20px;
    line-height: 1.7;
}

@media (max-width: 767px) {
    #mou-admin .pwk-filters,
    #mou-admin .pwk-editor-layout,
    .pwk-public .pwk-public-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .pwk-public .pwk-contact {
        padding: 20px;
    }
}

#mou-admin .mk-asset-info strong {
    font-size: 20px;
}

#mou-admin .cke {
    max-width: 100%;
}

#mou-admin .mk-rich-text,
#placement-guide .mk-rich-text {
    white-space: normal;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#mou-admin .mk-rich-text ul,
#mou-admin .mk-rich-text ol,
#placement-guide .mk-rich-text ul,
#placement-guide .mk-rich-text ol {
    padding-left: 24px;
}

#mou-admin .mk-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

#mou-admin .mk-detail-stats dt {
    color: #526579;
    font-size: 12px;
    margin-bottom: 8px;
}

#mou-admin .mk-detail-stats dd {
    margin: 0;
    color: #234969;
    font-size: 18px;
    font-weight: 700;
}

#mou-admin .mk-detail-countries {
    display: grid;
    gap: 10px;
}

#mou-admin .mk-detail-country {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d5e0e9;
    border-radius: 10px;
    background: #fff;
    text-align: left;
    color: #234969;
}

#mou-admin button.mk-detail-country {
    cursor: pointer;
}

#mou-admin .mk-detail-country[aria-pressed='true'] {
    background: #e8f2fa;
    border-color: #2b658e;
    box-shadow: inset 3px 0 #2b658e;
}

#mou-admin .mk-detail-country span {
    display: block;
    color: #526579;
    font-size: 12px;
    margin-top: 5px;
}

#mou-admin .mk-detail-description-title {
    margin-top: 28px;
    font-size: 16px;
}

#mou-admin .mk-detail-history summary {
    cursor: pointer;
    min-height: 44px;
    font-weight: 700;
}

#mou-admin .mk-detail-history summary span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 8px;
}

#mou-admin .mk-chip[aria-pressed='true'] {
    background: var(--ma-blue);
    border-color: var(--ma-blue);
    color: #fff;
}

#mou-admin .mk-country-choices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px 12px;
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid var(--ma-line);
    border-radius: 8px;
    padding: 12px;
    min-width: 0;
}

#mou-admin .mk-country-choices .mk-check {
    margin: 0;
    min-height: 40px;
    font-weight: 400;
}

#mou-admin .mk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

#mou-admin .mk-chip {
    border: 1px solid #cbd9e7;
    border-radius: 20px;
    background: #edf3f8;
    padding: 5px 10px;
    font-size: 12px;
}

#mou-admin .mk-asset-row {
    display: block;
    padding: 16px 0;
    border-top: 1px solid var(--ma-line);
}

#mou-admin .mk-asset-info {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
    overflow-wrap: anywhere;
}

#mou-admin .mk-inline-preview {
    margin: 20px 0 0;
    padding: 16px;
    border: 1px solid var(--ma-line);
    border-radius: 6px;
    background: #f5f7fa;
}

#mou-admin .mk-asset-actions {
    margin: 12px 0;
}

#mou-admin .mk-asset-preview {
    display: block;
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    margin: 16px auto;
}

#mou-admin[data-mekanisme-admin] table {
    table-layout: auto;
}

#mou-admin[data-mekanisme-admin] .ma-actions .ma-button {
    white-space: nowrap;
}

@media (max-width: 800px) {
    #mou-admin .mk-editor-layout,
    #mou-admin .mk-program-fields,
    #mou-admin .mk-program-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #mou-admin .mk-mode-options,
    #mou-admin .mk-detail-stats {
        grid-template-columns: 1fr;
    }

    #mou-admin .mk-program-banner {
        padding: 20px;
        gap: 24px;
    }
}

#mou-admin .mk-thumbnail {
    display: block;
    max-width: 100%;
    width: 180px;
    max-height: 180px;
    object-fit: contain;
    margin: 12px 0;
    border: 1px solid var(--ma-line);
}

#mou-admin .mk-prose,
#placement-guide .pg-text {
    white-space: pre-line;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

#placement-guide .pg-text {
    margin: 24px;
}

#placement-guide .pg-program-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* Layout and typography */
#mou-admin {
    --ma-ink: #18324c;
    --ma-muted: #526477;
    --ma-line: #dbe4ed;
    --ma-blue: #1766a0;
    color: var(--ma-ink);
    font-size: 15px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 0 32px;
}

#mou-admin :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--ma-blue);
    outline-offset: 3px;
}

#mou-admin h1 {
    font-size: clamp(25px, 2.3vw, 32px);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
    color: var(--ma-ink);
}

#mou-admin h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 18px;
    color: var(--ma-ink);
}

#mou-admin h3 {
    font-size: 16px;
    margin: 0 0 8px;
    font-weight: 700;
}

#mou-admin p {
    line-height: 1.7;
}

#mou-admin .ma-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 26px;
}

#mou-admin .ma-head p {
    margin: 0;
    color: var(--ma-muted);
    font-size: 14px;
}

#mou-admin .ma-eyebrow {
    color: var(--ma-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 9px;
}

/* Actions */
#mou-admin .ma-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #b6cbdc;
    border-radius: 8px;
    background: #fff;
    color: var(--ma-blue);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.18s,
        border-color 0.18s;
}

#mou-admin .ma-button:hover {
    background: #edf5fc;
    border-color: var(--ma-blue);
}

#mou-admin .ma-button.ma-primary {
    background: var(--ma-blue);
    border-color: var(--ma-blue);
    color: #fff;
}

#mou-admin .ma-button.ma-primary:hover {
    background: #105080;
}

#mou-admin .ma-small {
    font-size: 12px;
    padding: 8px 11px;
}

#mou-admin .ma-danger {
    color: #963d43;
    border-color: #d7b3b6;
}

#mou-admin .ma-danger:hover {
    background: #fff1f2;
    border-color: #963d43;
}

#mou-admin button:disabled {
    opacity: 0.55;
    cursor: wait;
}

#mou-admin button[aria-disabled='true'] {
    pointer-events: none;
}

#mou-admin .ma-card {
    background: white;
    border: 1px solid var(--ma-line);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 3px 16px #18324c04;
}

/* Form controls and filters */
#mou-admin .ma-filter {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 18px;
}

#mou-admin label {
    display: block;
    color: var(--ma-ink);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
}

#mou-admin :is(input:not([type='hidden']), select, textarea) {
    display: block;
    width: 100%;
    min-height: 46px;
    height: auto;
    border: 1px solid #9aafc2;
    border-radius: 7px;
    background: #fff;
    padding: 10px 12px;
    color: var(--ma-ink);
    font: inherit;
    font-size: 14px;
}

#mou-admin textarea {
    resize: vertical;
    line-height: 1.7;
}

#mou-admin input[aria-invalid='true'],
#mou-admin select[aria-invalid='true'],
#mou-admin textarea[aria-invalid='true'] {
    border: 2px solid #a33b46;
}

#mou-admin .ma-field-error {
    color: #97333e;
    font-size: 13px;
    margin: 7px 0 0;
}

#mou-admin .ma-hint {
    font-size: 12px;
    color: var(--ma-muted);
    margin: 7px 0 0;
    line-height: 1.65;
}

#mou-admin .ma-field {
    margin-bottom: 20px;
    min-width: 0;
}

#mou-admin .ma-filter .ma-field {
    margin: 0;
}

#mou-admin .ma-filter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ma-line);
}

#mou-admin .ma-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#mou-admin label[for='ma-size'] {
    margin: 0;
}

#mou-admin #ma-size {
    width: auto;
}

#mou-admin .ma-muted {
    color: var(--ma-muted);
    font-size: 13px;
}

/* Feedback */
#mou-admin .ma-alert {
    border: 1px solid #d7bc88;
    border-radius: 8px;
    background: #fff9ed;
    color: #75531d;
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

#mou-admin .ma-alert.ma-success {
    color: #235d3d;
    background: #eef8f2;
    border-color: #b7d9c5;
}

#mou-admin .ma-alert.ma-errors {
    color: #90333e;
    background: #fff4f5;
    border-color: #dcb2b8;
}

#mou-admin .ma-errors h2 {
    font-size: 16px;
    color: inherit;
    margin-bottom: 8px;
}

#mou-admin .ma-errors ul {
    margin: 0;
    padding-left: 20px;
}

#mou-admin .ma-errors a {
    color: inherit;
    text-decoration: underline;
}

/* Document list */
#mou-admin .ma-list-head {
    margin-bottom: 20px;
}

#mou-admin .ma-list-head h2 {
    margin: 0;
}

#mou-admin .ma-table-wrap {
    overflow-x: auto;
    margin: 0 -24px;
}

#mou-admin table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}

#mou-admin col:nth-child(1) {
    width: 30%;
}
#mou-admin col:nth-child(2) {
    width: 17%;
}
#mou-admin col:nth-child(3) {
    width: 15%;
}
#mou-admin col:nth-child(4) {
    width: 16%;
}
#mou-admin col:nth-child(5) {
    width: 22%;
}

#mou-admin th {
    font-size: 12px;
    background: #f2f6fa;
    padding: 15px 20px;
    color: var(--ma-muted);
    text-align: left;
    border-block: 1px solid var(--ma-line);
}

#mou-admin td {
    padding: 20px;
    border-bottom: 1px solid var(--ma-line);
    vertical-align: top;
    overflow-wrap: anywhere;
    line-height: 1.65;
}

#mou-admin .ma-title {
    font-weight: 700;
    color: var(--ma-ink);
    display: block;
    line-height: 1.7;
    margin: 7px 0;
}

#mou-admin .ma-meta {
    display: block;
    color: var(--ma-muted);
    font-size: 12px;
    line-height: 1.7;
}

#mou-admin .ma-agreement-status {
    margin-top: 8px;
}

#mou-admin .ma-badge {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 5px;
    background: #edf2f7;
    color: #4b6277;
    border: 1px solid #d4dfe9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

#mou-admin .ma-live {
    background: #eaf6ef;
    color: #22603d;
    border-color: #bbdbc8;
}

#mou-admin .ma-country {
    display: flex;
    gap: 9px;
    align-items: center;
    font-weight: 600;
}

#mou-admin .ma-country img {
    width: 26px;
    height: 20px;
    object-fit: cover;
    border: 1px solid var(--ma-line);
}

#mou-admin .ma-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 0;
}

#mou-admin .ma-inline {
    display: inline;
    margin: 0;
}

#mou-admin .ma-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

#mou-admin .ma-page-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

#mou-admin .ma-page-links a,
#mou-admin .ma-page-links span {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    border: 1px solid var(--ma-line);
    border-radius: 7px;
    color: var(--ma-blue);
    text-decoration: none;
    padding: 0 10px;
    font-size: 13px;
}

#mou-admin .ma-page-links [aria-current] {
    background: var(--ma-blue);
    color: #fff;
    border-color: var(--ma-blue);
}

#mou-admin .ma-page-links [aria-disabled] {
    color: #718294;
    background: #f3f6f9;
}

#mou-admin .ma-empty {
    text-align: center;
    padding: 46px 20px;
}

#mou-admin .ma-empty-icon {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 64px;
    border: 1px solid var(--ma-line);
    border-radius: 12px;
    background: #f3f7fb;
    font-size: 26px;
    color: #7791a8;
    margin-bottom: 18px;
}

/* Editor and detail */
#mou-admin .ma-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
    align-items: start;
}

#mou-admin .ma-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
}

#mou-admin .ma-wide {
    grid-column: 1/-1;
}

#mou-admin .ma-aside {
    position: sticky;
    top: 24px;
}

#mou-admin .ma-aside p {
    font-size: 13px;
    color: var(--ma-muted);
}

#mou-admin .ma-aside ol {
    padding-left: 19px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--ma-muted);
}

#mou-admin .ma-rule {
    border: 0;
    border-top: 1px solid var(--ma-line);
    margin: 20px 0;
}

#mou-admin .ma-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--ma-line);
    padding-top: 20px;
}

#mou-admin .ma-back {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 44px;
    color: var(--ma-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

#mou-admin .ma-required {
    color: #923540;
}

#mou-admin .ma-dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 0;
}

#mou-admin dt {
    font-size: 12px;
    color: var(--ma-muted);
    font-weight: 500;
    margin-bottom: 6px;
}

#mou-admin dd {
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

#mou-admin .ma-doc-heading {
    font-size: 22px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Country selector */
#mou-admin .select2-container {
    max-width: 100%;
}

#mou-admin .select2-selection--single {
    height: 46px;
    border: 1px solid #9aafc2;
    border-radius: 7px;
}

#mou-admin .select2-selection__rendered {
    line-height: 44px;
    padding-left: 12px;
    color: var(--ma-ink);
    font-size: 14px;
}

#mou-admin .select2-selection__arrow {
    height: 44px;
}

#mou-admin .select2-container--focus .select2-selection {
    outline: 3px solid var(--ma-blue);
    outline-offset: 3px;
}

#mou-admin .select2-dropdown {
    border-color: #9aafc2;
    border-radius: 8px;
    overflow: hidden;
}

#mou-admin .select2-search__field {
    min-height: 44px;
}

#mou-admin .select2-results__option {
    min-height: 44px;
    padding: 12px;
    font-size: 14px;
}

#mou-admin .select2-results__option--highlighted[aria-selected] {
    background: var(--ma-blue);
    color: white;
}

/* Confirmation dialog */
#mou-admin dialog {
    width: min(520px, calc(100% - 32px));
    max-height: 85vh;
    border: 1px solid #a5b8c9;
    border-radius: 12px;
    padding: 26px;
    color: var(--ma-ink);
    box-shadow: 0 24px 80px #162b4533;
}

#mou-admin dialog::backdrop {
    background: #102a4666;
}

#mou-admin dialog p {
    font-size: 14px;
    color: var(--ma-muted);
}

#mou-admin .ma-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

#mou-admin .ma-document-link {
    overflow-wrap: anywhere;
    color: var(--ma-blue);
}

/* Responsive layout */
@media (max-width: 1199px) {
    #mou-admin .ma-grid {
        grid-template-columns: minmax(0, 1fr) 240px;
    }
    #mou-admin table {
        table-layout: auto;
    }
    #mou-admin td,
    #mou-admin th {
        padding: 16px 12px;
    }
    #mou-admin .ma-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    #mou-admin .ma-grid {
        grid-template-columns: 1fr;
    }
    #mou-admin .ma-aside {
        position: static;
    }
    #mou-admin .ma-dl {
        gap: 20px;
    }
    #mou-admin .ma-table-wrap {
        overflow: visible;
        margin: 0;
    }
    #mou-admin table,
    #mou-admin tbody,
    #mou-admin tr,
    #mou-admin td {
        display: block;
        width: 100%;
    }
    #mou-admin thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    #mou-admin tr {
        border: 1px solid var(--ma-line);
        border-radius: 10px;
        padding: 16px;
        margin-bottom: 14px;
    }
    #mou-admin td {
        padding: 7px 0;
        border: 0;
    }
    #mou-admin td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        color: var(--ma-muted);
        margin-bottom: 5px;
    }
    #mou-admin colgroup {
        display: none;
    }
}

@media (max-width: 600px) {
    #mou-admin {
        padding: 0 0 24px;
    }
    #mou-admin .ma-head {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }
    #mou-admin .ma-card {
        padding: 18px;
    }
    #mou-admin .ma-fields,
    #mou-admin .ma-filter,
    #mou-admin .ma-dl {
        grid-template-columns: 1fr;
    }
    #mou-admin .ma-footer {
        align-items: start;
    }
    #mou-admin .ma-doc-heading {
        font-size: 19px;
    }
    #mou-admin .ma-pagination {
        align-items: start;
    }
    #mou-admin .ma-dialog-actions {
        flex-wrap: wrap;
    }
    #mou-admin .ma-page-links {
        gap: 4px;
    }
    #mou-admin .ma-page-links a,
    #mou-admin .ma-page-links span {
        min-width: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #mou-admin .ma-button {
        transition: none;
    }
}

/* Country profile editor */

:where(#form_profil_negara) .stepwizard a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Public country directory */

#country-directory {
    --ink: #152c46;
    --muted: #536579;
    --blue: #1266a8;
    --border: #dce5ee;
    color: var(--ink);
    background: #f4f7fa;
    font-size: 16px;
}

#country-directory .directory-wrap {
    width: 100%;
    max-width: 1440px;
    margin: auto;
    padding: 40px 32px 56px;
}

#country-directory .directory-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

#country-directory .eyebrow {
    color: var(--blue);
    font-size: 12px;
    letter-spacing: 0.12em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#country-directory h1 {
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 8px;
}

#country-directory .intro {
    color: var(--muted);
    margin: 0;
}

#country-directory .draft-label {
    display: inline-flex;
    background: #fff6df;
    color: #805b17;
    border: 1px solid #eddbb1;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

#country-directory .search-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

#country-directory .search-box {
    display: flex;
    width: 300px;
    max-width: 100%;
    background: white;
    border: 1px solid #8294a8;
    border-radius: 10px;
    overflow: hidden;
}

#country-directory .search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 12px 14px;
    background: transparent;
}

#country-directory .search-box button {
    width: 48px;
    flex-shrink: 0;
    border: 0;
    color: white;
    background: var(--blue);
    cursor: pointer;
}

#country-directory :is(a, button, input, summary):focus-visible {
    outline: 3px solid #1266a8;
    outline-offset: 4px;
}

#country-directory .search-box:focus-within {
    outline: 3px solid #1266a8;
    outline-offset: 3px;
}

#country-directory #countryGrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

#country-directory .country-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 156px;
    background: #284c68;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(21, 44, 70, 0.12);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    text-decoration: none !important;
}

#country-directory .country-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(21, 44, 70, 0.2);
}

#country-directory .country-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#country-directory .country-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 25, 43, 0.8), rgba(8, 25, 43, 0.24));
    z-index: 2;
}

#country-directory .country-card-title {
    position: relative;
    z-index: 3;
    color: #ffffff;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.3;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 0 15px;
}

#country-directory .filter-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
}

#country-directory .filter-btn {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: var(--muted);
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 7px;
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
    text-decoration: none;
}

#country-directory .filter-btn:hover {
    background-color: #e9ecef;
    color: #6c757d;
    text-decoration: none;
}

#country-directory .filter-btn.active {
    background-color: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
}

#country-directory .page-item.active .page-link {
    background-color: var(--blue);
    border-color: var(--blue);
    color: white;
}

#country-directory .directory-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 24px 0 32px;
    font-size: 14px;
    color: var(--muted);
}

#country-directory .pagination {
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

#country-directory .page-link {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 50%;
    color: var(--blue);
    cursor: pointer;
}

#country-directory .page-link:disabled {
    cursor: default;
}

#country-directory .mou-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    gap: 36px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(21, 44, 70, 0.04);
}

#country-directory .mou-panel h2 {
    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 12px 0;
}

#country-directory .mou-description {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

#country-directory .mou-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 9px;
    border: 1px solid var(--blue);
    background: white;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

#country-directory .mou-button:hover {
    background: #edf5fc;
}

#country-directory .mou-button-primary {
    color: white;
    background: var(--blue);
}

#country-directory .mou-button-primary:hover {
    background: #0b528a;
}

#country-directory .mou-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

#country-directory .mou-stat {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 14px;
}

#country-directory .stat-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

#country-directory .stat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5f5ed;
    color: #19734b;
    flex-shrink: 0;
}

#country-directory .stat-icon svg {
    width: 24px;
    height: 24px;
}

#country-directory .stat-icon-pending {
    color: #996400;
    background: #fff4d7;
}

#country-directory .stat-icon-country {
    color: #aa4647;
    background: #fcebec;
}

#country-directory .stat-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

#country-directory .stat-caption {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

#country-directory .stat-caption strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
}

#country-directory .partners-title {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 12px;
}

#country-directory .partner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#country-directory .partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
}

#country-directory .partner:hover {
    border-color: var(--blue);
    background: #f4f8fc;
}

#country-directory .partner img {
    width: 26px;
    height: 19px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px #e2e8f0;
}

#country-directory .preview-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 1199px) {
    #country-directory #countryGrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #country-directory .mou-panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    #country-directory #countryGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #country-directory .directory-heading {
        align-items: start;
        flex-direction: column;
    }
    #country-directory .search-box {
        width: 360px;
    }
}

@media (max-width: 600px) {
    #country-directory .directory-wrap {
        padding: 24px 16px 32px;
    }
    #country-directory #countryGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    #country-directory .country-card {
        height: 140px;
    }
    #country-directory .country-card-title {
        font-size: 17px;
        padding: 0 8px;
    }
    #country-directory .directory-pagination {
        align-items: start;
        flex-direction: column;
    }
    #country-directory .mou-panel {
        padding: 22px 18px;
    }
    #country-directory .mou-stats {
        grid-template-columns: 1fr;
    }
    #country-directory .mou-stat {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    #country-directory .stat-top {
        margin: 0;
        min-width: 102px;
    }
    #country-directory #searchForm,
    #country-directory .search-box {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #country-directory .country-card {
        transition: none;
    }
    #country-directory .country-card:hover {
        transform: none;
    }
}

/* Public country detail */

:where(#country-detail) .btn-back {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

:where(#country-detail) .btn-back i {
    margin-right: 8px;
}

:where(#country-detail) .hero-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

:where(#country-detail) .hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

:where(#country-detail) .hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

:where(#country-detail) .hero-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

:where(#country-detail) .hero-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

:where(#country-detail) .hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

:where(#country-detail) .hero-flag {
    width: 60px;
    height: auto;
    border-radius: 8px;
    border: 2px solid #fff;
}

:where(#country-detail) .hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

:where(#country-detail) .hero-desc {
    font-size: 0.95rem;
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 0;
}

:where(#country-detail) .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

:where(#country-detail) .hero-actions form {
    display: block;
    width: 100%;
    margin: 0;
}

:where(#country-detail) .btn-hero {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.2s;
}

:where(#country-detail) .btn-hero i {
    width: 24px;
    text-align: center;
    margin-right: 8px;
    font-size: 1.1rem;
}

:where(#country-detail) .btn-hero:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

:where(#country-detail) .btn-simpan {
    background-color: #fff;
}

:where(#country-detail) .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

:where(#country-detail) .category-btn {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #444;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    text-align: left;
    width: 100%;
    height: 100%;
    min-height: 90px;
}

:where(#country-detail) .category-btn:hover {
    background-color: #f8f9fa;
    border-color: #d1d1d1;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

:where(#country-detail) .category-btn.active {
    background-color: #d4eed9;
    border-color: #d4eed9;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

:where(#country-detail) .category-btn i {
    font-size: 1.8rem;
}

:where(#country-detail) .category-btn span {
    line-height: 1.2;
    font-size: 0.95rem;
}

:where(#country-detail) .content-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Korea country detail */

#kr-detail {
    --ink: #152c46;
    --muted: #536579;
    --blue: #1266a8;
    --line: #dce5ee;
    color: var(--ink);
    background: #f4f7fa;
    font-size: 16px;
}

#kr-detail .kr-wrap {
    max-width: 1440px;
    margin: auto;
    padding: 28px 32px 56px;
}

#kr-detail :is(a, button, summary):focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

#kr-detail a {
    color: var(--blue);
}

#kr-detail .kr-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

#kr-detail .kr-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-weight: 700;
    text-decoration: none;
}

#kr-detail .kr-badge {
    display: inline-block;
    background: #fff6df;
    color: #805b17;
    border: 1px solid #eddbb1;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}

#kr-detail .kr-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 20px;
    background: #17344e;
    color: white;
    padding: 48px;
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 288px;
    gap: 64px;
    align-items: center;
}

#kr-detail .kr-hero > div,
#kr-detail .kr-title-row h1 {
    min-width: 0;
    overflow-wrap: anywhere;
}

#kr-detail .kr-topic-content {
    overflow-x: auto;
    overflow-wrap: anywhere;
    line-height: 1.75;
}

#kr-detail .kr-topic-content img {
    max-width: 100%;
    height: auto;
}

#kr-detail .kr-topic-content :is(ul, ol) {
    padding-left: 24px;
}

#kr-detail .kr-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
    z-index: -2;
}

#kr-detail .kr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 24, 40, 0.94), rgba(6, 24, 40, 0.74) 48%, rgba(6, 24, 40, 0.18));
    z-index: -1;
}

#kr-detail .kr-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 800;
    margin: 0 0 12px;
}

#kr-detail .kr-title-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

#kr-detail h1 {
    color: white;
    font-size: clamp(32px, 3.8vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin: 0;
    font-weight: 800;
}

#kr-detail .kr-flag {
    width: 54px;
    height: 40px;
    object-fit: contain;
    background: white;
    border: 5px solid white;
    border-radius: 7px;
    flex-shrink: 0;
}

#kr-detail .kr-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 22px;
    color: #e2ebf3;
}

#kr-detail .kr-description {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    color: #f1f5f9;
}

#kr-detail .kr-hero-actions {
    display: grid;
    gap: 14px;
    padding: 24px;
    background: white;
    color: var(--ink);
    border-radius: 14px;
    box-shadow: 0 12px 32px #06182826;
}

#kr-detail .kr-action-heading {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

#kr-detail .kr-action-description {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin: -6px 0 2px;
}

#kr-detail .kr-booklet {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

#kr-detail .kr-hero-actions :is(a, button):focus-visible {
    outline-offset: 3px;
}

#kr-detail .kr-hero-actions form {
    margin: 0;
}

#kr-detail .kr-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

#kr-detail .kr-hero-actions .kr-button {
    width: 100%;
}

#kr-detail .kr-button:hover {
    background: #eaf3fb;
    text-decoration: none;
}

#kr-detail .kr-button:disabled {
    background: #f0f3f7;
    color: #576475;
    cursor: not-allowed;
}

#kr-detail .kr-button-primary {
    color: white;
    background: var(--blue);
    border-color: var(--blue);
}

#kr-detail .kr-button-primary:hover {
    color: white;
    background: #0b528a;
}

#kr-detail .kr-action-note {
    font-size: 12px;
    line-height: 1.6;
    margin: 8px 0 0;
    color: var(--muted);
}

#kr-detail .kr-section {
    margin-top: 24px;
    padding: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 6px 24px #152c4605;
}

#kr-detail .kr-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

#kr-detail h2 {
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin: 0;
}

#kr-detail .kr-muted {
    color: var(--muted);
    line-height: 1.7;
    margin: 8px 0 0;
}

#kr-detail .kr-section-index {
    display: inline-block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

#kr-detail .kr-menu {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

#kr-detail .kr-menu-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 14px;
    min-height: 156px;
    width: 100%;
    padding: 20px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.18s,
        background 0.18s,
        box-shadow 0.18s;
}

#kr-detail .kr-menu-button:hover {
    background: #f7fbff;
    border-color: #83aacb;
    box-shadow: 0 4px 12px #152c460a;
}

#kr-detail .kr-menu-button::after {
    content: '\2197';
    position: absolute;
    right: 16px;
    top: 20px;
    color: #526d84;
    font-size: 18px;
}

#kr-detail .kr-menu-label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

#kr-detail .kr-menu-hint {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 5px;
}

#kr-detail .kr-menu-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    font-size: 23px;
    flex-shrink: 0;
}

#kr-detail .kr-menu-icon img {
    width: 32px;
    height: 24px;
    object-fit: cover;
}

#kr-detail .kr-blue {
    background: #e9f3fc;
    color: #1266a8;
}

#kr-detail .kr-gold {
    background: #fff4d7;
    color: #956300;
}

#kr-detail .kr-red {
    background: #fcebec;
    color: #aa4647;
}

#kr-detail .kr-green {
    background: #e5f5ed;
    color: #19734b;
}

#kr-detail .kr-brown {
    background: #f8eddf;
    color: #7d5a2c;
}

#kr-detail .kr-topics.is-expanded {
    padding: 0;
    overflow: hidden;
}

#kr-detail .is-expanded .kr-topics-heading {
    display: none;
}

#kr-detail .is-expanded .kr-menu {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 4px;
    background: #f5f8fb;
    border-bottom: 1px solid var(--line);
    padding: 8px;
}

#kr-detail .is-expanded .kr-menu-button {
    min-height: 90px;
    padding: 10px 6px 8px;
    border-color: transparent;
    border-radius: 8px;
    background: transparent;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

#kr-detail .is-expanded .kr-menu-button::after {
    display: none;
}

#kr-detail .is-expanded .kr-menu-button[aria-selected='true'] {
    background: white;
    border-color: #c5d9ea;
    color: #075b99;
    box-shadow:
        inset 0 -3px 0 var(--blue),
        0 2px 5px #152c4608;
}

#kr-detail .is-expanded .kr-menu-icon {
    width: 28px;
    height: 28px;
    font-size: 20px;
    background: transparent;
}

#kr-detail .is-expanded .kr-menu-icon img {
    width: 28px;
    height: 21px;
}

#kr-detail .kr-tab-label,
#kr-detail .is-expanded .kr-menu-label {
    display: none;
}

#kr-detail .is-expanded .kr-tab-label {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 32px;
    max-width: 112px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    text-wrap: balance;
}

#kr-detail .is-expanded .kr-menu-hint {
    display: none;
}

#kr-detail .kr-topics.is-expanded .kr-menu-button:focus-visible {
    outline-width: 2px;
    outline-offset: -2px;
}

#kr-detail .kr-topic-panel {
    padding: 36px 48px;
    background: #fff;
}

#kr-detail .kr-topic-overview,
#kr-detail .kr-topic-more {
    margin: 0;
    color: #42536a;
    font-size: 15px;
    line-height: 1.85;
}

#kr-detail .kr-topic-overview > p {
    margin: 0 0 22px;
}

#kr-detail .kr-topic-overview > :is(ul, ol) {
    padding-left: 24px;
    margin: 20px 0;
}

#kr-detail .kr-topic-overview li {
    margin-bottom: 10px;
    padding-left: 6px;
}

#kr-detail .kr-topic-more {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

#kr-detail .kr-topic-more > summary {
    padding: 18px 0;
    cursor: pointer;
    color: #235f99;
    font-weight: 700;
    min-height: 48px;
}

#kr-detail .kr-topic-more[open] > summary {
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    #kr-detail .kr-topic-overview .kr-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}

#kr-detail .kr-topic-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
}

#kr-detail .kr-topic-heading .kr-menu-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
}

#kr-detail .kr-topic-heading p {
    margin: 0;
}

#kr-detail .kr-topic-heading h2 {
    margin: 6px 0;
}

#kr-detail .kr-reading {
    margin: 0;
    color: #42536a;
    font-size: 15px;
    line-height: 1.85;
}

#kr-detail .kr-reading-section {
    padding: 26px 30px;
    margin-bottom: 16px;
    border: 1px solid #e0e7ef;
    border-radius: 14px;
    background: #fff;
}

#kr-detail .kr-reading-section > h3 {
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e9eef4;
    color: #264c75;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.6;
}

#kr-detail .kr-reading p {
    margin: 0 0 16px;
    line-height: inherit;
}

#kr-detail .kr-reading :is(ul, ol) {
    margin: 0 0 18px;
    padding-left: 22px;
    list-style-position: outside;
}

#kr-detail .kr-reading ul {
    list-style-type: disc;
}

#kr-detail .kr-reading ol {
    list-style-type: decimal;
}

#kr-detail .kr-reading li {
    padding-left: 6px;
    margin: 0 0 10px;
}

#kr-detail .kr-reading li::marker {
    color: #3974a6;
    font-weight: 700;
}

#kr-detail .kr-reading :is(b, strong) {
    color: #203a55;
}

#kr-detail .kr-reading a {
    color: #235f99;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#kr-detail .kr-reading-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

#kr-detail .kr-reading-facts > div {
    padding: 16px 18px;
    border-radius: 10px;
    background: #f3f7fb;
    border: 1px solid #e8eef5;
}

#kr-detail .kr-reading-facts dt {
    color: #526982;
    font-size: 12px;
    margin-bottom: 6px;
}

#kr-detail .kr-reading-facts dd {
    color: #203a55;
    line-height: 1.75;
}

#kr-detail .kr-reading table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

#kr-detail .kr-reading :is(td, th) {
    padding: 12px 16px;
    border: 1px solid #e0e7ef;
    text-align: left;
}

#kr-detail .kr-reading th {
    background: #f3f7fb;
}

#kr-detail .kr-reading-section > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    #kr-detail .kr-reading-section {
        padding: 20px 18px;
    }

    #kr-detail .kr-reading-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    #kr-detail .kr-topic-heading {
        align-items: flex-start;
        gap: 12px;
    }
}

#kr-detail .kr-topic-panel h2 {
    margin-bottom: 12px;
}

#kr-detail .kr-topic-panel > p {
    max-width: 900px;
    line-height: 1.8;
    color: var(--muted);
}

#kr-detail .kr-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 20px 0 0;
}

#kr-detail .kr-facts > div {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

#kr-detail dt {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    margin: 0 0 6px;
}

#kr-detail dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

#kr-detail .kr-panel-note {
    font-size: 12px;
    margin: 18px 0 0;
}

#kr-detail .kr-documents {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#kr-detail .kr-documents details {
    border: 1px solid var(--line);
    border-radius: 12px;
    transition:
        border-color 0.2s,
        background 0.2s;
}

#kr-detail .kr-documents details:hover {
    border-color: #adc9df;
}

#kr-detail .kr-documents details[open] {
    border-color: #adc9df;
    background: #f8fbfe;
}

#kr-detail .kr-documents summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    list-style: none;
    color: var(--ink);
}

#kr-detail .kr-documents summary::-webkit-details-marker {
    display: none;
}

#kr-detail .kr-doc-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 56px;
    flex-shrink: 0;
    border: 1px solid #d7e7f4;
    border-radius: 10px;
    color: var(--blue);
    background: #edf5fc;
    font-size: 23px;
}

#kr-detail .kr-doc-copy {
    flex: 1;
    min-width: 0;
}

#kr-detail .kr-doc-meta {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

#kr-detail .kr-doc-title {
    display: block;
    max-width: 900px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

#kr-detail .kr-doc-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

#kr-detail .kr-doc-toggle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.22s;
}

#kr-detail .kr-documents details[open] .kr-doc-toggle::after {
    transform: rotate(225deg);
}

#kr-detail .kr-doc-body {
    margin: 0 22px 22px 88px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

#kr-detail .kr-doc-data {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 18px 0;
}

#kr-detail .kr-doc-source {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #edf3f8;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

#kr-detail .kr-documents details::details-content {
    interpolate-size: allow-keywords;
    height: 0;
    opacity: 0;
    overflow: clip;
    transition:
        height 0.24s ease,
        opacity 0.2s ease,
        content-visibility 0.24s allow-discrete;
}

#kr-detail .kr-documents details[open]::details-content {
    height: auto;
    opacity: 1;
}

@media (max-width: 767px) {
    #kr-detail .kr-documents summary {
        gap: 12px;
        padding: 16px;
        align-items: start;
    }
    #kr-detail .kr-doc-icon {
        width: 36px;
        height: 42px;
        font-size: 19px;
    }
    #kr-detail .kr-doc-title {
        font-size: 14px;
    }
    #kr-detail .kr-doc-toggle {
        margin-top: 14px;
    }
    #kr-detail .kr-doc-toggle span {
        display: none;
    }
    #kr-detail .kr-doc-body {
        margin: 0 16px 18px;
    }
    #kr-detail .kr-doc-data {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

#kr-detail summary {
    cursor: pointer;
    min-height: 44px;
    padding: 10px 0;
    color: var(--blue);
    font-weight: 700;
    line-height: 1.6;
}

#kr-detail details p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 8px 0;
}

#kr-detail .kr-representative {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) minmax(220px, 0.8fr);
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    align-items: center;
}

#kr-detail .kr-embassy-art {
    min-height: 180px;
    padding: 24px;
    background: #edf3f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

#kr-detail .kr-embassy-art i {
    font-size: 44px;
    color: #657f96;
}

#kr-detail h3 {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 8px;
}

#kr-detail .kr-contact {
    margin: 0;
    border-left: 1px solid var(--line);
    padding-left: 28px;
}

#kr-detail .kr-contact > div + div {
    margin-top: 16px;
}

#kr-detail .kr-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

#kr-detail .kr-faq-list {
    display: grid;
    gap: 10px;
    counter-reset: faq;
}

#kr-detail .kr-faq details {
    counter-increment: faq;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition:
        background 0.22s,
        border-color 0.22s;
}

#kr-detail .kr-faq details[open] {
    background: #f5f9fd;
    border-color: #adc9df;
}

#kr-detail .kr-faq summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    min-height: 68px;
    list-style: none;
    color: var(--ink);
    font-size: 15px;
}

#kr-detail .kr-faq summary::-webkit-details-marker {
    display: none;
}

#kr-detail .kr-faq summary::before {
    content: counter(faq, decimal-leading-zero);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

#kr-detail .kr-faq summary::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin: 0 3px 4px auto;
    flex-shrink: 0;
    transition: transform 0.22s;
}

#kr-detail .kr-faq summary:hover,
#kr-detail .kr-faq details[open] summary {
    color: var(--blue);
}

#kr-detail .kr-faq details[open] summary::after {
    transform: rotate(225deg);
}

#kr-detail .kr-faq .kr-faq-answer {
    padding: 0 48px 20px;
}

#kr-detail .kr-faq .kr-faq-answer p {
    max-width: 900px;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

#kr-detail .kr-faq details::details-content {
    interpolate-size: allow-keywords;
    height: 0;
    opacity: 0;
    overflow: clip;
    transition:
        height 0.24s ease,
        opacity 0.2s ease,
        content-visibility 0.24s allow-discrete;
}

#kr-detail .kr-faq details[open]::details-content {
    height: auto;
    opacity: 1;
}

@media (max-width: 767px) {
    #kr-detail .kr-faq summary {
        padding: 16px;
        gap: 10px;
        font-size: 14px;
    }
    #kr-detail .kr-faq .kr-faq-answer {
        padding: 0 16px 18px;
    }
}

#kr-detail .kr-footnote {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    margin: 18px 0 0;
}

@media (max-width: 1199px) {
    #kr-detail .kr-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #kr-detail .is-expanded .kr-menu {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    #kr-detail .kr-hero {
        padding: 36px;
        gap: 28px;
    }
    #kr-detail .kr-topic-panel {
        padding: 32px 36px;
    }
}

@media (max-width: 767px) {
    #kr-detail .kr-wrap {
        padding: 20px 16px 36px;
    }
    #kr-detail .kr-hero {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 24px;
    }
    #kr-detail .kr-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #kr-detail .kr-section {
        padding: 20px;
    }
    #kr-detail .kr-section-head {
        align-items: start;
        flex-direction: column;
    }
    #kr-detail .kr-representative {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    #kr-detail .kr-embassy-art {
        min-height: 130px;
    }
    #kr-detail .kr-contact {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 20px 0 0;
    }
    #kr-detail .kr-mou-body {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    #kr-detail .kr-document-art {
        display: none;
    }
    #kr-detail .kr-facts {
        grid-template-columns: 1fr;
    }
    #kr-detail .kr-topic-panel {
        padding: 24px;
    }
    #kr-detail .kr-menu-button {
        flex-direction: column;
        align-items: start;
        padding: 14px;
    }
    #kr-detail .is-expanded .kr-menu-button {
        align-items: center;
    }
    #kr-detail .kr-title-row {
        gap: 12px;
    }
    #kr-detail .kr-flag {
        width: 48px;
        height: 36px;
    }
    #kr-detail .kr-topline {
        align-items: start;
    }
    #kr-detail .kr-badge {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    #kr-detail .kr-hero::before {
        background: linear-gradient(180deg, #061828df, #061828a6);
    }
    #kr-detail .kr-hero-actions {
        padding: 20px;
    }
    #kr-detail .kr-topline {
        flex-wrap: wrap;
        gap: 8px;
    }
    #kr-detail .kr-menu-button {
        min-height: 156px;
    }
    #kr-detail .is-expanded .kr-menu {
        display: flex;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        gap: 6px;
        scrollbar-width: thin;
    }
    #kr-detail .is-expanded .kr-menu-button {
        flex: 0 0 112px;
        min-height: 110px;
    }
    #kr-detail .kr-menu-hint {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #kr-detail .kr-menu-button,
    #kr-detail .kr-faq details,
    #kr-detail .kr-faq summary::after,
    #kr-detail .kr-faq details::details-content,
    #kr-detail .kr-documents details,
    #kr-detail .kr-documents details::details-content,
    #kr-detail .kr-doc-toggle::after {
        transition: none;
    }
}

/* Korea promotion */

#kr-promosi-draft {
    --kr-ink: #18354c;
    --kr-blue: #12649a;
    --kr-muted: #647887;
    margin-top: 40px;
    color: var(--kr-ink);
    scroll-margin-top: 90px;
}

#kr-promosi-draft .kr-intro {
    padding: 28px;
    background: #eaf2f7;
    border: 1px solid #d6e5ef;
    border-radius: 16px;
}

#kr-promosi-draft .kr-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--kr-blue);
    margin: 0 0 10px;
}

#kr-promosi-draft h2 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--kr-ink);
}

#kr-promosi-draft h3 {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--kr-ink);
    margin: 0 0 8px;
}

#kr-promosi-draft p {
    line-height: 1.7;
}

#kr-promosi-draft .kr-muted {
    color: var(--kr-muted);
    font-size: 14px;
    margin: 0;
}

#kr-promosi-draft .kr-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

#kr-promosi-draft .kr-nav a {
    padding: 9px 14px;
    border: 1px solid #cedce6;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--kr-ink);
    text-decoration: none;
}

#kr-promosi-draft a:hover {
    text-decoration: underline;
}

#kr-promosi-draft a:focus-visible,
#kr-promosi-draft summary:focus-visible {
    outline: 3px solid #dd9b24;
    outline-offset: 4px;
}

#kr-promosi-draft .kr-section {
    padding: 32px 0;
    border-bottom: 1px solid #dce4e9;
    scroll-margin-top: 90px;
}

#kr-promosi-draft .kr-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

#kr-promosi-draft .kr-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    background: #edf3f7;
    color: #4d677b;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

#kr-promosi-draft .kr-mou-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    overflow: hidden;
}

#kr-promosi-draft .kr-mou-list > li {
    padding: 23px;
    border-bottom: 1px solid #e6ecf0;
}

#kr-promosi-draft .kr-mou-list > li:last-child {
    border: 0;
}

#kr-promosi-draft .kr-mou-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

#kr-promosi-draft .kr-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 42px;
    background: #edf4f9;
    color: var(--kr-blue);
    font-weight: 700;
    border-radius: 8px;
}

#kr-promosi-draft .kr-mou-body {
    flex: 1;
    min-width: 0;
}

#kr-promosi-draft .kr-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

#kr-promosi-draft .kr-meta span {
    color: var(--kr-muted);
    font-size: 12px;
}

#kr-promosi-draft summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 0;
    color: var(--kr-blue);
}

#kr-promosi-draft .kr-mou-body details {
    margin-top: 5px;
}

#kr-promosi-draft .kr-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 18px;
    background: #f6f8fa;
    border-radius: 8px;
    margin: 0 0 8px;
}

#kr-promosi-draft dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    color: var(--kr-muted);
    margin-bottom: 5px;
}

#kr-promosi-draft dd {
    margin: 0;
    font-size: 14px;
}

#kr-promosi-draft .kr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#kr-promosi-draft .kr-card {
    border: 1px solid #dce5ec;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

#kr-promosi-draft .kr-photo {
    height: 130px;
    background: linear-gradient(120deg, #e5eef4, #f5f8fa);
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    color: #738b9b;
}

#kr-promosi-draft .kr-photo i {
    font-size: 36px;
}

#kr-promosi-draft .kr-photo span {
    font-size: 12px;
}

#kr-promosi-draft .kr-card-body {
    padding: 24px;
}

#kr-promosi-draft .kr-contact {
    margin: 20px 0;
    display: grid;
    gap: 14px;
}

#kr-promosi-draft .kr-contact dd {
    overflow-wrap: anywhere;
}

#kr-promosi-draft .kr-link {
    color: var(--kr-blue);
    font-size: 14px;
    font-weight: 600;
}

#kr-promosi-draft .kr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e6ecf0;
}

#kr-promosi-draft .kr-note-card {
    padding: 26px;
    background: #f0f5f8;
    border: 1px dashed #bed0de;
    border-radius: 14px;
}

#kr-promosi-draft .kr-note-card ul {
    padding-left: 20px;
    color: var(--kr-muted);
    font-size: 14px;
    line-height: 1.9;
    margin: 18px 0 0;
}

#kr-promosi-draft .kr-faq {
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    padding: 0 24px;
}

#kr-promosi-draft .kr-faq > details {
    border-bottom: 1px solid #e6ecf0;
}

#kr-promosi-draft .kr-faq > details:last-child {
    border: 0;
}

#kr-promosi-draft .kr-faq summary {
    padding: 21px 0;
    color: var(--kr-ink);
    font-size: 15px;
}

#kr-promosi-draft .kr-faq details[open] summary {
    color: var(--kr-blue);
}

#kr-promosi-draft .kr-faq p {
    padding: 0 0 20px 18px;
    margin: 0;
    color: var(--kr-muted);
    font-size: 14px;
}

#kr-promosi-draft .kr-footnote {
    font-size: 12px;
    color: var(--kr-muted);
    margin: 18px 0 0;
}

@media (max-width: 991px) {
    #kr-promosi-draft .kr-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    #kr-promosi-draft h2 {
        font-size: 21px;
    }
    #kr-promosi-draft .kr-heading {
        flex-direction: column;
        gap: 8px;
    }
    #kr-promosi-draft .kr-intro,
    #kr-promosi-draft .kr-card-body {
        padding: 20px;
    }
    #kr-promosi-draft .kr-data {
        grid-template-columns: 1fr;
    }
    #kr-promosi-draft .kr-mou-list > li {
        padding: 18px;
    }
    #kr-promosi-draft .kr-number {
        display: none;
    }
}

/* Public agreements */

#mou-directory {
    --ink: #152c46;
    --muted: #536579;
    --blue: #1266a8;
    --line: #dce5ee;
    background: #f4f7fa;
    color: var(--ink);
    font-size: 16px;
}

#mou-directory .mou-wrap {
    max-width: 1440px;
    margin: auto;
    padding: 32px 32px 56px;
}

#mou-directory a {
    color: var(--blue);
}

#mou-directory :is(a, button, input, select):focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

#mou-directory .mou-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
}

#mou-directory .mou-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

#mou-directory .mou-eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

#mou-directory h1 {
    color: var(--ink);
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0 0 12px;
    max-width: 820px;
}

#mou-directory .mou-intro {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

#mou-directory label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

#mou-directory .mou-search {
    flex: 0 0 310px;
}

#mou-directory .mou-input {
    display: flex;
    border: 1px solid #8294a8;
    border-radius: 10px;
    background: white;
}

#mou-directory .mou-input input {
    min-width: 0;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    border-radius: 10px 0 0 10px;
}

#mou-directory .mou-input button {
    border: 0;
    border-radius: 0 9px 9px 0;
    background: var(--blue);
    color: white;
    width: 50px;
    flex-shrink: 0;
    cursor: pointer;
}

#mou-directory .mou-notice {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 20px;
}

#mou-directory .mou-preview {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #eddbb1;
    border-radius: 6px;
    color: #805b17;
    background: #fff6df;
    font-size: 12px;
    font-weight: 700;
}

#mou-directory .mou-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 6px 24px #152c4606;
    overflow: hidden;
}

#mou-directory table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

#mou-directory th {
    background: #edf2f7;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    padding: 18px 20px;
}

#mou-directory td {
    padding: 15px 20px;
    border-top: 1px solid var(--line);
    vertical-align: middle;
}

#mou-directory tbody tr {
    transition: background 0.18s;
}

#mou-directory tbody tr:hover {
    background: #f8fbfe;
}

#mou-directory .mou-number {
    width: 64px;
    color: var(--muted);
    font-size: 14px;
}

#mou-directory .mou-country {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}

#mou-directory .mou-flag {
    width: 36px;
    height: 27px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px #152c4614;
    flex-shrink: 0;
}

#mou-directory .mou-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border-radius: 7px;
    color: #17603e;
    background: #e3f3ea;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

#mou-directory .mou-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

#mou-directory .mou-count {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

#mou-directory .mou-action {
    text-align: right;
}

#mou-directory .mou-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

#mou-directory .mou-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

#mou-directory .mou-pagination {
    display: flex;
    gap: 8px;
}

#mou-directory .mou-pagination :is(a, span) {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    text-decoration: none;
}

#mou-directory .mou-pagination [aria-current] {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}

#mou-directory .mou-pagination [aria-disabled] {
    color: #8294a8;
    background: #f4f7fa;
}

#mou-directory .mou-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    gap: 32px;
    margin-bottom: 28px;
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
}

#mou-directory .mou-picker {
    position: relative;
    min-width: 0;
}

#mou-directory .mou-select {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #8294a8;
    background: white;
    border-radius: 9px;
}

#mou-directory .mou-select > .mou-flag {
    position: absolute;
    left: 14px;
    z-index: 1;
    pointer-events: none;
}

#mou-directory .mou-select:focus-within {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

#mou-directory select {
    min-width: 0;
    flex: 1;
    width: 100%;
    min-height: 52px;
    padding-left: 62px;
    border: 0;
    background: white;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

#mou-directory .mou-picker-hint {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    margin: 8px 0 0;
}

#mou-directory .mou-select .select2-container {
    flex: 1;
    min-width: 0;
}

#mou-directory .select2-container .select2-selection--single {
    height: 52px;
    border: 0;
    background: transparent;
    border-radius: 8px;
}

#mou-directory .select2-selection--single .select2-selection__rendered {
    padding: 0 40px 0 62px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 52px;
}

#mou-directory .select2-selection--single .select2-selection__arrow {
    height: 52px;
    right: 12px;
}

#mou-directory .select2-selection:focus-visible {
    outline: 0;
}

#mou-directory .select2-dropdown {
    border: 1px solid #8294a8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 28px #152c461a;
    color: var(--ink);
}

#mou-directory .select2-search--dropdown {
    padding: 12px;
}

#mou-directory .select2-search__field {
    min-height: 44px;
    border: 1px solid #8294a8;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 16px;
}

#mou-directory .select2-results__option {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 14px;
    line-height: 22px;
}

#mou-directory .select2-results__option--highlighted[aria-selected] {
    background: var(--blue);
    color: white;
}

#mou-directory .select2-results__options {
    max-height: 264px;
}

#mou-directory .mou-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0 16px 28px;
    border-left: 1px solid var(--line);
}

#mou-directory .mou-total strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

#mou-directory .mou-total small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

#mou-directory .mou-total b {
    display: grid;
    place-items: center;
    min-width: 60px;
    height: 60px;
    background: #eaf3fc;
    color: var(--blue);
    border-radius: 12px;
    font-size: 32px;
    line-height: 1;
}

#mou-directory.mou-detail h1 {
    max-width: 1000px;
    font-size: clamp(26px, 2.3vw, 32px);
    line-height: 1.3;
    text-wrap: balance;
}

#mou-directory.mou-detail .mou-back {
    margin-bottom: 16px;
}

#mou-directory .mou-table-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 22px 24px;
}

#mou-directory .mou-table-heading h2 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

#mou-directory .mou-table-heading span {
    font-size: 13px;
    color: var(--muted);
}

#mou-directory .mou-detail-table {
    table-layout: fixed;
}

#mou-directory .mou-detail-table th,
#mou-directory .mou-detail-table td {
    padding: 24px 18px;
}

#mou-directory .mou-detail-table th {
    font-size: 12px;
    line-height: 1.5;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #f1f5f9;
}

#mou-directory .mou-detail-table td {
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: break-word;
    vertical-align: top;
}

#mou-directory .mou-detail-table :is(th, td):first-child {
    padding-left: 24px;
}

#mou-directory .mou-detail-table :is(th, td):last-child {
    padding-right: 24px;
}

#mou-directory .mou-doc-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

#mou-directory .mou-doc-index {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

#mou-directory .mou-doc-title {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
}

#mou-directory .mou-dates {
    display: grid;
    gap: 12px;
    margin: 0;
}

#mou-directory .mou-dates dt {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
    margin: 0 0 2px;
}

#mou-directory .mou-dates dd {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    margin: 0;
}

#mou-directory .mou-pending {
    color: var(--muted);
    font-size: 13px;
}

#mou-directory .mou-doc-action {
    text-align: right;
}

#mou-directory .mou-type {
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    background: #edf2f7;
    border-radius: 5px;
}

#mou-directory .mou-document {
    white-space: nowrap;
    text-align: center;
    border: 1px solid #b7cfe3;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
}

#mou-directory .mou-document:hover {
    background: #eaf3fc;
    text-decoration: none;
}

#mou-directory .mou-source {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

#mou-directory .mou-empty {
    text-align: center;
    padding: 48px 20px;
}

#mou-directory .mou-empty h2 {
    font-size: 20px;
}

#mou-directory .mou-source-note {
    display: flex;
    gap: 10px;
    align-items: baseline;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 20px 0 0;
}

@media (max-width: 1100px) {
    #mou-directory .mou-detail-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    #mou-directory .mou-detail-table,
    #mou-directory .mou-detail-table tbody {
        display: block;
    }
    #mou-directory .mou-detail-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 24px;
        gap: 24px;
        border-top: 1px solid var(--line);
    }
    #mou-directory .mou-detail-table td {
        display: block;
        padding: 0;
        border: 0;
    }
    #mou-directory .mou-detail-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        color: var(--muted);
        margin-bottom: 8px;
    }
    #mou-directory .mou-detail-table .mou-title-cell,
    #mou-directory .mou-detail-table .mou-date-cell,
    #mou-directory .mou-detail-table .mou-doc-action {
        grid-column: 1/-1;
    }
    #mou-directory .mou-date-cell {
        grid-row: 3;
        padding: 16px !important;
        background: #f5f8fb;
        border-radius: 8px;
    }
    #mou-directory .mou-dates {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    #mou-directory .mou-detail-table .mou-doc-action {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }
    #mou-directory .mou-source {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    #mou-directory .mou-wrap {
        padding: 20px 16px 36px;
    }
    #mou-directory .mou-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    #mou-directory .mou-search {
        flex: auto;
    }
    #mou-directory .mou-controls {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    #mou-directory .mou-list-table th,
    #mou-directory .mou-list-table td {
        padding: 12px 10px;
    }
    #mou-directory .mou-list-table .mou-number {
        display: none;
    }
    #mou-directory .mou-country {
        gap: 10px;
        font-size: 14px;
    }
    #mou-directory .mou-list-table .mou-action {
        width: 48px;
    }
    #mou-directory .mou-detail-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    #mou-directory .mou-list-table .mou-link {
        min-width: 44px;
    }
    #mou-directory .mou-list-table .mou-status {
        font-size: 12px;
        padding: 4px 7px;
    }
    #mou-directory .mou-list-table .mou-status::before {
        display: none;
    }
    #mou-directory .mou-flag {
        width: 28px;
        height: 21px;
    }
    #mou-directory .mou-footer {
        padding: 16px;
    }
    #mou-directory .mou-detail-table tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #mou-directory .mou-controls {
        padding: 18px;
        gap: 18px;
        margin-bottom: 20px;
    }
    #mou-directory .mou-picker {
        max-width: none;
    }
    #mou-directory .mou-total {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 18px 0 0;
    }
    #mou-directory .mou-total small br {
        display: none;
    }
    #mou-directory .mou-total b {
        min-width: 48px;
        height: 48px;
        font-size: 28px;
    }
    #mou-directory .mou-table-heading {
        padding: 18px 20px;
    }
    #mou-directory .mou-detail-table tr {
        gap: 22px 18px;
    }
}

@media (max-width: 1100px) {
    #mou-directory .mou-detail-table td:first-child {
        padding-left: 0;
    }
    #mou-directory .mou-detail-table td:last-child {
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #mou-directory tbody tr {
        transition: none;
    }
}

@media (max-width: 480px) {
    #mou-directory .mou-dates {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    #mou-directory .mou-dates > div {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 8px;
        align-items: baseline;
    }
    #mou-directory .mou-dates dt {
        margin: 0;
    }
}

/* Placement mechanisms */

#placement-guide {
    --ink: #152c46;
    --muted: #536579;
    --line: #dce5ee;
    --blue: #1266a8;
    color: var(--ink);
    background: #f4f7fa;
    font-size: 16px;
}

#placement-guide .pg-wrap {
    max-width: 1920px;
    padding: 48px 32px 56px;
    margin: auto;
}

#placement-guide :is(a, button, summary):focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

#placement-guide .pg-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

#placement-guide .pg-eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

#placement-guide h1 {
    color: var(--ink);
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.03em;
    margin: 0 0 32px;
}

#placement-guide .pg-intro {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 20px;
}

#placement-guide .pg-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 24px;
}

#placement-guide .pg-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #fff6df;
    border: 1px solid #eddbb1;
    border-radius: 6px;
    color: #805b17;
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
}

#placement-guide .pg-programs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#placement-guide .pg-program {
    --accent: #1266a8;
    --tint: #eef7ff;
    --badge: #bfe1ff;
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 5px 7px #00000029;
    color: var(--ink);
    text-decoration: none;
    transition:
        border-color 0.18s,
        box-shadow 0.18s;
}

#placement-guide .green {
    --accent: #296849;
    --tint: #edf8f2;
    --badge: #c3e7d3;
}

#placement-guide .rose {
    --accent: #a53c48;
    --tint: #fff1f2;
    --badge: #ffafb3;
}

#placement-guide .gold {
    --accent: #866100;
    --tint: #fffae8;
    --badge: #f4da96;
}

#placement-guide .orange {
    --accent: #985315;
    --tint: #ffebc5;
    --badge: #f4da96;
}

#placement-guide .purple {
    --accent: #80508b;
    --tint: #f8f0fb;
    --badge: #e7c3e4;
}

#placement-guide .pg-program:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 18px #152c460b;
}

#placement-guide .pg-program-top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

#placement-guide .pg-icon {
    display: grid;
    place-items: center;
    width: clamp(64px, 7.5vw, 150px);
    height: clamp(64px, 7.5vw, 150px);
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--badge);
    color: var(--accent);
    font-size: clamp(30px, 4vw, 78px);
}

#placement-guide .pg-name {
    display: block;
    font-size: clamp(26px, 2vw, 40px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0;
}

#placement-guide .pg-full {
    display: block;
    font-size: clamp(16px, 1.35vw, 27px);
    line-height: 1.15;
    font-weight: 600;
}

#placement-guide .pg-description {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.3;
    margin: 20px 0 0;
}

#placement-guide .pg-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 26px;
    flex-wrap: wrap;
}

#placement-guide .pg-count {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 9px;
    background: var(--badge);
    flex: 0 1 50%;
    font-size: 13px;
    color: var(--ink);
}

#placement-guide .pg-count > i {
    color: var(--accent);
    font-size: 32px;
}

#placement-guide .pg-count strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
    margin-right: 6px;
}

#placement-guide .pg-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    background: #fff;
    border: 2px solid var(--blue);
    border-radius: 9px;
    padding: 10px 14px;
    white-space: nowrap;
}

#placement-guide:not(.is-detail) > .pg-wrap > .pg-back {
    display: none;
}

#placement-guide.is-detail .pg-programs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

#placement-guide.is-detail .pg-program {
    padding: 18px 14px;
    border-radius: 10px;
    min-height: 104px;
    justify-content: center;
    background: var(--tint);
    border-color: #ffffff;
    box-shadow: 0 5px 8px #152c461c;
}

#placement-guide.is-detail .blue {
    --accent: #216aa7;
    --tint: #f2faff;
}

#placement-guide.is-detail .green {
    --accent: #506e48;
    --tint: #e7f6ed;
}

#placement-guide.is-detail .rose {
    --accent: #b53e48;
    --tint: #fff0f2;
}

#placement-guide.is-detail .gold {
    --accent: #896300;
    --tint: #fff9df;
}

#placement-guide.is-detail .orange {
    --accent: #995918;
    --tint: #ffeac4;
}

#placement-guide.is-detail .purple {
    --accent: #754781;
    --tint: #e9c9e8;
}

#placement-guide.is-detail .pg-program-top {
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

#placement-guide.is-detail .pg-icon {
    width: 32px;
    height: 38px;
    font-size: 28px;
    color: var(--accent);
    background: transparent;
}

#placement-guide.is-detail .pg-name {
    font-size: 25px;
    line-height: 1.15;
    margin: 0 0 4px;
    color: var(--accent);
    white-space: nowrap;
}

#placement-guide.is-detail .pg-full {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    color: var(--accent);
}

#placement-guide.is-detail .pg-program-top > span:last-child {
    min-width: 0;
}

#placement-guide.is-detail .pg-program:hover {
    background: var(--tint);
    border-color: var(--accent);
    box-shadow: 0 7px 12px #152c4626;
}

#placement-guide.is-detail :is(.pg-description, .pg-card-bottom) {
    display: none;
}

#placement-guide.is-detail .pg-program[aria-current='page'] {
    background: var(--tint);
    border-color: var(--accent);
    box-shadow:
        inset 0 -3px var(--accent),
        0 5px 8px #152c461c;
}

#placement-guide.is-detail .pg-program[aria-current='page']:hover {
    background: var(--tint);
    border-color: var(--accent);
}

#placement-guide.is-detail .pg-program:focus-visible {
    outline-offset: 1px;
    outline-width: 2px;
}

#placement-guide .pg-detail {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

#placement-guide .pg-sidebar,
#placement-guide .pg-viewer {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    min-width: 0;
}

#placement-guide h2 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
    color: var(--ink);
}

#placement-guide .pg-sidebar > p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 18px;
}

#placement-guide .pg-countries {
    display: grid;
    gap: 10px;
}

#placement-guide .pg-country {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.18s,
        border-color 0.18s;
}

#placement-guide a.pg-country:not([aria-current='true']):hover {
    background: #edf5fc;
    border-color: #9bbbd5;
    color: var(--ink);
}

#placement-guide a.pg-country[aria-current='true'] {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
    box-shadow: 0 3px 8px #1266a81a;
}

#placement-guide a.pg-country[aria-current='true']:hover {
    background: #0d568f;
    border-color: #0d568f;
    color: white;
}

#placement-guide a.pg-country[aria-current='true']::after {
    content: '✓';
    margin-left: auto;
    font-size: 14px;
}

#placement-guide .pg-country img {
    width: 30px;
    height: 22px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

#placement-guide .pg-countries.is-static {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#placement-guide .is-static .pg-country {
    flex-direction: column;
    align-items: start;
    font-size: 12px;
    font-weight: 500;
    padding: 10px;
    gap: 8px;
    background: #f8fafc;
    border-color: #e8edf3;
}

#placement-guide .pg-viewer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

#placement-guide .pg-viewer-head p {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 0;
}

#placement-guide .pg-viewer-head .pg-eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin: 0 0 6px;
    color: var(--blue);
}

#placement-guide .pg-viewer-head h2 {
    font-size: 23px;
    margin-bottom: 4px;
}

#placement-guide .pg-sidebar h2 {
    font-size: 17px;
    margin-bottom: 8px;
}

#placement-guide .pg-sidebar h2 span {
    display: inline-block;
    color: var(--blue);
    font-size: 13px;
    padding: 3px 8px;
    margin-left: 4px;
    background: #edf5fc;
    border-radius: 5px;
}

#placement-guide .pg-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

#placement-guide button.pg-download:disabled {
    color: var(--muted);
    background: #f1f5f9;
    cursor: not-allowed;
}

#placement-guide .pg-placeholder {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    border: 1px dashed #c3d2e0;
    border-radius: 10px;
    background: #f8fafc;
}

#placement-guide .pg-placeholder-icon {
    width: 68px;
    height: 76px;
    display: grid;
    place-items: center;
    color: #6089ad;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 30px;
    margin-bottom: 20px;
}

#placement-guide .pg-placeholder h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ink);
}

#placement-guide .pg-placeholder p {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0;
}

#placement-guide .pg-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#placement-guide .pg-image-link {
    display: block;
}

#placement-guide .pg-help {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin: 16px 0 0;
}

@media (max-width: 1199px) {
    #placement-guide .pg-detail {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 16px;
    }
    #placement-guide .pg-viewer-head {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 900px) {
    #placement-guide .pg-programs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #placement-guide .pg-detail {
        grid-template-columns: 1fr;
    }
    #placement-guide .pg-countries {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #placement-guide .pg-countries.is-static {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #placement-guide .pg-wrap {
        padding: 24px 16px 36px;
    }
    #placement-guide .pg-programs {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    #placement-guide .pg-program {
        padding: 22px;
    }
    #placement-guide.is-detail .pg-programs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #placement-guide.is-detail .pg-program {
        padding: 10px 6px;
        min-height: 48px;
    }
    #placement-guide.is-detail .pg-program-top {
        gap: 6px;
    }
    #placement-guide.is-detail .pg-name {
        font-size: 14px;
    }
    #placement-guide.is-detail .pg-icon {
        font-size: 16px;
        width: 18px;
    }
    #placement-guide .pg-sidebar,
    #placement-guide .pg-viewer {
        padding: 18px;
    }
    #placement-guide .pg-countries.is-static {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #placement-guide .pg-placeholder {
        min-height: 320px;
        padding: 24px 16px;
    }
    #placement-guide .pg-country {
        font-size: 13px;
        gap: 8px;
        padding: 10px;
    }
}

@media (max-width: 1199px) {
    #placement-guide .pg-viewer-head {
        align-items: start;
    }
}

@media (min-width: 601px) and (max-width: 1199px) {
    #placement-guide.is-detail .pg-programs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #placement-guide.is-detail .pg-programs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    #placement-guide.is-detail .pg-program {
        min-height: 100px;
        padding: 14px 10px;
    }
    #placement-guide.is-detail .pg-program-top {
        gap: 8px;
    }
    #placement-guide.is-detail .pg-name {
        font-size: 21px;
    }
    #placement-guide.is-detail .pg-icon {
        font-size: 23px;
        width: 26px;
    }
}

@media (max-width: 600px) {
    #placement-guide .pg-placeholder {
        min-height: 280px;
    }
    #placement-guide .pg-country img {
        width: 26px;
        height: 20px;
    }
    #placement-guide a.pg-country[aria-current='true']::after {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #placement-guide .pg-program,
    #placement-guide .pg-country {
        transition: none;
    }
}

/* UAT 004/011/017: jumlah program dinamis; baris terakhir di tengah (Canva hal. 18). */
#placement-guide .pg-programs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#placement-guide .pg-program {
    flex: 0 1 calc((100% - 40px) / 3);
    min-width: 0;
}

#placement-guide .pg-program-top > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

#placement-guide.is-detail .pg-program {
    flex: 1 1 150px;
}

@media (max-width: 1100px) {
    #placement-guide .pg-program {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 700px) {
    #placement-guide:not(.is-detail) .pg-name {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    #placement-guide:not(.is-detail) .pg-program {
        flex-basis: 100%;
    }
}

@media (max-width: 600px) {
    #placement-guide .pg-program {
        flex-basis: 100%;
    }
    #placement-guide.is-detail .pg-program {
        flex: 1 1 calc((100% - 10px) / 2);
    }
}

/* Canva hal. 19: panah infografis di kanan bawah. */
#placement-guide .pg-slide-nav {
    justify-content: flex-end;
    margin: 20px 0 0;
}

#placement-guide .pg-slide-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: white;
    color: var(--ink);
    font-size: 18px;
}

#placement-guide .pg-slide-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Shared profile list and detail utilities */

.negara-badge-square {
    border-radius: 0;
}

.negara-empty-cell {
    text-align: center;
    width: 100%;
}

:where(#country-detail) .country-topic-item {
    display: flex;
    width: 100%;
}

#mou-directory col:nth-child(1) {
    width: 36%;
}

#mou-directory col:nth-child(2) {
    width: 11%;
}

#mou-directory col:nth-child(3) {
    width: 21%;
}

#mou-directory col:nth-child(4),
#mou-directory col:nth-child(5) {
    width: 16%;
}
