/* Scoped notice styles shared by the public dialog and dashboard preview. */
.amb-site-notice {
  --amb-notice-blue:#147ca6;
  box-sizing:border-box; position:fixed; margin:auto;
  width:min(560px,calc(100vw - 32px)); max-height:calc(100dvh - 32px);
  padding:38px 30px 28px; overflow-y:auto; overscroll-behavior:contain;
  border:0; border-top:7px solid #3395c6; border-radius:16px;
  background:#fff; color:#242930; text-align:center;
  font-family:Montserrat,'Plus Jakarta Sans',sans-serif;
  font-size:16px; line-height:1.55; font-weight:400;
  box-shadow:0 18px 60px rgb(0 0 0 / 25%);
}
.amb-site-notice:not([open]):not(.amb-notice-preview) { display:none; }
.amb-site-notice::backdrop { background:rgb(13 22 30 / 55%); }
.amb-site-notice *, .amb-notice-editor * { box-sizing:border-box; }
.amb-site-notice [hidden] { display:none!important; }
.amb-site-notice .amb-notice-close {
  position:absolute; top:12px; right:12px; display:grid; place-items:center;
  width:44px; height:44px; padding:8px; margin:0; border:0; border-radius:8px;
  color:#52616d; background:transparent; cursor:pointer;
}
.amb-site-notice .amb-notice-close:hover { background:#eef6fa; color:#123c50; }
.amb-site-notice .amb-notice-close .dashicons { width:26px; height:26px; font-size:26px; }
.amb-site-notice .amb-notice-icon {
  display:grid; place-items:center; width:62px; height:62px; margin:0 auto 16px;
  border-radius:50%; color:var(--amb-notice-blue); background:#e9f5fc; font-size:36px;
}
.amb-site-notice p { margin:0; padding:0; }
.amb-site-notice .amb-notice-eyebrow {
  color:var(--amb-notice-blue); font-size:12px; font-weight:700;
  text-transform:uppercase; letter-spacing:.035em; margin:0 0 14px;
}
.amb-site-notice h2 {
  font-family:inherit; color:#242930!important; font-size:30px; line-height:1.2;
  font-weight:700; margin:0 0 22px; padding:0; text-transform:none;
  overflow-wrap:anywhere; text-wrap:balance;
}
.amb-site-notice .amb-notice-dates {
  margin:0 0 18px; color:#185976; font-weight:600; font-size:15px;
  overflow-wrap:anywhere;
}
.amb-site-notice .amb-notice-message { white-space:pre-line; overflow-wrap:anywhere; font-size:16px; }
.amb-site-notice .amb-notice-detail {
  display:flex; align-items:center; gap:16px; text-align:left;
  margin:22px 0 0; padding:17px 20px; border-radius:10px;
  background:#e9f5fc; color:#25333e; font-weight:600; font-size:15px; line-height:1.5;
  overflow-wrap:anywhere;
}
.amb-site-notice .amb-notice-detail .dashicons { flex:0 0 30px; width:30px; height:30px; font-size:30px; color:var(--amb-notice-blue); }
.amb-site-notice .amb-notice-thanks { margin:20px 0; font-size:13px; color:#4c5663; }
.amb-site-notice .amb-notice-continue {
  display:block; width:100%; padding:13px 18px; margin:0; border:0; border-radius:8px;
  background:var(--amb-notice-blue); color:#fff; font-family:inherit; font-size:15px;
  line-height:1.4; font-weight:700; text-transform:none; cursor:pointer;
}
.amb-site-notice .amb-notice-continue:hover { background:#106485; }
.amb-site-notice button:focus-visible { outline:3px solid #1d83ed; outline-offset:3px; }
.amb-notice-editor { max-width:1400px; }
.amb-notice-editor .amb-notice-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; align-items:start; }
.amb-notice-editor .amb-notice-form { background:#fff; border:1px solid var(--border-2,#d5dbe6); border-radius:12px; padding:24px; }
.amb-notice-editor fieldset { border:0; margin:0; padding:0; min-width:0; }
.amb-notice-editor .amb-notice-field { display:block; margin:20px 0 0; }
.amb-notice-editor .amb-notice-field>span { display:block; font-weight:600; margin-bottom:7px; font-size:14px; }
.amb-notice-editor input[type=text], .amb-notice-editor input[type=date], .amb-notice-editor input[type=time], .amb-notice-editor textarea {
  display:block; width:100%; min-height:42px; padding:10px 12px; background:#fff;
  color:var(--text,#242930); font:inherit; font-size:14px; border:1px solid var(--border-2,#c6cedd); border-radius:7px;
}
.amb-notice-editor textarea { min-height:145px; resize:vertical; line-height:1.6; }
.amb-notice-editor input:focus-visible, .amb-notice-editor textarea:focus-visible { outline:2px solid #1d83ed; outline-offset:2px; }
.amb-notice-editor .amb-notice-check { display:flex; gap:10px; align-items:center; margin:16px 0 0; font-size:14px; }
.amb-notice-editor input[type=checkbox] { width:18px; height:18px; accent-color:#1d83ed; flex:0 0 auto; }
.amb-notice-editor .amb-notice-date-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.amb-notice-editor .amb-notice-help { color:#586578; line-height:1.6; font-size:12px; margin:8px 0 0; }
.amb-notice-editor .amb-notice-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.amb-notice-editor .amb-notice-error { color:#992425; background:#fff0f0; padding:12px; border-radius:8px; line-height:1.6; margin:16px 0; }
.amb-notice-editor .amb-notice-preview-wrap { border-radius:14px; padding:30px 18px; background:#e9eef3; }
.amb-site-notice.amb-notice-preview { display:block; position:relative; width:100%; max-height:none; margin:0; padding-top:32px; box-shadow:0 10px 28px rgb(18 35 45 / 10%); }
.amb-notice-editor .amb-notice-preview-title { color:#344559; font-size:13px; font-weight:600; margin:0 0 14px; }
.amb-notice-editor .amb-notice-status { display:flex; justify-content:space-between; gap:15px; align-items:center; padding-bottom:18px; border-bottom:1px solid #e4e9f0; }
.amb-notice-editor .amb-notice-status .amb-notice-check { margin:0; font-weight:700; }
.amb-notice-editor .amb-notice-unsaved { margin:16px 0 0; color:#585f6b; font-size:13px; }
@media(max-width:1100px) { .amb-notice-editor .amb-notice-columns { grid-template-columns:1fr; } .amb-notice-editor .amb-notice-preview-wrap { max-width:620px; } }
@media(max-width:480px) {
  .amb-site-notice { padding:34px 20px 22px; }
  .amb-site-notice h2 { font-size:25px; }
  .amb-site-notice .amb-notice-message { font-size:14px; }
  .amb-site-notice .amb-notice-detail { padding:14px; gap:10px; font-size:13px; }
  .amb-notice-editor .amb-notice-form { padding:18px; }
  .amb-notice-editor .amb-notice-date-grid { grid-template-columns:1fr; gap:0; }
  .amb-notice-editor .amb-notice-preview-wrap { padding:18px 12px; }
}
