.admin-main.report-main { max-width: 1560px; width: calc(100% - 40px); }
.report-workspace { border: 1px solid #E9E0BF; border-radius: 10px; background: white; overflow: hidden; box-shadow: 0 8px 24px #0832260e; }
.report-workspace .report-toolbar { padding: 12px 16px; border-bottom: 1px solid #E9E0BF; }
.report-workspace .report-toolbar .primary { margin-inline-start: auto; }
.report-workspace .report-toolbar a.button { display: inline-flex; align-items: center; }
.report-workspace .report-formula-bar { display: grid; grid-template-columns: 100px 34px minmax(0,1fr); align-items: center; gap: 8px; padding: 10px 16px; background: #F9F7EE; }
.report-workspace .report-formula-bar label { margin: 0; text-align: center; color: #254735; font-family: Georgia,serif; font-style: italic; }
.report-workspace #report-address { text-align: center; font-variant-numeric: tabular-nums; }
.report-workspace .report-range-tools { margin: 0; padding: 6px 16px; background: #F9F7EE; }
.report-workspace .report-range-tools button { min-height: 34px; padding: 4px 9px; font-size: .875rem; }
.report-workspace #report-range { margin-inline-start: auto; }
.report-workspace .report-grid-viewport { border-inline: 0; height: min(58dvh,640px); max-height: none; }
.report-workspace #report-grid thead th { text-align: center; }
.report-workspace #report-grid th[scope="row"] { min-width: 45px; text-align: right; }
.report-workspace #report-grid .report-selected { background: #F9F7EE; box-shadow: inset 0 0 0 2px #254735; }
.report-workspace #report-grid .report-selected input { background: transparent; }
.report-workspace #report-grid input { display: block; }
.report-workspace #report-grid input:focus { outline: none; }
.report-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 16px; background: #F9F7EE; font-size: .875rem; color: #254735; }
.report-workspace #report-upload { margin: 0; padding: 12px 16px; border-top: 1px solid #E9E0BF; }
.report-workspace #report-upload summary { cursor: pointer; font-weight: 600; }
.report-workspace #report-upload input { max-width: 400px; }
@media (max-width: 600px) {
  .admin-main.report-main { width: calc(100% - 24px); }
  .report-workspace .report-formula-bar { grid-template-columns: 68px 24px minmax(0,1fr); }
  .report-workspace .report-toolbar .primary { margin-inline-start: 0; }
}

.report-online { max-width: 720px; }
.report-online p { color: var(--muted); }
.report-online .actions a { display: inline-flex; align-items: center; }
#report-links { list-style: none; padding: 0; }
#report-links li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
#report-links strong { flex: 1 1 13rem; overflow-wrap: anywhere; }
#report-link-form { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
#report-archive { list-style: none; padding: 0; }
#report-archive li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
#report-archive strong { flex: 1 1 13rem; overflow-wrap: anywhere; }
.report-cloud-title { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
