.shanhe-system-notice {
  box-sizing: border-box;
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.5rem;
  border: 1px solid #d8e0e6;
  border-radius: 1rem;
  color: #142b3a;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgb(17 34 45 / 24%);
}

.shanhe-system-notice::backdrop { background: rgb(12 24 36 / 48%); }
.shanhe-system-notice h2 { margin: 0 0 0.9rem; font-size: 1.25rem; line-height: 1.4; }
.shanhe-system-notice p { margin: 0 0 0.8rem; color: #33495a; font-size: 0.95rem; line-height: 1.75; }
.shanhe-system-notice footer { display: flex; justify-content: flex-end; align-items: center; gap: 0.75rem; margin-top: 1.2rem; }
.shanhe-system-notice [role="status"] { color: #8e372a; font-size: 0.875rem; }
.shanhe-system-notice button {
  min-height: 2.65rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 0.55rem;
  color: #fff;
  background: #146650;
  font: inherit;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.shanhe-system-notice button:focus-visible { outline: 2px solid #146650; outline-offset: 3px; }
.shanhe-system-notice button:disabled { opacity: 0.65; cursor: wait; }

.shanhe-system-notice[open] {
  display: flex;
  flex-direction: column;
}

.shanhe-system-notice h2:focus { outline: none; }
.shanhe-notice-list { overflow: auto; overscroll-behavior: contain; }
.shanhe-notice-list article + article { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid #e0e7ec; }
.shanhe-notice-list h3 { margin: 0 0 0.55rem; font-size: 1rem; }
.shanhe-notice-list p:last-of-type { margin-bottom: 0.3rem; }
.shanhe-notice-list time { color: #566b7b; font-size: 0.8rem; }
