:root {
  --navy: #0B1F3A;
  --teal: #00A6A6;
  --bg: #F4F6F8;
  --card: #FFFFFF;
  --text: #1F2937;
  --muted: #64748B;
  --border: #E5E7EB;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app-shell {
  height: 100vh;
  display: grid;
  grid-template-rows: 72px 1fr 42px;
}

.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
}

.tenant-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tenant-brand img {
  max-height: 42px;
  max-width: 180px;
  object-fit: contain;
}

.tenant-brand h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.tenant-brand p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.app-frame-wrap {
  padding: 16px;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.footer {
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
}

.footer img {
  max-height: 22px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .app-shell {
    grid-template-rows: 84px 1fr 42px;
  }

  .topbar {
    padding: 0 16px;
  }

  .tenant-brand h1 {
    font-size: 17px;
  }

  .app-frame-wrap {
    padding: 8px;
  }
}
