@keyframes zorkon-form-in{
  from{opacity:0;transform:translateY(10px) scale(.98)}
  to{opacity:1;transform:none}
}
body.zorkon-form-modal-lock{overflow:hidden}
#zorkon-form-modal{
  position:fixed;inset:0;z-index:120;
  display:none;align-items:center;justify-content:center;
  padding:20px;
}
#zorkon-form-modal.is-open{display:flex}
.zorkon-form-modal-bg{
  position:absolute;inset:0;
  background:rgba(15,23,41,.48);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.zorkon-form-modal-panel{
  position:relative;z-index:1;
  width:min(520px,100%);
  max-height:min(90vh,760px);
  overflow:auto;
  animation:zorkon-form-in .22s cubic-bezier(.22,1,.36,1);
}
.zorkon-form-modal-close{
  position:absolute;top:12px;right:12px;z-index:2;
  width:36px;height:36px;border:0;border-radius:8px;
  background:#f1f5f9;color:#0f1729;cursor:pointer;
}
.zorkon-form-modal-close:hover{background:#e7f9fd;color:#036c81}
.zorkon-form-converted{margin-top:.75rem;max-width:420px}
.zorkon-form-card{
  margin:0;
  padding:1.25rem 1.25rem 1.1rem;
  min-height:1px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  color:#0f1729;
  box-shadow:0 24px 60px rgba(15,23,41,.22);
}
.zorkon-form-kicker{margin:0 0 .2rem;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#036c81;font-weight:700}
.zorkon-form-title{margin:0;font-size:1.12rem;line-height:1.25;font-weight:700}
.zorkon-form-lead{margin:.35rem 0 .85rem;font-size:.86rem;line-height:1.45;color:#64748b}
.zorkon-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.zorkon-form-field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.7rem}
.zorkon-form-field label{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#0f1729}
.zorkon-form-optional{margin-left:.35rem;text-transform:none;letter-spacing:0;font-weight:500;color:#94a3b8}
.zorkon-form-field input,
.zorkon-form-field select,
.zorkon-form-field textarea{
  width:100%;border:1px solid #d9dfe8;border-radius:10px;
  background:#f8fafc;color:#0f1729;
  padding:.75rem .85rem;font:inherit;font-size:.95rem;
  outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.zorkon-form-field textarea{min-height:88px;resize:vertical}
.zorkon-form-field input:focus,
.zorkon-form-field select:focus,
.zorkon-form-field textarea:focus{
  border-color:#036c81;background:#fff;
  box-shadow:0 0 0 3px rgba(3,108,129,.16);
}
.zorkon-form-field input[aria-invalid="true"],
.zorkon-form-field select[aria-invalid="true"],
.zorkon-form-field textarea[aria-invalid="true"]{
  border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.12);
}
.zorkon-form-consent{
  display:flex;align-items:flex-start;gap:.55rem;
  margin:.15rem 0 .75rem;font-size:.78rem;line-height:1.4;color:#475569;cursor:pointer;
}
.zorkon-form-consent input{margin-top:.15rem;accent-color:#036c81}
.zorkon-form-submit{
  display:flex;width:100%;align-items:center;justify-content:center;
  min-height:48px;border:0;border-radius:10px;cursor:pointer;
  background:#0f1729;color:#fff;font-weight:700;font-size:.95rem;
}
.zorkon-form-submit:hover{background:#036c81}
.zorkon-form-submit[aria-busy="true"]{opacity:.7;pointer-events:none}
.zorkon-form-note{margin:.65rem 0 0;text-align:center;font-size:.72rem;color:#94a3b8}
.zorkon-form-error{margin:0 0 .7rem;color:#b91c1c;font-size:.8rem}
.zorkon-form-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.zorkon-form-success{padding:.25rem 0}
.zorkon-form-success-title{margin:0 0 .4rem;font-size:1.05rem;font-weight:700}
.zorkon-form-success p{margin:0;color:#475569;font-size:.9rem;line-height:1.5}
.zorkon-form-success a{color:#036c81;font-weight:600}
.zorkon-form-replaced{display:none !important}
[data-zorkon-form][aria-expanded="true"]{box-shadow:0 0 0 3px rgba(3,108,129,.16)}
@media (max-width:720px){
  .zorkon-form-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .zorkon-form-modal-panel{animation:none}
}
