@tailwind base;@tailwind components;@tailwind utilities;
@layer base{html{scroll-behavior:smooth}body{@apply bg-[#fbfcfa] text-slate-800 antialiased; font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}h1,h2,h3{@apply tracking-tight}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible{@apply outline outline-2 outline-offset-4 outline-emerald-700}input[type=checkbox]{accent-color:#075e4c;width:18px;height:18px;flex-shrink:0} [x-cloak]{display:none!important}}
@layer components{.wrap{@apply max-w-6xl mx-auto px-5 sm:px-8}.btn{@apply inline-flex items-center justify-center gap-2 bg-forest text-white px-6 py-3 rounded-xl font-semibold text-sm transition hover:bg-emerald-900 focus-visible:ring-2 focus-visible:ring-emerald-700 disabled:opacity-50 disabled:cursor-not-allowed}.btn.secondary{@apply bg-white border border-slate-200 text-forest hover:bg-emerald-50}.btn.gold{@apply bg-[#f1db9e] text-emerald-950 hover:bg-[#eacb79]}.btn.small{@apply px-4 py-2 text-xs}.btn.danger{@apply bg-red-700 hover:bg-red-800}.text-link{@apply text-forest font-semibold text-sm hover:underline underline-offset-4}.brand{@apply flex items-center gap-2.5 font-bold text-xl tracking-tight text-forest}.brand-mark{@apply inline-flex items-center justify-center w-9 h-9 rounded-full bg-forest text-white text-2xl;font-family:Georgia,serif}.nav{@apply flex items-center gap-7 text-sm font-medium}.nav a:not(.btn){@apply hover:text-emerald-700}.eyebrow{@apply uppercase text-xs font-semibold tracking-[0.18em] text-emerald-700}.section-head{@apply flex justify-between items-end gap-4 mb-7}.section-head h2{@apply text-3xl font-bold}.section-pad{@apply py-16 sm:py-20}.panel{@apply bg-white border border-slate-200 rounded-2xl p-6 sm:p-8}.panel h2{@apply text-lg font-bold mb-5}.field{@apply mb-5}.field>label{@apply block text-sm font-semibold mb-2}.form-control{@apply block w-full rounded-xl bg-white border border-slate-300 px-3.5 py-3 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-700 focus:border-emerald-700}textarea.form-control{@apply min-h-24}.hint{@apply text-xs leading-relaxed text-slate-500 mt-2}.check{@apply flex items-start gap-3 text-sm leading-relaxed}.alert{@apply bg-emerald-50 border border-emerald-200 text-emerald-950 text-sm leading-relaxed rounded-xl p-4 mb-5}.alert.warning{@apply bg-amber-50 border-amber-200 text-amber-950}.alert.error{@apply bg-red-50 border-red-200 text-red-900}.grid-2{@apply grid md:grid-cols-2 gap-6}.badge{@apply inline-flex rounded-full px-2.5 py-1 text-[11px] font-semibold bg-slate-100 text-slate-600}.badge.paid{@apply bg-emerald-100 text-emerald-900}.badge.review,.badge.pending,.badge.partial_refund{@apply bg-amber-100 text-amber-900}.badge.failed,.badge.expired,.badge.rejected{@apply bg-red-50 text-red-800}.small-label{@apply text-xs text-slate-500 leading-relaxed}.divider{@apply border-t border-slate-200 my-6}.prose-text{@apply whitespace-pre-line text-slate-600 leading-8}.metric-grid{@apply grid sm:grid-cols-2 xl:grid-cols-4 gap-4 mb-7}.metric{@apply bg-white border border-slate-200 p-6 rounded-2xl flex flex-col gap-2}.metric span{@apply text-xs text-slate-500}.metric strong{@apply text-2xl font-bold tracking-tight text-forest}.filter-bar{@apply flex flex-wrap gap-4 items-end mb-7}.filter-bar .field{@apply mb-0 flex-1 min-w-40}.card{@apply bg-white border border-slate-200 rounded-2xl overflow-hidden transition hover:shadow-lg hover:shadow-emerald-900/5}.card-image{display:block;width:100%;height:auto;max-height:clamp(11rem,28vw,24rem);object-fit:contain;object-position:center;background:#f1f5f2}.news-card{padding:0;overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:1rem}.news-card-image{display:block;width:100%;height:auto;max-height:clamp(11rem,26vw,22rem);object-fit:contain;object-position:center;background:#f1f5f2}.news-card-body{@apply p-6}.news-card h2{font-size:1.25rem;line-height:1.45}.news-card p{font-size:1rem;line-height:1.65}.placeholder-art{@apply h-52 flex items-center justify-center bg-[#e8f0e8] text-forest overflow-hidden relative}.art-ring{position:absolute;border:1px solid #075e4c18;border-radius:50%;width:260px;height:260px}.art-ring:nth-child(2){width:190px;height:190px}.art-ring:nth-child(3){width:120px;height:120px}.progress{@apply h-1.5 rounded-full bg-emerald-50 overflow-hidden}.progress>span{@apply block h-full bg-emerald-700 rounded-full}.donor-row{@apply flex justify-between gap-4 py-4 border-b border-slate-100 text-sm}.donor-row p{@apply text-xs text-slate-500 mt-1}.detail-list>div{@apply flex justify-between gap-5 border-b border-slate-100 py-3 text-sm}.detail-list dt{@apply text-slate-500}.detail-list dd{@apply text-right font-medium break-words}.amount-display{@apply text-4xl font-bold text-forest tracking-tight my-6}.form-actions{@apply flex flex-wrap gap-3 mt-6}.table-wrap{@apply overflow-x-auto rounded-xl border border-slate-200 bg-white}table{@apply w-full text-sm text-left}th{@apply bg-slate-50 text-slate-500 text-xs font-semibold px-5 py-4}td{@apply px-5 py-4 border-t border-slate-100}td .text-link{@apply text-xs}.nowrap{@apply whitespace-nowrap}.pagination{@apply my-6}.admin-shell{@apply min-h-screen}.sidebar{@apply bg-white border-r border-slate-200 fixed left-0 top-0 bottom-0 w-60 px-5 py-7 overflow-y-auto z-40}.sidebar .brand{@apply mb-10}.sidebar small{@apply block text-[9px] tracking-[0.15em] text-slate-400 font-bold mt-7 mb-3}.sidebar nav a{@apply block px-3 py-2.5 rounded-lg text-[13px] text-slate-600 my-0.5 hover:bg-emerald-50}.sidebar nav a.current{@apply bg-emerald-50 text-forest font-bold}.admin-main{@apply ml-60}.admin-topbar{@apply px-8 h-20 border-b border-slate-200 bg-white flex justify-between items-center gap-5}.admin-content{@apply p-6 lg:p-10 max-w-screen-2xl mx-auto}.admin-heading{@apply flex flex-wrap justify-between items-center gap-4 mb-8}.admin-heading h1{@apply text-3xl font-bold}.admin-heading p{@apply text-sm text-slate-500 mt-2}.chart{@apply flex justify-around gap-3 h-48 items-end pt-8}.chart-col{@apply flex flex-col items-center gap-3 flex-1 text-[10px] text-slate-500}.chart-bar{@apply bg-emerald-600 rounded-t-md w-full max-w-10}.mobile-only{@apply hidden}.hero{@apply bg-[#edf3e9] overflow-hidden relative}.hero h1{font-size:clamp(2.6rem,5.5vw,4.8rem);line-height:1.07;letter-spacing:-.055em}.hero-art{@apply relative min-h-80 flex items-center justify-center}.hero-disc{width:310px;height:310px;border-radius:50%;background:#d6e4cf;position:absolute}.hero-flower{width:190px;height:190px;position:relative;background:#075e4c;border-radius:60% 5% 60% 5%;transform:rotate(-15deg)}.hero-flower:after{content:'';position:absolute;background:#c7ab67;width:125px;height:125px;border-radius:5% 60% 5% 60%;top:70px;left:110px;transform:rotate(15deg)}.hero-note{@apply absolute rounded-xl bg-white p-4 shadow-lg shadow-emerald-900/5 text-sm}.footer{@apply bg-[#063c33] text-emerald-100/80 py-14}.footer a{@apply text-sm hover:text-white}.footer h3{@apply text-white font-semibold mb-4}.footer .brand{@apply text-white}.footer .brand-mark{@apply bg-white text-forest}}
@media(max-width:767px){.sidebar{display:none}.sidebar.mobile-open{display:block}.admin-main{margin-left:0}.mobile-only{display:inline-flex}.admin-topbar{padding:0 20px}.hero-art{min-height:350px}.desktop-nav{display:none}}
.home-slideshow{position:relative;display:block;width:100%;height:100%;min-height:180px;overflow:hidden;border-radius:inherit;background:#e8f0e8}.home-slide{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;opacity:0;transition:opacity .55s ease}.home-slide.is-active{opacity:1}.home-slideshow-controls{position:absolute;z-index:4;inset:auto 10px 10px;display:flex;align-items:center;justify-content:center;gap:10px;pointer-events:none}.home-slideshow-controls button{pointer-events:auto;min-width:34px;height:34px;border:1px solid #ffffffa8;border-radius:999px;background:#063e32d9;color:white;font:700 16px/1 system-ui;display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 8px #0003}.home-slide-dots{display:flex;align-items:center;gap:7px}.home-slideshow-controls .home-slide-dot{min-width:10px;width:10px;height:10px;padding:0;border:1px solid white;background:#ffffff80}.home-slideshow-controls .home-slide-dot.is-active{width:22px;border-radius:999px;background:#fff}.home-slideshow-controls .home-slide-pause{font-size:13px}@media(max-width:640px){.home-slideshow{min-height:140px}.home-slideshow-controls{inset:auto 7px 7px;gap:7px}.home-slideshow-controls button{min-width:30px;height:30px}.home-slideshow-controls .home-slide-dot{min-width:9px;width:9px;height:9px}.home-slideshow-controls .home-slide-dot.is-active{width:18px}}@media(prefers-reduced-motion:reduce){.home-slide{transition:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* v1.5.9: responsive public banners and consistent, high-contrast headings */
.frontpage-banner-section{padding-top:clamp(1.5rem,4vw,2.75rem);padding-bottom:clamp(1.5rem,4vw,2.75rem)}
.frontpage-banner{overflow:hidden;border:1px solid #d8e7dd;border-radius:1.25rem;background:#f0faf4;box-shadow:0 12px 32px rgba(6,60,51,.06)}
.frontpage-banner-media{display:grid;place-items:center;width:100%;aspect-ratio:16/7;min-height:200px;max-height:clamp(240px,45vw,560px);overflow:hidden;background:linear-gradient(135deg,#eaf2e8,#f7f7f0)}
.frontpage-banner-media img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}
.frontpage-banner-copy{padding:clamp(1.25rem,3vw,2.25rem)}
.frontpage-banner-copy .eyebrow{color:#047857;font-weight:800}
.frontpage-banner-content{margin-top:.75rem;color:#334d43;font-size:clamp(1rem,1.25vw,1.125rem);line-height:1.75}
.frontpage-banner-content p+p{margin-top:.75rem}
.site-modern .frontpage-banner-section{width:min(1320px,calc(100% - 48px));max-width:1320px;padding-left:0;padding-right:0}
.site-public main#konten h1:not(.text-white){font-size:clamp(2rem,4.2vw,3rem)!important;font-weight:800!important;line-height:1.12!important;letter-spacing:-.04em!important;color:#047857}
.site-public main#konten h2:not(.text-white){font-size:clamp(1.55rem,2.7vw,2rem)!important;font-weight:800!important;line-height:1.2!important;letter-spacing:-.025em!important;color:#075b43}
.site-public main#konten h3:not(.text-white){font-size:clamp(1.12rem,1.75vw,1.35rem)!important;font-weight:750!important;line-height:1.35!important;color:#075b43}
.site-public main#konten .bg-forest h2,.site-public main#konten .mdn-stats h2{color:#fff!important}
@media(max-width:640px){.frontpage-banner-media{aspect-ratio:4/3;min-height:0;max-height:none}.site-modern .frontpage-banner-section{width:calc(100% - 32px)}.frontpage-banner-copy{padding:1.125rem}.frontpage-banner-content{font-size:1rem;line-height:1.7}}
/* v1.6.0: one strong, emerald navigation style across both public headers */
body.site-public header nav a:not(.btn){font-size:14px!important;line-height:1.35!important;font-weight:700!important;color:#047857!important;text-decoration:none}
body.site-public header nav a:not(.btn):hover,body.site-public header nav a:not(.btn):focus-visible{color:#a6823c!important;text-decoration:underline;text-underline-offset:5px}
body.site-public header nav a.is-current{color:#047857!important}
