/* Keep account controls visible while the report reads as one continuous page. */
.site-head .head-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  position: relative;
}

.head-actions button {
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #d5e2f1;
  border-radius: 7px;
  background: #fff;
  color: #174d91;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.head-actions button:last-of-type {
  background: #edf4fc;
  border-color: #edf4fc;
}

.head-actions button:hover:not(:disabled),
.head-actions button:focus-visible {
  border-color: #7ea9db;
  background: #eaf3ff;
}

.head-actions button:disabled { opacity: .5; cursor: wait; }

.head-session-status:not(:empty) {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: max-content;
  max-width: min(80vw, 320px);
  padding: 9px 12px;
  border: 1px solid #edc4c4;
  border-radius: 7px;
  background: #fff7f7;
  color: #aa2f34;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 8px 20px #102b4d1a;
}

.report-page .report-details { margin-top: 0; }
.report-page .report-tools { padding-top: 4px; }

@media (max-width: 620px) {
  .site-head .brand { width: 112px; }
  .site-head .head-actions { gap: 5px; }
  .head-actions button { min-height: 40px; padding: 7px 8px; font-size: 12px; }
}

@media print {
  .head-actions { display: none !important; }
}
