

.dr-btn { display: none !important; }
body.dr-on .dr-btn { display: inline-block !important; }


@media (max-width: 767px) { body.dr-on nav .dr-btn { display: none !important; } }
@media (max-width: 360px) { body.dr-on .cta-row .dr-btn { display: block !important; width: 100%; text-align: center; } }

 
.dr-veil { position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(10, 31, 51, .55); }
.dr-veil.on { display: flex; }
.dr-panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px);
  overflow-y: auto; background: #fff; color: var(--text); border-radius: 14px;
  padding: 26px 26px 22px; box-shadow: 0 20px 60px rgba(10, 31, 51, .35);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.dr-panel h2 { margin: 0 34px 4px 0; font-size: 22px; color: var(--ink); letter-spacing: -.01em; }
.dr-panel .dr-sub { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.dr-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted);
  font-size: 22px; line-height: 1; cursor: pointer; }
.dr-x:hover { background: var(--mist); }
.dr-field { margin-bottom: 14px; }
.dr-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
.dr-field label span { font-weight: 400; color: var(--muted); }
.dr-field input, .dr-field textarea { display: block; width: 100%; min-width: 0;
  box-sizing: border-box; font: inherit; font-size: 15px; color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
.dr-field textarea { min-height: 84px; resize: vertical; }
.dr-field input:focus, .dr-field textarea:focus { outline: 2px solid var(--azure); outline-offset: 1px; border-color: var(--azure); }
.dr-row { display: flex; gap: 12px; }
.dr-row > .dr-field { flex: 1 1 0; min-width: 0; }
@media (max-width: 480px) { .dr-row { flex-direction: column; gap: 0; } .dr-panel { padding: 22px 18px 18px; } }
.dr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dr-send { display: block; width: 100%; margin-top: 6px; padding: 12px 20px; border: 0;
  border-radius: 10px; background: var(--grad); color: #fff; font: inherit;
  font-weight: 700; cursor: pointer; }
.dr-send[disabled] { opacity: .55; cursor: default; }
.dr-msg { margin: 10px 0 0; font-size: 14px; color: #b3261e; min-height: 0; }
.dr-msg:empty { display: none; }
.dr-done { display: none; }
.dr-panel.sent .dr-done { display: block; }
.dr-panel.sent form { display: none; }
.dr-done p { margin: 0 0 10px; }
.dr-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
