#tax-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .4);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Microsoft YaHei", sans-serif;
}
#tax-notice-overlay[hidden] { display: none; }
#tax-notice-overlay .tax-notice-dialog {
  width: 82%;
  max-width: 420px;
  max-height: 85vh;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  color: #171717;
  box-sizing: border-box;
}
#tax-notice-title {
  margin: 0;
  padding: 24px 20px 18px;
  color: #888;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  flex-shrink: 0;
}
#tax-notice-content {
  padding: 8px 25px 25px;
  margin: 0;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: break-word;
}
#tax-notice-content .tax-notice-red { color: #f00; }
#tax-notice-overlay .tax-notice-actions {
  display: flex;
  flex-shrink: 0;
  border-top: 1px solid #eee;
}
#tax-notice-overlay .tax-notice-actions button {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  flex: 1;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #171717;
  font: inherit;
  font-size: 18px;
  line-height: 1.4;
  cursor: pointer;
}
#tax-notice-overlay .tax-notice-actions button + button {
  border-left: 1px solid #eee;
  color: #007aff;
}
#tax-notice-overlay .tax-notice-actions button:active { background: #f5f5f5; }
#tax-notice-overlay :focus-visible { outline: 2px solid #007aff; outline-offset: -3px; }
#tax-notice-content:focus { outline: none; }
@media (max-width: 350px) {
  #tax-notice-overlay .tax-notice-dialog { width: 88%; }
  #tax-notice-content { padding-right: 20px; padding-left: 20px; }
}
