.sgcma-shell{max-width:960px;margin:40px auto;padding:0 18px;font-family:Arial,sans-serif;color:#172033}.sgcma-card{background:#fff;border:1px solid #dfe5ec;border-radius:20px;box-shadow:0 18px 50px rgba(15,23,42,.08);padding:32px}.sgcma-brand{display:inline-block;background:#eaf8ef;color:#16713a;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.sgcma-card h1{font-size:32px;line-height:1.2;margin:18px 0 8px}.sgcma-card h2{font-size:19px;margin:28px 0 12px;padding-top:8px;border-top:1px solid #edf0f4}.sgcma-intro{color:#5b6472;margin:0 0 22px}.sgcma-message{border-radius:12px;padding:14px 16px;background:#eef4ff;color:#24436c}.sgcma-message.sgcma-error{background:#fff0f0;color:#9d1c1c}.sgcma-message.sgcma-success{background:#eaf8ef;color:#166534}.sgcma-form{margin-top:20px}.sgcma-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#f7f9fb;border-radius:14px;padding:16px}.sgcma-summary div{min-width:0}.sgcma-summary span{display:block;color:#6a7280;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.sgcma-summary strong{display:block;margin-top:5px;word-break:break-word}.sgcma-grid{display:grid;gap:14px}.sgcma-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sgcma-form label{display:block;font-size:14px;font-weight:700;color:#273244;margin:12px 0}.sgcma-form input,.sgcma-form textarea{box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #cfd7e2;border-radius:10px;background:#fff;color:#172033;padding:11px 12px;font:inherit;outline:none}.sgcma-form input:focus,.sgcma-form textarea:focus{border-color:#23945a;box-shadow:0 0 0 3px rgba(35,148,90,.12)}.sgcma-consent{display:flex!important;align-items:flex-start;gap:10px;background:#f7f9fb;border-radius:12px;padding:14px;margin-top:22px!important}.sgcma-consent input{width:auto;margin:3px 0 0}.sgcma-consent span{font-weight:500;line-height:1.5}.sgcma-form button{border:0;border-radius:11px;background:#168447;color:#fff;font-size:15px;font-weight:800;padding:13px 20px;cursor:pointer;margin-top:18px}.sgcma-form button:hover{background:#116d3a}.sgcma-form button:disabled{opacity:.65;cursor:wait}@media(max-width:700px){.sgcma-card{padding:22px 17px}.sgcma-card h1{font-size:26px}.sgcma-grid-2,.sgcma-summary{grid-template-columns:1fr}}

.sgcma-program-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:0 0 22px;text-align:center}.sgcma-program-brand[hidden]{display:none}.sgcma-program-brand>div{text-align:center}.sgcma-program-logo{width:120px;height:120px;object-fit:contain;background:#fff;border:1px solid #dfe5ec;border-radius:18px;padding:10px;box-sizing:border-box}.sgcma-program-brand h1{margin:8px 0 6px}.sgcma-program-code{margin:6px 0 0;color:#5b6472;font-size:14px;font-weight:700}@media(max-width:700px){.sgcma-program-logo{width:96px;height:96px}.sgcma-program-brand h1{margin-top:8px}}


.sgcma-payment-summary {
  margin: 20px 0 26px;
  padding: 18px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
}
.sgcma-payment-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
}
.sgcma-payment-summary span { color: #475569; font-size: 13px; }
.sgcma-payment-summary strong { color: #0f172a; text-align: right; }
.sgcma-payment-summary p { margin: 12px 0 0; color: #1e3a8a; line-height: 1.55; }
@media (max-width: 640px) {
  .sgcma-payment-summary > div { display: block; }
  .sgcma-payment-summary strong { display: block; margin-top: 4px; text-align: left; }
}

.sgcma-payment-action{margin-top:24px;padding:20px;border:1px solid #bbf7d0;border-radius:14px;background:#f0fdf4}.sgcma-payment-action h2{border:0;margin:0 0 8px;padding:0}.sgcma-payment-action p{color:#365244;line-height:1.55}.sgcma-payment-action button{border:0;border-radius:11px;background:#168447;color:#fff;font-size:15px;font-weight:800;padding:13px 20px;cursor:pointer}.sgcma-payment-action button:hover{background:#116d3a}.sgcma-payment-action button:disabled{opacity:.65;cursor:wait}.sgcma-payment-help{font-size:12px;margin:12px 0 0!important;color:#5b6472!important}

/* v0.2.8: dedicated, distraction-free public application layout */
body.sgcma-application-page header.wp-block-template-part,
body.sgcma-application-page footer.wp-block-template-part,
body.sgcma-application-page .wp-site-blocks > header,
body.sgcma-application-page .wp-site-blocks > footer,
body.sgcma-application-page .wp-block-post-title,
body.sgcma-application-page .entry-title {
  display: none !important;
}

body.sgcma-application-page,
body.sgcma-application-page .wp-site-blocks,
body.sgcma-application-page main,
body.sgcma-application-page .wp-block-post-content,
body.sgcma-application-page .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.sgcma-application-page .wp-site-blocks {
  min-height: 100vh;
}

body.sgcma-application-page .sgcma-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 996px;
  margin: 0 auto;
  padding: 38px 18px 56px;
}

.sgcma-page-title {
  margin: 0 0 18px;
  text-align: center;
  color: #111827;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.sgcma-program-brand h2,
#sgcma-default-heading h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 18px 0 8px;
  color: #172033;
}

@media (max-width: 700px) {
  body.sgcma-application-page .sgcma-shell {
    padding: 24px 12px 38px;
  }
  .sgcma-page-title {
    margin-bottom: 14px;
    font-size: 32px;
  }
  .sgcma-program-brand h2,
  #sgcma-default-heading h2 {
    font-size: 25px;
  }
}
