.deposit-exception-trigger {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #c99519;
  border-radius: 10px;
  background: #fffaf0;
  color: #0b2e55;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.deposit-exception-trigger:hover { background: #fff3cf; }
.deposit-exception-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 22, 42, .72);
  overflow: auto;
}
.deposit-exception-dialog {
  width: min(760px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid rgba(201, 149, 25, .45);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(3, 19, 39, .35);
  color: #102945;
}
.deposit-exception-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid #d9e2ec;
  background: #fff;
}
.deposit-exception-head h2 { margin: 6px 0 6px; font-size: clamp(26px, 4vw, 38px); line-height: 1.05; }
.deposit-exception-head p { margin: 0; color: #52647a; line-height: 1.5; }
.deposit-exception-eyebrow { color: #b17900; font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.deposit-exception-close {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid #cbd7e3;
  border-radius: 50%;
  background: #f7fafc;
  color: #0b2e55;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.deposit-exception-body { padding: 24px 28px 28px; }
.deposit-exception-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deposit-exception-grid > div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #f8fafc;
}
.deposit-exception-grid span { display: block; margin-bottom: 5px; color: #66778b; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.deposit-exception-grid strong { display: block; overflow-wrap: anywhere; line-height: 1.35; }
.deposit-exception-notice {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid #c99519;
  border-radius: 8px;
  background: #fff7df;
  color: #614600;
  line-height: 1.5;
}
.deposit-exception-field { display: grid; gap: 8px; font-weight: 800; }
.deposit-exception-field textarea { width: 100%; resize: vertical; padding: 12px 14px; border: 1px solid #b9c8d8; border-radius: 10px; font: inherit; line-height: 1.45; }
.deposit-exception-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; line-height: 1.45; }
.deposit-exception-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #0b5e55; }
.deposit-exception-status { margin: 12px 0 0; color: #52647a; font-weight: 700; line-height: 1.45; }
.deposit-exception-status.is-error { color: #b42318; }
.deposit-exception-status.is-success { color: #067647; }
.deposit-exception-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #dce5ee; }
.deposit-exception-actions button { min-height: 48px; padding: 0 18px; border: 1px solid #b9c8d8; border-radius: 10px; background: #fff; color: #102945; font: inherit; font-weight: 800; cursor: pointer; }
.deposit-exception-actions .deposit-exception-submit { border-color: #c99519; background: #d5a91f; color: #071b32; }
.deposit-exception-actions button:disabled { cursor: wait; opacity: .62; }
@media (max-width: 680px) {
  .deposit-exception-backdrop { place-items: end center; padding: 12px; }
  .deposit-exception-dialog { max-height: calc(100dvh - 24px); border-radius: 16px; }
  .deposit-exception-head, .deposit-exception-body { padding-left: 18px; padding-right: 18px; }
  .deposit-exception-grid { grid-template-columns: 1fr; }
  .deposit-exception-actions { flex-direction: column-reverse; }
  .deposit-exception-actions button { width: 100%; }
}
