.perm-col {
  min-width: 220px;
}

.bill-card-wide {
  max-width: 800px;
}

.bill-amount-col {
  width: 120px;
}

.sys-msg {
  font-family: system-ui, sans-serif;
  padding: 3rem;
  text-align: center;
}

.app-company-switcher .form-select {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.app-company-switcher .form-select option {
  color: #111;
}

@media print {
  .no-print {
    display: none !important;
  }
  .bill-card {
    box-shadow: none !important;
    border: 1px solid #dee2e6 !important;
  }
}

.idle-warn-banner {
  position: fixed;
  z-index: 1080;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: #1f2937;
  color: #fff;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.2);
}

.mail-inbox-layout {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  gap: 1rem;
  min-height: 520px;
}

.mail-inbox-list {
  border-right: 1px solid var(--bs-border-color, #dee2e6);
  padding-right: 0.75rem;
  max-height: 70vh;
  overflow: auto;
}

.mail-inbox-reader {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.mail-reader-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.mail-reader-body {
  flex: 1;
  min-height: 360px;
}

.mail-html-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #fff;
}

.mail-text-body {
  white-space: pre-wrap;
  word-break: break-word;
  padding: 1rem;
  background: #f8f9fa;
  min-height: 360px;
}

@media (max-width: 991px) {
  .mail-inbox-layout {
    grid-template-columns: 1fr;
  }
  .mail-inbox-list {
    border-right: 0;
    padding-right: 0;
    max-height: none;
  }
}

.idle-warn-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.captcha-img {
  background: #f5f7fa;
}
.setup-guide a {
  white-space: nowrap;
}
