/* Shared public palette; blue brand headers and status colours retain their roles. */
body.portal-public{--paper:#fff;--section-ivory:#f4f1ea;--action-gold:#b58a45;--action-gold-ink:#21190e;--line:#ded8cb;background:#fff}
.portal-public main,.portal-public .landing-page{background:#fff!important}
.portal-public .page-hero{background:#e7edf1!important;border-bottom:1px solid #ccd8e0}
body.portal-admin{--paper:#fff;background:#fff}
.portal-admin main{background:#fff!important}
.portal-public :is(.page-space,.catalog-section,.calendar-section,.statistics-section>.wrap,.program-section>.wrap,.catalog-card,.program-card,.faq-search,.faq-list details,.directory-intro,.provider-profile,.csp-contacts,.policy-group,.policy-card,.staff-unit,.staff-unit-phone,.program-public-speaker){background-color:#f4f1ea!important;border-color:var(--line)}
.portal-public .page-space.jppcsa-page{background:transparent!important;border:0}
.portal-public .jppcsa-balanced{--section-ivory:#f4f1ea;--action-gold:#b58a45;--action-gold-ink:#21190e;--line:#ded8cb}
.portal-public .jppcsa-balanced .jppcsa-section,.portal-public .jppcsa-balanced .jppcsa-page-nav,.portal-public .jppcsa-balanced .article-body>.jppcsa-section{background:#f4f1ea;border-color:var(--line)}
.portal-public :is(.jppcsa-meeting,.jppcsa-year,.jppcsa-meeting time,.event,.statistics,.stat-icon,.faq-question-number,.faq-list details[open] summary){background-color:#fffafa!important;border-color:var(--line)}
.portal-public .article-body tbody tr:nth-child(even){background:#fffafa}
.portal-public .jppcsa-balanced .jppcsa-application-steps>li::before{background:#e9dfcb;color:#18374a}
.portal-public .faq-list .faq-question-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.portal-public .faq-list .faq-question-category{display:block;font-family:Inter,sans-serif;font-size:10px!important;font-weight:500;color:#666;line-height:1.5;letter-spacing:0;text-transform:none}
.portal-public .faq-list .faq-question-text{display:block;line-height:1.7}

/* Directory-specific links and alignment. */

.portal-public .staff-table a[href^="mailto:"]{text-decoration:none!important}
.portal-public .staff-table a[href^="mailto:"]:hover{color:#003e5e}

.portal-public .staff-table thead th:last-child,.portal-public .staff-table tbody td[data-label='Sambungan']{text-align:center}

.portal-public .staff-unit .staff-unit-phone{background:#ead9b7!important;border:1px solid #b58a45;box-shadow:0 2px 6px rgba(91,60,26,.1)}
.portal-public .staff-unit .staff-unit-phone>span{color:#594322;font-weight:600}
.portal-public .staff-unit .staff-unit-phone>a{color:#102e46}

/* Fade the incoming banner over the previous image without cropping it. */
.portal-public .banner-stage{position:relative;isolation:isolate}
.portal-public .banner-slide.is-leaving{position:absolute;inset:0 0 auto;z-index:0;pointer-events:none}
.portal-public .banner-slide.is-entering{position:relative;z-index:1;animation:cfa-banner-fade-in 750ms ease-in-out both}
@keyframes cfa-banner-fade-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.portal-public .banner-slide.is-entering{animation:none}}

/* Shared table colours across public content and the admin panel. */
body:is(.portal-public,.portal-admin) main table{--table-header:#102e46;--table-row-even:#e7edf1;--table-row-odd:#fff;border-color:#d5dfe6}
body:is(.portal-public,.portal-admin) main table thead :is(th,td),
body:is(.portal-public,.portal-admin) main table:not(:has(thead)) tbody>tr:first-child>th:not([scope="row"]):not([scope="rowgroup"]){background:var(--table-header)!important;color:#fff!important;border-color:#29485e}
body:is(.portal-public,.portal-admin) main table thead a{color:inherit}
body:is(.portal-public,.portal-admin) main table tbody>tr:nth-child(odd){background:var(--table-row-odd)!important}
body:is(.portal-public,.portal-admin) main table tbody>tr:nth-child(even){background:var(--table-row-even)!important}
body:is(.portal-public,.portal-admin) main table tbody>tr>:is(th,td){background:transparent!important;border-color:#d5dfe6}

/* Compact section introductions on the landing page. */
.portal-public .landing-page .section-head h2{margin:0}
.portal-public .landing-page :is(.catalog-section,.calendar-section)>.section-head{margin-bottom:6px}
.portal-public .landing-page :is(.catalog-section,.calendar-section)>.section-desc{margin-top:0;margin-bottom:20px}
/* Shared white cards stand apart from ivory landing-page sections. */
.portal-public .landing-page :is(.catalog-section .catalog-card,.calendar-section .event,.calendar-section .calendar-current-year,.statistics-section .statistics,.program-section .program-card){background:#fff!important;border:1px solid #cbd7df;box-shadow:0 3px 12px rgba(16,46,70,.08)}

/* Shared description boxes on public portal pages. */
body.portal-public main p:is(.section-desc,.jppcsa-calendar-intro){box-sizing:border-box;text-align:start!important}
.portal-public .page-hero .section-desc{max-width:none;margin:12px 0 0}


.portal-public .landing-page .calendar-balanced .event-date b{padding-bottom:0;font-variant-numeric:tabular-nums}
.portal-public .landing-page .calendar-balanced .event-date .event-year{padding:2px 4px 7px;font-size:12px;line-height:1.4;letter-spacing:0}

/* Navy site chrome, with bright text and restrained cloud decoration. */
body:is(.portal-public,.portal-admin) .government,body:is(.portal-public,.portal-admin) .portal-header,body:is(.portal-public,.portal-admin) .portal-header .resource-bar{background:#102e46;color:#fff;border-color:#ffffff26}
body:is(.portal-public,.portal-admin) .header-identity-band{background-color:#102e46;background-image:linear-gradient(110deg,#102e46f5,#102e46e8),url('header-cloud-pattern.svg')}
body:is(.portal-public,.portal-admin) .portal-header :is(.portal-identity-label,.portal-identity-title,.portal-crest-caption){color:#fff}
body:is(.portal-public,.portal-admin) .portal-header .resource-nav>a:not(.admin-menu-link),body:is(.portal-public,.portal-admin) .portal-header .nav-dropdown summary{background:transparent;color:#fff;border-color:#ffffff26}
body:is(.portal-public,.portal-admin) .portal-header .resource-nav>a[aria-current="page"],body:is(.portal-public,.portal-admin) .portal-header .nav-dropdown[open]>summary{color:#e2c38f}
body:is(.portal-public,.portal-admin) .portal-header .nav-dropdown>div{background:#102e46;border-color:#506577}
body:is(.portal-public,.portal-admin) .portal-header .nav-dropdown a{color:#fff}
body:is(.portal-public,.portal-admin) .portal-header .nav-dropdown a:hover{background:#1d4765}
body:is(.portal-public,.portal-admin) .portal-header .resource-nav .admin-menu-link{border-color:#b58a45!important}
body:is(.portal-public,.portal-admin)>footer{background:#102e46;color:#dce5e9;border-top:1px solid #b58a4566}
body:is(.portal-public,.portal-admin)>footer :is(a,strong,.footer-brand){color:#fff}
body:is(.portal-public,.portal-admin)>footer .footer-brand b{color:#fff}
body:is(.portal-public,.portal-admin)>footer a:hover{color:#e2c38f}
body:is(.portal-public,.portal-admin)>footer .footer-bottom{border-color:#ffffff26;color:#dce5e9}
@media(max-width:860px){body:is(.portal-public,.portal-admin) .header-identity-band{background-image:linear-gradient(110deg,#102e46f5,#102e46e8),url('header-cloud-pattern-mobile.svg')}}
/* The identity row remains white; navigation and footer retain navy. */
body:is(.portal-public,.portal-admin) .header-identity-band{background-color:#fff;background-image:url('header-cloud-pattern.svg')}
body:is(.portal-public,.portal-admin) .portal-header :is(.portal-identity-label,.portal-identity-title){color:#102e46}
body:is(.portal-public,.portal-admin) .portal-header .portal-crest-caption{color:#111}
@media(max-width:860px){body:is(.portal-public,.portal-admin) .header-identity-band{background-image:url('header-cloud-pattern-mobile.svg')}}
/* Compact meeting details align with the date badge at the left. */
.portal-public .landing-page .calendar-balanced .event{align-items:stretch}
.portal-public .landing-page .calendar-balanced .event-date{align-self:flex-start}
.portal-public .landing-page .calendar-balanced .event-body{display:flex;flex-direction:column;justify-content:center;gap:4px}
.portal-public .landing-page .calendar-balanced .event h3{margin:0;line-height:1.3!important}
.portal-public .landing-page .calendar-balanced .event .status{align-self:flex-start;margin:0;padding:2px 8px;line-height:1.3!important}
.portal-public .landing-page .calendar-balanced .event p{margin:0;font-size:12px!important;line-height:1.5!important}

/* Meeting status shares the title row; the deadline remains supporting text. */
.portal-public .landing-page .calendar-balanced .event-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:4px 8px}
.portal-public .landing-page .calendar-balanced .event-heading h3{font-size:16px!important;flex:1 1 0;min-width:0}
.portal-public .landing-page .calendar-balanced .event-heading .status{flex-shrink:0;align-self:center;border:1px solid #cbd7df;background:#e7edf1;border-radius:6px;padding:3px 7px;color:#18374a;font-size:12px!important;white-space:nowrap}
.portal-public .landing-page .calendar-balanced .event-body{gap:6px}
body:is(.portal-public,.portal-admin) .portal-header .resource-nav .admin-menu-link{border:0!important;box-shadow:none}
body:is(.portal-public,.portal-admin) .record-order-controls button[data-order-move]{width:auto;min-width:36px;padding:0 8px;font-size:12px}
body .portal-proper-term{font-style:normal!important}
body .portal-english-term{font-style:italic}
/* Minimal statistics ribbon: white outer section and ivory inner surface. */
.portal-public .landing-page .statistics-section>.wrap{background:#fff!important}
.portal-public .landing-page .statistics-section .statistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#f4f1ea!important;border:1px solid #ded8cb;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px rgba(16,46,70,.08)}
.portal-public .landing-page .statistics-section .stat{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:28px 16px;min-width:0}
.portal-public .landing-page .statistics-section .stat+.stat{border-left:1px solid #d9d4c8}
.portal-public .landing-page .statistics-section .stat-icon{display:grid;place-items:center;background:transparent!important;border-radius:0;width:44px;height:28px;color:#b58a45;font-size:22px}
.portal-public .landing-page .statistics-section .stat b{font-family:var(--font-heading-family);font-size:46px;line-height:1.2;font-weight:700;letter-spacing:-1px;color:#005a87}
.portal-public .landing-page .statistics-section .stat div>span{font-size:13px;line-height:1.6;margin-top:7px;color:#566e7d}
@media(max-width:540px){
 .portal-public .landing-page .statistics-section .statistics{grid-template-columns:minmax(0,1fr)}
 .portal-public .landing-page .statistics-section .stat{padding:20px 16px}
 .portal-public .landing-page .statistics-section .stat+.stat{border-left:0;border-top:1px solid #d9d4c8}
 .portal-public .landing-page .statistics-section .stat b{font-size:40px}
}
/* Layered shadows lift the inner ribbon above the white section. */
.portal-public .landing-page .statistics-section .statistics{border-color:#d7d2c6;box-shadow:0 12px 26px rgba(16,46,70,.13),0 3px 7px rgba(16,46,70,.07),inset 0 1px 0 rgba(255,255,255,.85);margin-top:6px;margin-bottom:10px}
/* Selected soft blue-grey surface for every main landing-page section. */
body.portal-public .landing-page :is(.catalog-section,.calendar-section,.statistics-section>.wrap,.program-section>.wrap){background:#f0f4f7!important;border-color:#d6e0e7}
/* Public page sections share the selected blue-grey and white surface system. */
body.portal-public main#main :is(.page-hero,.page-space,.directory-intro,.provider-profile,.policy-group,.staff-unit,.jppcsa-page-nav,.jppcsa-section){background:#f0f4f7!important;border-color:#d6e0e7}
body.portal-public main :is(.program-card,.faq-search,.faq-list details,.faq-list details[open] summary,.csp-contacts,.policy-card,.program-public-speaker,.jppcsa-meeting,.jppcsa-year,.jppcsa-meeting time,.faq-question-number){background:#fff!important;border-color:#d6e0e7}
body.portal-public main .staff-unit .staff-unit-phone{background:#fff!important}
body.portal-public main .provider-profile .profile-header p:not(:empty){background:#fff;border-radius:10px;padding:10px 16px}
body.portal-public main#main .page-space.jppcsa-page{background:transparent!important;border:0}
/* Product directory: three readable columns, with a download action and search. */
.portal-public .exemption-page .section-head{align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:22px}
.portal-public .exemption-page .section-head h2{margin:0}
.portal-public .exemption-page .section-head .small{margin:6px 0 0}
.portal-public .exemption-search{padding:18px 20px;margin-bottom:22px;border:1px solid #d6e0e7;border-radius:12px;background:#fff}
.portal-public .exemption-search label{display:block;margin:0 0 10px;font-weight:600}
.portal-public .exemption-search>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.portal-public .exemption-search input{flex:1 1 260px;min-width:0;width:auto;min-height:44px;border:1px solid #b9cbd5;border-radius:8px;padding:10px 12px;background:#fff}
.portal-public .exemption-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0;counter-reset:none}
.portal-public .exemption-products>li{display:flex;align-items:flex-start;gap:12px;margin:0;padding:16px 18px;border:1px solid #d6e0e7;border-radius:10px;background:#fff;line-height:1.6!important;text-align:start!important;box-shadow:0 2px 6px #102e4608;min-width:0;overflow-wrap:anywhere}
.portal-public .exemption-products>li::before{content:none!important;display:none}
.portal-public .exemption-number{flex-shrink:0;min-width:24px;color:#005a87;font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:1000px){.portal-public .exemption-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.portal-public .exemption-products{grid-template-columns:minmax(0,1fr)}.portal-public .exemption-search{padding:16px}.portal-public .exemption-search input{flex-basis:100%}.portal-public .exemption-search .button{flex:1}.portal-public .exemption-page .section-head>.button{width:100%;text-align:center;justify-content:center}}
/* Compact administrative navigation with a visible active item and fixed actions. */
.portal-admin .admin-shell{grid-template-columns:240px minmax(0,1fr)}
.portal-admin .admin-sidebar{position:sticky;top:174px;display:flex;flex-direction:column;max-height:calc(100dvh - 240px);padding:18px;min-height:0}
.portal-admin .admin-sidebar>.eyebrow{font-size:12px!important;letter-spacing:.8px}
.portal-admin .admin-sidebar>h2{font-size:20px!important;margin:4px 0 8px}
.portal-admin .admin-sidebar>.small{margin:0 0 14px;overflow-wrap:anywhere}
.portal-admin .admin-sidebar>nav{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;overflow-y:auto;min-height:0;padding-right:4px;scrollbar-width:thin;overscroll-behavior:contain}
.portal-admin .admin-sidebar nav>a{display:block;margin:0;padding:10px 12px;border-left:3px solid transparent;border-radius:7px;font-size:14px;line-height:1.5;color:#18374a;text-decoration:none;overflow-wrap:anywhere}
.portal-admin .admin-sidebar nav>a:hover{background:#f0f4f7;text-decoration:none}
.portal-admin .admin-sidebar nav>a.active{background:#fbf5ea;border-left-color:#b58a45;color:#102e46;font-weight:600}
.portal-admin .admin-sidebar-actions{display:grid;gap:8px;flex-shrink:0;border-top:1px solid #dce5e9;padding-top:14px;margin-top:14px}
.portal-admin .admin-sidebar-actions form{margin:0}.portal-admin .admin-sidebar-actions .button{display:flex;width:100%;justify-content:center;min-height:40px;padding:8px 12px}
@media(max-width:1000px){.portal-admin .admin-shell{grid-template-columns:minmax(0,1fr)}.portal-admin .admin-sidebar{position:static;max-height:none}.portal-admin .admin-sidebar>nav{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:0}.portal-admin .admin-sidebar-actions{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.portal-admin .admin-sidebar nav>a{padding:10px 8px;font-size:13px}.portal-admin .admin-sidebar>h2{font-size:18px!important}}
/* Each MSP is paired with its own compact numbered badge. */
.portal-public .catalog-card .msp-summary .msp-name-list{display:grid;gap:8px;list-style:none;margin:0!important;padding:0}
.portal-public .catalog-card .msp-summary .msp-name-row{display:flex;align-items:baseline;gap:10px;margin:0!important;padding-left:0!important;text-align:start!important;line-height:1.6!important}
.portal-public .catalog-card .msp-summary .msp-name-row::before{display:none!important;content:none!important}
.portal-public .catalog-card .msp-number-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:54px;padding:2px 7px;border:1px solid #cbd7df;border-radius:6px;background:#f0f4f7;color:#102e46;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
.portal-public .catalog-card .msp-provider-name{flex:1;min-width:0;overflow-wrap:anywhere}
/* Keep the submission deadline compact and omit the note divider. */
body.portal-public main .jppcsa-balanced .jppcsa-meeting .jppcsa-cutoff{font-size:12px!important;line-height:1.5!important;margin-top:6px}
body.portal-public main .jppcsa-balanced .jppcsa-meeting .jppcsa-cutoff :is(span,strong){font-size:inherit;line-height:inherit}
body.portal-public main .jppcsa-balanced .jppcsa-meeting-note{border-top:0;padding-top:0;margin-top:10px}
/* Directory tools form a single accessible submenu in the admin sidebar. */
.portal-admin .admin-sidebar .admin-nav-group{margin:0;min-width:0}
.portal-admin .admin-sidebar .admin-nav-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;padding:10px 12px;border-left:3px solid transparent;border-radius:7px;font-size:14px;line-height:1.5;color:#18374a;cursor:pointer}
.portal-admin .admin-sidebar .admin-nav-group>summary::-webkit-details-marker{display:none}
.portal-admin .admin-sidebar .admin-nav-group>summary::after{content:'+';font-size:17px;font-weight:500;color:#566e7d}
.portal-admin .admin-sidebar .admin-nav-group[open]>summary::after{content:'−'}
.portal-admin .admin-sidebar .admin-nav-group>summary:hover{background:#f0f4f7}
.portal-admin .admin-sidebar .admin-nav-group.active-group>summary{background:#f0f4f7;color:#102e46;font-weight:600}
.portal-admin .admin-sidebar .admin-nav-group>div{display:grid;gap:3px;margin:4px 0 6px 15px;padding-left:7px;border-left:1px solid #d6e0e7}
.portal-admin .admin-sidebar .admin-nav-group a{display:block;margin:0;padding:9px 10px;border-left:3px solid transparent;border-radius:7px;color:#18374a;font-size:13px;line-height:1.5;text-decoration:none}
.portal-admin .admin-sidebar .admin-nav-group a:hover{background:#f0f4f7}
.portal-admin .admin-sidebar .admin-nav-group a.active{border-left-color:#b58a45;background:#fbf5ea;color:#102e46;font-weight:600}
@media(max-width:1000px){.portal-admin .admin-sidebar .admin-nav-group{grid-column:1/-1}.portal-admin .admin-sidebar .admin-nav-group>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Editing actions remain distinct from gold secondary and red delete controls. */
body.portal-admin main#main .record-actions a[href$="/edit"]{background:#e3f1fb!important;border-color:#b9d8ed!important;color:#12496c!important;box-shadow:0 2px 6px rgba(16,46,70,.08)}
body.portal-admin main#main .record-actions a[href$="/edit"]:hover{background:#cfe6f6!important;border-color:#96c3e1!important;color:#0d3650!important}
body.portal-admin main#main .record-actions a[href$="/edit"]:active{background:#bdddef!important;color:#0d3650!important}
/* Shared section description typography across public pages. */
body.portal-public main p:is(.section-desc,.jppcsa-calendar-intro){font-size:14px!important}

/* Pengenalan CFA: separated sections and balanced, readable inner cards. */
body.portal-public main#main .page-space.intro-page{padding:0;border:0;background:transparent!important}
body.portal-public main .intro-page .article-body{display:grid;gap:24px;container-type:normal}
body.portal-public main .intro-page .article-body>h2{margin:0;padding:24px;border-radius:16px;background:#f0f4f7}
body.portal-public main .intro-page .article-body>.intro-support{margin:0!important;color:#617486}
body.portal-public main .intro-page .intro-section{margin:0;padding:28px;border:1px solid #d6e0e7;border-radius:18px;background:#f0f4f7;min-width:0}
body.portal-public main .intro-page .intro-section>h2{margin:0 0 16px;color:#102e46}
body.portal-public main .intro-page .intro-section>p:not(.intro-support){padding:16px 20px;background:#fff;border-radius:10px;margin-bottom:20px!important}
body.portal-public main .intro-page p.intro-support{font-size:12px!important;text-align:start!important;color:#617486;margin:0 0 10px!important}
body.portal-public main .intro-page .intro-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}
body.portal-public main .intro-page .intro-card{padding:24px;border:1px solid #d6e0e7;border-top:3px solid #b58a45;border-radius:12px;background:#fff;box-shadow:0 4px 12px #102e4608;min-width:0}
body.portal-public main .intro-page .intro-card h3{margin:0 0 12px}
body.portal-public main .intro-page .intro-card>strong{display:block;font-family:Montserrat,sans-serif;font-size:18px;margin-bottom:10px}
body.portal-public main .intro-page .intro-card ul{margin:12px 0 0;padding-left:24px}
body.portal-public main .intro-page .intro-card li{margin:6px 0}
body.portal-public main .intro-page .intro-card p{max-width:none}
body.portal-public main .intro-page #pc-peranan-cfa>p:not(.intro-support){margin-bottom:0!important}
@media(max-width:700px){body.portal-public main .intro-page .intro-card-grid{grid-template-columns:1fr;gap:14px}body.portal-public main .intro-page .intro-section{padding:20px}body.portal-public main .intro-page .intro-card{padding:20px}}
/* Background page uses the introduction page's section surfaces and spacing. */
body.portal-public main .cloud-background-page .background-section>h2{padding-bottom:14px;border-bottom:1px solid #d6e0e7}
body.portal-public main .cloud-background-page .background-section>p{border:1px solid #d6e0e7;box-shadow:0 4px 12px #102e4608;margin-bottom:0!important}
body.portal-public main .cloud-background-page .background-section>ul{margin:16px 0 0;padding-left:24px;color:#617486}
body.portal-public main .cloud-background-page .background-section>ul li{font-size:12px!important}
/* Scope cards follow the same surfaces as the introduction pages. */
body.portal-public main .scope-page .scope-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0 0;padding:0;align-items:stretch}
body.portal-public main .scope-page .scope-card-grid>.scope-card{padding:24px;margin:0;border-top:3px solid #b58a45}
body.portal-public main .scope-page .scope-card-grid>.scope-card::before{display:none}
body.portal-public main .scope-page .scope-card>h3{margin:0 0 8px;color:#102e46}
body.portal-public main .scope-page .scope-card>.intro-support{color:#617486;margin-bottom:14px!important}
body.portal-public main .scope-page .scope-card>p:last-child{margin-bottom:0!important}
body.portal-public main .scope-page .scope-section>p:not(.intro-support){font-size:14px!important}
body.portal-public main .scope-page .scope-reference{font-size:14px;line-height:1.8}
@media(max-width:800px){body.portal-public main .scope-page .scope-card-grid{grid-template-columns:1fr;gap:16px}body.portal-public main .scope-page .scope-card-grid>.scope-card{padding:20px}}
/* Active and hovered navigation shares a soft gold surface without underlines. */
body .resource-nav :is(a,summary){text-decoration:none!important;border-bottom:0!important;transition:background-color .22s ease,color .22s ease,box-shadow .22s ease;border-radius:7px}
body .resource-nav :is(a,summary)::after{border-bottom:0!important}
body .resource-nav>a:is(:hover,:focus-visible,[aria-current="page"]),body .resource-nav .nav-dropdown>summary:is(:hover,:focus-visible),body .resource-nav .nav-dropdown.active-menu>summary{background:#fbf5ea!important;color:#102e46!important;box-shadow:0 2px 8px #00000012}
body .resource-nav .nav-dropdown a:is(:hover,:focus-visible,[aria-current="page"]){background:#fbf5ea!important;color:#102e46!important;box-shadow:none;font-weight:600}
body :is(.button,button){text-decoration:none!important;transition:background-color .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,filter .22s ease,transform .22s ease}
body :is(.button,button):is(:hover,:focus,:active){text-decoration:none!important}
@media(prefers-reduced-motion:reduce){body .resource-nav :is(a,summary),body :is(.button,button){transition:none!important}}
/* A crisp chevron replaces the text glyph and rotates as the submenu opens. */
body .portal-header #primary-nav .nav-dropdown>summary::after{content:'';display:inline-block;width:7px;height:7px;flex-shrink:0;margin-left:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor!important;transform:translateY(-2px) rotate(45deg);transition:transform .22s ease}
body .portal-header #primary-nav .nav-dropdown[open]>summary::after{transform:translateY(2px) rotate(225deg)}
body .portal-header #primary-nav :is(a,summary){text-decoration:none!important;text-underline-offset:0}
@media(min-width:901px){body .portal-header #primary-nav>a,body .portal-header #primary-nav .nav-dropdown>summary{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){body .portal-header #primary-nav .nav-dropdown>summary::after{transition:none}}
/* Background content reads as one continuous article. */
body.portal-public main .cloud-background-page .background-article{padding:24px;background:#fff;border:1px solid #d6e0e7;border-radius:12px;box-shadow:0 4px 12px #102e4608;min-width:0}
body.portal-public main .cloud-background-page .background-article>p{margin:0 0 1em!important;max-width:none}
body.portal-public main .cloud-background-page .background-article>p:last-child{margin-bottom:0!important}
body.portal-public main .cloud-background-page .background-article>ul:last-child{margin-bottom:0;color:#617486}
@media(max-width:700px){body.portal-public main .cloud-background-page .background-article{padding:20px}}
/* Breadcrumbs contain only the home/current-page trail; headings sit in content. */
body.portal-public main#main .page-hero.breadcrumb-bar{padding:14px 0;background:#f0f4f7!important;border:0;position:relative;z-index:1;box-shadow:0 5px 12px -5px #102e4626,0 12px 24px -14px #102e461a}
body.portal-public main .breadcrumb-bar .breadcrumbs{margin:0;padding:0}
body.portal-public main .breadcrumb-bar .breadcrumbs ol{margin:0}
body.portal-public main .page-content-header{display:block;margin:0 0 24px;min-width:0}
body.portal-public main .page-content-header h1{margin:0;color:#102e46;line-height:1.4;overflow-wrap:break-word}
body.portal-public main .page-content-header p{margin:6px 0 0!important}
body.portal-public main .page-content-header .section-desc{max-width:none}
body.portal-public main .page-content-header>p:not(.section-desc){color:#617486;font-size:14px!important;text-align:start!important}
@media(max-width:640px){body.portal-public main#main .page-hero.breadcrumb-bar{padding:12px 0}body.portal-public main .page-content-header{margin-bottom:20px}}
/* Keep all page content shells at 90% of the available screen width. */
body main#main>.wrap,body main#main>.page-hero>.wrap,body.portal-public main#main .landing-page>.wrap,body.portal-public main#main .landing-page>section>.wrap{width:90%;max-width:none;box-sizing:border-box;margin-inline:auto}
/* Selected introduction layout: a navy highlight beside detailed content. */
body.portal-public main .intro-page .intro-highlight-content{display:grid;gap:24px;min-width:0}
body.portal-public main .intro-page .intro-highlight-content>h2{margin:0;color:#102e46}
body.portal-public main .intro-page .intro-highlight-layout{display:grid;grid-template-columns:minmax(0,0.85fr) minmax(0,1.65fr);gap:24px;align-items:stretch}
body.portal-public main .intro-page .intro-highlight-details{display:grid;gap:24px;min-width:0}
body.portal-public main .intro-page .intro-highlight-aside{background:#102e46;border-color:#102e46;color:#fff}
body.portal-public main .intro-page .intro-highlight-aside :is(h2,h3,strong){color:#fff}
body.portal-public main .intro-page .intro-highlight-aside>p:not(.intro-support){background:transparent;padding:0;color:#fff}
body.portal-public main .intro-page .intro-highlight-aside p.intro-support{color:#e2c38f}
body.portal-public main .intro-page .intro-highlight-aside .intro-card-grid{grid-template-columns:1fr;gap:0;margin-top:24px}
body.portal-public main .intro-page .intro-highlight-aside .intro-card{background:transparent;box-shadow:none;border:0;border-top:1px solid #ffffff30;border-radius:0;padding:20px 0}
body.portal-public main .intro-page .intro-highlight-aside .intro-card h3{margin-bottom:8px}
body.portal-public main .intro-page .intro-highlight-content #pc-peranan-cfa{border-left:4px solid #b58a45}
body.portal-public main .intro-page .intro-highlight-content>.intro-support{margin:0!important}
/* JPPCSA section buttons sit to the right of the page heading. */
body.portal-public main .jppcsa-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
body.portal-public main .jppcsa-title-row>h1{flex:0 0 auto}
body.portal-public main .jppcsa-title-row>.jppcsa-page-nav{display:flex;flex:1 1 auto;justify-content:flex-end;flex-wrap:wrap;gap:8px;background:transparent!important;border:0;padding:0;margin:0;box-shadow:none;width:auto}
body.portal-public main .jppcsa-title-row .jppcsa-page-nav>a{font-size:12px;white-space:nowrap;padding:9px 12px;min-height:40px}
@media(max-width:1000px){body.portal-public main .jppcsa-title-row{align-items:flex-start;flex-direction:column;gap:14px}body.portal-public main .jppcsa-title-row>.jppcsa-page-nav{justify-content:flex-start}}
@media(max-width:850px){body.portal-public main .intro-page .intro-highlight-layout{grid-template-columns:1fr}body.portal-public main .intro-page .intro-highlight-aside .intro-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}}
@media(max-width:600px){body.portal-public main .intro-page .intro-highlight-aside .intro-card-grid,body.portal-public main .intro-page .intro-highlight-details .intro-card-grid{grid-template-columns:1fr}}

/* Only subsection actions align beside section headings. */
body.portal-public main .jppcsa-balanced .jppcsa-section-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
body.portal-public main .jppcsa-balanced .jppcsa-section-header>h2{flex:1 1 auto;min-width:0;margin:0}
body.portal-public main .jppcsa-balanced .jppcsa-section-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;flex:0 1 auto;margin:0;min-width:0}
body.portal-public main .jppcsa-balanced .jppcsa-section-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid #b58a45;border-radius:8px;background:#fbf5ea;color:#67481d;text-decoration:none!important;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap;box-shadow:0 2px 5px #00000012;transition:background-color .22s ease,box-shadow .22s ease}
body.portal-public main .jppcsa-balanced .jppcsa-section-actions>a:hover{background:#f1e2c8;box-shadow:0 4px 8px #0000001a}
@media(max-width:640px){body.portal-public main .jppcsa-balanced .jppcsa-section-header{flex-wrap:wrap}body.portal-public main .jppcsa-balanced .jppcsa-section-actions{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){body.portal-public main .jppcsa-balanced .jppcsa-section-actions>a{transition:none}}
/* Shared placement of subsection headings and their contextual actions. */
body.portal-public main .portal-subsection-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;margin-bottom:16px}
body.portal-public main .portal-subsection-header>:is(h2,h3){flex:1 1 auto;min-width:0;margin:0}
body.portal-public main .portal-subsection-header>div:not(.portal-subsection-actions){flex:1 1 auto;min-width:0}
body.portal-public main .portal-subsection-header>div :is(h2,h3){margin:0}
body.portal-public main .portal-subsection-header>:is(a,button){flex:0 0 auto;margin:0}
body.portal-public main .portal-subsection-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 1 auto;min-width:0}
body.portal-public main .portal-subsection-actions>.button{margin:0}
body.portal-public main .policy-card{display:block}
body.portal-public main .policy-card .portal-subsection-header:last-child{margin-bottom:0}
body.portal-public main .policy-card>p{margin:12px 0 0!important}
body.portal-public main .program-public-speaker .portal-subsection-header{margin-bottom:0}
body.portal-public main .program-public-speaker .portal-subsection-header>.small{margin:0!important;text-align:start!important}
body.portal-public main .profile-header.portal-subsection-header{flex-wrap:nowrap}
body.portal-public main .profile-header.portal-subsection-header>div{flex:1 1 auto}
body.portal-public main .provider-profile>.profile-header+p{margin:0 0 16px!important;font-size:14px!important}
@media(max-width:700px){body.portal-public main .portal-subsection-header{flex-wrap:wrap;gap:12px}body.portal-public main .portal-subsection-header>:is(h2,h3),body.portal-public main .portal-subsection-header>div:not(.portal-subsection-actions){flex-basis:100%}body.portal-public main .portal-subsection-actions{justify-content:flex-start}body.portal-public main .profile-header.portal-subsection-header{flex-wrap:wrap}}
/* Primary navigation indicates the current page with text colour only. */
body:is(.portal-public,.portal-admin) .portal-header #primary-nav>a,
body:is(.portal-public,.portal-admin) .portal-header #primary-nav>.nav-dropdown>summary,
body:is(.portal-public,.portal-admin) .portal-header #primary-nav>a:is(:hover,:focus,:active),
body:is(.portal-public,.portal-admin) .portal-header #primary-nav>.nav-dropdown>summary:is(:hover,:focus,:active),
body:is(.portal-public,.portal-admin) .portal-header #primary-nav>.nav-dropdown[open]>summary{background:transparent!important;color:#fff!important;box-shadow:none!important;border:0!important;text-decoration:none!important;filter:none!important;transform:none!important;transition:none!important}
body:is(.portal-public,.portal-admin) .portal-header #primary-nav>a[aria-current="page"],
body:is(.portal-public,.portal-admin) .portal-header #primary-nav>.nav-dropdown.active-menu>summary{color:#e2c38f!important}
/* Automatic, content-specific update date on every public portal page. */
body.portal-public main#main>.page-updated-at{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:0;margin-top:24px;margin-bottom:32px;background:transparent;border:0;border-radius:0;box-shadow:none}
body.portal-public main#main .page-updated-at>h2{margin:0;font-size:12px!important;color:#102e46}
body.portal-public main#main .page-updated-at>:is(time,p){margin:0!important;font-size:12px!important;color:#617486;text-align:start!important}
/* Place the desktop administration sidebar close to the screen edge. */
@media(min-width:1001px){body.portal-admin main#main>.wrap.admin-shell{width:calc(100% - 32px);max-width:none;margin-inline:16px;gap:24px}}
/* Keep the automatic date and its label close together at the right edge. */
body.portal-public main#main>.page-updated-at{justify-content:flex-end;gap:8px}
body.portal-public main#main .page-updated-at>:is(h2,time,p){text-align:right!important}
/* Category tabs filter the existing FAQ list and preserve the search term. */
body.portal-public main .faq-category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:0}
body.portal-public main .faq-category-tabs>a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;min-height:44px;border:1px solid #d6e0e7;border-radius:8px;background:#fff;color:#102e46;font-size:14px;text-decoration:none!important;transition:background-color .2s ease,color .2s ease}
body.portal-public main .faq-category-tabs>a>span{font-size:12px;min-width:22px;text-align:center;padding:1px 5px;border-radius:4px;background:#f0f4f7;color:#617486}
body.portal-public main .faq-category-tabs>a:hover{background:#fbf5ea}
body.portal-public main .faq-category-tabs>a[aria-current="page"]{background:#102e46;color:#fff;border-color:#b58a45}
body.portal-public main .faq-category-tabs>a[aria-current="page"]>span{background:#ffffff1a;color:#e2c38f}
@media(prefers-reduced-motion:reduce){body.portal-public main .faq-category-tabs>a{transition:none}}
/* FAQ accordions use the full available section width. */
body.portal-public main #faq-results{width:100%;max-width:none;min-width:0}
body.portal-public main #faq-results .faq-list{width:100%;max-width:none;margin-inline:0;grid-template-columns:minmax(0,1fr)}
body.portal-public main #faq-results .faq-list>details{width:100%;max-width:none;min-width:0;box-sizing:border-box}
/* Programmatic category focus should not draw a box around the entire FAQ list. */
body.portal-public main #faq-results:focus{outline:none}
/* FAQ answers share a compact 14px reading scale and consistent list indentation. */
body.portal-public main #faq-results .faq-answer{font-size:14px!important;line-height:1.8;padding:22px 24px;border-top:1px solid #e1e8ed;min-width:0;overflow-wrap:anywhere;container-type:inline-size}
body.portal-public main #faq-results .faq-answer :is(p,li,td,th,blockquote,small){font-size:14px!important}
body.portal-public main #faq-results .faq-answer>:first-child{margin-top:0!important}
body.portal-public main #faq-results .faq-answer>:last-child{margin-bottom:0!important}
body.portal-public main #faq-results .faq-answer p{margin:0 0 12px!important}
body.portal-public main #faq-results .faq-answer :is(ol,ul){margin:12px 0 16px;padding:0}
body.portal-public main #faq-results .faq-answer :is(ol,ul)>li{padding-left:3em;margin:7px 0;line-height:1.8}
body.portal-public main #faq-results .faq-answer :is(ol,ul)>li::before{width:2.7em;color:#005a87}
body.portal-public main #faq-results .faq-answer li>p{margin:0 0 8px!important}
body.portal-public main #faq-results .faq-answer li>p:last-child{margin-bottom:0!important}
body.portal-public main #faq-results .faq-answer li>:is(ol,ul){margin:8px 0}
body.portal-public main #faq-results .faq-answer>:is(b,strong){display:block;color:#102e46;margin:20px 0 10px;line-height:1.6}
body.portal-public main #faq-results .faq-answer a{color:#005a87;overflow-wrap:anywhere;text-underline-offset:3px}
body.portal-public main #faq-results .faq-answer blockquote{margin:16px 0;padding:12px 16px;background:#f0f4f7;border-left:3px solid #b58a45;border-radius:0 8px 8px 0}
body.portal-public main #faq-results .faq-answer-table{overflow-x:auto;width:100%;margin:18px 0;overscroll-behavior-x:contain}
body.portal-public main #faq-results .faq-answer-table>table{display:table;width:100%;margin:0}
body.portal-public main #faq-results .faq-answer-table caption{text-align:left;font-weight:600;padding:0 0 12px;color:#102e46}
/* A larger blue circle gives each FAQ number a clear visual anchor. */
body.portal-public main #faq-results .faq-question-number{width:38px;height:38px;min-width:38px;border-radius:50%;background:#e3f1fb!important;color:#12496c;font-size:16px!important;font-weight:700;line-height:1;align-self:center;box-sizing:border-box}
@media(max-width:640px){body.portal-public main #faq-results .faq-answer{padding:18px 16px}body.portal-public main #faq-results .faq-answer :is(p,li){text-align:start!important;hyphens:none}body.portal-public main #faq-results .faq-question-number{width:34px;height:34px;min-width:34px;font-size:15px!important}}
/* Prose uses at least 90% of its section instead of a fixed character-width cap. */
body.portal-public main#main .article-body{width:100%;max-width:none;min-width:0;box-sizing:border-box}
body.portal-public main#main .article-body :is(p,ol,ul,blockquote,.plain-text){max-width:none;box-sizing:border-box}
body.portal-public main#main .page-space:not(.intro-page):not(.jppcsa-page)>.article-body:not(.faq-list){width:90%;margin-inline:auto}
body.portal-public main#main .page-space:not(.intro-page):not(.jppcsa-page)>.article-body>.plain-text{width:100%;max-width:none}
body.portal-public main#main .page-content-header :is(h1,p){max-width:none}
/* Program content follows the same 14px reading rhythm as FAQ answers. */
body.portal-public main .program-content{font-size:14px!important;line-height:1.8;overflow-wrap:anywhere}
body.portal-public main .program-content :is(p,li,td,th,blockquote,small,.plain-text){font-size:14px!important}
body.portal-public main .program-content>:first-child{margin-top:0!important}
body.portal-public main .program-content>:last-child{margin-bottom:0!important}
body.portal-public main .program-content p{margin:0 0 12px!important}
body.portal-public main .program-content :is(ol,ul){margin:12px 0 16px;padding:0}
body.portal-public main .program-content :is(ol,ul)>li{padding-left:3em;margin:7px 0;line-height:1.8}
body.portal-public main .program-content :is(ol,ul)>li::before{width:2.7em;color:#005a87}
body.portal-public main .program-content li>p{margin:0 0 8px!important}
body.portal-public main .program-content li>p:last-child{margin-bottom:0!important}
body.portal-public main .program-content li>:is(ol,ul){margin:8px 0}
body.portal-public main .program-content>:is(b,strong){display:block;color:#102e46;margin:20px 0 10px;line-height:1.6}
body.portal-public main .program-content blockquote{margin:16px 0;padding:12px 16px;background:#f0f4f7;border-left:3px solid #b58a45;border-radius:0 8px 8px 0}
/* MSP names on the landing page have a consistent 14px text size. */
body.portal-public main .landing-page .catalog-card .msp-provider-name{font-size:14px!important}
@media(max-width:640px){body.portal-public main .program-content :is(p,li){text-align:start!important;hyphens:none}}
/* One body-copy scale and reading rhythm across all public portal pages. */
body.portal-public main#main{font-size:14px}
body.portal-public main#main :is(p,li,td,th,blockquote,.article-body,.plain-text,.faq-answer,dd){font-size:14px!important;line-height:1.8!important}
body.portal-public main#main .article-body p{margin-top:0!important;margin-bottom:12px!important}
body.portal-public main#main .article-body p:last-child{margin-bottom:0!important}
body.portal-public main#main .article-body :is(ol,ul):not([class]):not(nav *){margin:12px 0 16px;padding:0}
body.portal-public main#main .article-body :is(ol,ul):not([class]):not(nav *)>li{padding-left:3em;margin:7px 0}
body.portal-public main#main .article-body :is(ol,ul):not([class]):not(nav *)>li::before{width:2.7em;color:#005a87}
body.portal-public main#main .article-body li>p{margin:0 0 8px!important}
body.portal-public main#main .article-body li>p:last-child{margin-bottom:0!important}
body.portal-public main#main .article-body li>:is(ol,ul):not([class]){margin:8px 0}
body.portal-public main#main .article-body blockquote{margin:16px 0;padding:12px 16px;background:#f0f4f7;border-left:3px solid #b58a45;border-radius:0 8px 8px 0}
/* Document rows and category navigation follow the supplied policy-page layout. */
body.portal-public main#main .policy-document-page .policy-category-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 32px}
body.portal-public main#main .policy-document-page .policy-category-tabs>a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;background:#edf5fa;border:1px solid #d1e3ef;border-radius:8px;color:#005a87;font-size:14px;font-weight:600;text-decoration:none}
body.portal-public main#main .policy-document-page .policy-category-tabs>a>span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 6px;border-radius:50%;background:#fff;font-size:12px}
body.portal-public main#main .policy-document-page .policy-group{background:transparent!important;border:0;border-radius:0;padding:0;margin:0 0 32px;scroll-margin-top:200px}
body.portal-public main#main .policy-document-page .policy-group>.section-head{border-bottom:1px solid #d1e3ef;padding-bottom:14px;margin:0 0 18px;align-items:center}
body.portal-public main#main .policy-document-page .policy-group>.section-head h2{margin:0;color:#005a87}
body.portal-public main#main .policy-document-page .policy-list{display:grid;gap:12px}
body.portal-public main#main .policy-document-page .policy-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:22px;align-items:center;padding:26px;border:1px solid #d1e3ef;border-radius:14px;background:#fff!important;box-shadow:0 4px 12px #102e4605;margin:0}
body.portal-public main#main .policy-document-page .policy-card:nth-child(even){background:#f3f8fb!important}
body.portal-public main#main .policy-document-page .policy-document-icon{width:52px;height:60px;display:flex;align-items:center;justify-content:center;background:#e7f2f9;border-radius:10px;color:#005a87}
body.portal-public main#main .policy-document-page .policy-document-copy{min-width:0}
body.portal-public main#main .policy-document-page .policy-document-meta{font-size:12px!important;color:#617486;margin:0 0 8px!important;text-align:start!important}
body.portal-public main#main .policy-document-page .policy-document-copy h3{margin:0 0 8px;color:#102e46}
body.portal-public main#main .policy-document-page .policy-document-description{margin:0!important;font-size:14px!important;color:#617486;text-align:start!important}
body.portal-public main#main .policy-document-page .policy-document-download{gap:10px;min-width:142px;min-height:46px;margin:0}
body.portal-public main#main .policy-document-page .policy-document-download>svg{flex-shrink:0}
body.portal-public main#main .policy-document-page .policy-admin-action{margin-bottom:20px}
@media(max-width:700px){body.portal-public main#main .policy-document-page .policy-card{grid-template-columns:40px minmax(0,1fr);gap:14px;padding:18px}body.portal-public main#main .policy-document-page .policy-document-icon{width:40px;height:48px}body.portal-public main#main .policy-document-page .policy-document-download{grid-column:2;justify-self:start;max-width:100%;white-space:normal}body.portal-public main#main .policy-document-page .policy-category-tabs{gap:8px}}
/* Keep page titles and descriptions close and aligned to the section edge. */
body.portal-public main#main .page-content-header{padding-inline:0;text-align:start}
body.portal-public main#main .page-content-header>h1{margin:0}
body.portal-public main#main .page-content-header>p{margin:4px 0 0!important;line-height:1.6!important}
body.portal-public main#main .page-content-header>p.section-desc{padding:0;background:transparent;border:0;border-radius:0;margin-inline:0!important;text-align:start!important}
/* Subsection titles and their descriptions share a consistent 4px gap. */
body.portal-public main#main :is(h2,h3,h4,h5,h6):has(+p){margin-bottom:0!important}
body.portal-public main#main :is(h2,h3,h4,h5,h6)+p{margin-top:4px!important}
body.portal-public main#main :is(.section-head,.portal-subsection-header,.profile-header,.jppcsa-section-header,.jppcsa-calendar-heading):has(+p){margin-bottom:0!important}
body.portal-public main#main :is(.section-head,.portal-subsection-header,.profile-header,.jppcsa-section-header,.jppcsa-calendar-heading)+p{margin-top:4px!important}
body.portal-public main#main :is(.section-head,.portal-subsection-header,.jppcsa-calendar-heading)+p:is(.section-desc,.jppcsa-calendar-intro){padding-top:0;padding-bottom:0}
/* References stay in a continuous, naturally wrapping paragraph. */
body.portal-public main#main .scope-reference-copy{width:100%;min-width:0}
body.portal-public main#main .scope-reference-copy p{margin:4px 0 0!important;white-space:normal;word-break:normal;overflow-wrap:break-word;text-align:start!important}
body.portal-public main#main .scope-reference-copy :is(em,i,a,strong,b){display:inline;white-space:normal}
body.portal-public main#main .scope-page .scope-section>.scope-card-grid:first-child{margin-top:0}
/* Keep the secretariat email close to the last address line. */
body.portal-public main#main #jpc-hubungi>p:has(+.jppcsa-email-row){margin-bottom:0!important}
body.portal-public main#main #jpc-hubungi>.jppcsa-email-row{margin:4px 0 0;gap:8px;font-size:14px;line-height:1.8}
/* Exemption-page heading aligns to the outside edge of its content section. */
body.portal-public main#main>.exemption-page-heading{margin-top:28px}
body.portal-public main#main .exemption-page-heading>.page-content-header{margin-bottom:0}
body.portal-public main#main .exemption-page-heading+.exemption-page{margin-top:20px}
@media(max-width:640px){body.portal-public main#main>.exemption-page-heading{margin-top:20px}}
/* Separate submenu hit areas so active and hover backgrounds never touch. */
body:is(.portal-public,.portal-admin) .portal-header #primary-nav .nav-dropdown>div{display:grid;gap:6px;padding:10px;box-sizing:border-box}
body:is(.portal-public,.portal-admin) .portal-header #primary-nav .nav-dropdown>div>a{display:flex;align-items:center;width:100%;min-height:44px;box-sizing:border-box;margin:0;padding:10px 14px;border-radius:6px;font-weight:500;line-height:1.6;white-space:normal;transform:none!important;box-shadow:none!important}
body:is(.portal-public,.portal-admin) .portal-header #primary-nav .nav-dropdown>div>a:is(:hover,:focus-visible,[aria-current="page"]){font-weight:500;transform:none!important;box-shadow:none!important}
/* Mobile directory names use the full card width; extension numbers align left. */
@media(max-width:700px){
 body.portal-public main#main .staff-table tbody th[scope="row"]{display:block;width:100%;max-width:100%;box-sizing:border-box;white-space:nowrap;overflow-wrap:normal;word-break:normal;overflow-x:auto;text-align:left}
 body.portal-public main#main .staff-table tbody td[data-label="Sambungan"]{text-align:left;justify-items:start}
 body.portal-public main#main .staff-table tbody td[data-label="Sambungan"]::before,body.portal-public main#main .staff-table tbody td[data-label="Sambungan"]>a{text-align:left;justify-self:start}
}
/* Email addresses are selectable plain text throughout the portal. */
.portal-email-text{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.footer-main>div>.portal-email-text{display:block;margin-top:12px;font-size:14px}
body.portal-public main .jppcsa-email-row>.portal-email-text{min-width:0;overflow-wrap:anywhere}
.portal-phone-text{color:inherit;text-decoration:none;overflow-wrap:anywhere}
body.portal-public main#main .staff-unit-phone>.portal-phone-text{font-size:14px;font-weight:600;color:#102e46}
body.portal-public main#main .staff-direct-phone.portal-phone-text{display:block;font-size:14px}
/* FAQ 5 approval matrices keep captions and merged headers aligned. */
body.portal-public main#main .faq-answer-table>.faq-approval-table{min-width:760px;border-collapse:separate;border-spacing:0}
body.portal-public main#main .faq-approval-table caption{padding:14px 16px;background:#102e46;color:#fff;font-size:14px;line-height:1.6;text-align:left;font-weight:600;border-radius:10px 10px 0 0}
body.portal-public main#main .faq-approval-table thead th{text-align:center;vertical-align:middle;border:1px solid #ffffff30;min-width:110px}
body.portal-public main#main .faq-approval-table tbody th[scope="rowgroup"]{width:30%;min-width:220px;vertical-align:middle;text-align:left;border-right:1px solid #d6e0e7;font-weight:400;color:#102e46}
body.portal-public main#main .faq-approval-table tbody td:not(.approval-mark){white-space:nowrap}
body.portal-public main#main .faq-approval-table .approval-mark{text-align:center;vertical-align:middle;min-width:110px;border-left:1px solid #d6e0e7}
/* Clip FAQ table row fills to the rounded outer edge, including FAQ 10. */
body.portal-public main#main .faq-answer-table{border-radius:12px}
body.portal-public main#main .faq-answer-table>table{border-radius:12px;overflow:hidden;border-collapse:separate;border-spacing:0}
body.portal-public main#main .faq-answer-table>table:not(:has(thead)):not(:has(caption)) tbody>tr:first-child>:first-child{border-top-left-radius:11px}
body.portal-public main#main .faq-answer-table>table:not(:has(thead)):not(:has(caption)) tbody>tr:first-child>:last-child{border-top-right-radius:11px}
body.portal-public main#main .faq-answer-table>table:not(.faq-approval-table) tbody>tr:last-child>:first-child{border-bottom-left-radius:11px}
body.portal-public main#main .faq-answer-table>table:not(.faq-approval-table) tbody>tr:last-child>:last-child{border-bottom-right-radius:11px}
body.portal-public main#main .faq-answer-table>table tbody>tr:last-child>:is(td,th){border-bottom:0}
/* Identical line spacing for every FAQ question and answer. */
body.portal-public main#main #faq-results .faq-list summary{line-height:1.8!important}
body.portal-public main#main #faq-results .faq-question-text{font-size:14px!important;line-height:1.8!important}
body.portal-public main#main #faq-results .faq-answer,body.portal-public main#main #faq-results .faq-answer :is(p,li,td,th,blockquote,b,strong){line-height:1.8!important}
body.portal-public main#main #faq-results .faq-answer p{margin-top:0!important;margin-bottom:12px!important}
body.portal-public main#main #faq-results .faq-answer p:last-child{margin-bottom:0!important}
body.portal-public main#main #faq-results .faq-answer li>p{margin-bottom:8px!important}
body.portal-public main#main #faq-results .faq-answer li>p:last-child{margin-bottom:0!important}
body.portal-public main#main #faq-results .faq-answer :is(ol,ul)>li{margin-block:7px}
/* Page management keeps content editing separate from the published layout. */
.managed-page-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 24px}
.managed-page-toolbar form{margin:0}.managed-page-toolbar .status{margin-right:auto}
.managed-page-editor-layout{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);align-items:start;gap:24px}
.managed-page-blocks{display:grid;gap:5px;max-height:70vh;overflow:auto;padding:12px;background:#f0f4f7;border:1px solid #d6e0e7;border-radius:12px}
.managed-page-blocks>a{padding:10px 12px;border-radius:7px;font-size:13px;line-height:1.6;color:#102e46;overflow-wrap:anywhere;text-decoration:none}
.managed-page-blocks>a:hover{background:#fff}.managed-page-blocks>a[aria-current="page"]{background:#fbf5ea;border-left:3px solid #b58a45;font-weight:600}
.managed-page-editor-layout .content-form{width:100%;max-width:none;min-width:0}
body.portal-public main#main .managed-copy{font-size:14px;line-height:1.8;min-width:0}
body.portal-public main#main .managed-copy>p:last-child{margin-bottom:0!important}
body.portal-public main#main .intro-section>.managed-section-copy{padding:16px 20px;background:#fff;border-radius:10px;margin-bottom:20px}
body.portal-public main#main .intro-highlight-aside>.managed-section-copy{padding:0;background:transparent;color:#fff}
body.portal-public main#main .intro-section>.managed-section-copy:last-child{margin-bottom:0}
body.portal-public main#main .intro-section>h2+.managed-copy,body.portal-public main#main .intro-card>:is(h3,strong)+.managed-copy{margin-top:4px}
.page-preview-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px;background:#fbf5ea;border:1px solid #b58a45;border-radius:12px;margin-bottom:20px;color:#102e46}
@media(max-width:1100px){.managed-page-editor-layout{grid-template-columns:1fr}.managed-page-blocks{max-height:240px;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.managed-page-blocks{grid-template-columns:1fr}.managed-page-toolbar .button,.managed-page-toolbar form{width:100%}.managed-page-toolbar form>.button{width:100%}}
/* Preserve the portal's compact heading-to-description spacing in editable blocks. */
body.portal-public main#main :is(h2,h3,h4,strong):has(+.managed-copy){margin-bottom:0!important}
body.portal-public main#main :is(h2,h3,h4,strong)+.managed-copy{margin-top:4px!important}
body.portal-public main#main .intro-highlight-aside .managed-copy blockquote{background:#1d4765;color:#fff}
/* New page templates use the portal's existing section and card surfaces. */
body.portal-public main#main .managed-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
body.portal-public main#main .managed-template-grid>.intro-section{height:100%}
.portal-admin .managed-page-list .admin-record:has(form[action$="/unpublish"]){align-items:flex-start}
.portal-admin .managed-page-list .admin-record .record-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:700px){body.portal-public main#main .managed-template-grid{grid-template-columns:1fr}}
/* Manage section structure without altering public template geometry. */
body.portal-public main#main .managed-article-section{margin:0;min-width:0}
body.portal-public main#main .managed-article-section+.managed-article-section{margin-top:24px}
body.portal-public main#main .managed-article-section>h2{margin-top:0}
.portal-admin .managed-section-group{display:block;margin:24px 0;scroll-margin-top:180px}
.portal-admin .managed-section-group>.section-head{margin-bottom:16px;gap:16px}
.portal-admin .managed-section-group>.section-head h2{margin:0}
.portal-admin .managed-section-row{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d6e0e7;border-radius:10px;background:#fff;margin-bottom:10px;min-width:0}
.portal-admin .managed-section-title{flex:1;min-width:0;overflow-wrap:anywhere}
.portal-admin .managed-section-position{font-size:12px;min-width:24px;color:#617486;text-align:center}
.portal-admin .managed-section-row .record-actions{flex-wrap:wrap;justify-content:flex-end}
body.portal-admin main#main .section-drag{touch-action:none;user-select:none;min-width:40px;min-height:40px;padding:6px;background:#f0f4f7!important;color:#102e46!important;border:1px solid #d6e0e7;border-radius:8px;cursor:grab}
.portal-admin .managed-section-row.is-dragging{opacity:.65;border-color:#b58a45}
.portal-admin .managed-section-order-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
.portal-admin .managed-section-order-form>[data-section-status]{flex-basis:100%;margin:0}
@media(max-width:900px){.portal-admin .managed-section-row{flex-wrap:wrap}.portal-admin .managed-section-row .record-actions{flex-basis:100%;justify-content:flex-start}}
/* Bin labels use a small icon on the left with inherited interface colour. */
.bin-icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;flex-shrink:0;margin-inline-end:5px;fill:none;stroke:currentColor}

/* Administration navigation and record actions. */
.action-icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;flex-shrink:0;margin-inline-end:5px;fill:none;stroke:currentColor}
.portal-admin .admin-sidebar{background:#102e46;border-color:#24465f;color:#fff}
.portal-admin .admin-sidebar>.eyebrow,.portal-admin .admin-sidebar>h2,.portal-admin .admin-sidebar>.small{color:#fff}
.portal-admin .admin-sidebar nav>a,.portal-admin .admin-sidebar .admin-nav-group>summary,.portal-admin .admin-sidebar .admin-nav-group a{color:#edf3f8;background:transparent;transition:background-color .18s ease,color .18s ease}
.portal-admin .admin-sidebar nav>a:hover,.portal-admin .admin-sidebar .admin-nav-group>summary:hover,.portal-admin .admin-sidebar .admin-nav-group a:hover{background:#24465f;color:#fff}
.portal-admin .admin-sidebar nav>a.active,.portal-admin .admin-sidebar .admin-nav-group.active-group>summary,.portal-admin .admin-sidebar .admin-nav-group a.active{background:#1c3e58;color:#e2c38f;border-left-color:#b58a45}
.portal-admin .admin-sidebar .admin-nav-group>summary::after{color:#e2c38f}
.portal-admin .admin-sidebar .admin-nav-group>div,.portal-admin .admin-sidebar-actions{border-color:#ffffff30}
.portal-admin .admin-sidebar>nav{scrollbar-color:#68849a #102e46}
.portal-admin .admin-sidebar :is(a,summary,button):focus-visible{outline:2px solid #e2c38f;outline-offset:2px}

/* Visitor-facing sitemap follows the public section and card palette. */
.portal-public .sitemap-page{padding-top:28px;padding-bottom:40px}
.portal-public .sitemap-section{padding:26px;border-radius:18px;background:#f0f4f7;border:1px solid #dce5e9}
.portal-public .sitemap-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.portal-public .sitemap-section-heading>h2{font-size:24px;margin:0}.portal-public .sitemap-section-heading>span{font-size:14px;color:#566e7d;white-space:nowrap}
.portal-public .sitemap-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.portal-public .sitemap-group{min-width:0;padding:22px;background:#fff;border:1px solid #d3dfe7;border-radius:12px;box-shadow:0 3px 10px #102e4608}
.portal-public .sitemap-group>h2{font-size:18px;margin:0 0 12px;padding-bottom:12px;border-bottom:2px solid #e2c38f;color:#102e46}
.portal-public .sitemap-group>ul{list-style:none;counter-reset:none!important;margin:0;padding:0}
.portal-public .sitemap-group li{margin:0;padding:0;border-bottom:1px solid #edf1f4}.portal-public .sitemap-group li:last-child{border-bottom:0}
.portal-public .sitemap-group li::before{content:none!important}
.portal-public .sitemap-group a{display:block;padding:11px 10px;border-radius:6px;color:#005a87;font-size:14px;line-height:1.7;text-decoration:none;overflow-wrap:anywhere}
.portal-public .sitemap-group a:hover{background:#f0f4f7;color:#102e46;text-decoration:none}
@media(max-width:1050px){.portal-public .sitemap-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.portal-public .sitemap-section{padding:18px}.portal-public .sitemap-groups{grid-template-columns:minmax(0,1fr);gap:16px}.portal-public .sitemap-group{padding:18px}.portal-public .sitemap-section-heading{align-items:flex-start;flex-direction:column;gap:4px}}

/* A single, centred policy row closes the public footer. */
.portal-public .footer-policy-links{grid-column:1/-1;justify-self:center;display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:0;max-width:100%;font-size:inherit;line-height:inherit}
.portal-public .footer-policy-links>a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 16px;white-space:nowrap;font-size:inherit;line-height:inherit;text-decoration:none}
.portal-public .footer-policy-links>a+a{border-left:1px solid #ffffff38}
.portal-public .footer-policy-links>a:first-child{padding-left:0}.portal-public .footer-policy-links>a:last-child{padding-right:0}
@media(max-width:600px){.portal-public .footer-policy-links>a{min-height:44px;padding-inline:12px}}

/* The footer exposes four primary destinations and the policy row only. */
.portal-public .footer-main{grid-template-columns:minmax(0,1.2fr) minmax(440px,1fr);gap:48px;align-items:start}
.portal-public .footer-resource-group{min-width:0}
.portal-public .footer-primary-links{display:grid;grid-template-columns:repeat(4,max-content);align-items:center;justify-content:space-between;gap:18px}
.portal-public .footer-primary-links>a{display:inline-flex;align-items:center;min-height:44px;margin:0;font-size:14px;font-weight:600;line-height:1.5;white-space:nowrap;text-decoration:none}
@media(max-width:1050px){.portal-public .footer-main{grid-template-columns:minmax(0,1fr);gap:22px}.portal-public .footer-primary-links{justify-content:flex-start;gap:28px}}
@media(max-width:600px){.portal-public .footer-primary-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;padding-top:14px;border-top:1px solid #ffffff26}.portal-public .footer-primary-links>a{min-height:44px;white-space:normal}.portal-public .footer-main>div:first-child{grid-column:auto}}

/* Compact identity matches the mobile navigation breakpoint. */
@media(max-width:860px){
    .portal-public .portal-header .portal-official-mark{display:none}
    .portal-public .portal-header .header-main{min-height:84px;padding-block:14px}
    .portal-public .portal-header .government-brand{padding-block:0;gap:0}
    .portal-public .portal-header .portal-identity{height:auto;gap:4px}
}

/* Section descriptions sit directly on their section background. */
body.portal-public main#main p:is(.section-desc,.jppcsa-calendar-intro){background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}

/* CSP and MSP identifiers share the same badge styling. */
.portal-public .landing-page .catalog-card .csp-provider-heading{display:flex;align-items:baseline;gap:10px;min-width:0}
.portal-public .landing-page .catalog-card .csp-provider-heading>span:last-child{min-width:0;overflow-wrap:anywhere}

.portal-public>footer .footer-main>div:first-child>p{font-size:12px}

/* Numbered policy sections follow the reference design. */
body.portal-public main#main .portal-policy-page>.article-body{display:block;width:100%;margin:0}
body.portal-public main#main .portal-policy-page :is(.background-section,.background-article,.managed-article-section){padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body.portal-public main#main .portal-policy-page .background-article>.managed-copy{width:100%;margin:0}
body.portal-public main#main .portal-policy-page .managed-copy>.policy-section{margin:20px 0 0;padding:28px 30px;background:#fff;border:1px solid #dce5ee;border-radius:14px;box-shadow:0 2px 4px #102e4609}
body.portal-public main#main .portal-policy-page .policy-section>h2{display:flex;align-items:center;gap:16px;margin:0 0 22px;padding:0 0 0 18px;border:0;border-left:4px solid #2854ee;font-size:22px!important;line-height:1.4;letter-spacing:-.4px;color:#102e46;background:transparent}
.portal-policy-page .policy-heading-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:10px;background:#eef5ff;color:#2454f5}
.portal-policy-page .policy-heading-icon svg{display:block}
.portal-policy-page .policy-heading-label{min-width:0}
body.portal-public main#main .portal-policy-page .policy-section p{color:#526878;text-align:start!important}
body.portal-public main#main .portal-policy-page .policy-section strong{color:#102e46;font-weight:600}
body.portal-public main#main .portal-policy-page .policy-section-copy>ul{list-style:none;counter-reset:none!important;padding:0;margin:20px 0 0}
body.portal-public main#main .portal-policy-page .policy-section-copy>ul>li{position:relative;padding-left:32px;margin:14px 0;color:#526878}
body.portal-public main#main .portal-policy-page .policy-section-copy>ul>li::before{content:'✓'!important;position:absolute;top:3px;left:0;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#eef5ff;color:#2454f5;font-size:14px;line-height:1}
body.portal-public main#main .portal-policy-page .policy-section .policy-note{position:relative;padding:16px 20px 16px 48px;margin:20px 0 0;background:#f7f9fc;border:1px solid #dce5ee;border-radius:10px}
.portal-policy-page .policy-note::before{content:'⚠';position:absolute;left:18px;top:15px;color:#c67a00;font-size:18px}
body.portal-public main#main .portal-policy-page .policy-contact-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:20px;background:#f7f9fc;border:1px solid #dce5ee;border-radius:12px}
body.portal-public main#main .portal-policy-page .policy-contact-panel>p{margin:0!important}
body.portal-public main#main .portal-policy-page .policy-contact-panel strong{color:#2454f5;overflow-wrap:anywhere}
body.portal-public main#main .portal-policy-page .policy-copy-email{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;flex-shrink:0;padding:10px 16px;background:#fff;color:#102e46;border:1px solid #cbd7e7;border-radius:8px;box-shadow:0 2px 3px #102e4609;font-size:14px;font-weight:500;cursor:pointer}
.portal-policy-page .policy-copy-email:hover{background:#eef5ff;border-color:#8da9dc}
body.portal-public main#main .portal-policy-page>.page-updated-at{width:100%;margin:0 0 18px;padding:0;border:0}
@media(max-width:600px){
 body.portal-public main#main .portal-policy-page .managed-copy>.policy-section{padding:20px 16px;margin-top:16px}
 body.portal-public main#main .portal-policy-page .policy-section>h2{font-size:18px!important;gap:10px;padding-left:10px;margin-bottom:18px;align-items:flex-start}
 .portal-policy-page .policy-heading-icon{flex-basis:36px;width:36px;height:36px;border-radius:8px}
 .portal-policy-page .policy-heading-label{align-self:center}
 body.portal-public main#main .portal-policy-page .policy-contact-panel{align-items:flex-start;flex-direction:column;padding:16px;gap:14px}
}
/* A single text column aligns paragraphs, lists, notes and contact text. */
body.portal-public main#main .portal-policy-page .policy-section{--policy-copy-indent:80px}
body.portal-public main#main .portal-policy-page .policy-section-copy{margin-left:var(--policy-copy-indent);min-width:0}
body.portal-public main#main .portal-policy-page .policy-section-copy :is(p,li){text-align:start!important;text-indent:0;word-spacing:normal;letter-spacing:normal}
body.portal-public main#main .portal-policy-page .policy-section-copy>p{margin-left:0;margin-right:0}
body.portal-public main#main .portal-policy-page .policy-section-copy>ul{margin:16px 0 0;padding:0}
body.portal-public main#main .portal-policy-page .policy-section-copy>ul>li{padding-left:0;margin:12px 0}
body.portal-public main#main .portal-policy-page .policy-section-copy>ul>li::before{left:-32px}
body.portal-public main#main .portal-policy-page .policy-section-copy>.policy-note{margin:18px 0 0 -49px;padding:16px 20px 16px 48px}
body.portal-public main#main .portal-policy-page .policy-section-copy>.policy-contact-panel{margin-left:-21px;padding:20px}
body.portal-public main#main .portal-policy-page .policy-section>h2{margin-bottom:18px!important}
body.portal-public main#main .portal-policy-page .policy-section-copy>:first-child{margin-top:0!important}
body.portal-public main#main .portal-policy-page .policy-section-copy>:last-child{margin-bottom:0!important}
@media(max-width:600px){
 body.portal-public main#main .portal-policy-page .policy-section{--policy-copy-indent:60px}
 body.portal-public main#main .portal-policy-page .policy-section-copy>.policy-contact-panel{margin-left:-17px;padding:16px}
 body.portal-public main#main .portal-policy-page .policy-section>h2{margin-bottom:14px!important}
}
/* Copy begins at the heading words, after the section number. */
body.portal-public main#main .portal-policy-page .policy-section{--policy-number-width:28px;--policy-number-gap:6px}
.portal-policy-page .policy-heading-label{display:flex;align-items:baseline;gap:var(--policy-number-gap)}
.portal-policy-page .policy-heading-number{flex:0 0 var(--policy-number-width);width:var(--policy-number-width);white-space:pre}
.portal-policy-page .policy-heading-text{min-width:0}
body.portal-public main#main .portal-policy-page .policy-section-copy{margin-left:calc(var(--policy-copy-indent) + var(--policy-number-width) + var(--policy-number-gap))}
body.portal-public main#main .portal-policy-page .policy-section-copy>ul{margin-left:0!important;padding-left:0!important}
body.portal-public main#main .portal-policy-page .policy-section-copy>ul>li{padding-left:0!important;text-indent:0}
@media(max-width:600px){body.portal-public main#main .portal-policy-page .policy-section{--policy-number-width:24px}}

/* The warning box hugs its copy while the text keeps the article alignment. */
body.portal-public main#main .portal-policy-page .policy-section-copy>.policy-note{display:block;width:fit-content;max-width:100%;box-sizing:border-box;margin-left:0;margin-right:0}
body.portal-public main#main .portal-policy-page .policy-section-copy>.policy-note>p{margin:0!important;width:auto}

/* Fixed-size SVG list icons leave a clear gap before aligned text. */
body.portal-public main#main .portal-policy-page .policy-section-copy>ul>li::before{content:''!important;display:block;position:absolute;left:-32px;top:2px;width:22px!important;min-width:22px;max-width:22px;height:22px!important;padding:0;border:0;border-radius:50%;box-sizing:border-box;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23EEF5FF'/%3E%3Cpath d='m7 12 3 3 7-7' fill='none' stroke='%232454F5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px 22px no-repeat;transform:none}

/* Keep the mobile identity centred independently of the menu button. */
@media(max-width:860px){
 .portal-public .portal-header .header-main{justify-content:center}
 .portal-public .portal-header .government-brand{max-width:calc(100% - 96px);margin-inline:auto}
 .portal-public .portal-header .portal-identity{text-align:center;align-items:center}
 .portal-public .portal-header .portal-identity-title{font-size:clamp(16px,4.8vw,24px)}
}

@media(max-width:600px){.portal-public>footer .footer-back-top{display:none}}


/* Compact text-size controls share the top row with both portal links. */
.portal-public .government .wrap{align-items:center;flex-wrap:nowrap}
.portal-public .government .wrap>a{white-space:nowrap}
.portal-public .text-size-controls:not([hidden]){display:inline-flex;align-items:center;justify-content:center;gap:3px;flex-shrink:0}
.portal-public .text-size-controls .text-size-label{font-size:12px;margin-right:6px;color:#fff}
.portal-public .text-size-controls button{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border:1px solid #ffffff55;border-radius:4px;background:transparent;color:#fff;font-family:inherit;font-size:12px;font-weight:600;line-height:1;box-shadow:none;cursor:pointer}
.portal-public .text-size-controls button:hover{background:#ffffff20}
.portal-public .text-size-controls button:disabled{opacity:.4;cursor:default}
.portal-public .text-size-controls button:focus-visible{outline:2px solid #e2c38f;outline-offset:2px}
.portal-text-enlarged .portal-public .portal-header .resource-nav{flex-wrap:wrap}
.portal-text-enlarged .portal-public .footer-primary-links{grid-template-columns:repeat(2,minmax(0,1fr))}
.portal-text-enlarged .portal-public .portal-identity-title{white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){
 .portal-public .government .wrap{width:96%;justify-content:space-between;gap:6px;overflow-x:auto;scrollbar-width:thin}
 .portal-public .government .wrap>a{font-size:12px;flex-shrink:0}
 .portal-public .text-size-controls .text-size-label{display:none}
 .portal-public .text-size-controls button{width:26px;min-width:26px}
}
