/* Modern executive polish for VCS Lab */
:root {
  --bg: #f4f6f4;
  --surface: #ffffff;
  --ink: #11221e;
  --muted: #5c6e67;
  --line: #dfe5df;
  --green: #146e5f;
  --lime: #cde8a8;
  --soft: #e8f1ed;
  --shadow-sm: 0 2px 8px rgba(17, 34, 30, 0.04);
  --shadow-md: 0 12px 32px rgba(17, 34, 30, 0.08);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #fafcfa 100%);
  box-shadow: 1px 0 0 var(--line);
}

.nav-item {
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
  font-weight: 500;
}

.nav-item:hover:not(.active) {
  background: #f1f5f2;
  color: var(--ink);
}

.nav-item.active {
  background: var(--soft);
  color: var(--green);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--green);
}

.topbar {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.hero {
  background: radial-gradient(circle at 85% 20%, #24574a 0%, #122d26 65%, #0d211c 100%);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero .button {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.stat, .panel, .scenario-card, .history, .conversation, .decisions {
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.scenario-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #c7d6ce;
}

.stat:hover {
  border-color: #c7d6ce;
}

.button {
  border-radius: 9px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.button.primary:hover:not(:disabled) {
  background: #0e5448;
}

.auth-story {
  background: radial-gradient(circle at 20% 20%, #1e4d40 0%, #102922 70%, #0b1c17 100%);
}

.auth-innovations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 650px) {
  .auth-innovations {
    grid-template-columns: 1fr;
  }
}

.auth-innovation-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 15px;
}

.auth-innovation-card b {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #cde8a8;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.auth-innovation-card span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #d6e4da;
}

.auth-box {
  background: #fff;
  padding: 34px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  max-width: 410px;
}

.studio-field input:focus,
.studio-field select:focus,
.studio-field textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 110, 95, 0.12);
  outline: none;
}

.tabs {
  gap: 8px;
}

.tab {
  padding: 9px 14px;
  border-radius: 8px 8px 0 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.tab:hover:not(.active) {
  background: #eef3ef;
  color: var(--ink);
}
