html.dash-dialog-open { overflow: hidden; }
#dash-dialog {
  box-sizing: border-box;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(560px, calc(100% - 32px));
  height: min(660px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  border: 1px solid #748268;
  border-radius: 12px;
  background: #11160f;
  color: #eff2e9;
  box-shadow: 0 22px 72px #000b;
  color-scheme: dark;
}
#dash-dialog[open] { display: flex; flex-direction: column; }
#dash-dialog::backdrop { background: #070907bf; }
#dash-dialog .dash-dialog-bar {
  box-sizing: border-box;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  background: #171e14;
  border-bottom: 1px solid #75845e;
}
#dash-dialog-title { font: 500 24px/1 Newsreader, Georgia, serif; margin: 0; color: #f3f6eb; }
#dash-dialog-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: #20291b;
  color: #c9f55d;
  border: 1px solid #75845e;
  border-radius: 4px;
  font: 400 26px/1 Arial, sans-serif;
  cursor: pointer;
}
#dash-dialog :focus-visible { outline: 2px solid #c9f55d; outline-offset: 2px; }
#dash-dialog-status { font: 400 16px/1.35 Arial, sans-serif; margin: 16px; }
#dash-dialog-status a { color: #c9f55d; }
#dash-dialog-chat { flex: 1; min-height: 0; }
@media (max-width: 640px) {
  #dash-dialog { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  #dash-dialog .dash-dialog-bar { padding-top: max(8px, env(safe-area-inset-top)); }
}
