:root{
  color-scheme:light;
  --amgs-bg:#f7f8fb;
  --amgs-surface:#fff;
  --amgs-text:#101828;
  --amgs-muted:#667085;
  --amgs-line:#e4e7ec;
  --amgs-accent:#143c8c;
  --amgs-accent-2:#0b2a62;
  --amgs-ok:#067647;
  --amgs-warn:#b54708;
  --amgs-bad:#b42318;
  --amgs-radius:14px;
  --amgs-shadow:0 1px 2px rgba(16,24,40,.06),0 14px 28px rgba(16,24,40,.06);
}
*{box-sizing:border-box}
html,body{
  margin:0;
  background:var(--amgs-bg)!important;
  color:var(--amgs-text)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  line-height:1.5;
}
a{color:var(--amgs-accent);text-decoration:none}
a:hover{text-decoration:underline}
header,nav,.navbar,.topbar,.site-header{
  background:#fff!important;
  color:var(--amgs-text)!important;
  border-bottom:1px solid var(--amgs-line)!important;
}
main,.page,.container,.wrap{
  max-width:1180px;
  margin-inline:auto;
  padding:28px 24px;
}
section,.card,.panel,.box,.tile,form,#gate,.access-card,.status-card,.proof-card{
  background:var(--amgs-surface)!important;
  color:var(--amgs-text)!important;
  border:1px solid var(--amgs-line)!important;
  border-radius:var(--amgs-radius)!important;
  box-shadow:var(--amgs-shadow)!important;
  padding:22px;
}
h1,h2,h3{color:var(--amgs-text)!important;letter-spacing:-.025em;line-height:1.12}
h1{font-size:clamp(32px,5vw,56px)}
h2{font-size:clamp(24px,3vw,34px)}
p,li,label,small,.muted,.hint{color:var(--amgs-muted)!important}
button,.button,input[type=submit],.btn{
  border:1px solid var(--amgs-accent)!important;
  border-radius:10px!important;
  background:var(--amgs-accent)!important;
  color:#fff!important;
  font-weight:700;
  padding:10px 14px;
  cursor:pointer;
}
button.secondary,.button.secondary,.btn.secondary{
  background:#fff!important;
  color:var(--amgs-accent)!important;
}
input,textarea,select{
  background:#fff!important;
  color:var(--amgs-text)!important;
  border:1px solid var(--amgs-line)!important;
  border-radius:10px!important;
  padding:10px 12px;
}
.badge,.pill,.amgs-badge{
  display:inline-flex;
  border:1px solid var(--amgs-line);
  border-radius:999px;
  background:#fff;
  color:var(--amgs-muted);
  padding:4px 9px;
  font-size:12px;
  font-weight:700;
}
.success,.ok,[data-status="ok"]{color:var(--amgs-ok)!important}
.warning,.review,[data-status="review"]{color:var(--amgs-warn)!important}
.error,.fail,[data-status="fail"]{color:var(--amgs-bad)!important}
.amgs-trust-strip{
  background:#fff;
  border-bottom:1px solid var(--amgs-line);
  color:var(--amgs-muted);
  font-size:13px;
  padding:10px 18px;
}
.amgs-trust-strip strong{color:var(--amgs-text)}
.amgs-footer{
  margin:36px auto 0;
  max-width:1180px;
  padding:22px 24px 34px;
  color:var(--amgs-muted);
  font-size:13px;
}
.amgs-legacy-hidden{display:none!important}
@media (max-width:720px){
  main,.page,.container,.wrap{padding:20px 14px}
  section,.card,.panel,.box,.tile,form,#gate{padding:18px}
}
