/* Social Impact Piagam Terima Kasih R1 - scoped editor and certificate. */
.gr-nav-group{padding:12px 13px;border-top:1px solid #e8e6f1;margin:9px 0 4px}
.gr-nav-group p{font:800 10px/1.4 system-ui,sans-serif;letter-spacing:.1em;color:#8b95a9;margin:0 0 10px}
.gr-nav-group button{display:flex;width:100%;align-items:center;gap:10px;padding:12px 10px;border:0;border-radius:9px;background:transparent;color:#47566b;text-align:left;font:750 12px/1.35 system-ui,sans-serif;cursor:pointer}
.gr-nav-group button:hover,.gr-nav-group button.gr-current{background:#6837c9;color:white}
.gr-row-btn{display:inline-block;margin:3px 0 3px 7px;padding:6px 10px;border:1px solid #b6a4e7;border-radius:8px;background:#f7f3ff;color:#6337ad;font:700 11px system-ui,sans-serif;cursor:pointer}
.gr-row-btn:hover{background:#eae1ff}
.gr-editor{padding:24px 25px 65px;box-sizing:border-box;min-width:0;color:#23334e}
.gr-head{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:20px}
.gr-head p{color:#7b53c9;font:800 11px system-ui,sans-serif;letter-spacing:1.2px;margin:0 0 8px}
.gr-head h1{font:800 clamp(22px,2.1vw,30px) system-ui,sans-serif;margin:0 0 8px;color:#23334e}
.gr-head span{font:400 13px/1.55 system-ui,sans-serif;color:#6b788e}
.gr-top-actions{display:flex;gap:8px;flex-wrap:wrap}
.gr-top-actions button{padding:11px 14px;border:1px solid #ded5f0;border-radius:9px;background:white;color:#643caa;font:750 12px system-ui,sans-serif;cursor:pointer}
.gr-top-actions button:first-child{background:#6838c5;color:white;border-color:#6838c5}
.gr-editor-grid{display:grid;grid-template-columns:minmax(270px,355px) minmax(0,1fr);gap:18px;align-items:start}
.gr-settings,.gr-live{box-sizing:border-box;min-width:0;background:white;border:1px solid #e3e5ef;border-radius:14px;padding:19px}
.gr-settings{display:grid;gap:12px}
.gr-settings h2{font:800 14px system-ui,sans-serif;color:#584096;margin:12px 0 0;padding-top:15px;border-top:1px solid #edeaf3}
.gr-settings h2:first-child{margin-top:0;padding-top:0;border:0}
.gr-field{display:grid;gap:6px;font:750 12px/1.4 system-ui,sans-serif;color:#57677b}
.gr-field input,.gr-field textarea{box-sizing:border-box;width:100%;border:1px solid #d9e0ed;border-radius:8px;padding:10px 11px;background:white;color:#26344c;font:400 13px/1.5 system-ui,sans-serif}
.gr-field input[type=color]{padding:4px;height:44px}
.gr-field textarea{resize:vertical;min-height:72px}
.gr-half{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.gr-help{margin:0;color:#7b8697;font:400 11px/1.5 system-ui,sans-serif}
.gr-live{position:sticky;top:16px;padding:22px;background:#f7f8fc}
.gr-preview-heading{display:flex;justify-content:space-between;gap:10px;color:#4f6077;font:800 13px system-ui,sans-serif;margin-bottom:17px}
.gr-preview-heading small{color:#8e94a3;font:500 11px system-ui,sans-serif}
.gr-sheet{box-sizing:border-box;width:100%;max-width:1020px;aspect-ratio:297/210;background:#fff;padding:14px;border:1px solid #e9dbb9;margin:auto;font-family:Georgia,'Times New Roman',serif;color:#38415b;overflow:hidden}
.gr-border{position:relative;border:3px double #c5a463;box-sizing:border-box;height:100%;background:radial-gradient(ellipse at 50% 5%,#fffdf6,#fff 66%);padding:clamp(15px,3.5vw,38px);display:flex;align-items:center;flex-direction:column;justify-content:space-between;gap:clamp(5px,1vw,13px);text-align:center}
.gr-brand{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--gr-accent,#7142bd);font:800 clamp(15px,2vw,23px) system-ui,sans-serif}
.gr-brand img.gr-logo{object-fit:contain;max-height:48px;max-width:90px}
.gr-overline{color:#b08a45;font:800 9px system-ui,sans-serif;letter-spacing:2.8px}
.gr-sheet h1{font:700 clamp(19px,3vw,34px)/1.17 Georgia,serif;margin:0;color:#393451;letter-spacing:.5px}
.gr-number{margin:0;color:#96763f;border-radius:6px;padding:5px 12px;background:#faf5e8;font:750 clamp(9px,1vw,12px) system-ui,sans-serif}
.gr-intro{margin:0;font:400 clamp(11px,1.2vw,15px)/1.4 Georgia,serif}
.gr-sheet h2{margin:0;font:700 clamp(20px,3.2vw,42px)/1.2 Georgia,serif;color:var(--gr-accent,#7142bd);overflow-wrap:anywhere}
.gr-message{margin:0;max-width:82%;font:400 clamp(10px,1.3vw,16px)/1.58 Georgia,serif;overflow-wrap:anywhere}
.gr-meta{display:flex;justify-content:center;gap:clamp(12px,3vw,38px);width:100%;flex-wrap:wrap}
.gr-meta span{display:grid;gap:5px;max-width:31%;min-width:0}
.gr-meta small{font:400 10px system-ui,sans-serif;color:#8990a0}
.gr-meta strong{font:750 11px/1.3 system-ui,sans-serif;overflow-wrap:anywhere}
.gr-footer{display:flex;width:100%;justify-content:space-between;align-items:flex-end;gap:25px;text-align:left;font:700 10px/1.5 system-ui,sans-serif}
.gr-footer>div:first-child{display:grid;gap:5px;max-width:55%}
.gr-footer small{color:#848695;font:400 8px/1.4 system-ui,sans-serif}
.gr-signer{display:grid;min-width:150px;text-align:center;gap:6px}
.gr-sign-line{border-bottom:1px solid #757385;height:23px}
.gr-stamp{position:absolute;top:47%;left:12%;right:12%;transform:rotate(-14deg);font:900 clamp(10px,1.7vw,20px) system-ui,sans-serif;color:rgba(185,67,66,.22);letter-spacing:1px;pointer-events:none}
.gr-overlay{position:fixed;inset:0;z-index:300000;background:rgba(18,23,39,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.gr-modal{width:min(1100px,96vw);max-height:94dvh;display:flex;flex-direction:column;background:white;border-radius:16px;box-shadow:0 30px 100px #1114;overflow:hidden}
.gr-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #e9eaf0;font:800 18px system-ui,sans-serif;color:#263a51}
.gr-modal-header button{font-size:26px;border:0;border-radius:7px;background:#f4f5f8;cursor:pointer}
.gr-modal-content{overflow:auto;padding:22px 28px 28px}
.gr-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;font:400 12px system-ui,sans-serif;color:#7a8293}
.gr-actions button{background:#6739c6;color:#fff;border:0;border-radius:9px;padding:11px 16px;cursor:pointer}
#gr-print{display:none}
@media(max-width:920px){.gr-editor-grid{grid-template-columns:1fr}.gr-live{position:static}.gr-editor{padding:18px 16px 52px}}
@media(max-width:600px){.gr-head{flex-direction:column}.gr-settings,.gr-live{padding:15px}.gr-modal-content{padding:14px}.gr-sheet{min-height:480px;aspect-ratio:auto}.gr-border{padding:18px 12px}.gr-message{max-width:96%}.gr-meta span{max-width:45%}.gr-footer{flex-wrap:wrap;justify-content:center}.gr-footer>div:first-child{max-width:100%}}
@media print{
 @page{size:A4 landscape;margin:0}
 html,body{margin:0!important;padding:0!important;background:#fff!important;width:297mm!important;height:210mm!important}
 body > :not(#gr-print){display:none!important}
 #gr-print{display:block!important;position:fixed;inset:0;width:297mm;height:210mm}
 #gr-print .gr-sheet{width:297mm!important;height:210mm!important;max-width:none!important;aspect-ratio:auto!important;border:0!important;padding:8mm!important}
 #gr-print .gr-border{padding:11mm 18mm!important;gap:3mm!important}
 #gr-print h1{font-size:29pt!important}
 #gr-print h2{font-size:35pt!important}
 #gr-print .gr-message{font-size:13pt!important}
 #gr-print .gr-stamp{font-size:17pt!important}
}