:root {
  --network-blue: #142641;
  --sidebar-blue: #071b34;
  --connection-blue: #3ee0f6;
  --canvas: #f5f9fd;
  --panel: #ffffff;
  --border: #dce6f0;
  --text: #0a2242;
  --muted: #5b677a;
  --shadow: 0 14px 40px rgba(10, 34, 66, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  min-height: 100vh;
  padding: 22px 16px;
  background: var(--sidebar-blue);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
}

.main {
  min-width: 0;
  padding: 28px;
}

.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 5px;
  color: #149caf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}

.session-panel {
  min-height: 48px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  box-shadow: 0 8px 28px rgba(10, 34, 66, .05);
  font-size: 14px;
  font-weight: 650;
}

.auth-gate {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  padding: 26px;
}

.auth-panel {
  width: min(460px, 100%);
  padding: 35px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.auth-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
  margin: 0 auto 24px;
}

h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}

.sso-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  border-radius: 6px;
  background: var(--connection-blue);
  color: #062034;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  transition: transform .16s ease, filter .16s ease;
}

.sso-button:hover {
  filter: brightness(.97);
  transform: translateY(-1px);
}

footer {
  color: var(--muted);
  text-align: center;
  padding: 28px 20px 4px;
  font-size: 12px;
}

@media (max-width: 860px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    min-height: auto;
    padding: 14px 18px;
  }

  .main {
    padding: 22px 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-gate {
    padding: 8px 0 24px;
  }
}
