:root{--green:#426650;--deep:#263e30;--sage:#edf2ec;--gold:#b48a45;--cream:#fbfaf6;--ink:#28392e;--muted:#748075;--line:#e4e9e1;--white:#fff;--radius:20px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--cream);font:15px/1.55 Roboto,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d4b779;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,.poppins,.btn,.nav-item{font-family:Poppins,Arial,sans-serif}h1{font-size:30px;line-height:1.35;letter-spacing:-1px}h2{font-size:19px;letter-spacing:-.35px}h3{font-size:15px}a{color:var(--green)}svg{vertical-align:middle}button{border:0}small{font-size:12px}.icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.previewbar{position:relative;background:#e9eee5;color:#46604a;min-height:44px;padding:9px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.previewbar strong{font-weight:600}.switch{display:flex;align-items:center;gap:3px;white-space:nowrap}.switch button{background:transparent;color:#536c58;padding:5px 11px;border-radius:7px;font-size:12px}.switch button.active{background:white;box-shadow:0 2px 5px #263e3010;color:var(--deep);font-weight:600}.layout{display:flex;min-height:calc(100vh - 44px)}.sidebar{width:245px;background:#fff;border-right:1px solid var(--line);padding:32px 22px;position:relative;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;color:var(--green);text-decoration:none;margin-bottom:40px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--sage)}.brand span{font:600 15px/1.4 Poppins,sans-serif}.brand small{display:block;font-weight:400;font-size:12px;color:var(--muted)}.nav-label{font-size:10px;color:#98a094;letter-spacing:1.4px;margin:0 12px 11px;font-weight:600}.nav-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;color:var(--muted);background:transparent;padding:13px 15px;font-size:12px;font-weight:500;border-radius:11px;margin:4px 0}.nav-item.active{color:var(--green);background:var(--sage)}.sidebar-note{margin-top:44px;border:1px solid var(--line);border-radius:16px;padding:18px 16px;background:#fbfcf8}.sidebar-note p{font-size:12px;color:var(--muted);margin:8px 0 14px}.sidebar-note .btn{width:100%;padding:9px;font-size:11px}.sidebar-footer{font-size:11px;color:#9aa295;margin:35px 12px}.main{flex:1;min-width:0;padding:28px 38px 45px;max-width:1500px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}.top-actions{display:flex;gap:10px;align-items:center}.date-label{font-size:12px;color:var(--muted);margin-right:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:10px;font-size:12px;font-weight:500;line-height:1.45;background:var(--green);color:#fff;text-decoration:none;min-height:42px}.btn.secondary{border:1px solid var(--line);color:var(--green);background:white}.btn.soft{background:var(--sage);color:var(--green)}.btn.text{background:transparent;color:var(--green);padding:8px 0;min-height:0}.btn.gold{background:#ecdcb7;color:#5e4a21}.btn.danger{background:#fcf0ee;color:#a25143}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e5ecdf;color:var(--green);font:600 13px Poppins}.view{display:none}.view.active{display:block}.page-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.page-intro p{color:var(--muted);font-size:13px;margin-top:5px}.eyebrow{display:block;color:var(--gold);font-size:10px;font-weight:700;letter-spacing:2px;margin-bottom:11px}.hero{display:grid;grid-template-columns:1.35fr 1fr;align-items:center;min-height:255px;overflow:hidden;border:1px solid #e4e8dc;border-radius:24px;background:#edf1e6;margin-bottom:22px;padding:32px 35px;position:relative}.hero h1{font-size:33px;max-width:450px;font-weight:600}.hero h1 em{font-style:normal;color:var(--green)}.hero p{font-size:13px;color:#697861;margin:13px 0 21px;max-width:370px;line-height:1.8}.hero-art{height:205px;width:100%;max-width:350px;justify-self:center}.hero-art svg{width:100%;height:100%}.hero-tag{position:absolute;right:24px;top:20px;font-size:10px;background:#ffffff80;border:1px solid #dbe2d3;padding:5px 10px;border-radius:30px;color:#6b795f}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:25px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.stat{display:flex;align-items:center;gap:19px}.stat-icon{width:49px;height:49px;border-radius:14px;background:var(--sage);color:var(--green);display:grid;place-items:center;flex-shrink:0}.stat-icon.gold{background:#fbf3e4;color:var(--gold)}.stat-label{color:var(--muted);font-size:12px;margin-bottom:4px}.stat-value{font:600 27px/1.35 Poppins,sans-serif;letter-spacing:-.7px}.stat-note{font-size:11px;color:#87917e;margin-top:5px}.subtle{font-size:11px;color:var(--muted);margin:-10px 0 24px}.public-columns{display:grid;grid-template-columns:1.55fr 1fr;gap:22px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.section-head p{font-size:12px;color:var(--muted);margin-top:4px}.tiny-link{color:var(--green);font-size:11px;background:transparent;white-space:nowrap;padding:5px}.distribution-list{display:flex;flex-direction:column;gap:13px}.distribution{display:flex;gap:14px;align-items:center;padding-bottom:14px;border-bottom:1px solid #eff1ec}.distribution:last-child{border:0;padding-bottom:0}.dist-art{width:70px;height:68px;flex-shrink:0;background:#f0f0df;border-radius:12px;display:grid;place-items:center;color:#829368}.dist-art .icon{width:32px;height:32px}.distribution h3{font-size:12px;margin-bottom:3px}.distribution p{font-size:11px;color:var(--muted)}.dist-amount{display:block;font-size:12px;color:var(--green);font-weight:600;margin-top:5px}.pill{display:inline-flex;align-items:center;border-radius:5px;padding:3px 7px;background:var(--sage);font-size:9px;color:var(--green);gap:4px}.qris-card{text-align:center;position:relative;background:#fffefb}.qris-card h2{font-size:17px}.qris-card>p{font-size:12px;color:var(--muted);margin-top:7px}.qr-placeholder{width:158px;height:158px;max-width:100%;margin:20px auto 16px;border:1.5px dashed #d4dacb;border-radius:13px;display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;color:#a3ac97;background:#fafbf7;padding:13px}.qr-placeholder .icon{width:39px;height:39px}.qr-placeholder small{font-size:10px;max-width:110px}.qr-image{max-width:200px;max-height:230px;object-fit:contain;display:block;margin:18px auto}.qris-card .btn{width:100%}.qris-card .help{font-size:10px;color:var(--muted);margin-top:12px;line-height:1.6}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:23px}.step{display:flex;gap:12px;align-items:flex-start;background:#f2f4ec;border-radius:13px;padding:17px}.step-number{width:25px;height:25px;background:#e2e8d8;display:grid;place-items:center;flex-shrink:0;border-radius:50%;color:var(--green);font:600 11px Poppins}.step h3{font-size:11px}.step p{font-size:11px;color:var(--muted);margin-top:3px}.quote{text-align:center;color:#8b947f;font-size:11px;margin-top:30px}.personal-stats{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:18px;margin-bottom:23px}.personal-stats .stat{padding:21px;gap:13px}.personal-stats .stat-value{font-size:23px}.personal-stats .stat-icon{width:42px;height:42px}.personal-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;margin-bottom:22px}.welcome{background:#edf1e6;border-radius:20px;border:1px solid #e1e7d8;padding:24px;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:15px}.welcome h2{font-size:19px}.welcome p{font-size:12px;color:var(--muted);margin:5px 0}.welcome .icon{width:47px;height:47px;color:#aa985d}.progress-row{margin-top:20px}.progress-header{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:12px}.progress-header strong{font-size:12px;font-weight:500}.progress-header span{font-size:11px;color:var(--muted)}.progress{height:8px;background:#edf1e8;border-radius:20px;margin:10px 0 7px;overflow:hidden}.progress>span{height:100%;display:block;background:#648361;border-radius:20px;transition:width .3s}.progress.gold>span{background:#b99b60}.progress-row small{color:var(--muted);font-size:10px}.calendar-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 0 12px}.calendar-heading strong{font-size:12px}.calendar-btn{width:28px;height:28px;border-radius:7px;background:#f1f4eb;color:var(--green)}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.day-label{font-size:10px;color:#9aa28e;text-align:center;padding:5px}.day{aspect-ratio:1.18;display:grid;place-items:center;border-radius:8px;font-size:11px;position:relative;min-height:29px}.day.has-record{background:#e5eedf;color:#456942;font-weight:600}.day.today{outline:1px solid #9ab18b;outline-offset:-2px}.day.has-record:after{position:absolute;bottom:4px;content:'';width:3px;height:3px;background:#648361;border-radius:50%}.legend{display:flex;gap:7px;align-items:center;margin-top:15px;font-size:10px;color:var(--muted)}.dot{width:8px;height:8px;border-radius:3px;background:#e5eedf;display:inline-block}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.table th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#8b9584;font-weight:500;padding:12px 9px;border-bottom:1px solid var(--line)}.table td{padding:13px 9px;border-bottom:1px solid #eef1e9}.table tr:last-child td{border:0}.table .money{color:var(--green);font-weight:600;white-space:nowrap}.row-actions{display:flex;justify-content:end;gap:5px}.icon-button{background:transparent;color:#8b9783;padding:5px;border-radius:6px}.icon-button:hover{background:var(--sage);color:var(--green)}.icon-button .icon{width:16px;height:16px}.history-filters{display:flex;gap:8px;align-items:center}.history-filters select{border:1px solid var(--line);border-radius:7px;padding:6px;font-size:11px;background:white;color:var(--muted)}.empty{text-align:center;padding:30px 15px;color:var(--muted);font-size:12px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.info-note{background:#f4f3e9;border:1px solid #e9e5d1;padding:15px 18px;border-radius:12px;font-size:12px;color:#7a735c;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field label{font-size:12px;color:#596850;font-weight:500}.field input,.field textarea,.field select{border:1px solid #dfe5d8;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);width:100%;min-width:0}.field textarea{resize:vertical;min-height:80px}.field small{font-size:10px;color:var(--muted)}.field input[type=file]{font-size:11px;background:#fbfcf7}.mobile-nav{display:none}.footer{margin-top:27px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;color:#939c89;font-size:10px}.modal-backdrop{position:fixed;inset:0;background:#1d30266e;backdrop-filter:blur(4px);z-index:50;display:none;align-items:center;justify-content:center;padding:20px}.modal-backdrop.open{display:flex}.modal{background:#fff;border:1px solid var(--line);border-radius:22px;padding:27px;width:100%;max-width:430px;max-height:90vh;overflow:auto;box-shadow:0 20px 70px #132d2320}.modal h2{margin-bottom:5px}.modal>p{font-size:12px;color:var(--muted);margin-bottom:22px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.modal-close{padding:5px;background:transparent;color:#82907c;border-radius:7px}.modal .form-grid{gap:12px}.modal-actions{display:flex;justify-content:end;gap:9px;margin-top:9px}.google-btn{background:white;border:1px solid var(--line);color:#3d483a;width:100%;margin-bottom:13px}.g{font:bold 19px Arial;color:#4285f4}.modal .caption{font-size:11px;color:var(--muted);text-align:center;margin:0 0 18px}.detail-art{height:130px;border-radius:13px;background:var(--sage);display:grid;place-items:center;margin:17px 0}.detail-art .icon{width:55px;height:55px;color:#839866}.detail-image{max-width:100%;max-height:260px;border-radius:12px;display:block;margin:14px auto}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:15px}.detail-meta small{display:block;color:var(--muted);margin-bottom:4px;font-size:10px}.detail-meta strong{font-size:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:var(--deep);color:#fff;border-radius:11px;box-shadow:0 6px 24px #24362d25;padding:12px 20px;font-size:12px;opacity:0;pointer-events:none;z-index:80;transition:.2s;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-brand{display:none}.report-total{padding:17px;background:var(--sage);border-radius:13px;margin-bottom:20px;font-size:12px;color:var(--green);display:flex;justify-content:space-between;gap:12px}.report-total strong{font-family:Poppins}.report-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.report-card{display:flex;flex-direction:column;gap:10px}.report-card .detail-art{height:120px;margin:0}.report-card>img{height:140px;width:100%;object-fit:cover;border-radius:12px}.report-card p{font-size:12px;color:var(--muted)}.report-card .dist-amount{font-size:15px}.report-card .btn{margin-top:auto}.settings{display:flex;gap:8px;flex-wrap:wrap}.admin-summary{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.admin-summary strong{font-size:15px;font-family:Poppins}.dim{color:var(--muted);font-size:12px}#edit-id{display:none}
@media(min-width:1550px){.main{margin:0 auto;padding-left:50px;padding-right:50px}}@media(max-width:1150px){.sidebar{width:210px;padding:27px 15px}.main{padding:25px}.hero{padding:26px}.hero h1{font-size:29px}.stat-value{font-size:24px}.public-columns{grid-template-columns:1.35fr 1fr}.personal-stats .stat-icon{display:none}.personal-grid{grid-template-columns:1fr 1fr}.date-label{display:none}}
@media(max-width:820px){.sidebar{display:none}.main{padding:22px 20px 95px}.topbar{margin-bottom:23px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;color:var(--green);font:600 12px/1.4 Poppins}.mobile-brand .brand-mark{width:34px;height:34px;border-radius:10px}.mobile-brand small{display:block;font-size:9px;color:var(--muted);font-weight:400}.top-actions .btn{padding:9px 12px;min-height:36px;font-size:10px}.top-actions .avatar{width:32px;height:32px;font-size:11px}.mobile-nav{display:flex;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;border-top:1px solid var(--line);z-index:20;padding:8px 8px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(10px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;background:transparent;color:#8a9681;font-size:9px;width:25%;padding:4px}.mobile-nav button.active{color:var(--green)}.mobile-nav .icon{width:21px;height:21px}.previewbar{padding:7px 14px;gap:8px;font-size:10px}.previewbar span{max-width:50%}.switch button{padding:5px 8px;font-size:10px}.hero{grid-template-columns:1.5fr 1fr;padding:24px 22px;min-height:230px}.hero h1{font-size:27px}.hero-art{height:155px}.hero-tag{display:none}.hero p{font-size:12px}.personal-stats{gap:11px}.personal-stats .stat{padding:18px}.personal-stats .stat-value{font-size:19px}.toast{bottom:85px}.admin-grid{grid-template-columns:1fr}.steps{gap:10px}.step{padding:14px 12px}.step-number{width:22px;height:22px}.report-list{gap:13px}}
@media(max-width:580px){.main{padding:20px 16px 93px}.hero{display:block;padding:26px 24px 20px;min-height:0}.hero h1{font-size:28px;max-width:300px}.hero p{max-width:260px;margin:12px 0 17px}.hero-art{position:absolute;right:-27px;bottom:-35px;width:155px;height:145px;opacity:.5;pointer-events:none}.hero .btn{position:relative;z-index:1}.hero-content{position:relative;z-index:1}.stat-grid{gap:11px;margin-bottom:20px}.stat{display:block;padding:19px 15px}.stat-icon{width:34px;height:34px;border-radius:10px;margin-bottom:12px}.stat-icon .icon{width:19px;height:19px}.stat-value{font-size:22px;letter-spacing:-.7px}.stat-label{font-size:11px}.stat-note{font-size:10px}.stat:last-child .stat-value{font-size:20px}.public-columns{grid-template-columns:1fr;gap:17px}.card{padding:20px}.qris-card{padding:23px}.qris-card .btn{max-width:250px}.qris-card .help{max-width:260px;margin:12px auto 0}.steps{grid-template-columns:1fr;gap:9px;margin-top:18px}.step{padding:14px 16px}.step h3{font-size:12px}.step p{font-size:11px}.step-number{width:27px;height:27px}.page-intro{align-items:start;margin-bottom:20px}.page-intro h1{font-size:23px}.page-intro p{font-size:12px}.page-intro>.btn{font-size:10px;padding:9px 11px;min-height:38px;white-space:nowrap}.page-intro>.btn .icon{width:16px;height:16px}.welcome{padding:20px}.welcome h2{font-size:17px}.welcome .icon{width:38px;height:38px}.welcome p{max-width:235px;font-size:11px}.personal-stats{grid-template-columns:1fr 1fr;gap:11px}.personal-stats .stat:first-child{grid-column:1/-1;display:flex;align-items:center;padding:20px}.personal-stats .stat:first-child .stat-icon{display:grid;margin:0;width:42px;height:42px}.personal-stats .stat:first-child .stat-value{font-size:27px}.personal-stats .stat{padding:17px}.personal-stats .stat-label{font-size:10px}.personal-stats .stat-value{font-size:23px}.personal-grid{grid-template-columns:1fr;gap:17px}.calendar{gap:6px}.day{aspect-ratio:1.4;font-size:12px}.calendar-card{order:2}.section-head{align-items:start}.section-head h2{font-size:17px}.section-head p{font-size:11px}.history-filters{gap:5px}.history-filters select{max-width:110px;font-size:10px}.table{font-size:11px}.table th{font-size:9px}.table td,.table th{padding-left:5px;padding-right:5px}.table .note-cell{display:none}.distribution h3{font-size:12px}.distribution p{font-size:10px}.dist-art{width:58px;height:59px}.distribution{gap:12px}.footer{flex-direction:column;gap:4px;font-size:9px}.report-list{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr;gap:0}.modal{padding:23px}.modal .form-grid{grid-template-columns:1fr 1fr;gap:12px}.modal-backdrop{padding:14px}.quote{font-size:10px}.subtle{font-size:10px;line-height:1.6;margin-bottom:20px}.admin-summary{font-size:11px}.admin-summary strong{font-size:13px}.top-actions{gap:7px}.previewbar span{line-height:1.4}.previewbar .switch{gap:1px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
/* V1.1: tema, ringkasan, motivasi, dan PWA */
:root{--surface:#fff;--soft:#f1f4ec;--hero-bg:#edf1e6;--button:#426650;--button-text:#fff;--border-soft:#eef1e9;--chart:#6f8f6a;--chart-grid:#e7ece2}
html{color-scheme:light}html[data-theme=dark]{color-scheme:dark;--green:#a8c5a1;--deep:#d7e7d2;--sage:#27392d;--gold:#d3b77b;--cream:#131c17;--ink:#e3eae0;--muted:#a6b4a3;--line:#334137;--white:#1d2921;--surface:#1d2921;--soft:#233128;--hero-bg:#24362a;--button:#607e61;--button-text:#fff;--border-soft:#303d32;--chart:#abc5a0;--chart-grid:#354637}
body{transition:background-color .2s,color .2s}button{font-family:Poppins,Arial,sans-serif}input,select,textarea,.table,.stat-note,.stat-label,.dim,.subtle{font-family:Roboto,Arial,sans-serif}.card,.sidebar,.modal{background:var(--surface)}.sidebar-note,.step{background:var(--soft)}.btn{background:var(--button);color:var(--button-text)}.btn.secondary{background:var(--surface);color:var(--green)}.btn.soft{background:var(--sage);color:var(--green)}.btn.text{background:transparent;color:var(--green)}.hero,.welcome{background:var(--hero-bg);border-color:var(--line)}.brand .brand-second,.mobile-brand .brand-second{font:inherit;color:inherit;display:block}.breadcrumb strong{font-family:Poppins,sans-serif;font-size:13px;font-weight:600;color:var(--ink)}.previewbar{background:var(--sage);color:var(--green)}.previewbar>span{max-width:unset}.preview-controls{display:flex;align-items:center;gap:10px}.preview-controls .btn{min-height:31px;padding:7px 13px;font-size:11px}.preview-controls #account-actions>div{height:32px}.preview-controls .avatar{height:31px;width:31px;font-size:11px}.theme-toggle{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;padding:6px 10px;background:var(--surface);border:1px solid var(--line);color:var(--green);font-size:10px;min-height:31px}.theme-toggle .icon{width:16px;height:16px}.overview-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 15px}.overview-heading h2{font-size:16px}.period-filter{display:flex;gap:3px;background:var(--sage);border-radius:9px;padding:4px;flex-shrink:0}.period-filter button{background:transparent;color:var(--muted);padding:7px 12px;border-radius:6px;font-size:10px}.period-filter button.active{background:var(--surface);color:var(--green);box-shadow:0 2px 6px #193a2110}.stat-value{font-variant-numeric:tabular-nums;min-height:36px}.data-update{display:flex;align-items:center;gap:7px;margin:-10px 0 10px;min-height:27px}.data-update p{font-size:11px;color:var(--muted)}.data-update time{font-weight:500}.refresh-button{width:28px;height:28px;display:grid;place-items:center;background:var(--sage);color:var(--green);border-radius:7px;flex-shrink:0}.refresh-button .icon{width:15px;height:15px}.refresh-button.busy .icon{animation:refresh-spin .7s linear infinite}@keyframes refresh-spin{to{transform:rotate(360deg)}}.subtle{margin:0 0 20px}.trend-card{padding:21px 24px;margin-bottom:22px}.trend-card h2{font-size:16px}.trend-chart{width:100%;min-height:155px}.trend-chart svg{width:100%;height:auto;display:block;overflow:visible}.trend-chart svg text{fill:var(--muted);font:10px Roboto,Arial,sans-serif}.trend-chart .chart-bar{fill:var(--chart);opacity:.8}.trend-chart .chart-bar:hover{opacity:1}.trend-chart .chart-grid{stroke:var(--chart-grid);stroke-width:1}.quote-slider{margin-top:40px;border:1px solid var(--line);border-radius:16px;padding:18px 15px;background:var(--soft);overflow:hidden}.quote-heading{display:flex;align-items:center;gap:9px;font-size:8px;font-weight:600;letter-spacing:1px;color:var(--gold);font-family:Poppins}.quote-heading .icon{width:19px;height:19px}.quote-window{overflow:hidden;margin-top:15px}.quote-track{display:flex;align-items:stretch;transition:transform .5s ease}.quote-slide{width:100%;flex:0 0 100%;font:500 12px/1.8 Poppins,sans-serif;min-height:86px;color:var(--ink);padding-right:2px}.quote-controls{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.quote-dots{display:flex;gap:6px}.quote-dots button{height:6px;width:6px;padding:0;border-radius:50%;background:#b6c2ac}.quote-dots button.active{background:var(--green);width:16px;border-radius:8px}.quote-pause{background:transparent;color:var(--muted);padding:3px;font-size:11px;line-height:1}.mobile-quotes{display:none}.footer{margin-top:22px;align-items:center;flex-wrap:wrap}.install-shortcut{display:inline-flex;align-items:center;gap:6px;color:var(--green);background:transparent;font-size:10px;padding:5px 0}.install-shortcut .icon{width:14px;height:14px}.install-shortcut[hidden]{display:none}.google-btn{background:var(--surface);color:var(--ink)}.field input,.field textarea,.field select,.history-filters select{background:var(--surface);color:var(--ink);border-color:var(--line)}.field label{color:var(--ink)}.table td{border-color:var(--border-soft)}.distribution{border-color:var(--border-soft)}.calendar-btn,.progress{background:var(--soft)}.day.has-record{background:var(--sage);color:var(--green)}.pill{background:var(--sage);color:var(--green)}.dist-art,.detail-art{background:var(--soft);color:var(--green)}.hero-tag{color:var(--green);border-color:var(--line);background:var(--surface)}.hero p,.welcome p{color:var(--muted)}.stat-note{color:var(--muted)}.toast{background:var(--button);color:var(--button-text)}
html[data-theme=dark] .mobile-nav{background:#1d2921f5}html[data-theme=dark] .stat-icon.gold{background:#3b3524}html[data-theme=dark] .info-note{background:#342f21;border-color:#51492f;color:#dacaa5}html[data-theme=dark] .btn.danger{background:#472e2a;color:#ecc1b8}html[data-theme=dark] .stat-icon{background:var(--sage)}html[data-theme=dark] .legend .dot{background:#526d4c}html[data-theme=dark] .quote-dots button{background:#52654c}html[data-theme=dark] .quote-dots button.active{background:var(--green)}html[data-theme=dark] .progress>span{background:#99b98b}html[data-theme=dark] .progress.gold>span{background:#d3b77b}html[data-theme=dark] .calendar .day.has-record:after{background:#b3cd9e}html[data-theme=dark] .sidebar-footer{color:var(--muted)}html[data-theme=dark] .sidebar-note{background:var(--soft)}
/* QRIS tetap putih untuk menjaga keterbacaan kode. */
.qris-card{background:var(--surface)}.qr-placeholder{background:#fff;color:#7c8b70;border-color:#c9d2c1}.qr-image{background:#fff;padding:10px;border-radius:10px}.modal .qris-card{background:var(--surface)}
@media(max-width:820px){.mobile-quotes{display:block}.mobile-quotes .quote-slider{margin:0 0 19px;padding:15px 18px}.mobile-quotes .quote-window{margin-top:9px}.mobile-quotes .quote-slide{min-height:43px;font-size:12px}.mobile-quotes .quote-controls{margin-top:6px}.overview-heading{margin-top:18px}.previewbar{padding-top:8px;padding-bottom:8px}.preview-controls{gap:6px}.trend-card{padding:19px}.breadcrumb{display:none}}
@media(max-width:580px){.previewbar{padding-left:16px;padding-right:16px}.previewbar>span{font-size:9px;max-width:44%}.theme-toggle{padding:6px 8px;gap:4px}.preview-controls .btn{font-size:10px;padding:6px 10px}.overview-heading{gap:8px;align-items:center}.overview-heading h2{font-size:13px}.period-filter{gap:1px;padding:3px}.period-filter button{font-size:9px;padding:6px 8px}.data-update{align-items:flex-start;margin-top:-5px}.data-update p{font-size:10px;line-height:1.65}.refresh-button{margin-top:2px;width:25px;height:25px}.stat-grid .stat:first-child .stat-value{font-size:27px}.trend-chart svg text{font-size:11px}.trend-card .section-head{margin-bottom:8px}.footer{align-items:flex-start;gap:7px}.quote-slider .quote-slide{min-height:42px}.brand .brand-second,.mobile-brand .brand-second{font:inherit;color:inherit}.mobile-brand{font-size:11px}.topbar{margin-bottom:20px}.top-actions{margin-left:auto}.mobile-brand{max-width:70%}}
@media(prefers-reduced-motion:reduce){.quote-track{transition:none}.refresh-button.busy .icon{animation:none}}
/* V1.2: ruang berbagi, grafik garis, dan kebutuhan bantuan */
[hidden]{display:none!important}
.main{max-width:1540px}.previewbar{padding:10px 24px}.preview-controls{display:flex;gap:8px;align-items:center}.previewbar span{max-width:none}.install-top{min-height:34px;padding:8px 12px;font-size:10px}.install-top .icon{width:15px;height:15px}.install-short{display:none}.preview-controls #account-actions .btn{min-height:34px;padding:8px 13px;font-size:10px}
.hero{grid-template-columns:minmax(0,1.75fr) minmax(170px,.85fr);padding:32px;gap:30px}.hero h1.greeting{font-size:clamp(20px,2.05vw,28px);line-height:1.5;letter-spacing:-.65px;max-width:640px;color:var(--green);overflow-wrap:anywhere}.hero .hero-welcome{margin:8px 0 16px;font-size:13px;font-weight:500;max-width:none}.hero-messages{max-width:670px}.hero .hero-messages p{max-width:none;margin:0 0 9px;font-size:13px;line-height:1.75}.hero .hero-messages p:last-child{margin:14px 0 0}.hero-prayer{border-left:2px solid var(--gold);padding-left:14px}.hero-art{max-width:300px;opacity:.9}.hero-tag{display:none}
.nav-item.nav-record{background:var(--button);color:var(--button-text);margin:13px 0}.nav-item:hover{background:var(--sage);color:var(--green)}.nav-item.nav-record:hover{background:var(--button);filter:brightness(1.08)}
.stat-grid{margin-bottom:20px}.data-update{margin:0 0 18px}.stat-value{overflow-wrap:anywhere}.trend-chart{position:relative}.chart-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.amount-line{stroke:var(--chart)}.transaction-line{stroke:var(--gold);stroke-width:2;stroke-dasharray:5 4}.chart-dot{stroke:var(--surface);stroke-width:1.2}.amount-dot{fill:var(--chart)}.transaction-dot{fill:var(--gold)}.chart-legend{display:flex;align-items:center;gap:20px;color:var(--muted);font-size:11px;margin:0 0 8px}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{width:20px;border-top:2.5px solid var(--chart)}.chart-legend .transaction-key{border-color:var(--gold);border-top-style:dashed}.chart-interaction{position:relative;touch-action:pan-y;border-radius:8px}.chart-reveal{clip-path:inset(0 0 0 0);transition:clip-path 3.6s cubic-bezier(.2,.55,.25,1)}.chart-reveal.reveal-start{clip-path:inset(0 100% 0 0)}.chart-tooltip{position:absolute;top:34px;display:flex;flex-direction:column;gap:3px;padding:10px 13px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 6px 20px #19312214;font-size:11px;pointer-events:none;min-width:130px;color:var(--ink)}.chart-tooltip strong{font-size:10px;color:var(--muted);font-weight:500}.chart-hint{font-size:10px;color:var(--muted);text-align:right;margin-top:2px}
.needs-section{margin-bottom:22px}.section-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.section-actions .btn{font-size:10px;padding:9px 12px;min-height:35px}.needs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.need-card{display:flex;flex-direction:column;min-width:0;background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:19px;gap:9px}.need-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.need-status{font-size:9px;color:var(--green);background:var(--sage);padding:4px 7px;border-radius:6px;white-space:nowrap}.need-status.helping{color:var(--gold);border:1px solid var(--line);background:var(--surface)}.need-card h3{font-size:13px;line-height:1.6;margin-top:3px;overflow-wrap:anywhere}.need-region{font-size:10px;color:var(--muted)}.need-summary{font-size:12px;color:var(--muted);line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.need-bottom{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center;margin-top:auto;padding-top:10px;border-top:1px solid var(--line)}.need-bottom small{font-size:9px;color:var(--muted)}.need-bottom .tiny-link{padding:2px 0;font-size:10px}.all-needs{margin:20px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.all-needs .need-card{background:var(--surface)}.need-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line)}.need-row:last-child{border-bottom:0}.need-row>div{min-width:0}.need-row strong{font:500 12px Poppins,sans-serif;overflow-wrap:anywhere}.need-row p{font-size:11px;color:var(--muted);margin-top:4px}.need-row .btn{min-height:34px;padding:7px 12px;font-size:10px}.review-note{color:var(--gold)!important}.my-needs-card,.admin-needs-card{margin-bottom:22px}.private-pic{border-radius:12px;background:var(--soft);padding:15px;margin:15px 0;font-size:12px}.private-pic small{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.private-pic p{margin-top:4px}.need-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:var(--muted);line-height:1.8}.quote-track{transition:transform 1s cubic-bezier(.2,.55,.25,1)}.footer{font-size:10px}
@media(max-width:1150px){.hero{gap:16px;padding:27px}.needs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.need-card:last-child:nth-child(3){grid-column:1/-1}.hero-art{max-width:220px}.hero h1.greeting{font-size:23px}.section-actions{gap:6px}}
@media(max-width:820px){.previewbar{padding:8px 16px}.install-long{display:none}.install-short{display:inline}.preview-controls{gap:5px}.mobile-nav button{width:20%;min-height:47px;font-size:9px}.mobile-nav button.nav-record{color:var(--green)}.mobile-nav button.nav-record .icon{background:var(--button);color:#fff;padding:5px;box-sizing:content-box;border-radius:10px;margin-top:-6px;margin-bottom:-2px}.hero{grid-template-columns:minmax(0,1.8fr) minmax(120px,.6fr)}.hero h1.greeting{font-size:23px}.hero-art{max-width:185px}.page-intro:has(h1){gap:12px}.previewbar>span{font-size:9px;white-space:nowrap}.trend-chart svg text{font-size:10px}}
@media(max-width:580px){.previewbar{padding:8px 12px;gap:4px}.previewbar>span{font-size:8px;max-width:90px;white-space:normal}.install-top{font-size:9px;padding:7px 9px;gap:4px}.preview-controls #account-actions .btn{font-size:9px;padding:7px 10px}.theme-toggle{min-height:34px}.hero{padding:23px 21px;display:block;border-radius:19px}.hero h1.greeting{font-size:20px;line-height:1.6;max-width:none;letter-spacing:-.4px}.hero .hero-welcome{font-size:12px;margin-bottom:14px}.hero .hero-messages p{font-size:12px;line-height:1.75;margin-bottom:10px}.hero-art{display:none}.hero-prayer{padding-left:12px}.needs-section{padding:19px}.needs-section .section-head{flex-wrap:wrap;gap:12px}.section-actions{justify-content:space-between;width:100%;gap:8px}.needs-grid,.all-needs{grid-template-columns:1fr;gap:12px}.need-card:last-child:nth-child(3){grid-column:auto}.need-card{padding:17px}.need-card h3{font-size:13px}.need-summary{font-size:12px}.chart-legend{font-size:10px;gap:13px}.chart-legend i{width:15px}.chart-tooltip{min-width:110px;font-size:10px;padding:8px 10px;top:30px}.chart-hint{font-size:9px}.trend-card{padding:18px 14px}.data-update{margin:0 0 17px}.stat-grid .stat-value{font-size:23px!important}.stat-grid .stat:last-child .stat-value{font-size:clamp(15px,4.6vw,23px)!important}.stat-grid .stat{padding:18px 13px}.modal .form-grid{grid-template-columns:1fr;gap:0}.page-intro{flex-wrap:wrap}.need-row{gap:10px}.preview-controls span{max-width:none}.overview-heading h2{font-size:12px}.mobile-quotes .quote-slide{font-size:11px}}
@media(prefers-reduced-motion:reduce){.chart-reveal{transition:none}.chart-reveal.reveal-start{clip-path:inset(0 0 0 0)}}

/* V1.2.2: empat menu utama pada HP. */
@media(max-width:820px){.mobile-nav button{width:25%}}

/* V1.2.3: salam satu baris, pesan lebih ringkas. */
.hero-content{container-type:inline-size}
.hero h1.greeting{font-size:12px;font-size:clamp(10px,3.7cqw,18px);white-space:nowrap;line-height:1.6;letter-spacing:0;max-width:none}
.hero .hero-welcome{margin:8px 0 12px;font-size:14px}
.hero .hero-welcome strong{font-weight:600}
.hero .hero-messages p{margin:0;font-size:13px;line-height:1.75}
.hero .hero-messages p.hero-prayer{margin-top:12px}
.hero{min-height:0;padding-top:27px;padding-bottom:27px}
.hero-art{height:180px}
@media(max-width:580px){.hero{padding-top:21px;padding-bottom:21px}.hero .hero-welcome{font-size:13px;margin:7px 0 10px}.hero .hero-messages p{font-size:12px;line-height:1.7}.hero .hero-messages p.hero-prayer{margin-top:10px}}
