/* v822 - official local form files + popup PDF preview. */
.working-official-forms-v822 .working-form-modal-v821 { display:none !important; }

.working-form-modal-v822 {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.working-form-modal-v822.is-open { display: block; }
.working-form-modal-backdrop-v822 {
  position: absolute;
  inset: 0;
  background: rgba(5,18,38,.64);
  backdrop-filter: blur(4px);
}
.working-form-modal-panel-v822 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(980px, calc(100vw - 34px));
  height: min(820px, calc(100vh - 34px));
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d6e4f3;
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}
.working-form-modal-head-v822 {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #edf7ff, #fff);
  border-bottom: 1px solid #d6e4f3;
}
.working-form-modal-head-v822 h3 {
  margin: 0;
  color: #071d3a;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.working-form-modal-download-v822 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: #086fe8;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}
.working-form-modal-close-v822 {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #071d3a;
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.working-form-modal-frame-v822 {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #f5f8fc;
}
body.working-form-modal-open-v822 { overflow: hidden; }
@media (max-width: 640px) {
  .working-form-modal-panel-v822 {
    width: calc(100vw - 18px);
    height: calc(100vh - 18px);
    border-radius: 12px;
  }
  .working-form-modal-head-v822 {
    grid-template-columns: minmax(0,1fr) auto;
  }
  .working-form-modal-download-v822 {
    grid-column: 1 / -1;
    order: 3;
  }
}
