.app-wrap {
  display: none;
  min-height: 100vh;
  background: var(--off);
}

.app-wrap.open {
  display: block;
}

/* ── App nav ── */
.app-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.app-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.app-logo span {
  color: var(--olive);
}

.app-tabs {
  display: flex;
  gap: 2px;
}

.app-tab {
  padding: 6px 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  background: transparent;
  color: var(--muted);
  transition: all 0.15s;
}

.app-tab.on {
  background: var(--text);
  color: #fff;
  font-weight: 600;
}

.app-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-name {
  font-size: 13px;
  font-weight: 600;
}

.app-role {
  font-size: 11px;
  color: var(--faint);
}

.app-logout {
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font);
}

.app-logout:hover {
  border-color: var(--text);
  color: var(--text);
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
  line-height: 1;
}

.theme-toggle:hover {
  background: var(--light);
  border-color: var(--muted);
}

/* ── App body ── */
.app-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 28px;
}
