/* 2026 visual refresh: align the admin shell with the public brand */
:root {
  --bg: #f4f6f4;
  --surface: #fffefa;
  --surface-soft: #f1f6f3;
  --text: #18221e;
  --muted: #68746e;
  --line: #dce4df;
  --line-strong: #cbd7d0;
  --accent: #126354;
  --accent-strong: #093f36;
  --blue: #39796f;
  --shadow: 0 18px 50px rgba(31, 49, 43, 0.08);
  --radius: 12px;
}

.ui-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, #15705f, #083e35);
  box-shadow: 0 10px 26px rgba(9, 63, 54, 0.2);
}

.brand-mark-sun {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f39a72;
}

.brand-mark-gate {
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 22px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-bottom: 0;
}

.brand-mark-gate::before {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: 3px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.brand-mark-gate::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.88);
  transform: translateX(-50%);
}

.sidebar {
  background: #fbfcfa;
  border-right-color: rgba(18, 99, 84, 0.12);
}

.nav-item {
  min-height: 44px;
  border-radius: 11px;
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #edf2ef;
}

.nav-item.active,
.nav-item:not(:disabled):hover {
  background: #e6f1ec;
}

.nav-item.active .nav-icon {
  background: var(--accent);
  box-shadow: 0 5px 14px rgba(18, 99, 84, 0.2);
}

.panel,
.metric-card,
.admin-gate-card {
  border-color: rgba(18, 99, 84, 0.13);
  box-shadow: 0 12px 34px rgba(31, 49, 43, 0.055);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(18, 99, 84, 0.2);
  outline-offset: 2px;
}
