* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background: radial-gradient(ellipse at top, #1b2735 0%, #090a0f 60%);
  color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 8, 23, 0.9);
  backdrop-filter: blur(10px);
}

.logo-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff 0%, #2196f3 20%, #0d47a1 60%, #000000 100%);
  margin-right: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.6);
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand span:first-child {
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 13px;
  text-transform: uppercase;
}

.brand span:last-child {
  font-size: 11px;
  opacity: 0.85;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

nav a {
  color: #f5f7fa;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

nav a.active {
  border-color: #00bcd4;
}

main {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  padding: 26px 40px 40px;
  flex: 1;
}

aside {
  background: rgba(7, 16, 40, 0.95);
  border-radius: 10px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  opacity: 0.9;
}

.sidebar-group {
  margin-bottom: 20px;
}

.sidebar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-bottom: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.85;
}

.tag.active {
  border-color: #00bcd4;
  background: rgba(0, 188, 212, 0.1);
}

.content-card {
  background: rgba(7, 16, 40, 0.96);
  border-radius: 12px;
  padding: 22px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.6);
}

.content-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.content-header h1 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-header span {
  font-size: 12px;
  opacity: 0.8;
}

.badge-live {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0, 188, 212, 0.15);
  border: 1px solid #00bcd4;
  color: #e0f7fa;
}

.search-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.search-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  opacity: 0.85;
}

.search-description {
  font-size: 12px;
  opacity: 0.75;
}

.search-form {
  position: relative;
  margin-top: 8px;
}

.search-input {
  width: 100%;
  padding: 9px 40px 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: #f5f7fa;
  font-size: 14px;
  outline: none;
  transition: border 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.search-input:focus {
  border-color: #00bcd4;
  box-shadow: 0 0 0 1px rgba(0, 188, 212, 0.5);
  background: rgba(0, 0, 0, 0.6);
}

.search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #00bcd4;
  color: #021824;
  border-radius: 999px;
  width: 70px;
  height: 26px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
}

.search-meta {
  font-size: 11px;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.csrf-token {
  font-family: ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 10px;
  opacity: 0.7;
}

.results-meta {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.result-card {
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.result-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.result-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  opacity: 0.75;
}

.result-mission {
  font-size: 11px;
  opacity: 0.8;
}

.result-meta {
  font-size: 10px;
  margin-top: 5px;
  opacity: 0.7;
}

footer {
  font-size: 10px;
  padding: 10px 40px 18px;
  opacity: 0.6;
}

@media (max-width: 880px) {
  main {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  header {
    padding: 12px 20px;
  }
  nav {
    display: none;
  }
}
