/* 未保存の入力を破棄してよいかを確認する小さなダイアログ（static/js/unsaved_guard.js） */
.hal-guard {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px;
  background: rgba(20, 24, 33, .5);
}
.hal-guard-panel {
  width: min(440px, 100%); padding: 22px 22px 18px; border-radius: 12px; background: #fff; color: #1f2430;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3); font-size: 15px; line-height: 1.6;
}
.hal-guard-panel h2 { margin: 0 0 8px; font-size: 18px; }
.hal-guard-panel p { margin: 0 0 18px; }
.hal-guard-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.hal-guard-actions button {
  min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #b9bfcc; background: #fff;
  color: #1f2430; font: inherit; font-weight: 700; cursor: pointer;
}
.hal-guard-actions .hal-guard-continue { background: #3a2e66; border-color: #3a2e66; color: #fff; }
.hal-guard-actions .hal-guard-discard { color: #a23a2c; border-color: #d9a79f; }
.hal-guard-actions button:focus-visible { outline: 3px solid #1d6fd1; outline-offset: 2px; }
