/* LPKTSN — responsive public portal and member workspace */
:root {
    color-scheme: light;
    --ink: #18263b;
    --ink-strong: #0b1d35;
    --muted: #68768a;
    --navy: #0a1a30;
    --navy-2: #102642;
    --gold: #9a6a08;
    --gold-bright: #d7a42a;
    --gold-soft: #f6ecd0;
    --page: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #f7f8fa;
    --border: #dfe4ea;
    --border-strong: #cbd3dd;
    --green: #16734c;
    --red: #b23a45;
    --shadow-sm: 0 3px 12px rgba(15, 34, 58, .06);
    --shadow-md: 0 14px 38px rgba(15, 34, 58, .10);
    --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bg-navy {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--page);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(215, 164, 42, .72); outline-offset: 3px; }
::selection { color: var(--ink-strong); background: #f4df9f; }

.container { width: min(100% - 40px, 1240px); margin-inline: auto; }
.main-content { flex: 1; }
.section { padding-block: clamp(42px, 6vw, 76px); }
.section-heading { margin: 0 0 22px; color: var(--ink-strong); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; }
.page-header { max-width: 800px; margin: 0 auto 38px; }
.page-title { margin: 10px 0 12px; color: var(--ink-strong); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; }
.page-subtitle { margin: 0 auto; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }

/* Organization strip and primary navigation */
.topbar { background: #071528; color: #c2cbd7; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .76rem; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar .gold-text, .topbar .text-gold-light { color: #efc85d; }
.divider { color: #536278; }
.wa-link { color: #a9dfc5; font-weight: 650; white-space: nowrap; }
.wa-link:hover { color: #d5f5e5; }
.navbar { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); box-shadow: 0 4px 18px rgba(13,30,50,.045); backdrop-filter: blur(12px); }
.navbar-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 11px; min-width: 205px; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand-title { display: block; color: var(--ink-strong); font-size: 1.13rem; font-weight: 850; line-height: 1.15; letter-spacing: -.025em; }
.brand-sub, .brand-org { display: block; color: var(--muted); font-size: .64rem; line-height: 1.35; }
.brand-org { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.15vw, 18px); color: #526176; font-size: .81rem; font-weight: 650; white-space: nowrap; }
.nav-links a { padding-block: 9px; }
.nav-links a:hover, .nav-links .nav-highlight { color: var(--gold); }
.nav-links .nav-highlight { font-weight: 800; }
.nav-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.nav-actions form { display: inline-flex; }
.mobile-nav { display: none; position: relative; flex: 0 0 auto; }
.mobile-nav summary { list-style: none; cursor: pointer; border: 1px solid var(--border-strong); border-radius: 9px; padding: 8px 12px; color: var(--ink); background: #fff; font-size: .84rem; font-weight: 700; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "☰"; padding-left: 8px; color: var(--gold); }
.mobile-nav[open] summary::after { content: "×"; font-size: 1rem; }
.mobile-nav-panel { position: absolute; top: calc(100% + 9px); right: 0; z-index: 120; display: flex; flex-direction: column; gap: 2px; width: min(86vw, 340px); max-height: min(72vh, 560px); overflow: auto; padding: 9px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-md); }
.mobile-nav-panel a { padding: 9px 11px; border-radius: 8px; color: #536176; font-size: .9rem; }
.mobile-nav-panel a:hover { color: var(--ink-strong); background: var(--surface-soft); }
.mobile-nav-panel form { margin: 0; }
.mobile-nav-panel form button { width: 100%; border: 0; border-radius: 8px; padding: 9px 11px; color: #536176; background: transparent; font-size: .9rem; text-align: left; cursor: pointer; }
.mobile-nav-panel form button:hover { color: var(--ink-strong); background: var(--surface-soft); }
.container > .card[role="status"] { margin-top: 16px; border-color: #ead89d; background: #fff9e8; }

/* Buttons */
.btn-primary, .btn-primary-lg, .btn-primary-sm,
.btn-secondary, .btn-secondary-lg, .btn-secondary-sm, .btn-success-sm {
    min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    border: 1px solid transparent; border-radius: 9px; text-align: center; font-weight: 750;
    line-height: 1.25; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn-primary, .btn-primary-lg, .btn-primary-sm { color: #172337; background: linear-gradient(135deg, #edc85d, #d8a72f); box-shadow: 0 5px 13px rgba(174,126,23,.16); }
.btn-primary { padding: 8px 14px; font-size: .82rem; }
.btn-primary-lg { min-height: 48px; padding: 12px 21px; border-radius: 10px; font-size: .93rem; }
.btn-primary-sm { min-height: 31px; padding: 5px 9px; border-radius: 7px; font-size: .76rem; }
.btn-primary:hover, .btn-primary-lg:hover, .btn-primary-sm:hover { color: #111d30; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(174,126,23,.22); }
.btn-secondary, .btn-secondary-lg, .btn-secondary-sm { color: var(--ink); background: #fff; border-color: var(--border-strong); }
.btn-secondary { padding: 8px 13px; font-size: .82rem; }
.btn-secondary-lg { min-height: 48px; padding: 11px 20px; border-radius: 10px; font-size: .93rem; }
.btn-secondary-sm { min-height: 31px; padding: 5px 9px; border-radius: 7px; font-size: .76rem; }
.btn-secondary:hover, .btn-secondary-lg:hover, .btn-secondary-sm:hover { color: var(--ink-strong); border-color: #aeb9c7; background: #f8fafc; }
.btn-success-sm { min-height: 31px; padding: 5px 9px; border-radius: 7px; color: #fff; background: var(--green); font-size: .76rem; }
button:disabled, .btn-primary:disabled, .btn-secondary:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Home hero */
.hero-section { position: relative; overflow: hidden; color: #f5f7fa; background: radial-gradient(ellipse at 82% 40%, rgba(198,151,47,.17), transparent 28%), linear-gradient(120deg, #08192f 0%, #102946 65%, #0b2039 100%); border-bottom: 1px solid rgba(215,164,42,.35); }
.hero-section::before { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent, #000 55%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); align-items: center; gap: clamp(34px, 6vw, 84px); padding-block: clamp(58px, 8vw, 100px); }
.hero-content { min-width: 0; }
.badge-gold { display: inline-flex; align-items: center; width: fit-content; padding: 6px 12px; border: 1px solid rgba(224,185,91,.38); border-radius: 999px; color: #f0ce72; background: rgba(225,184,78,.10); font-size: .7rem; font-weight: 800; letter-spacing: .075em; }
.hero-title { max-width: none; margin: 20px 0 16px; color: #fff; font-size: clamp(2.45rem, 4.4vw, 4.25rem); font-weight: 850; line-height: 1.07; letter-spacing: -.052em; }
.gold-gradient { color: #e6bd56; background: linear-gradient(110deg, #f0d47e, #dcae3e 68%, #c18d25); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { max-width: 64ch; margin: 0; color: #bdc9d8; font-size: clamp(.97rem, 1.2vw, 1.08rem); line-height: 1.78; }
.hero-desc strong { color: #f6f7fa; font-weight: 750; }
.values-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.value-item { padding: 5px 10px; border: 1px solid rgba(238,199,99,.24); border-radius: 6px; color: #f0d276; background: rgba(238,199,99,.08); font-size: .69rem; font-weight: 800; letter-spacing: .045em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-section .btn-secondary-lg { color: #f6f8fb; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.07); }
.hero-section .btn-secondary-lg:hover { border-color: rgba(255,255,255,.46); background: rgba(255,255,255,.13); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 680px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.stat-card { min-width: 0; padding: 11px 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: rgba(255,255,255,.055); }
.stat-number { display: block; color: #f0ca68; font-size: 1.45rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 3px; color: #b9c5d4; font-size: .71rem; line-height: 1.4; }
.hero-emblem { display: flex; flex-direction: column; align-items: center; }
.emblem-card { width: min(100%, 330px); aspect-ratio: 1; display: grid; place-items: center; padding: 28px; border: 1px solid rgba(224,185,91,.36); border-radius: 28px; background: radial-gradient(circle, rgba(23,47,77,.96), rgba(7,21,40,.92)); box-shadow: 0 24px 60px rgba(0,0,0,.28), 0 0 0 9px rgba(255,255,255,.025); }
.emblem-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.28)); }
.emblem-caption { margin-top: 20px; text-align: center; }
.emblem-caption strong { display: block; color: #efd17a; font-size: .86rem; }
.emblem-caption span { color: #bac6d5; font-size: .78rem; }

/* Cards, information groups and repeatable grids */
.card, .card-legal, .card-verify-quick { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.card { padding: 22px; }
.card:hover, .card-legal:hover { border-color: #d3b970; box-shadow: var(--shadow-md); }
.card.border-gold, .border-gold { border-color: #d6b24c !important; }
.card-success { border: 1px solid #a8d9c2; border-radius: 12px; background: #edf8f1; color: #1b523c; }
.card-danger { border: 1px solid #edbec2; border-radius: 12px; background: #fff1f1; color: #862b35; }
.card-verify-quick { margin-bottom: 32px; padding: clamp(20px, 3vw, 30px); border-color: #d6b24c; }
.search-form { display: flex; gap: 10px; }
.search-input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 13px; border: 1px solid var(--border-strong); border-radius: 9px; color: var(--ink); background: #fff; font-size: .93rem; }
.search-input::placeholder, .form-input::placeholder { color: #8c98a8; }
.search-input:focus, .form-input:focus { border-color: #bd911f; box-shadow: 0 0 0 3px rgba(215,164,42,.16); outline: 0; }
.grid-2, .grid-3, .grid-4, .legal-split-grid { display: grid; gap: 18px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .legal-split-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-legal { min-width: 0; padding: 22px; }
.card-title { margin: 0; color: var(--ink-strong); font-size: 1.13rem; font-weight: 800; line-height: 1.35; }
.card-desc { margin: 9px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.card-footer-info { display: grid; gap: 4px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: .79rem; }
.badge-sub, .badge-primary, .badge-success { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 5px; font-size: .66rem; font-weight: 800; line-height: 1.35; letter-spacing: .045em; text-transform: uppercase; }
.badge-sub { color: #657287; background: #eef1f5; }
.badge-primary { color: #785309; background: var(--gold-soft); }
.badge-success { color: #176843; background: #e2f4e9; }
.badge-gold-sub { color: var(--gold); font-size: .69rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }

/* People and profile cards */
.card-leader { display: flex; align-items: center; gap: 26px; max-width: 860px; margin-inline: auto; padding: clamp(20px, 4vw, 34px); border: 1px solid #dec579; border-radius: 18px; background: linear-gradient(135deg, #fff, #fbf8ef); box-shadow: var(--shadow-sm); }
.leader-avatar { flex: 0 0 auto; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 18px; color: #28354a; background: linear-gradient(135deg, #f3dc98, #d6ae45); }
.avatar-initials { font-size: 2rem; font-weight: 850; }
.avatar-sm { width: 54px; height: 54px; display: grid; place-items: center; margin-inline: auto; border-radius: 13px; color: var(--gold); background: var(--gold-soft); font-size: 1.2rem; font-weight: 850; }
.leader-section { margin-block: 38px; }
.circle-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--gold); background: var(--gold-soft); }
.quote-box { padding: 20px 22px; border-left: 4px solid var(--gold-bright); border-radius: 0 11px 11px 0; color: #516075; background: #fbf8ef; }

/* Forms and tables */
label { color: #34445b; font-size: .86rem; font-weight: 700; }
.form-input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--ink); background: #fff; font-size: .9rem; outline: 0; }
select.form-input { padding-right: 32px; }
textarea.form-input { min-height: 110px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { accent-color: #b4861a; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; color: #35445a; font-size: .83rem; text-align: left; }
.data-table th { padding: 11px 12px; border-bottom: 1px solid var(--border); color: #627086; background: #f5f7f9; font-size: .69rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.data-table th:first-child { border-radius: 8px 0 0 0; }
.data-table th:last-child { border-radius: 0 8px 0 0; }
.data-table td { padding: 12px; border-bottom: 1px solid #edf0f3; vertical-align: top; }
.data-table tbody tr:hover { background: #fafbfd; }
.overflow-x-auto { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.overflow-x-auto .data-table { min-width: 650px; }

/* Long-form pages and article bodies */
.prose-content { max-width: 850px; margin-inline: auto; color: #405067; font-size: .98rem; line-height: 1.85; }
.prose-content h2, .prose-content h3 { margin: 1.8em 0 .55em; color: var(--ink-strong); line-height: 1.3; letter-spacing: -.02em; }
.prose-content h2 { font-size: 1.55rem; }
.prose-content h3 { font-size: 1.2rem; }
.prose-content p, .prose-content ul, .prose-content ol { margin: 0 0 1.15em; }
.prose-content ul, .prose-content ol, .list-disc { padding-left: 1.4rem; }
.prose-content li + li, .misi-list li + li { margin-top: .45rem; }
.prose-content a { color: #855e11; text-decoration: underline; text-underline-offset: 3px; }
.prose-content blockquote { margin: 1.5rem 0; padding: 14px 20px; border-left: 3px solid var(--gold-bright); color: #57667a; background: #fbf8ef; }
.legal-badge { padding: 13px 15px; border: 1px solid rgba(215,164,42,.22); border-radius: 9px; background: rgba(255,255,255,.055); }
.misi-list { padding-left: 1.25rem; }

/* Footer */
.footer { margin-top: auto; padding: 54px 0 20px; color: #c4ceda; background: #071528; border-top: 1px solid #1a304b; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: clamp(22px, 4vw, 52px); }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-logo { width: 42px; height: 42px; object-fit: contain; }
.footer-heading { margin: 0 0 16px; color: #fff; font-size: .91rem; font-weight: 750; }
.footer-links { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; color: #afbdcd; font-size: .82rem; list-style: none; }
.footer-links a:hover { color: #edcf78; }
.footer .text-muted { color: #a8b5c5; }
.footer .text-gold { color: #ebca72; }
.footer .text-white { color: #f7f8fa; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.11); color: #9cabbc; font-size: .72rem; }

/* Compact utility classes used by the PHP views */
.bg-navy { background-color: var(--page); }
.bg-navy-dark { background-color: var(--surface-soft); }
.text-gold { color: var(--gold); }
.text-gold-light { color: #8e650e; }
.text-white { color: var(--ink-strong); }
.hero-section .text-white, .footer .text-white { color: #fff; }
.text-muted { color: var(--muted); }
.text-slate-200, .text-slate-300 { color: #526176; }
.text-cyan-300 { color: #087b85; }
.text-emerald-300, .text-emerald-400 { color: #187446; }
.text-rose-200, .text-rose-400 { color: #a83340; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 650; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: .76rem; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-sm { font-size: .875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.3rem; }
.text-2xl { font-size: 1.6rem; }
.text-3xl { font-size: 1.9rem; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.underline { text-decoration: underline; text-underline-offset: 3px; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.self-center { align-self: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.min-w-64 { min-width: 16rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-inline: auto; }
.mt-0\.5 { margin-top: .125rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: .5rem; }
.p-2\.5 { padding: .625rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.pb-3 { padding-bottom: .75rem; }
.pl-6 { padding-left: 1.5rem; }
.pt-2 { padding-top: .5rem; }
.pt-3 { padding-top: .75rem; }
.pt-4 { padding-top: 1rem; }
.py-1 { padding-block: .25rem; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: .25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: .5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: .75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: .5rem; }
.rounded { border-radius: 8px; }
.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-l-4 { border-left: 4px solid var(--gold-bright); }
.border-cyan-500\/30 { border-color: rgba(8,123,133,.25); }
.border-slate-800 { border-color: var(--border); }
.border-rose-700 { border-color: #e5b3b8; }
.leading-relaxed { line-height: 1.75; }
.leading-snug { line-height: 1.4; }
.leading-tight { line-height: 1.25; }
.list-disc { list-style: disc; }
.cursor-pointer { cursor: pointer; }
.overflow-x-auto { overflow-x: auto; }
.hover\:underline:hover { text-decoration: underline; text-underline-offset: 3px; }
.hover\:text-gold:hover { color: var(--gold); }

@media (max-width: 1180px) {
    .nav-links { display: none; }
    .mobile-nav { display: block; }
    .navbar-inner { gap: 12px; }
    .brand { margin-right: auto; }
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 34px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .container { width: min(100% - 32px, 1240px); }
    .topbar-inner { min-height: 34px; }
    .topbar-left { gap: 7px; }
    .topbar-left .font-mono, .topbar-left .divider { display: none; }
    .topbar-left .text-gold-light { display: none; }
    .navbar-inner { min-height: 68px; gap: 9px; }
    .brand { min-width: 0; gap: 8px; }
    .brand-logo { width: 42px; height: 42px; }
    .brand-title { font-size: 1rem; }
    .brand-sub, .brand-org { display: none; }
    .nav-actions { gap: 5px; }
    .nav-actions .btn-primary, .nav-actions .btn-secondary { min-height: 34px; padding: 6px 9px; font-size: .74rem; }
    .nav-actions .btn-secondary, .nav-actions .nav-logout-desktop { display: none; }
    .mobile-nav { position: static; }
    .mobile-nav summary { padding: 7px 9px; font-size: .78rem; }
    .mobile-nav-panel { top: calc(100% + 8px); right: 12px; width: min(calc(100vw - 24px), 340px); }
    .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 54px 58px; }
    .hero-title { max-width: none; margin-top: 16px; font-size: clamp(2.2rem, 8.5vw, 3.15rem); }
    .hero-desc { font-size: .97rem; }
    .hero-emblem { display: none; }
    .stats-grid { gap: 7px; margin-top: 26px; padding-top: 16px; }
    .stat-card { padding: 9px; }
    .stat-number { font-size: 1.25rem; }
    .stat-label { font-size: .65rem; }
    .grid-2, .grid-3, .grid-4, .legal-split-grid { grid-template-columns: 1fr; gap: 13px; }
    .search-form { flex-direction: column; }
    .search-form .btn-primary { min-height: 44px; }
    .card-leader { flex-direction: column; text-align: center; }
    .page-header { margin-bottom: 28px; }
    .page-subtitle { font-size: .94rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .flex-between { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
    .p-12 { padding: 1.5rem; }
    .p-8 { padding: 1.35rem; }
    .p-6 { padding: 1.15rem; }
}
@media (max-width: 390px) {
    .container { width: min(100% - 24px, 1240px); }
    .nav-actions .btn-secondary { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-actions > a { width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { display: flex; align-items: baseline; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Official TSN identity and editorial layout */
:root {
    --ink: #202a37;
    --ink-strong: #111d2c;
    --muted: #657184;
    --navy: #0b1428;
    --navy-2: #14233b;
    --gold: #a87913;
    --gold-bright: #d6a632;
    --gold-soft: #f7eed8;
    --page: #f4f5f7;
    --surface: #fff;
    --surface-soft: #f8f8f7;
    --border: #e2e4e7;
    --border-strong: #cbd0d7;
    --shadow-sm: 0 5px 18px rgba(17, 29, 44, .055);
    --shadow-md: 0 16px 38px rgba(17, 29, 44, .10);
    --radius: 16px;
}

body.bg-navy { color: var(--ink); font-size: 15.5px; line-height: 1.68; }
.container { width: min(100% - 48px, 1240px); }
.section { padding-block: clamp(52px, 7vw, 88px); }
.page-title { max-width: 900px; margin-inline: auto; font-size: clamp(2rem, 4.2vw, 3.25rem); }
.page-subtitle { max-width: 720px; }

.topbar { background: #091326; border-bottom-color: rgba(255,255,255,.09); }
.topbar-inner { min-height: 38px; }
.navbar { background: rgba(255,255,255,.98); box-shadow: 0 8px 24px rgba(17,29,44,.055); }
.navbar-inner { min-height: 88px; gap: 24px; }
.brand { min-width: 235px; gap: 13px; }
.brand-logo { width: 68px; height: 68px; flex: 0 0 68px; object-fit: contain; }
.brand-title { font-size: 1.22rem; letter-spacing: .015em; }
.brand-sub { font-size: .69rem; }
.brand-org { font-size: .68rem; }
.nav-links { gap: 14px; font-size: .84rem; }
.nav-link, .nav-dropdown > summary { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 2px; color: #435166; font-weight: 700; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { cursor: pointer; list-style: none; gap: 7px; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nav-dropdown[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
.nav-dropdown:hover > summary, .nav-dropdown[open] > summary, .nav-link:hover { color: var(--gold); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 6px); left: -18px; z-index: 130; display: none; width: 252px; padding: 9px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: var(--shadow-md); }
.nav-dropdown[open] .nav-dropdown-panel { display: grid; }
.nav-dropdown-panel a { padding: 10px 12px; border-radius: 8px; color: #4d5a6c; font-size: .83rem; font-weight: 650; }
.nav-dropdown-panel a:hover { color: var(--ink-strong); background: #f5f6f7; }
.mobile-nav summary::after { content: "+"; font-weight: 800; }
.mobile-nav[open] summary::after { content: "−"; }
.mobile-nav-panel { width: min(88vw, 390px); padding: 12px; }
.mobile-nav-label { padding: 11px 11px 5px; color: var(--gold); font-size: .67rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.nav-actions { gap: 9px; }
.nav-actions .btn-secondary { border-color: #d8dce1; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #916714; font-size: .7rem; font-weight: 850; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 1px; background: currentColor; content: ""; }
.eyebrow-light { color: #e2c36e; }
.home-hero { position: relative; overflow: hidden; color: #f6f7f9; background: #0b1428; }
.home-hero::before, .home-hero::after { position: absolute; pointer-events: none; content: ""; }
.home-hero::before { inset: 0; opacity: .38; background: radial-gradient(ellipse at 79% 40%, rgba(214,166,50,.21), transparent 32%), linear-gradient(120deg, transparent 58%, rgba(255,255,255,.025) 58.1%, transparent 70%); }
.home-hero::after { top: -240px; right: 14%; width: 660px; height: 660px; border: 1px solid rgba(214,166,50,.13); border-radius: 50%; box-shadow: 0 0 0 46px rgba(214,166,50,.025), 0 0 0 92px rgba(214,166,50,.02); }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: center; gap: clamp(38px, 7vw, 100px); min-height: 600px; padding-block: clamp(66px, 8vw, 104px); }
.home-hero-copy { max-width: 740px; }
.home-hero-copy h1 { max-width: 760px; margin: 20px 0 18px; color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.45rem); font-weight: 780; line-height: 1.05; letter-spacing: -.055em; }
.home-hero-copy h1 em { color: #e3bf5d; font-style: normal; }
.home-hero-copy > p { max-width: 62ch; margin: 0; color: #c3ccda; font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.82; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.btn-gold, .btn-outline-light { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid transparent; border-radius: 9px; font-size: .9rem; font-weight: 780; }
.btn-gold { color: #172131; background: linear-gradient(135deg,#f0d276,#d6a632); box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.btn-gold:hover { color: #101927; background: #f5d987; transform: translateY(-1px); }
.btn-outline-light { color: #f4f6f9; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.035); }
.btn-outline-light:hover { color: #fff; border-color: rgba(255,255,255,.68); background: rgba(255,255,255,.09); }
.home-values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.home-values span { padding: 5px 10px; border: 1px solid rgba(226,195,110,.25); border-radius: 30px; color: #e4cc88; background: rgba(226,195,110,.07); font-size: .72rem; font-weight: 700; }
.home-hero-mark { position: relative; display: grid; justify-items: center; }
.home-logo-frame { width: min(100%, 380px); display: grid; place-items: center; padding: 24px; border: 1px solid rgba(226,195,110,.35); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: 0 24px 60px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.08); }
.home-logo-frame img { width: 100%; height: auto; display: block; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.12)); }
.home-legal-caption { display: grid; gap: 3px; margin-top: 18px; text-align: center; }
.home-legal-caption span { color: #b7c2d1; font-size: .72rem; }
.home-legal-caption strong { color: #f4d783; font-size: .96rem; }
.home-legal-caption small { color: #acb8c8; font-family: ui-monospace, monospace; font-size: .69rem; }

.home-overview { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; margin-top: -32px; padding: 28px 32px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); }
.home-overview-intro h2 { max-width: 360px; margin: 9px 0 6px; color: var(--ink-strong); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.035em; }
.home-overview-intro p { margin: 0; color: var(--muted); font-size: .84rem; }
.home-overview-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.home-overview-links > a { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 11px; padding: 14px; border: 1px solid #e8e9eb; border-radius: 11px; background: #fbfbfa; }
.home-overview-links > a:hover { border-color: #d8c389; background: #fffdf8; }
.overview-number { color: var(--gold); font-family: ui-monospace,monospace; font-size: .74rem; font-weight: 800; }
.home-overview-links strong, .home-overview-links small { display: block; }
.home-overview-links strong { color: var(--ink-strong); font-size: .83rem; }
.home-overview-links small { margin-top: 4px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.home-overview-links b { justify-self: end; color: var(--gold); font-size: 1rem; }

.home-section { padding-block: clamp(56px, 7vw, 88px); }
.home-soft-section { margin-top: 28px; background: #edeff2; }
.section-lead { max-width: 740px; margin: 0 auto 32px; }
.section-lead h2 { margin: 10px 0 8px; color: var(--ink-strong); font-size: clamp(1.75rem, 3.2vw, 2.55rem); line-height: 1.13; letter-spacing: -.045em; }
.section-lead p { max-width: 62ch; margin: 0; color: var(--muted); font-size: .95rem; }
.section-lead-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-lead-row > div { max-width: 720px; }
.section-lead-row h2 { margin-bottom: 5px; }
.text-link { color: #8c6310; font-size: .83rem; font-weight: 800; white-space: nowrap; }
.text-link:hover { color: #523600; text-decoration: underline; text-underline-offset: 4px; }
.text-link-light { color: #efd580; }
.text-link-light:hover { color: #fff0bb; }
.service-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.service-preview-card { min-height: 236px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid #e0e2e5; border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(20,34,54,.035); }
.service-preview-card > span { color: #aa7d1f; font-family: ui-monospace,monospace; font-size: .78rem; font-weight: 800; }
.service-preview-card h3 { margin: 21px 0 7px; color: var(--ink-strong); font-size: 1.15rem; letter-spacing: -.025em; }
.service-preview-card p { margin: 0 0 20px; color: var(--muted); font-size: .86rem; }
.service-preview-card a { margin-top: auto; color: #875f0e; font-size: .79rem; font-weight: 800; }
.service-preview-card a:hover { text-decoration: underline; text-underline-offset: 4px; }

.identity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.identity-card { min-height: 232px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.identity-card-primary { border-color: #d8c27d; background: linear-gradient(145deg,#fff,#fcf8ed); }
.identity-kind { color: #8e6719; font-size: .65rem; font-weight: 850; letter-spacing: .095em; line-height: 1.5; text-transform: uppercase; }
.identity-card h3 { margin: 14px 0 7px; color: var(--ink-strong); font-size: 1.27rem; line-height: 1.25; }
.identity-card p { margin: 0 0 17px; color: var(--muted); font-size: .84rem; }
.identity-card strong { margin-top: auto; color: #786023; font-family: ui-monospace,monospace; font-size: .73rem; line-height: 1.55; overflow-wrap: anywhere; }
.identity-card a { margin-top: auto; color: #8c6310; font-size: .8rem; font-weight: 800; }

.home-dark-section { color: #f7f8fa; background: #0d192d; }
.section-lead-light h2 { color: #fff; }
.section-lead-light p { color: #bcc7d6; }
.home-people-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.home-person { min-width: 0; min-height: 116px; display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.045); }
.home-person-leader { border-color: rgba(214,166,50,.48); background: linear-gradient(135deg,rgba(214,166,50,.12),rgba(255,255,255,.035)); }
.person-mark { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border: 1px solid rgba(224,196,121,.5); border-radius: 50%; color: #f0d988; background: rgba(214,166,50,.11); font-size: 1rem; font-weight: 850; }
.home-person-role { color: #e5c76f; font-size: .62rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.home-person h3 { margin: 4px 0 0; color: #fff; font-size: .93rem; line-height: 1.35; overflow-wrap: anywhere; }
.home-person p { margin: 4px 0 0; color: #b9c4d2; font-size: .74rem; }
.home-editorial { padding-bottom: clamp(64px,8vw,100px); }
.home-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.home-news-card { overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.home-news-card > img { width: 100%; height: 190px; display: block; object-fit: cover; background: #eceef1; }
.home-news-body { display: flex; flex-direction: column; align-items: flex-start; padding: 21px; }
.home-news-body h3 { margin: 10px 0 8px; color: var(--ink-strong); font-size: 1.1rem; line-height: 1.3; }
.home-news-body h3 a:hover { color: var(--gold); }
.home-news-body p { margin: 0 0 18px; color: var(--muted); font-size: .82rem; }
.home-news-body .text-link { margin-top: auto; }
.editorial-empty { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 30px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.editorial-empty h3 { margin: 8px 0 5px; color: var(--ink-strong); font-size: 1.18rem; }
.editorial-empty p { max-width: 68ch; margin: 0; color: var(--muted); font-size: .85rem; }
.home-contact-band { padding-block: 42px; color: #fff; background: linear-gradient(105deg,#101e34,#182943); }
.home-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-contact-inner h2 { margin: 8px 0 5px; color: #fff; font-size: clamp(1.5rem,3vw,2rem); line-height: 1.2; }
.home-contact-inner p { margin: 0; color: #c3ccda; font-size: .87rem; }

.page-banner { color: #fff; background: linear-gradient(110deg,#0b1428,#172a45); }
.page-banner-inner { min-height: 245px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 48px; }
.page-banner h1 { max-width: 800px; margin: 12px 0 10px; color: #fff; font-size: clamp(2rem,4vw,3.15rem); line-height: 1.1; letter-spacing: -.045em; }
.page-banner p { max-width: 68ch; margin: 0; color: #c4cedb; font-size: .98rem; }
.organization-page { max-width: 1120px; }
.organization-leader { display: grid; grid-template-columns: 78px minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 25px; border: 1px solid #d8c27d; border-radius: 16px; background: linear-gradient(115deg,#fffdf8,#fff); box-shadow: var(--shadow-sm); }
.organization-leader-mark { width: 78px; height: 104px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #ddca8f; border-radius: 14px; color: #72520d; background: #f7efd8; font-size: 1.8rem; font-weight: 850; }
.organization-leader-mark img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; object-position: center; }
.organization-leader-copy .eyebrow { font-size: .63rem; }
.organization-leader-copy h2 { margin: 6px 0 0; color: var(--ink-strong); font-size: 1.7rem; line-height: 1.2; }
.organization-leader-copy p { margin: 4px 0 0; color: var(--muted); font-size: .87rem; }
.organization-bio { max-width: 650px; margin-top: 10px !important; }
.organization-group { margin-top: 54px; }
.organization-group-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #dfe2e6; }
.organization-group-heading h2 { margin: 6px 0 0; color: var(--ink-strong); font-size: 1.55rem; line-height: 1.2; }
.organization-count { color: #6d7888; font-size: .77rem; font-weight: 700; white-space: nowrap; }
.people-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.people-grid-pengurus_inti { grid-template-columns: repeat(2,minmax(0,1fr)); }
.person-card { min-width: 0; display: grid; grid-template-columns: minmax(120px,38%) minmax(0,1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.person-card-portrait { width: 100%; height: auto; min-height: 0; align-self: start; aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg,#f7f4ea,#e9edf2); }
.person-card-portrait img { width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; object-fit: cover; object-position: center; }
.structure-admin-photo { width: 72px; height: 96px; display: block; object-fit: cover; object-position: center; padding: 0; border: 1px solid #dfd2aa; border-radius: 8px; background: #f7f4ea; }
.person-initials { width: 78px; height: 78px; display: grid; place-items: center; border: 1px solid #dec879; border-radius: 50%; color: #73530d; background: #fbf4df; font-size: 1.45rem; font-weight: 850; }
.person-card-body { align-self: center; padding: 16px 18px 18px; }
.person-role { color: #8e6719; font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.person-card-body h3 { margin: 6px 0 0; color: var(--ink-strong); font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.person-card-body h3 span { color: #475568; font-size: .84rem; font-weight: 650; }
.person-card-body p { margin: 8px 0 0; color: var(--muted); font-size: .81rem; }
.person-card-body small { display: block; margin-top: 9px; color: #7a8594; font-size: .72rem; }
.organization-note { margin-top: 44px; padding: 17px 20px; border-left: 3px solid var(--gold-bright); border-radius: 0 10px 10px 0; background: #f7f4ea; }
.organization-note strong { color: var(--ink-strong); font-size: .85rem; }
.organization-note p { margin: 4px 0 0; color: #626d7d; font-size: .8rem; }
.empty-panel { padding: 34px; border: 1px dashed #ccd1d8; border-radius: 14px; background: #fff; text-align: center; }
.empty-panel h2 { margin: 8px 0 5px; color: var(--ink-strong); font-size: 1.3rem; }
.empty-panel p { margin: 0 0 18px; color: var(--muted); font-size: .87rem; }
.auth-logo { width: 112px; height: 112px; display: block; margin: 0 auto 8px; object-fit: contain; }

.profile-intro-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); align-items: center; gap: clamp(30px,6vw,76px); }
.profile-intro-copy h2 { max-width: 720px; margin: 12px 0 14px; color: var(--ink-strong); font-size: clamp(1.85rem,3.7vw,2.8rem); line-height: 1.12; letter-spacing: -.045em; }
.profile-intro-copy p { max-width: 70ch; color: var(--muted); font-size: .94rem; }
.profile-intro-copy .text-link { display: inline-block; margin-top: 10px; }
.profile-identity-panel { display: grid; justify-items: center; gap: 10px; padding: 25px; border: 1px solid #ded4b5; border-radius: 16px; background: #fffdfa; text-align: center; box-shadow: var(--shadow-sm); }
.profile-identity-panel img { width: min(100%,180px); height: auto; object-fit: contain; }
.profile-identity-panel strong { color: #71520f; font-size: .9rem; }
.profile-identity-panel small { color: var(--muted); font-size: .72rem; line-height: 1.6; }
.profile-vision { margin-top: 62px; padding: clamp(24px,4vw,42px); border: 1px solid #ded4b5; border-radius: 16px; background: linear-gradient(115deg,#fffdf8,#fff); }
.profile-vision h2 { margin: 8px 0 10px; color: var(--ink-strong); font-size: 1.35rem; }
.profile-vision blockquote { max-width: 900px; margin: 0; color: #39475b; font-size: clamp(1.1rem,2.2vw,1.48rem); font-weight: 600; line-height: 1.55; }
.profile-mission-section, .profile-values-section { margin-top: 72px; }
.mission-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: missions; }
.mission-grid li { min-height: 126px; padding: 19px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.mission-grid li span { color: #9c7319; font-family: ui-monospace,monospace; font-size: .72rem; font-weight: 850; }
.mission-grid li p { margin: 13px 0 0; color: #39475b; font-size: .86rem; font-weight: 650; }
.values-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.values-grid article { padding: 24px; border: 1px solid var(--border); border-radius: 13px; background: #fff; text-align: center; }
.values-grid article > span { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; color: #79580d; background: #f6edd6; font-size: .92rem; font-weight: 850; }
.values-grid h3 { margin: 12px 0 5px; color: var(--ink-strong); font-size: 1.05rem; text-transform: uppercase; }
.values-grid p { max-width: 34ch; margin: 0 auto; color: var(--muted); font-size: .82rem; }
.profile-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding: clamp(23px,4vw,38px); border-radius: 16px; color: #fff; background: #0d192d; }
.profile-cta h2 { margin: 8px 0 4px; color: #fff; font-size: 1.55rem; }
.profile-cta p { margin: 0; color: #c1cbd8; font-size: .85rem; }

.legal-entity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.legal-entity-card { min-height: 280px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.legal-entity-primary { border-color: #d7c17c; background: linear-gradient(145deg,#fffdf7,#fff); }
.legal-entity-card h2 { margin: 15px 0 7px; color: var(--ink-strong); font-size: 1.35rem; }
.legal-entity-card > p { margin: 0 0 20px; color: var(--muted); font-size: .87rem; }
.legal-number { display: grid; gap: 5px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.legal-number span { color: #758092; font-size: .7rem; }
.legal-number strong { color: #70551b; font-family: ui-monospace,monospace; font-size: .74rem; line-height: 1.5; overflow-wrap: anywhere; }
.legal-information-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 18px; }
.legal-info-panel { padding: 22px; border: 1px solid var(--border); border-radius: 13px; background: #fff; }
.legal-info-panel h2 { margin: 8px 0 5px; color: var(--ink-strong); font-size: 1.12rem; }
.legal-info-panel p { margin: 0 0 10px; color: var(--muted); font-size: .84rem; }
.legal-disclaimer { margin: 20px auto 0; color: #768191; font-size: .75rem; text-align: center; }

.consumer-focus-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.consumer-focus-grid article { padding: 22px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.consumer-focus-grid article > span { color: #9c7319; font-family: ui-monospace,monospace; font-size: .72rem; font-weight: 850; }
.consumer-focus-grid h3 { margin: 11px 0 5px; color: var(--ink-strong); font-size: 1.05rem; }
.consumer-focus-grid p { margin: 0; color: var(--muted); font-size: .84rem; }
.consumer-guidance-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 26px; border: 1px solid #e0d5b4; border-radius: 14px; background: #fbf8ef; }
.consumer-guidance-panel h2 { margin: 8px 0 6px; color: var(--ink-strong); font-size: 1.24rem; }
.consumer-guidance-panel p { max-width: 75ch; margin: 0 0 8px; color: #5c6878; font-size: .83rem; }
.consumer-related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.consumer-related-links a { padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; color: #695010; background: #fff; font-size: .78rem; font-weight: 750; }
.consumer-related-links a:hover { border-color: #d8c389; }

.service-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.service-steps li { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 20px; padding: 21px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.service-steps li > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #dfcf9e; border-radius: 50%; color: #8d6718; background: #fbf7e9; font-family: ui-monospace,monospace; font-weight: 850; }
.service-steps h2 { margin: 1px 0 5px; color: var(--ink-strong); font-size: 1.06rem; }
.service-steps p { max-width: 74ch; margin: 0; color: var(--muted); font-size: .84rem; }
.service-safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.service-safety-grid section { padding: 23px; border: 1px solid var(--border); border-radius: 13px; background: #fff; }
.service-safety-grid section:first-child { background: #fffdf7; border-color: #e3d7b7; }
.service-safety-grid h2 { margin: 8px 0 5px; color: var(--ink-strong); font-size: 1.08rem; }
.service-safety-grid p { margin: 0; color: var(--muted); font-size: .82rem; }
.service-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.partner-profile { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.partner-profile-main, .partner-separation { padding: clamp(22px,4vw,34px); border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.partner-profile-main { border-color: #d8c27d; background: linear-gradient(140deg,#fffdf7,#fff); }
.partner-profile h2 { margin: 9px 0 8px; color: var(--ink-strong); font-size: 1.55rem; }
.partner-profile p { color: var(--muted); font-size: .88rem; }
.partner-legal-number { display: grid; gap: 6px; margin-top: 23px; padding-top: 17px; border-top: 1px solid #e8e0cb; }
.partner-legal-number span { color: var(--muted); font-size: .72rem; }
.partner-legal-number strong { color: #70551b; font-family: ui-monospace,monospace; font-size: .82rem; }
.partner-separation { background: #f7f8fa; }
.partner-separation p { margin: 12px 0 18px; }
.partner-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.partner-contact h2 { margin: 7px 0 4px; color: var(--ink-strong); font-size: 1.15rem; }
.partner-contact p { margin: 0; color: var(--muted); font-size: .84rem; }
.partner-contact small { display: block; margin-top: 6px; color: #7c8794; font-size: .72rem; }

.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-address-card, .contact-channels-card { min-height: 280px; padding: clamp(23px,4vw,34px); border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.contact-address-card { background: linear-gradient(145deg,#fffdf7,#fff); border-color: #e1d5b4; }
.contact-page-grid h2 { margin: 9px 0 14px; color: var(--ink-strong); font-size: 1.35rem; }
.contact-address-card address { color: #283649; font-size: 1.06rem; font-style: normal; font-weight: 700; line-height: 1.65; }
.contact-address-card > p { margin: 17px 0 0; color: var(--muted); font-size: .82rem; }
.contact-channel { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid #eceef0; }
.contact-channel span { color: var(--muted); font-size: .72rem; }
.contact-channel strong { color: #26354a; font-size: .95rem; overflow-wrap: anywhere; }
.contact-channels-card .btn-primary { margin-top: 16px; }
.contact-notice { margin-top: 15px; padding: 16px 19px; border-left: 3px solid var(--gold-bright); border-radius: 0 10px 10px 0; background: #f8f5ea; }
.contact-notice strong { color: var(--ink-strong); font-size: .82rem; }
.contact-notice p { margin: 4px 0 0; color: #647082; font-size: .78rem; }

.editorial-empty-page { min-height: 200px; }
.editorial-empty-page h2 { margin: 9px 0 6px; color: var(--ink-strong); font-size: 1.35rem; }
.editorial-empty-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.article-card { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.article-card > a, .article-card > a img { display: block; }
.article-card > a img { width: 100%; height: 205px; object-fit: cover; background: #eceef1; }
.article-card-no-image { height: 112px; display: grid; align-content: end; padding: 18px; background: linear-gradient(120deg,#0c192d,#1b304e); }
.article-card-no-image .eyebrow { color: #e5c86e; }
.article-card-body { padding: 20px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #788393; font-size: .7rem; }
.article-meta span { color: #916714; font-weight: 800; }
.article-card h2 { margin: 10px 0 7px; color: var(--ink-strong); font-size: 1.1rem; line-height: 1.32; }
.article-card h2 a:hover { color: var(--gold); }
.article-card-body > p { min-height: 60px; margin: 0 0 16px; color: var(--muted); font-size: .82rem; }
.article-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #eceef0; color: #778294; font-size: .69rem; }
.article-card-footer a { color: #805d14; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.gallery-card { overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.gallery-card img { width: 100%; height: 238px; display: block; object-fit: cover; background: #eceef1; }
.gallery-card figcaption { padding: 17px 19px 20px; }
.gallery-card h2 { margin: 6px 0 3px; color: var(--ink-strong); font-size: 1rem; }
.gallery-card p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; }
.gallery-empty { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px; border: 1px dashed #cdd2d9; border-radius: 15px; background: #fff; text-align: center; }
.gallery-empty h2 { margin: 12px 0 5px; color: var(--ink-strong); font-size: 1.35rem; }
.gallery-empty p { max-width: 60ch; margin: 0; color: var(--muted); font-size: .84rem; }
.gallery-empty-mark { width: 58px; height: 46px; position: relative; margin-bottom: 18px; border: 2px solid #d1b862; border-radius: 8px; background: #fcf8e9; }
.gallery-empty-mark::before { position: absolute; top: 9px; left: 9px; width: 8px; height: 8px; border-radius: 50%; background: #d1b862; content: ""; }
.gallery-empty-mark span { position: absolute; bottom: 0; width: 21px; height: 20px; border: 2px solid #d1b862; border-bottom: 0; border-radius: 15px 15px 0 0; transform: rotate(-36deg); }
.gallery-empty-mark span:nth-child(1) { left: 7px; }
.gallery-empty-mark span:nth-child(2) { left: 21px; height: 25px; transform: rotate(4deg); }
.gallery-empty-mark span:nth-child(3) { right: 4px; transform: rotate(37deg); }

.transparency-note { margin-bottom: 17px; padding: 16px 20px; border-left: 3px solid var(--gold-bright); border-radius: 0 10px 10px 0; background: #f8f5ea; }
.transparency-note strong { color: var(--ink-strong); font-size: .82rem; }
.transparency-note p { margin: 4px 0 0; color: #647082; font-size: .78rem; }
.transparency-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.transparency-totals section { padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.transparency-totals span, .transparency-totals strong { display: block; }
.transparency-totals span { color: var(--muted); font-size: .75rem; }
.transparency-totals strong { margin-top: 5px; color: var(--ink-strong); font-size: 1.25rem; }
.transparency-table { margin-top: 17px; padding: 20px; border: 1px solid var(--border); border-radius: 13px; background: #fff; }
.transparency-table h2 { margin: 0 0 14px; color: var(--ink-strong); font-size: 1.05rem; }
.policy-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: start; gap: 18px; }
.policy-summary { position: sticky; top: 120px; padding: 23px; border: 1px solid #ddd1ad; border-radius: 14px; background: #fffdf7; }
.policy-summary h2 { margin: 8px 0 6px; color: var(--ink-strong); font-size: 1.25rem; }
.policy-summary p, .policy-summary small { display: block; color: var(--muted); font-size: .79rem; }
.policy-summary a { display: inline-block; color: #805d14; font-size: .8rem; font-weight: 750; overflow-wrap: anywhere; }
.policy-summary small { margin-top: 14px; line-height: 1.6; }
.policy-content { display: grid; gap: 0; padding: clamp(22px,4vw,36px); border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.policy-content section { padding: 0 0 19px; margin-bottom: 19px; border-bottom: 1px solid #eceef0; }
.policy-content section:last-of-type { margin-bottom: 0; }
.policy-content h2 { margin: 0 0 6px; color: var(--ink-strong); font-size: 1rem; }
.policy-content p { margin: 0; color: #536175; font-size: .85rem; }
.policy-content a { color: #805d14; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.policy-content .policy-disclaimer { margin-top: 22px; color: #778293; font-size: .76rem; }
.terms-content { max-width: 900px; margin-inline: auto; }
.article-detail-wrap { max-width: 1060px; }
.article-back-link { display: inline-block; margin-bottom: 18px; color: #805d14; font-size: .8rem; font-weight: 800; }
.article-back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-detail { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.article-detail-header { max-width: 900px; margin-inline: auto; padding: clamp(25px,5vw,54px) clamp(22px,5vw,60px) 30px; }
.article-detail-header .article-meta { justify-content: flex-start; }
.article-detail-header h1 { margin: 12px 0 10px; color: var(--ink-strong); font-size: clamp(2rem,4.5vw,3.3rem); line-height: 1.1; letter-spacing: -.045em; }
.article-detail-summary { margin: 0; color: #536175; font-size: 1.03rem; line-height: 1.72; }
.article-author { margin: 15px 0 0; color: #7b8592; font-size: .77rem; }
.article-detail-cover { width: 100%; max-height: 540px; display: block; object-fit: cover; background: #eceef1; }
.article-detail-content { max-width: 800px; min-height: 120px; margin-inline: auto; padding: clamp(28px,5vw,58px) 25px; color: #39475a; font-size: 1rem; line-height: 1.9; white-space: normal; overflow-wrap: anywhere; }
.article-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px clamp(22px,5vw,60px); border-top: 1px solid var(--border); background: #fafafa; }
.article-detail-footer strong { color: var(--ink-strong); font-size: .84rem; }
.article-detail-footer p { margin: 3px 0 0; color: var(--muted); font-size: .73rem; }
.article-share-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.copy-status { color: #356747; font-size: .72rem; }
.article-disclaimer { margin-top: 15px; padding: 15px 18px; border-left: 3px solid var(--gold-bright); border-radius: 0 9px 9px 0; background: #f8f5ea; }
.article-disclaimer strong { color: var(--ink-strong); font-size: .8rem; }
.article-disclaimer p { margin: 3px 0 0; color: #667183; font-size: .77rem; }

@media (max-width: 1000px) {
    .profile-intro-grid { grid-template-columns: minmax(0,1.1fr) minmax(240px,.9fr); gap: 30px; }
    .legal-entity-grid, .article-grid, .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .legal-entity-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .profile-intro-grid, .legal-entity-grid, .legal-information-grid, .consumer-focus-grid,
    .service-safety-grid, .partner-profile, .contact-page-grid, .article-grid,
    .gallery-grid, .transparency-totals { grid-template-columns: 1fr; }
    .profile-identity-panel { max-width: 360px; margin-inline: auto; }
    .profile-vision, .profile-mission-section, .profile-values-section, .profile-cta { margin-top: 44px; }
    .mission-grid, .values-grid { grid-template-columns: 1fr; }
    .mission-grid li { min-height: 0; }
    .profile-cta, .consumer-guidance-panel, .partner-contact { align-items: flex-start; flex-direction: column; }
    .consumer-guidance-panel > .btn-primary, .partner-contact > .btn-secondary { width: 100%; }
    .legal-entity-card:last-child { grid-column: auto; }
    .service-steps li { grid-template-columns: 48px minmax(0,1fr); gap: 13px; padding: 16px; }
    .service-steps li > span { width: 40px; height: 40px; }
    .contact-address-card, .contact-channels-card { min-height: 0; }
    .editorial-empty-actions { align-items: flex-start; flex-direction: column; }
    .article-card-body > p { min-height: 0; }
    .transparency-totals strong { font-size: 1.1rem; }
    .policy-layout { grid-template-columns: 1fr; }
    .policy-summary { position: static; }
    .article-detail-footer { align-items: flex-start; flex-direction: column; }
    .article-share-actions { align-items: flex-start; flex-direction: column; }
}

.footer { padding-top: 56px; }
.footer-logo { width: 72px; height: 72px; padding: 4px; border: 1px solid rgba(230,201,124,.35); border-radius: 10px; background: rgba(255,255,255,.055); }
.footer-brand { align-items: center; gap: 13px; }
.footer-heading { letter-spacing: .01em; }
.footer-bottom { align-items: center; }

@media (max-width: 1180px) {
    .navbar-inner { gap: 12px; }
    .brand { min-width: 0; }
    .brand-logo { width: 60px; height: 60px; flex-basis: 60px; }
}
@media (max-width: 1000px) {
    .home-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(250px,.85fr); gap: 35px; min-height: 540px; }
    .home-overview { grid-template-columns: 1fr; gap: 20px; }
    .home-overview-intro h2 { max-width: none; }
    .home-people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .container { width: min(100% - 32px, 1240px); }
    .topbar-inner { min-height: 34px; }
    .topbar-left .font-mono, .topbar-left .divider { display: none; }
    .topbar-left .text-gold-light { display: none; }
    .navbar-inner { min-height: 72px; gap: 8px; }
    .brand { gap: 8px; }
    .brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
    .brand-title { font-size: 1.02rem; }
    .brand-sub, .brand-org { display: none; }
    .mobile-nav summary { padding: 8px 10px; }
    .nav-actions { gap: 5px; }
    .nav-actions .btn-primary, .nav-actions .btn-secondary { min-height: 36px; padding: 7px 10px; font-size: .75rem; }
    .home-hero-grid { grid-template-columns: 1fr; gap: 34px; min-height: 0; padding-block: 58px 54px; }
    .home-hero-copy h1 { max-width: 18ch; font-size: clamp(2.35rem,9vw,3.45rem); }
    .home-hero-copy > p { font-size: .97rem; }
    .home-hero-mark { grid-row: 1; }
    .home-logo-frame { width: min(72vw, 260px); padding: 17px; border-radius: 20px; }
    .home-legal-caption { margin-top: 12px; }
    .home-overview { margin-top: -20px; padding: 21px; }
    .home-overview-links { grid-template-columns: 1fr; }
    .home-overview-links > a { grid-template-columns: 36px 1fr 18px; grid-template-rows: auto; align-items: center; gap: 9px; padding: 12px; }
    .home-overview-links > a > span:nth-child(2) { grid-column: 2; }
    .home-overview-links b { grid-column: 3; grid-row: 1; }
    .home-soft-section { margin-top: 18px; }
    .section-lead-row { align-items: flex-start; flex-direction: column; gap: 12px; }
    .service-preview-grid, .identity-grid, .home-news-grid { grid-template-columns: 1fr; }
    .service-preview-card, .identity-card { min-height: 0; }
    .home-people-grid { grid-template-columns: 1fr; }
    .editorial-empty { align-items: flex-start; flex-direction: column; padding: 22px; }
    .home-contact-inner { align-items: flex-start; flex-direction: column; }
    .page-banner-inner { min-height: 220px; padding-block: 39px; }
    .page-banner h1 { font-size: clamp(1.9rem,8vw,2.6rem); }
    .organization-leader { grid-template-columns: 53px minmax(0,1fr); gap: 14px; padding: 17px; }
    .organization-leader-mark { width: 53px; height: 70px; border-radius: 12px; font-size: 1.3rem; }
    .organization-leader-copy h2 { font-size: 1.22rem; }
    .organization-leader > .btn-secondary { grid-column: 1 / -1; width: 100%; }
    .organization-group { margin-top: 39px; }
    .organization-group-heading h2 { font-size: 1.3rem; }
    .people-grid, .people-grid-pengurus_inti { grid-template-columns: 1fr; }
    .person-card { display: grid; grid-template-columns: 92px minmax(0,1fr); }
    .person-card-portrait { width: 100%; height: auto; min-height: 0; align-self: start; aspect-ratio: 3 / 4; }
    .person-initials { width: 54px; height: 54px; font-size: 1rem; }
    .person-card-body { align-self: center; padding: 14px; }
    .organization-note { margin-top: 32px; }
    .auth-logo { width: 92px; height: 92px; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
    .navbar-inner { gap: 5px; }
    .brand { gap: 5px; }
    .brand-logo { width: 36px; height: 36px; flex-basis: 36px; }
    .brand-title { font-size: .88rem; }
    .mobile-nav summary { padding: 6px 7px; font-size: .72rem; }
    .nav-actions .btn-primary { padding-inline: 7px; font-size: .68rem; }
}
@media (max-width: 390px) {
    .container { width: min(100% - 24px, 1240px); }
    .brand-logo { width: 42px; height: 42px; flex-basis: 42px; }
    .nav-actions .btn-secondary { display: none; }
    .home-hero-copy h1 { font-size: 2.25rem; }
    .home-hero-actions { flex-direction: column; }
    .home-hero-actions > a { width: 100%; }
    .organization-leader { grid-template-columns: 44px minmax(0,1fr); }
    .organization-leader-mark { width: 44px; height: 58px; }
}

/* Branded account and status pages */
.auth-section { display: flex; align-items: center; }
.auth-layout { width: min(100%, 1000px); display: grid; grid-template-columns: minmax(280px,.82fr) minmax(380px,1.18fr); margin-inline: auto; overflow: hidden; border: 1px solid #dce2e9; border-radius: 24px; background: #fff; box-shadow: 0 26px 75px rgba(10,26,48,.13); }
.auth-layout-register { width: min(100%, 1160px); grid-template-columns: minmax(265px,.72fr) minmax(0,1.28fr); }
.auth-layout-compact { width: min(100%, 900px); grid-template-columns: minmax(270px,.86fr) minmax(350px,1.14fr); }
.auth-brand-panel { position: relative; isolation: isolate; min-height: 560px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 27px; overflow: hidden; padding: clamp(28px,4vw,48px); color: #fff; background: radial-gradient(circle at 76% 22%,rgba(219,177,67,.2),transparent 28%), linear-gradient(145deg,#09182d 0%,#112844 61%,#0a192d 100%); }
.auth-brand-panel::before { position: absolute; z-index: -1; right: -100px; bottom: -135px; width: 300px; height: 300px; border: 1px solid rgba(233,202,120,.18); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.025),0 0 0 50px rgba(255,255,255,.018); content: ""; }
.auth-brand-panel > .eyebrow { color: #efd17a; }
.auth-brand-panel > div:not(.auth-emblem-frame) { position: relative; z-index: 1; }
.auth-brand-panel h1 { max-width: 13ch; margin: 0 0 10px; color: #fff; font-size: clamp(1.8rem,3vw,2.45rem); line-height: 1.12; letter-spacing: -.045em; }
.auth-brand-panel p { max-width: 42ch; margin: 0; color: #bdc9d8; font-size: .88rem; line-height: 1.75; }
.auth-emblem-frame { position: relative; z-index: 1; width: min(100%,220px); aspect-ratio: 1; display: grid; place-items: center; align-self: center; padding: 18px; border: 1px solid rgba(229,198,111,.42); border-radius: 23px; background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035)); box-shadow: 0 22px 45px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.1); }
.auth-emblem-frame img { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); }
.auth-value-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; }
.auth-value-row span { padding: 5px 9px; border: 1px solid rgba(232,198,104,.23); border-radius: 999px; color: #eed17b; background: rgba(232,198,104,.08); font-size: .66rem; font-weight: 750; letter-spacing: .035em; }
.auth-card { align-self: center; padding: clamp(27px,5vw,54px); }
.auth-card-register { align-self: stretch; padding: clamp(25px,4vw,42px); }
.auth-card-heading { margin-bottom: 27px; }
.auth-card-heading .eyebrow { color: #987018; }
.auth-card-heading h2 { margin: 8px 0 5px; color: var(--ink-strong); font-size: clamp(1.55rem,2.6vw,2.05rem); line-height: 1.18; letter-spacing: -.035em; }
.auth-card-heading p { margin: 0; color: var(--muted); font-size: .85rem; }
.auth-form { display: grid; gap: 19px; }
.auth-form-row { align-items: start; gap: 15px; }
.auth-field { display: grid; gap: 7px; min-width: 0; }
.auth-field label { color: #2d3c51; font-size: .79rem; font-weight: 750; }
.auth-field .form-input { min-height: 47px; border-color: #d5dce5; border-radius: 10px; background: #fbfcfd; }
.auth-field textarea.form-input { min-height: 93px; }
.auth-field .form-input:focus { border-color: #c49b35; background: #fff; box-shadow: 0 0 0 4px rgba(215,164,42,.13); }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-label-row a, .auth-card-footer a { color: #89620f; font-size: .77rem; font-weight: 800; }
.auth-label-row a:hover, .auth-card-footer a:hover { color: #b1821d; text-decoration: underline; text-underline-offset: 3px; }
.auth-submit { width: 100%; min-height: 49px; margin-top: 3px; border-radius: 10px; font-size: .91rem; }
.auth-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 8px; margin-top: 25px; padding-top: 19px; border-top: 1px solid #edf0f3; color: #788496; font-size: .76rem; }
.auth-security-note { margin: 18px 0 0; color: #768294; font-size: .69rem; text-align: center; }
.auth-security-note span { margin-right: 5px; color: #39805a; font-size: .58rem; }
.auth-alert { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #efc2c4; border-radius: 10px; color: #862d38; background: #fff3f3; font-size: .8rem; }
.auth-inline-hint { align-self: center; margin: 5px 0 0; color: #718094; font-size: .72rem; line-height: 1.6; }
.auth-consent-panel { padding: 14px; border: 1px solid #e7dfc8; border-radius: 11px; background: #fcfaf4; }
.auth-consent-panel label { display: flex; align-items: flex-start; gap: 10px; color: #5e6a7c; font-size: .72rem; font-weight: 500; line-height: 1.65; }
.auth-consent-panel input { flex: 0 0 auto; margin-top: 3px; }
.auth-consent-panel a { color: #805d14; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.auth-help-card { align-self: center; }
.auth-help-message { margin: 0 0 18px; color: #46566c; font-size: .94rem; line-height: 1.8; }
.auth-safety-note { margin: 20px 0; padding: 15px 17px; border: 1px solid #e7dfc8; border-radius: 11px; background: #fcfaf4; }
.auth-safety-note strong { color: #5c4818; font-size: .79rem; }
.auth-safety-note p { margin: 4px 0 0; color: #6c7684; font-size: .75rem; }
.auth-help-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.auth-help-actions > a { flex: 1 1 155px; }

/* Match the official crest treatment used on the home hero */
.profile-identity-panel { gap: 0; overflow: hidden; padding: 22px; border-color: rgba(210,177,91,.56); color: #fff; background: radial-gradient(circle at 50% 18%,rgba(205,158,48,.22),transparent 35%),linear-gradient(145deg,#0a1a30,#142844); box-shadow: 0 20px 48px rgba(12,27,48,.16); }
.profile-logo-frame { width: min(100%,260px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 16px; padding: 18px; border: 1px solid rgba(226,195,110,.4); border-radius: 22px; background: linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025)); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.profile-logo-frame img { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.28)); }
.profile-identity-copy { display: grid; justify-items: center; gap: 6px; text-align: center; }
.profile-identity-copy .identity-kind { color: #e8ca78; }
.profile-identity-copy strong { color: #f4d783; font-size: .9rem; }
.profile-identity-copy small { color: #bbc7d6; font-size: .7rem; line-height: 1.65; }
.profile-vision { position: relative; overflow: hidden; border-color: #dfd1a7; background: radial-gradient(circle at 100% 0%,rgba(222,188,99,.16),transparent 31%),linear-gradient(120deg,#fffdf7,#fff); }
.profile-vision blockquote { padding-left: 20px; border-left: 3px solid #d7a42a; }
.mission-grid li { position: relative; overflow: hidden; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.mission-grid li::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg,#d7a42a,#f1dfa8); content: ""; }
.mission-grid li:hover { transform: translateY(-3px); border-color: #d8c27d; box-shadow: var(--shadow-md); }
.values-grid article { border-color: #e3e5e8; box-shadow: var(--shadow-sm); transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.values-grid article:hover { transform: translateY(-3px); border-color: #d8c27d; box-shadow: var(--shadow-md); }

.result-section { display: flex; align-items: center; }
.result-card { width: min(100%,680px); margin-inline: auto; padding: clamp(27px,5vw,48px); border: 1px solid #dce2e9; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(10,26,48,.11); text-align: center; }
.result-card-success { border-color: #d8e7dc; background: radial-gradient(circle at 50% 0%,rgba(217,239,224,.45),transparent 40%),#fff; }
.result-card-error { background: radial-gradient(circle at 50% 0%,rgba(232,190,75,.14),transparent 38%),#fff; }
.result-emblem { width: 94px; height: 94px; display: grid; place-items: center; margin: 0 auto 18px; padding: 11px; border: 1px solid #e3d7b5; border-radius: 20px; background: linear-gradient(145deg,#fffdf7,#f6f1e3); }
.result-emblem img { width: 100%; height: 100%; display: block; object-fit: contain; }
.result-code { display: inline-flex; align-items: center; justify-content: center; min-width: 70px; min-height: 58px; margin: 0 auto 13px; padding: 8px 15px; border: 1px solid #e4d29b; border-radius: 15px; color: #805d14; background: #fffaf0; font-family: ui-monospace,monospace; font-size: 1.65rem; font-weight: 900; }
.result-card h1, .result-card h2 { margin: 10px 0 8px; color: var(--ink-strong); font-size: clamp(1.45rem,3vw,1.9rem); line-height: 1.2; }
.result-card > p { max-width: 58ch; margin: 0 auto 18px; color: var(--muted); font-size: .85rem; line-height: 1.75; }
.result-details { margin: 22px 0; padding: 17px; border: 1px solid #e4e8ed; border-radius: 13px; background: #f8fafb; text-align: left; }
.result-details-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.result-details-row + .result-details-row { border-top: 1px solid #e6eaee; }
.result-details-row span { color: #69778a; font-size: .75rem; }
.result-details-row strong { color: #875f0e; font-size: .88rem; overflow-wrap: anywhere; }
.result-card .result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 22px; }

@media (max-width: 900px) {
    .auth-layout, .auth-layout-register, .auth-layout-compact { grid-template-columns: minmax(230px,.78fr) minmax(0,1.22fr); }
    .auth-brand-panel { min-height: 520px; padding: 30px; }
    .auth-card, .auth-card-register { padding: 30px; }
    .auth-emblem-frame { width: min(100%,185px); }
}
@media (max-width: 700px) {
    .auth-section { padding-block: 28px; }
    .auth-layout, .auth-layout-register, .auth-layout-compact { width: min(100%,520px); grid-template-columns: 1fr; border-radius: 19px; }
    .auth-brand-panel { min-height: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 11px 17px; padding: 22px; }
    .auth-brand-panel > .eyebrow { grid-column: 1 / -1; }
    .auth-brand-panel > .auth-emblem-frame { grid-column: 2; grid-row: 2 / span 2; width: 94px; padding: 8px; border-radius: 14px; }
    .auth-brand-panel h1 { max-width: 18ch; font-size: 1.45rem; }
    .auth-brand-panel p { max-width: 36ch; font-size: .76rem; }
    .auth-value-row { grid-column: 1 / -1; }
    .auth-card, .auth-card-register { padding: 25px 21px; }
    .auth-card-heading { margin-bottom: 21px; }
    .auth-form { gap: 16px; }
    .auth-password-row { gap: 6px; }
    .auth-inline-hint { margin-top: 0; }
    .profile-identity-panel { max-width: 380px; }
    .profile-logo-frame { width: min(100%,230px); }
    .result-card { padding: 28px 20px; border-radius: 18px; }
    .result-details-row { align-items: flex-start; flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    .mission-grid li, .values-grid article { transition: none; }
}

/* Admin workspace: Nusantara batik texture, restrained navy and brass */
body.bg-navy {
    background-color: var(--page);
    background-image:
        radial-gradient(ellipse at 8% 18%, rgba(218, 178, 74, .11), transparent 28rem),
        radial-gradient(ellipse at 94% 70%, rgba(23, 61, 96, .075), transparent 32rem),
        repeating-linear-gradient(135deg, transparent 0 38px, rgba(152, 116, 34, .025) 39px, transparent 41px 78px),
        radial-gradient(circle at 16px 16px, rgba(174, 135, 43, .075) 1.5px, transparent 2px),
        radial-gradient(circle at 46px 46px, rgba(12, 43, 72, .035) 1.5px, transparent 2px);
    background-size: auto, auto, auto, 62px 62px, 62px 62px;
    background-attachment: fixed;
}
.admin-panel {
    position: relative;
    isolation: isolate;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(184, 149, 67, .25);
    border-radius: 28px;
    background-color: rgba(246, 247, 249, .84);
    background-image:
        radial-gradient(ellipse at 7% 5%, rgba(248, 225, 165, .28), transparent 29rem),
        radial-gradient(ellipse at 96% 88%, rgba(176, 198, 216, .22), transparent 31rem),
        repeating-linear-gradient(45deg, transparent 0 32px, rgba(152, 116, 34, .035) 33px, transparent 35px 68px),
        radial-gradient(ellipse at 1px 1px, rgba(175, 139, 52, .10) 1px, transparent 2px),
        radial-gradient(ellipse at 17px 17px, rgba(13, 42, 68, .045) 1px, transparent 2px);
    background-size: auto, auto, auto, 34px 34px, 34px 34px;
    box-shadow: 0 18px 48px rgba(10, 26, 48, .075);
}
.admin-panel { min-width: 0; overflow-wrap: anywhere; }
.admin-panel .card:not(.admin-hero) .text-muted { color: #4f6076; }
.admin-panel input, .admin-panel select, .admin-panel textarea { min-width: 0; max-width: 100%; }
.admin-panel .btn-primary, .admin-panel .btn-secondary, .admin-panel button { min-height: 42px; }
.admin-panel .flex-between { flex-wrap: wrap; gap: 12px; }
.admin-field-label { display: block; color: #3f5067; font-size: .83rem; font-weight: 700; }
.admin-article-card { overflow: hidden; }
.admin-article-cover { display: block; width: 100%; max-height: 260px; margin: 0 0 7px; border: 1px solid #e2d7b6; border-radius: 12px; background: #f4f0e5; object-fit: cover; object-position: center; }
.admin-article-cover-note { margin: 0 0 15px; color: #536176; font-size: .76rem; }
.admin-article-no-cover { margin-bottom: 15px; padding: 13px 15px; border: 1px dashed #d6c38f; border-radius: 10px; background: linear-gradient(135deg, #fffdf6, #f5f7f9); }
.admin-article-no-cover p { margin: 3px 0 0; }
.admin-article-heading { align-items: flex-start; }
.admin-article-edit { padding-top: 12px; border-top: 1px solid var(--border); }
.admin-publish-form { display: grid; gap: 11px; padding: 14px; border: 1px solid #e3cf91; border-radius: 12px; background: linear-gradient(130deg, #fffdf6, #fff); }
.admin-publish-confirm { display: flex; align-items: flex-start; gap: 10px; color: #33445b; font-size: .82rem; line-height: 1.5; }
.admin-publish-confirm input { flex: 0 0 auto; margin-top: 4px; }
.admin-publish-form button { width: fit-content; }
.admin-hero.card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid rgba(222, 186, 97, .58);
    border-radius: 20px;
    background:
        radial-gradient(circle at 83% 25%, rgba(214, 169, 60, .18), transparent 26%),
        linear-gradient(118deg, #07172b 0%, #102b49 60%, #0a1c33 100%);
    box-shadow: 0 16px 34px rgba(7, 23, 43, .22);
}
.admin-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image: repeating-linear-gradient(45deg, transparent 0 24px, rgba(233, 198, 112, .16) 25px, transparent 26px 48px);
    mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.admin-hero-copy, .admin-hero > div, .admin-hero-emblem { position: relative; z-index: 1; }
.admin-hero-copy p { margin: 5px 0 0; color: #bdc9d8; font-size: .84rem; }
.admin-hero .text-white { color: #fff; }
.admin-hero .text-muted { color: #bdc9d8; }
.admin-hero-emblem {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    padding: 5px;
    object-fit: contain;
    border: 1px solid rgba(229, 195, 105, .62);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .055), 0 8px 22px rgba(0, 0, 0, .22);
}
.admin-hero .text-gold { color: #f1d174; }
.admin-navigation { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.admin-nav-group {
    position: relative;
    min-width: 132px;
    border: 1px solid rgba(225, 192, 115, .25);
    border-radius: 12px;
    color: #f1f4f7;
    background: linear-gradient(135deg, #0c2038, #102c49);
    box-shadow: 0 7px 18px rgba(7, 23, 43, .12);
}
.admin-nav-group summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 14px;
    color: #e9d18b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .045em;
}
.admin-nav-group summary::-webkit-details-marker { display: none; }
.admin-nav-group summary::after { content: "+"; float: right; margin-left: 10px; color: #dbb855; }
.admin-nav-group[open] summary::after { content: "−"; }
.admin-nav-links { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 9px 9px; }
.admin-nav-links a {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 8px;
    color: #d0d9e3;
    font-size: .75rem;
    font-weight: 650;
}
.admin-nav-links a:hover { color: #fff; border-color: rgba(225, 192, 115, .45); background: rgba(255, 255, 255, .07); }
.admin-nav-links a.is-active { color: #18263b; border-color: #e3c15f; background: linear-gradient(135deg, #f2d77f, #d5a735); font-weight: 800; }
.admin-create-panel.card { padding: 0; overflow: hidden; border-color: #d9c27f; background: linear-gradient(145deg, #fff, #fbf8ef); }
.admin-unlinked-panel { border-color: #d9c27f; background: linear-gradient(145deg, #fff, #fbf8ef); }
.admin-count-pill { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid #e0cc8e; border-radius: 50%; color: #684d11; background: #fff6da; }
.admin-unlinked-item { border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.admin-unlinked-item + .admin-unlinked-item { margin-top: 9px; }
.admin-unlinked-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; padding: 12px 14px; list-style: none; }
.admin-unlinked-item > summary::-webkit-details-marker { display: none; }
.admin-unlinked-item > summary strong, .admin-unlinked-item > summary small { display: block; }
.admin-unlinked-item > summary strong { color: var(--ink-strong); font-size: .88rem; }
.admin-unlinked-item > summary small { margin-top: 2px; color: var(--muted); font-size: .74rem; }
.admin-unlinked-item[open] > summary { border-bottom: 1px solid var(--border); }
.admin-unlinked-item .admin-create-form { padding: 16px; }
.admin-create-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; padding: 17px 20px; list-style: none; }
.admin-create-panel > summary::-webkit-details-marker { display: none; }
.admin-create-panel > summary strong, .admin-create-panel > summary small { display: block; }
.admin-create-panel > summary strong { color: var(--ink-strong); font-size: 1rem; }
.admin-create-panel > summary small { margin-top: 2px; color: var(--muted); font-size: .78rem; }
.admin-create-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #172337; background: linear-gradient(135deg, #f2d77f, #d5a735); font-size: 1.4rem; font-weight: 700; }
.admin-create-panel[open] > summary { border-bottom: 1px solid var(--border); }
.admin-create-panel[open] .admin-create-mark { transform: rotate(45deg); }
.admin-create-form { display: grid; gap: 16px; padding: 20px; }
.admin-create-form .grid-2 { gap: 14px; }
.admin-form-wide { grid-column: 1 / -1; }
.admin-consent { display: flex; align-items: flex-start; gap: 9px; color: #46566b; font-size: .8rem; }
.admin-consent input { flex: 0 0 auto; margin-top: 4px; }
.admin-inline-edit { display: grid; min-width: 240px; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: #f8fafc; }
.admin-inline-edit label { display: block; color: #536176; font-size: .75rem; }
.admin-panel .overflow-x-auto { box-shadow: 0 7px 20px rgba(11, 29, 53, .04); }

@media (max-width: 760px) {
    .admin-panel { width: 100%; padding: 18px 14px; border-radius: 0; }
    .admin-hero.card { align-items: flex-start; flex-wrap: wrap; }
    .admin-hero-emblem { width: 64px; height: 64px; }
    .admin-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-nav-group { min-width: 0; }
    .admin-nav-group summary { overflow-wrap: anywhere; }
    .admin-nav-links a { min-width: 0; overflow-wrap: anywhere; }
    .admin-nav-group:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .admin-panel .overflow-x-auto { -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #c3a45e #eef1f4; }
    .admin-article-heading > div { min-width: 0; }
    .admin-publish-form button { width: 100%; min-height: 46px; }
}
@media (max-width: 520px) {
    .admin-navigation { grid-template-columns: 1fr; }
    .admin-nav-group:last-child:nth-child(odd) { grid-column: auto; }
    .admin-create-form .grid-2 { grid-template-columns: 1fr; }
    .admin-form-wide { grid-column: auto; }
}

.verification-member-profile { display: grid; grid-template-columns: minmax(112px, 150px) minmax(0, 1fr); gap: 14px; align-items: start; }
.verification-member-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid rgba(225, 192, 115, .45); border-radius: 10px; background: linear-gradient(145deg, #0d2139, #172c45); }
.verification-member-photo-placeholder { display: grid; place-items: center; padding: 10px; color: #c6ced8; font-size: .75rem; text-align: center; }
.verification-member-details { display: grid; gap: 9px; }
.verification-unit { display: block; margin-top: 5px; color: #eef1f5; }
.verification-plate { display: block; margin-top: 6px; color: #f0ce72; font-family: ui-monospace, monospace; font-weight: 800; letter-spacing: .04em; }

@media (max-width: 520px) {
    .verification-member-profile { grid-template-columns: minmax(88px, 112px) minmax(0, 1fr); gap: 10px; }
}
