:root {
  --energeia-blue: #265289;
  --bright-blue: #1db3fe;
  --dark: #161621;
  --medium: #52565a;
  --light: #e9edf2;
  --danger: #c0504d;
}

[hidden] {
  display: none !important;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
}
body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  background: #f5f7fa;
  color: var(--dark);
}

.topbar {
  min-height: 78px;
  padding: 14px 22px;
  background: #fff;
  border-bottom: 3px solid var(--energeia-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

h1 { margin: 0; color: var(--energeia-blue); font-size: 24px; font-weight: 700; }
.status-text { margin-top: 4px; color: var(--medium); font-size: 12px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.button {
  border: 1px solid var(--energeia-blue);
  background: #fff;
  color: var(--energeia-blue);
  border-radius: 3px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.button:hover:not(:disabled) { background: #eef5fb; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-primary { background: var(--bright-blue); color: #000; border-color: var(--bright-blue); }
.button-primary:hover:not(:disabled) { background: #49c0ff; }
.button-secondary { border-color: #a7a8aa; color: var(--medium); }

main {
  padding: 16px;
}

.report-shell {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 110px);
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

#reportFrame {
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  background: #fff;
}
.empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--medium);
  text-align: center;
}
.message {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-left: 4px solid var(--danger);
  background: #fff4f2;
  color: #5b1d18;
}

@media (max-width: 800px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
