﻿@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700&display=swap');

:root {
  --green: #0b8e36;
  --brown: #a75319;
  --blue: #263489;
  --dark: #0b0b0b;
  --light: #f7f7f2;
  --edge: 20px;
  --band-height: 80px;
  --band-logo-size: 168px;
  --nav-logo-size: 68px;
  --band-center-y: calc(var(--edge) + (var(--band-logo-size) / 2));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  background: var(--blue);
  color: var(--light);
  padding-top: calc(var(--band-center-y) + (var(--band-height) / 2) + 24px);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--light);
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

.brand span {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.nav-band {
  background: #ffffff;
  height: calc(var(--band-center-y) + (var(--band-height) / 2));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  overflow: visible;
}

.nav-logo {
  position: static;
  width: 112px;
  height: 112px;
  margin-left: 3rem;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  flex: 0 0 auto;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  border-radius: 0;
}

.nav-logo:hover {
  transform: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 0;
  padding: 0 24px;
  width: 100%;
  height: 100%;
  margin-top: 0;
  align-items: center;
}

.nav a {
  display: flex;
  align-items: center;
  color: var(--blue);
  text-decoration: none;
  font-size: clamp(18px, 2.8vw, 28px);
  letter-spacing: 0.04em;
  padding: 0;
  border-radius: 0;
  border: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
  flex: 0 0 auto;
  text-align: left;
  line-height: 1;
}

.nav a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.nav a.active {
  color: var(--green);
}

.nav a:first-child {
  margin-left: 0;
}

.nav .nav-logo:first-child {
  margin-left: 3rem;
}

.nav a:last-child {
  margin-right: 5rem;
}

.page {
  width: min(1000px, 92vw);
  margin: 0 auto 60px;
  display: grid;
  gap: 20px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--brown);
}

.panel {
  background: rgba(11, 11, 11, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 16px;
}

.status {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.report-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.report-column {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px;
}

.report-column h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.3vw, 30px);
  color: var(--brown);
}

.slot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.slot-list a,
.slot-list .empty-slot {
  display: block;
  background: var(--green);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--light);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.slot-list a:hover {
  transform: translateY(-2px);
  background: rgba(11, 11, 11, 0.4);
}

.slot-list .empty-slot {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

.slot-name {
  font-weight: 700;
}

.report-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.note {
  background: rgba(11, 11, 11, 0.35);
  border-radius: 18px;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

pre {
  background: rgba(0,0,0,0.4);
  padding: 12px;
  border-radius: 12px;
  overflow: auto;
  margin: 10px 0 0;
  color: var(--light);
}

code {
  color: var(--light);
}

@media (max-width: 860px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-band {
    top: max(10px, env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 8px;
    width: 100%;
    height: auto;
  }

  .nav a {
    font-size: clamp(12px, 3vw, 15px);
    line-height: 1.1;
    padding: 8px 4px;
    text-align: center;
    white-space: nowrap;
  }

  .nav a:first-child,
  .nav a:last-child {
    margin-left: 0;
    margin-right: 0;
  }

  .nav-logo {
    margin-left: 0;
  }

  .report-columns {
    grid-template-columns: 1fr;
  }
}
