/* ACPINDO UI foundation. Tailwind remains the utility layer; this file owns shared semantics only. */
:root{--ui-primary:#2563eb;--ui-primary-dark:#1d4ed8;--ui-ink:#0f172a;--ui-muted:#64748b;--ui-border:#e2e8f0;--ui-surface:#fff;--ui-soft:#f8fafc;--ui-radius:1rem;--ui-shadow:0 8px 28px rgba(15,23,42,.07)}
html{scroll-behavior:smooth}body{min-width:320px}*,*::before,*::after{box-sizing:border-box}img,svg,video,iframe{max-width:100%}button,input,select,textarea{font:inherit}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline:3px solid rgba(37,99,235,.3);outline-offset:2px}
[data-site-header] .site-brand{display:inline-flex;align-items:center;gap:.65rem;min-width:0}.site-brand-logo{display:block;width:auto;height:auto;max-width:clamp(104px,18vw,168px);max-height:42px;object-fit:contain;object-position:left center}@media(max-width:639px){[data-site-header] .site-brand-logo{max-width:clamp(92px,34vw,132px);max-height:36px}}.site-brand-mark{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.85rem;background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 8px 18px rgba(37,99,235,.25);font-size:.8rem;font-weight:900;color:#fff}.site-brand-text{font-size:1rem;font-weight:900;letter-spacing:-.025em;color:#0f172a}.site-brand-text strong{color:#2563eb}
.ui-container{width:min(100% - 2rem,90rem);margin-inline:auto}.ui-page{padding-block:clamp(1.5rem,4vw,3.5rem)}.ui-page-header{display:grid;gap:.65rem;margin-bottom:1.5rem}.ui-eyebrow{font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#2563eb}.ui-page-title{margin:0;font-size:clamp(1.65rem,3vw,2.7rem);line-height:1.08;letter-spacing:-.035em;font-weight:900;color:var(--ui-ink)}.ui-page-description{max-width:52rem;margin:0;color:var(--ui-muted);line-height:1.75}.ui-panel{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow)}.ui-card{min-width:0;border:1px solid var(--ui-border);background:#fff;border-radius:1rem;box-shadow:0 4px 18px rgba(15,23,42,.05);overflow:hidden}.ui-empty{padding:2.5rem 1.25rem;text-align:center;border:1px dashed #cbd5e1;border-radius:1rem;background:#fff;color:#64748b}.ui-empty-icon{display:grid;place-items:center;width:3rem;height:3rem;margin:0 auto .75rem;border-radius:1rem;background:#eff6ff;color:#2563eb}.ui-status{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;padding:.3rem .65rem;font-size:.72rem;font-weight:800}.ui-status-success{background:#ecfdf5;color:#047857}.ui-status-warning{background:#fffbeb;color:#b45309}.ui-status-danger{background:#fef2f2;color:#b91c1c}.ui-status-muted{background:#f1f5f9;color:#475569}
.ui-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--ui-border);border-radius:1rem;background:#fff}.ui-table-wrap table{width:100%;border-collapse:separate;border-spacing:0}.ui-table-wrap th{background:#f8fafc;color:#475569;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.ui-table-wrap th,.ui-table-wrap td{padding:.85rem 1rem;border-bottom:1px solid #eef2f7;text-align:left;vertical-align:top}.ui-table-wrap tbody tr:last-child td{border-bottom:0}.ui-table-wrap tbody tr:hover{background:#f8fafc}
.ui-search{display:flex;gap:.6rem;align-items:stretch}.ui-search input{min-width:0;flex:1}.ui-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.75rem;border-radius:.8rem;padding:.65rem 1rem;font-weight:800;transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}.ui-btn:hover{transform:translateY(-1px)}.ui-btn-primary{background:var(--ui-primary);color:#fff;box-shadow:0 6px 16px rgba(37,99,235,.18)}.ui-btn-primary:hover{background:var(--ui-primary-dark)}.ui-btn-secondary{border:1px solid var(--ui-border);background:#fff;color:#334155}.ui-btn-danger{background:#dc2626;color:#fff}.ui-btn-ghost{color:#475569}.ui-btn-ghost:hover{background:#f8fafc}
main form label{display:block}main input:not([type=checkbox]):not([type=radio]):not([type=file]),main select,main textarea{max-width:100%;min-width:0}main textarea{resize:vertical}main table{max-width:100%}.prose img{height:auto;border-radius:1rem}.prose iframe{width:100%;min-height:20rem;border:0;border-radius:1rem}.prose table{display:block;max-width:100%;overflow:auto}
[data-site-header] a,[data-site-header] button{min-height:2.75rem}.mobile-scroll-safe{max-width:100%;overflow-x:auto}.loading-state{display:flex;align-items:center;justify-content:center;gap:.55rem;min-height:4rem;color:#64748b}.skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;animation:ui-shimmer 1.4s linear infinite;border-radius:.75rem}@keyframes ui-shimmer{to{background-position:-200% 0}}
@media(max-width:767px){.ui-container{width:min(100% - 1rem,90rem)}.ui-page{padding-block:1.25rem}.ui-search{flex-direction:column}.ui-search .ui-btn{width:100%}.ui-table-wrap th,.ui-table-wrap td{padding:.7rem .75rem}.ui-table-wrap{border-radius:.8rem}.ui-page-title{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
@media print{[data-site-header],footer,#cookieBanner,.no-print{display:none!important}body{background:#fff!important}}

/* Admin form baseline */
main input[type="text"],main input[type="email"],main input[type="url"],main input[type="number"],main input[type="password"],main input[type="search"],main input[type="tel"],main select,main textarea{min-height:44px;border-color:#e2e8f0;border-radius:.75rem}main input[type="file"]{min-height:44px}main form label{line-height:1.45}main form button[type="submit"]{min-height:44px}main table tbody tr:hover{background:#f8fafc}

/* Theme system */
html.dark{color-scheme:dark;--ui-ink:#f8fafc;--ui-muted:#94a3b8;--ui-border:#334155;--ui-surface:#0f172a;--ui-soft:#111827}
html.dark body{background:#020617!important;color:#e2e8f0!important}
html.dark .bg-white{background-color:#0f172a!important}html.dark .bg-slate-50{background-color:#111827!important}html.dark .bg-slate-100{background-color:#1e293b!important}html.dark .bg-blue-50{background-color:#172554!important}html.dark .bg-blue-50\/40{background-color:rgba(23,37,84,.4)!important}
html.dark .text-slate-950,html.dark .text-slate-900{color:#f8fafc!important}html.dark .text-slate-800,html.dark .text-slate-700{color:#e2e8f0!important}html.dark .text-slate-600,html.dark .text-slate-500{color:#94a3b8!important}html.dark .text-slate-400{color:#64748b!important}
html.dark .border-slate-200,html.dark .border-slate-100,html.dark .border-slate-300{border-color:#334155!important}html.dark .divide-slate-100>*+*{border-color:#334155!important}
html.dark input,html.dark select,html.dark textarea{background:#0f172a!important;color:#f8fafc!important;border-color:#475569!important}html.dark option{background:#0f172a;color:#f8fafc}
html.dark [data-site-header],html.dark [data-mobile-menu]{background:#020617!important;border-color:#334155!important}html.dark .site-brand-text{color:#f8fafc!important}
html.dark .ui-card,html.dark .ui-panel,html.dark .ui-empty,html.dark .ui-table-wrap{background:#0f172a;border-color:#334155}html.dark .ui-table-wrap th{background:#1e293b;color:#cbd5e1}html.dark .ui-table-wrap td{border-color:#334155}html.dark .ui-table-wrap tbody tr:hover{background:#111827}
html.dark footer{background:#020617!important;border-color:#1e293b!important}
html.dark .ad-slot-placeholder{background:#111827;border-color:#475569;color:#94a3b8}

/* Searchable select must keep readable contrast in both themes. */
.searchable-select-panel{color:#0f172a!important;background:#fff!important}.searchable-select-panel input{background:#fff!important;color:#0f172a!important;border-color:#e2e8f0!important}.searchable-select-option{display:block!important;width:100%!important;color:#0f172a!important;background:#fff!important}.searchable-select-option:hover,.searchable-select-option[aria-selected="true"],.searchable-select-option.bg-blue-50{background:#dbeafe!important;color:#1e3a8a!important}.searchable-select-trigger{color:#0f172a!important;background:#fff!important;border-color:#cbd5e1!important}.searchable-select-panel .text-slate-500{color:#475569!important}html.dark .searchable-select-panel{color:#f8fafc!important;background:#0f172a!important;border-color:#475569!important}html.dark .searchable-select-panel input{background:#111827!important;color:#f8fafc!important;border-color:#334155!important}html.dark .searchable-select-option,html.dark .searchable-select-option.bg-blue-50{color:#f8fafc!important;background:#0f172a!important}html.dark .searchable-select-option:hover,html.dark .searchable-select-option[aria-selected="true"],html.dark .searchable-select-option.bg-blue-50:hover{background:#1e3a8a!important;color:#fff!important}html.dark .searchable-select-trigger{color:#f8fafc!important;background:#0f172a!important;border-color:#475569!important}html.dark .searchable-select-panel .text-slate-500{color:#cbd5e1!important}

.ad-slot{min-height:92px;border-radius:1rem}.ad-slot-placeholder{display:grid;place-items:center;border:1px dashed #94a3b8;background:#f8fafc;color:#64748b}.ad-slot-placeholder>span{display:flex;align-items:center;justify-content:center;gap:.5rem;flex-wrap:wrap;font-size:.78rem}.ad-slot-placeholder strong{font-size:.72rem;letter-spacing:.12em;color:#2563eb}.ad-slot-placeholder small{width:100%;text-align:center;font-size:.68rem}
.whatsapp-float{position:fixed;right:1rem;bottom:1rem;z-index:90}.whatsapp-float-button{display:grid;place-items:center;width:3.6rem;height:3.6rem;border:0;border-radius:999px;background:#16a34a;color:#fff;box-shadow:0 12px 30px rgba(22,163,74,.35);cursor:pointer;font-size:1.6rem}.whatsapp-float-message{position:absolute;right:0;bottom:4.3rem;width:min(19rem,calc(100vw - 2rem));padding:1rem;border:1px solid #dbeafe;border-radius:1rem;background:#fff;color:#0f172a;box-shadow:0 18px 50px rgba(15,23,42,.18)}.whatsapp-float-message span{display:block;margin-top:.35rem;font-size:.8rem;line-height:1.5;color:#64748b}.whatsapp-float-message a{display:inline-flex;margin-top:.75rem;padding:.55rem .8rem;border-radius:.7rem;background:#16a34a;color:#fff;font-size:.75rem;font-weight:800}.dark .whatsapp-float-message{background:#0f172a;color:#f8fafc;border-color:#334155}.dark .whatsapp-float-message span{color:#94a3b8}
html.dark .calc-page .bg-slate-950{background:#020617!important}html.dark .calc-page .bg-blue-50\/60{background:rgba(23,37,84,.7)!important}html.dark .calc-page .text-blue-700{color:#93c5fd!important}html.dark .calc-page .text-blue-300{color:#93c5fd!important}html.dark .calc-page .border-blue-100{border-color:#1e3a8a!important}
html.dark .public-sidebar .bg-blue-600{background:#2563eb!important;color:#fff!important}.public-sidebar{position:sticky;top:6.5rem;height:max-content}
@media(max-width:1023px){.public-sidebar{position:static}.whatsapp-float{right:.75rem;bottom:.75rem}}
html.dark main{color:#e2e8f0}html.dark main .bg-white{background-color:#0f172a!important}html.dark main .bg-slate-100{background-color:#111827!important}html.dark main .text-slate-900,html.dark main .text-slate-950{color:#f8fafc!important}html.dark main .text-slate-700,html.dark main .text-slate-600{color:#cbd5e1!important}html.dark main .border-slate-200,html.dark main .border-slate-100{border-color:#334155!important}html.dark main .hover\\:bg-slate-50:hover{background-color:#1e293b!important}html.dark main header{background:rgba(15,23,42,.95)!important;border-color:#334155!important}html.dark main header button,html.dark main header a{border-color:#475569!important;color:#e2e8f0!important}

/* Calculator content boundary: admin-entered FAQ/How-To HTML must never widen the page. */
.calc-page,.calc-page *{box-sizing:border-box}.calc-page{display:block;width:100%;max-width:90rem;margin-inline:auto;min-width:0;overflow-x:clip}.calc-page>.calc-section,.calc-page>header,.calc-page>div{width:100%;max-width:100%;min-width:0}.calc-page .calc-rich-content{min-width:0;max-width:100%;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}.calc-page .calc-rich-content img,.calc-page .calc-rich-content video,.calc-page .calc-rich-content iframe{display:block;max-width:100%!important;height:auto}.calc-page .calc-rich-content pre{max-width:100%!important;overflow:auto!important;white-space:pre-wrap;overflow-wrap:anywhere}.calc-page .calc-rich-content table{display:block;max-width:100%!important;overflow:auto!important}.calc-page .calc-rich-content *{max-width:100%}
@media print{.whatsapp-float{display:none!important}}

/* Shared public-page rhythm: breadcrumb stays in the global shell; content columns and headings use a predictable baseline. */
.public-layout-content{min-width:0;width:100%;} .public-layout-content>section:first-child{min-width:0;}
.public-layout-content h1{overflow-wrap:anywhere;} .public-layout-content img,.public-layout-content video,.public-layout-content iframe{max-width:100%;}
.public-layout-content :where(input[type="search"]){color:#0f172a;background-color:#fff;}
.public-layout-content .ui-page-header{margin-bottom:1.5rem;}
.search-page-header{max-width:100%;} .search-page .ui-search{align-items:stretch;}
.search-page .ui-search input{min-height:3.25rem;} .search-page .ui-search button{min-height:3.25rem;}
.search-results .search-result{border-bottom:1px solid #e2e8f0;} .search-results .search-result:last-child{border-bottom:0;}
.search-result a{overflow-wrap:anywhere;text-decoration:none;} .search-result a:hover{text-decoration:underline;}
@media(max-width:767px){.search-page{padding-top:1.25rem;padding-bottom:2rem}.search-page .ui-search{gap:.5rem}.search-page .ui-search button{width:100%}.search-result{padding-block:1rem}}


/* Shared public layout contract: all public views render inside layouts/main.php. */
.public-main{min-width:0;overflow-wrap:anywhere}.public-layout-grid{width:min(100% - 2rem,90rem);margin-inline:auto}.public-layout-content{min-width:0;width:100%}.public-layout-content>section:first-child,.public-layout-content>article:first-child{min-width:0}.public-layout-content h1{overflow-wrap:anywhere}.public-layout-content img,.public-layout-content video,.public-layout-content iframe{max-width:100%}.public-layout-content table{max-width:100%}.public-layout-content :where(input[type=search],input[type=text],input[type=url],input[type=email],select,textarea){max-width:100%;color:#0f172a}.public-sidebar{min-width:0}.public-sidebar .ui-panel{position:relative}.public-layout-home>section:first-child{width:100%}@media(max-width:767px){.public-layout-grid{width:calc(100% - 1rem)}.public-sidebar{order:2}.public-layout-content{order:1}.public-main .public-layout-grid{gap:1rem}}
/* Normalize the outermost module shell; module-specific inner cards/grids remain intact. */
.public-layout-content:not(.public-layout-home)>section:first-child,
.public-layout-content:not(.public-layout-home)>article:first-child{width:100%;max-width:none;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}

/* Single public page chrome: titles and descriptions are rendered by layouts/main.php. */
.public-page-frame{width:min(100% - 2rem,90rem);margin-inline:auto;padding-top:1.5rem;padding-bottom:.25rem}
.public-page-frame .ui-page-header{margin:0 0 1rem;gap:.5rem}
/* removed: was hiding legitimate page header */
/* removed: was hiding legitimate page header */
.public-layout-content:not(.public-layout-home)>section:first-child,.public-layout-content:not(.public-layout-home)>article:first-child,.public-layout-content:not(.public-layout-home)>main:first-child{width:100%;max-width:none;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
@media(max-width:767px){.public-page-frame{width:calc(100% - 1rem);padding-top:1rem}.public-page-frame .ui-page-header{margin-bottom:.75rem}}

/* ============================================================
   ACPINDO Module design system (public content)
   Konten view hanya memakai kelas ini — lebar diatur main.php
   ============================================================ */
.module{display:flex;flex-direction:column;gap:1.5rem;min-width:0;width:100%}
.module-block{min-width:0;width:100%}
.module-card{
  min-width:0;width:100%;
  border:1px solid var(--ui-border);
  background:#fff;
  border-radius:1.25rem;
  box-shadow:0 4px 18px rgba(15,23,42,.04);
  padding:1.25rem;
}
@media(min-width:640px){.module-card{padding:1.5rem}}
.module-card-flush{padding:0;overflow:hidden}
.module-section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem}
.module-section-head .ui-eyebrow{margin-bottom:.15rem}
.module-section-title{margin:0;font-size:1.35rem;font-weight:900;letter-spacing:-.02em;color:var(--ui-ink);line-height:1.2}
@media(min-width:768px){.module-section-title{font-size:1.5rem}}
.module-section-desc{margin:.35rem 0 0;font-size:.875rem;line-height:1.6;color:var(--ui-muted);max-width:42rem}
.module-link{font-size:.875rem;font-weight:800;color:#2563eb;white-space:nowrap}
.module-link:hover{text-decoration:underline}
.module-grid-2{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}
.module-grid-3{display:grid;gap:1rem;grid-template-columns:repeat(1,minmax(0,1fr))}
.module-grid-4{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}
.module-grid-5{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:640px){
  .module-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .module-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1024px){
  .module-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .module-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .module-grid-5{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1280px){
  .module-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
}
.module-chip{
  display:inline-flex;align-items:center;border-radius:999px;
  background:#f1f5f9;padding:.35rem .75rem;font-size:.75rem;font-weight:700;color:#334155
}
.module-chip-blue{background:#eff6ff;color:#1d4ed8}
.module-meta{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-size:.8125rem;color:var(--ui-muted)}
.module-prose{
  max-width:none;font-size:.9375rem;line-height:1.75;color:#334155;
}
.module-prose :where(h2){margin:2rem 0 .75rem;font-size:1.35rem;font-weight:900;color:var(--ui-ink);line-height:1.25}
.module-prose :where(h3){margin:1.5rem 0 .5rem;font-size:1.15rem;font-weight:900;color:var(--ui-ink)}
.module-prose :where(p){margin:0 0 1rem}
.module-prose :where(p:last-child){margin-bottom:0}
.module-prose :where(ul){margin:0 0 1rem;padding-left:1.5rem;list-style:disc}
.module-prose :where(ol){margin:0 0 1rem;padding-left:1.5rem;list-style:decimal}
.module-prose :where(a){font-weight:700;color:#1d4ed8;text-decoration:underline}
.module-prose :where(img){border-radius:1rem}
.module-prose :where(table){width:100%;margin:1.25rem 0;border-collapse:collapse}
.module-prose :where(th){background:#f1f5f9;padding:.75rem;text-align:left}
.module-prose :where(td){border-top:1px solid var(--ui-border);padding:.75rem}
.module-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--ui-border);border-radius:1rem;background:#fff}
.module-table{width:100%;min-width:640px;border-collapse:collapse;font-size:.875rem}
.module-table th{background:#f8fafc;padding:.75rem;text-align:left;font-weight:800}
.module-table td{padding:.75rem;border-top:1px solid #f1f5f9}
.module-table tr.subtotal td{background:#f8fafc;font-weight:800}
.module-input{
  display:block;width:100%;min-height:2.75rem;border-radius:.75rem;
  border:1px solid var(--ui-border);background:#fff;padding:0 1rem;font-size:.875rem;color:var(--ui-ink);
}
.module-input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px rgba(59,130,246,.15)}
.module-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:2.75rem;border-radius:.75rem;padding:0 1.25rem;
  font-size:.875rem;font-weight:900;border:1px solid transparent;cursor:pointer;
}
.module-btn-primary{background:#1d4ed8;color:#fff}
.module-btn-primary:hover{background:#1e40af}
.module-btn-dark{background:#0f172a;color:#fff}
.module-btn-dark:hover{background:#1d4ed8}
.module-btn-ghost{background:#fff;border-color:var(--ui-border);color:#334155}
.module-btn-ghost:hover{border-color:#93c5fd;color:#1d4ed8}
.module-btn-success{background:#059669;color:#fff}
.module-btn-success:hover{background:#047857}
/* Home full-bleed sections */
.home-section{width:100%}
.home-section-inner{width:min(100% - 2rem,80rem);margin-inline:auto;padding-block:2.5rem}
@media(min-width:768px){.home-section-inner{padding-block:3rem}}
.home-hero{background:#020617;color:#fff}
.home-hero .home-section-inner{padding-block:3.5rem}
@media(min-width:768px){.home-hero .home-section-inner{padding-block:5rem}}
.public-layout-content.public-layout-home{display:flex;flex-direction:column;gap:0}
.public-sidebar .ui-panel{border-radius:1.25rem}
.public-layout-grid{align-items:start}
